sale-client 3.4.78 → 3.4.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +5 -5
- package/.gradle/{3.5.1/file-changes → 5.2.1/fileChanges}/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/{buildOutputCleanup/built.bin → 5.2.1/gc.properties} +0 -0
- package/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/{dist/mergeUser/.gitkeep → .gradle/6.1.1/gc.properties} +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +14 -11
- package/package.json +1 -1
- package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
- package/src/components/archives/ArchivesList.vue +205 -205
- package/src/components/charge/ChargeList.vue +867 -866
- package/src/components/charge/ChargeManage.vue +1 -1
- package/src/components/charge/business/IOTMeterCenter.vue +1 -0
- package/src/components/charge/business/machine/MachineCharge.vue +168 -168
- package/src/components/chargeBatch/CardList.vue +459 -459
- package/src/components/chargeBatch/ChargeBatchList.vue +460 -460
- package/src/components/chargeBatch/ChargeGroupList.vue +281 -281
- package/src/components/chargeBatch/ChargeManageBatch.vue +214 -214
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +1 -1
- package/src/components/meterBook/MeterManger.vue +1 -1
- package/src/components/revenue/Common/PrintBill.vue +2 -0
- package/src/components/revenue/HandManager/MeterBookManage.vue +1 -1
- package/src/components/revenue/HandManager/MeterBookUser.vue +1 -0
- package/src/components/revenue/HandManager/OverdueSet.vue +1 -1
- package/src/components/revenue/base/leftview/Mulitinfo.vue +74 -70
- package/src/components/revenue/base/leftview/Userinfo.vue +175 -172
- package/src/components/revenue/base/leftview/meterinfodetail.vue +190 -186
- package/src/components/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferManage.vue +403 -403
- package/src/components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage.vue +93 -93
- package/src/components/revenue/comprehen/ComprehenOperation/MeterEnable/EnableManage.vue +184 -184
- package/src/components/revenue/comprehen/Message/MessageList.vue +587 -499
- package/src/components/revenue/comprehen/common/TabButton.vue +155 -155
- package/src/components/revenue/comprehen/common/Tabs.vue +67 -67
- package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +1 -1
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +633 -633
- package/src/components/revenue/machineHandManage/machineHandManager.vue +84 -84
- package/src/components/webMeter/meterinfo/NewMeterList.vue +526 -526
- package/src/components/webMeter/webInfo/WebMeterList.vue +424 -424
- package/src/filiale/{weinan → WEINAN}/AutomaticPurse.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/CardList.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/CardMeterCenter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/CardMeterChargeCancel.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChangeMeter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChargeList.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChargeManageNew.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChargeQueryUser.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChargeRecordQuery.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/DisableManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/EnableManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/FileAddressManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/FileUserAddress.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/HighMeter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/IOTMeterCenter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/MachineMeterCenter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/MeterMessage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/MeterinfoTest.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/OffGasAddGas.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/OtherGas.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/OverUseCharge.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/RecordCancel.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/RecordQueryUser.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ReplaceCardManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ShowCardSellGas.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/Stairinfo.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/TransferManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/UserBaseInfoNew.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/UserEssentialInfoTest.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/UserGeneralInfoTest.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/UserInfoDetailManageNew.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/Userinfo.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/gasmove.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/meterinfodetail.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/plugins/FileManageService.js +0 -0
- package/src/filiale/{weinan → WEINAN}/plugins/getTimeService.js +0 -0
- package/src/filiale/{weinan → WEINAN}/sale.js +0 -0
- package/src/filiale/{weinan → WEINAN}/sale.js~Stashed changes +0 -0
- package/{dist/mergeUser/WebMetericon → src/filiale/WEINAN/static/mainicon}//347/237/251/345/275/2421828.png +0 -0
- package/src/filiale/qianneng/FilesManage/UserEssentialInfoTest.vue +322 -322
- package/src/filiale/qianneng/HandManager.vue +1824 -1822
- package/src/filiale/qianneng/MachineCharge.vue +169 -169
- package/src/filiale/qianneng/sale.js +28 -24
- package/src/filiale/rongcheng/FilesManageNew/UserGeneralInfoTest.vue +1 -1
- package/src/filiale/tongchuan/MeterinfoTest.vue +892 -892
- package/src/filiale/wuan/UserEssentialInfoTest.vue +328 -328
- package/src/filiale/wuhai/TransferManage.vue +403 -403
- package/src/filiale/wuhai/UserEssentialInfoTest.vue +320 -320
- package/src/filiale/wuhai/sale.js +21 -21
- package/src/main.js +23 -23
- package/src/sale.js +1 -1
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
- package/dist/index.html +0 -26
- package/dist/mergeUser/CalculateGasUsage.html +0 -1
- package/dist/mergeUser/CalculateGasUsageApp.css +0 -1
- package/dist/mergeUser/CalculateGasUsageApp.js +0 -132
- package/dist/mergeUser/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts10.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts11.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts12.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts13.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts14.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts15.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts16.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts17.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts18.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts4.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts5.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts51.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts6.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts7.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts71.png +0 -0
- package/dist/mergeUser/ManagementControl/echarts8.png +0 -0
- package/dist/mergeUser/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/dist/mergeUser/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/dist/mergeUser/ParamSet.html +0 -1
- package/dist/mergeUser/ParamSetApp.css +0 -1
- package/dist/mergeUser/ParamSetApp.js +0 -131
- package/dist/mergeUser/PingFangSC-Regular.ttf +0 -0
- package/dist/mergeUser/ReadCard.html +0 -1
- package/dist/mergeUser/ReadCardApp.css +0 -1
- package/dist/mergeUser/ReadCardApp.js +0 -132
- package/dist/mergeUser/WebMetericon/0001.png +0 -0
- package/dist/mergeUser/WebMetericon/0002.png +0 -0
- package/dist/mergeUser/WebMetericon/0003.png +0 -0
- package/dist/mergeUser/WebMetericon/0004.png +0 -0
- package/dist/mergeUser/WebMetericon/001.png +0 -0
- package/dist/mergeUser/WebMetericon/002.png +0 -0
- package/dist/mergeUser/WebMetericon/003.png +0 -0
- package/dist/mergeUser/WebMetericon/004.png +0 -0
- package/dist/mergeUser/WebMetericon/01.png +0 -0
- package/dist/mergeUser/WebMetericon/02.png +0 -0
- package/dist/mergeUser/WebMetericon/03.png +0 -0
- package/dist/mergeUser/WebMetericon/04.png +0 -0
- package/dist/mergeUser/WebMetericon/1.png +0 -0
- package/dist/mergeUser/WebMetericon/2.png +0 -0
- package/dist/mergeUser/WebMetericon/3.png +0 -0
- package/dist/mergeUser/WebMetericon/4.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell1.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell2.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell3.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell4.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell5.png +0 -0
- package/dist/mergeUser/WebMetericon/Cell6.png +0 -0
- package/dist/mergeUser/WebMetericon/Signal1.png +0 -0
- package/dist/mergeUser/WebMetericon/Signal2.png +0 -0
- package/dist/mergeUser/WebMetericon/Signal3.png +0 -0
- package/dist/mergeUser/WebMetericon/Signal4.png +0 -0
- package/dist/mergeUser/WebMetericon/guzhang.png +0 -0
- package/dist/mergeUser/WebMetericon/zhengchang.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021554.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021558.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2022556.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/20225560.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/WebMetericon//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/WebMetericon//346/244/255/345/234/206874.png +0 -0
- package/dist/mergeUser/WebMetericon//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/WebMetericon//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/WebMetericon//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
- package/dist/mergeUser/batchleft.png +0 -0
- package/dist/mergeUser/batchright.png +0 -0
- package/dist/mergeUser/bluemainbg.jpg +0 -0
- package/dist/mergeUser/deduction.html +0 -1
- package/dist/mergeUser/deductionApp.css +0 -1
- package/dist/mergeUser/deductionApp.js +0 -131
- package/dist/mergeUser/doc.jpg +0 -0
- package/dist/mergeUser/glyphicons-halflings-regular.eot +0 -0
- package/dist/mergeUser/glyphicons-halflings-regular.svg +0 -288
- package/dist/mergeUser/glyphicons-halflings-regular.ttf +0 -0
- package/dist/mergeUser/glyphicons-halflings-regular.woff +0 -0
- package/dist/mergeUser/glyphicons-halflings-regular.woff2 +0 -0
- package/dist/mergeUser/gzh.png +0 -0
- package/dist/mergeUser/huangtengbiaozhi.png +0 -0
- package/dist/mergeUser/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/2021361.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/202532.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist/mergeUser/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist/mergeUser/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist/mergeUser/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist/mergeUser/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist/mergeUser/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist/mergeUser/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist/mergeUser/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist/mergeUser/images/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/dist/mergeUser/images/lefticon//347/237/251/345/275/242533/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist/mergeUser/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist/mergeUser/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist/mergeUser/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist/mergeUser/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist/mergeUser/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/images/mergeUser/drag.png +0 -0
- package/dist/mergeUser/images/mergeUser/help.png +0 -0
- package/dist/mergeUser/images/meterBook/drag.png +0 -0
- package/dist/mergeUser/jcwx.jpg +0 -0
- package/dist/mergeUser/jsoneditor-icons.svg +0 -893
- package/dist/mergeUser/juxing.png +0 -0
- package/dist/mergeUser/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist/mergeUser/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist/mergeUser/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist/mergeUser/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist/mergeUser/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist/mergeUser/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist/mergeUser/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist/mergeUser/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist/mergeUser/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist/mergeUser/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist/mergeUser/lefticon//347/237/251/345/275/2421828.png +0 -0
- package/dist/mergeUser/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist/mergeUser/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist/mergeUser/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist/mergeUser/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist/mergeUser/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist/mergeUser/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist/mergeUser/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist/mergeUser/login_bg.jpg +0 -0
- package/dist/mergeUser/login_title.png +0 -0
- package/dist/mergeUser/login_title1.png +0 -0
- package/dist/mergeUser/loginbg.gif +0 -0
- package/dist/mergeUser/loginbg.jpg +0 -0
- package/dist/mergeUser/loginbg1.jpg +0 -0
- package/dist/mergeUser/loginbg1280.gif +0 -0
- package/dist/mergeUser/loginbg1366.gif +0 -0
- package/dist/mergeUser/loginbg_jincheng.jpg +0 -0
- package/dist/mergeUser/loginbgmain.jpg +0 -0
- package/dist/mergeUser/loginlogo.png +0 -0
- package/dist/mergeUser/main_logo.png +0 -0
- package/dist/mergeUser/mainbg.jpg +0 -0
- package/dist/mergeUser/mainicon/adddevice.png +0 -0
- package/dist/mergeUser/mainicon/addmeter.png +0 -0
- package/dist/mergeUser/mainicon/bank.png +0 -0
- package/dist/mergeUser/mainicon/biaopan.png +0 -0
- package/dist/mergeUser/mainicon/cad.jpg +0 -0
- package/dist/mergeUser/mainicon/chaobiaoyuan.png +0 -0
- package/dist/mergeUser/mainicon/danganguanli.png +0 -0
- package/dist/mergeUser/mainicon/deletedevice.png +0 -0
- package/dist/mergeUser/mainicon/excel.jpg +0 -0
- package/dist/mergeUser/mainicon/huizong.png +0 -0
- package/dist/mergeUser/mainicon/jibiaoguanli.png +0 -0
- package/dist/mergeUser/mainicon/jibiaoguanli2.png +0 -0
- package/dist/mergeUser/mainicon/jiezhang.png +0 -0
- package/dist/mergeUser/mainicon/loginbg.jpg +0 -0
- package/dist/mergeUser/mainicon/shouqishoufei.png +0 -0
- package/dist/mergeUser/mainicon/treeopen.png +0 -0
- package/dist/mergeUser/mainicon/treeout.png +0 -0
- package/dist/mergeUser/mainicon/treeset.png +0 -0
- package/dist/mergeUser/mainicon/word.jpg +0 -0
- package/dist/mergeUser/mainicon/wulianwang.png +0 -0
- package/dist/mergeUser/mainicon/yingyechaxun.png +0 -0
- package/dist/mergeUser/mainicon/zongheyewu.png +0 -0
- package/dist/mergeUser/mainicon//347/237/251/345/275/2421828.png +0 -0
- package/dist/mergeUser/menulogo.png +0 -0
- package/dist/mergeUser/mergeUser.html +0 -1
- package/dist/mergeUser/mergeUserApp.css +0 -1
- package/dist/mergeUser/mergeUserApp.js +0 -132
- package/dist/mergeUser/meterBook(filesBox).html +0 -1
- package/dist/mergeUser/meterBook(filesBox)App.css +0 -1
- package/dist/mergeUser/meterBook(filesBox)App.js +0 -133
- package/dist/mergeUser/meterBook.html +0 -1
- package/dist/mergeUser/meterBookApp.css +0 -1
- package/dist/mergeUser/meterBookApp.js +0 -133
- package/dist/mergeUser/newStyle/clear.png +0 -0
- package/dist/mergeUser/newStyle/fife.png +0 -0
- package/dist/mergeUser/newStyle/hidden.png +0 -0
- package/dist/mergeUser/newStyle/label-clear.png +0 -0
- package/dist/mergeUser/newStyle/left-img.png +0 -0
- package/dist/mergeUser/newStyle/list_ok.png +0 -0
- package/dist/mergeUser/newStyle/login-check.png +0 -0
- package/dist/mergeUser/newStyle/login-con.png +0 -0
- package/dist/mergeUser/newStyle/login-do.gif +0 -0
- package/dist/mergeUser/newStyle/login-f.png +0 -0
- package/dist/mergeUser/newStyle/login-info.png +0 -0
- package/dist/mergeUser/newStyle/login-left.png +0 -0
- package/dist/mergeUser/newStyle/login-org.png +0 -0
- package/dist/mergeUser/newStyle/login-pwd.png +0 -0
- package/dist/mergeUser/newStyle/login-user.png +0 -0
- package/dist/mergeUser/newStyle/loginbg.gif +0 -0
- package/dist/mergeUser/newStyle/loginbg1280.gif +0 -0
- package/dist/mergeUser/newStyle/loginbg1366.gif +0 -0
- package/dist/mergeUser/newStyle/setting.png +0 -0
- package/dist/mergeUser/newStyle/setting1.png +0 -0
- package/dist/mergeUser/newStyle/shirk.png +0 -0
- package/dist/mergeUser/newStyle/stretch_bottom.png +0 -0
- package/dist/mergeUser/newStyle/stretch_left.png +0 -0
- package/dist/mergeUser/newStyle/stretch_right.png +0 -0
- package/dist/mergeUser/newStyle/stretch_top.png +0 -0
- package/dist/mergeUser/newStyle/system-off.png +0 -0
- package/dist/mergeUser/newmainbg.jpg +0 -0
- package/dist/mergeUser/pdf.jpg +0 -0
- package/dist/mergeUser/pingfang-bold.ttf +0 -0
- package/dist/mergeUser/pingfang-medium.ttf +0 -0
- package/dist/mergeUser/pingfang-regular.ttf +0 -0
- package/dist/mergeUser/psicon.png +0 -0
- package/dist/mergeUser/refresh.png +0 -0
- package/dist/mergeUser/showAdd.html +0 -1
- package/dist/mergeUser/showAddApp.css +0 -1
- package/dist/mergeUser/showAddApp.js +0 -131
- package/dist/mergeUser/showAddHtml.html +0 -14
- package/dist/mergeUser/showAddHtmlApp.css +0 -1
- package/dist/mergeUser/showAddHtmlApp.js +0 -131
- package/dist/mergeUser/showAddPrint.html +0 -14
- package/dist/mergeUser/showAddPrintApp.css +0 -1
- package/dist/mergeUser/showAddPrintApp.js +0 -131
- package/dist/mergeUser/singleleft.png +0 -0
- package/dist/mergeUser/singleright.png +0 -0
- package/dist/mergeUser/treeclose.png +0 -0
- package/dist/mergeUser/treeopen.png +0 -0
- package/dist/mergeUser/treeout.png +0 -0
- package/dist/mergeUser/treeset.png +0 -0
- package/dist/mergeUser/trendstrends.ttf +0 -0
- package/dist/mergeUser/usericon.png +0 -0
- package/dist/mergeUser/webMeter/0001.png +0 -0
- package/dist/mergeUser/webMeter/0002.png +0 -0
- package/dist/mergeUser/webMeter/0003.png +0 -0
- package/dist/mergeUser/webMeter/0004.png +0 -0
- package/dist/mergeUser/webMeter/001.png +0 -0
- package/dist/mergeUser/webMeter/002.png +0 -0
- package/dist/mergeUser/webMeter/003.png +0 -0
- package/dist/mergeUser/webMeter/004.png +0 -0
- package/dist/mergeUser/webMeter/01.png +0 -0
- package/dist/mergeUser/webMeter/02.png +0 -0
- package/dist/mergeUser/webMeter/03.png +0 -0
- package/dist/mergeUser/webMeter/04.png +0 -0
- package/dist/mergeUser/webMeter/1.png +0 -0
- package/dist/mergeUser/webMeter/2.png +0 -0
- package/dist/mergeUser/webMeter/3.png +0 -0
- package/dist/mergeUser/webMeter/4.png +0 -0
- package/dist/mergeUser/webMeter/Cell1.png +0 -0
- package/dist/mergeUser/webMeter/Cell2.png +0 -0
- package/dist/mergeUser/webMeter/Cell3.png +0 -0
- package/dist/mergeUser/webMeter/Cell4.png +0 -0
- package/dist/mergeUser/webMeter/Cell5.png +0 -0
- package/dist/mergeUser/webMeter/Cell6.png +0 -0
- package/dist/mergeUser/webMeter/Signal1.png +0 -0
- package/dist/mergeUser/webMeter/Signal2.png +0 -0
- package/dist/mergeUser/webMeter/Signal3.png +0 -0
- package/dist/mergeUser/webMeter/Signal4.png +0 -0
- package/dist/mergeUser/webMeter/guzhang.png +0 -0
- package/dist/mergeUser/webMeter/shangsheng.png +0 -0
- package/dist/mergeUser/webMeter/shousuo.png +0 -0
- package/dist/mergeUser/webMeter/shuaxin.png +0 -0
- package/dist/mergeUser/webMeter/zhengchang.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021554.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021558.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2022556.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/20225560.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2025/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2355.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2356.png +0 -0
- package/dist/mergeUser/webMeter//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/webMeter//345/275/242/347/212/2665.png +0 -0
- package/dist/mergeUser/webMeter//346/244/255/345/234/206874.png +0 -0
- package/dist/mergeUser/webMeter//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
- package/dist/mergeUser/webMeter//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
- package/dist/mergeUser/webMeter//347/237/251/345/275/2421828.png +0 -0
- package/dist/mergeUser/webMeter//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
- package/dist/mergeUser/xinxi.png +0 -0
- package/src/filiale/weinan/static/mainicon//347/237/251/345/275/2421828.png +0 -0
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="./",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var r=n(1),o=i(r),s=n(772),a=i(s),l=n(45);(0,l.all)(),new o.default({el:"body",components:{App:a.default}})},function(t,e,n){/*!
|
|
2
|
-
* Vue.js v1.0.28
|
|
3
|
-
* (c) 2016 Evan You
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
"use strict";function i(t,e,n){if(o(t,e))return void(t[e]=n);if(t._isVue)return void i(t._data,e,n);var r=t.__ob__;if(!r)return void(t[e]=n);if(r.convert(e,n),r.dep.notify(),r.vms)for(var s=r.vms.length;s--;){var a=r.vms[s];a._proxy(e),a._digest()}return n}function r(t,e){if(o(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t._digest()));if(n.dep.notify(),n.vms)for(var i=n.vms.length;i--;){var r=n.vms[i];r._unproxy(e),r._digest()}}}function o(t,e){return zn.call(t,e)}function s(t){return qn.test(t)}function a(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function l(t){return null==t?"":t.toString()}function c(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function u(t){return"true"===t||"false"!==t&&t}function d(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function h(t){return t.replace(Un,f)}function f(t,e){return e?e.toUpperCase():""}function p(t){return t.replace(Gn,"$1-$2").replace(Gn,"$1-$2").toLowerCase()}function m(t){return t.replace(Kn,f)}function g(t,e){return function(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function v(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function y(t,e){for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t}function b(t){return null!==t&&"object"==typeof t}function w(t){return Yn.call(t)===Xn}function A(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function x(t,e){var n,i,r,o,s,a=function a(){var l=Date.now()-o;l<e&&l>=0?n=setTimeout(a,e-l):(n=null,s=t.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(a,e)),s}}function _(t,e){for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function E(t){var e=function e(){if(!e.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function C(t,e){return t==e||!(!b(t)||!b(e))&&JSON.stringify(t)===JSON.stringify(e)}function k(t){return/native code/.test(t.toString())}function S(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function F(){return mi.charCodeAt(yi+1)}function D(){return mi.charCodeAt(++yi)}function T(){return yi>=vi}function $(){for(;F()===$i;)D()}function B(t){return t===Si||t===Fi}function M(t){return Bi[t]}function R(t,e){return Mi[t]===e}function P(){for(var t,e=D();!T();)if(t=D(),t===Ti)D();else if(t===e)break}function L(t){for(var e=0,n=t;!T();)if(t=F(),B(t))P();else if(n===t&&e++,R(n,t)&&e--,D(),0===e)break}function O(){for(var t=yi;!T();)if(bi=F(),B(bi))P();else if(M(bi))L(bi);else if(bi===Di){if(D(),bi=F(),bi!==Di){wi!==_i&&wi!==ki||(wi=Ei);break}D()}else{if(bi===$i&&(wi===Ci||wi===ki)){$();break}wi===Ei&&(wi=Ci),D()}return mi.slice(t+1,yi)||null}function j(){for(var t=[];!T();)t.push(N());return t}function N(){var t,e={};return wi=Ei,e.name=O().trim(),wi=ki,t=I(),t.length&&(e.args=t),e}function I(){for(var t=[];!T()&&wi!==Ei;){var e=O();if(!e)break;t.push(H(e))}return t}function H(t){if(xi.test(t))return{value:c(t),dynamic:!1};var e=d(t),n=e===t;return{value:n?t:e,dynamic:n}}function V(t){var e=Ai.get(t);if(e)return e;mi=t,gi={},vi=mi.length,yi=-1,bi="",wi=_i;var n;return mi.indexOf("|")<0?gi.expression=mi.trim():(gi.expression=O().trim(),n=j(),n.length&&(gi.filters=n)),Ai.put(t,gi),gi}function W(t){return t.replace(Pi,"\\$&")}function z(){var t=W(Wi.delimiters[0]),e=W(Wi.delimiters[1]),n=W(Wi.unsafeDelimiters[0]),i=W(Wi.unsafeDelimiters[1]);Oi=new RegExp(n+"((?:.|\\n)+?)"+i+"|"+t+"((?:.|\\n)+?)"+e,"g"),ji=new RegExp("^"+n+"((?:.|\\n)+?)"+i+"$"),Li=new S(1e3)}function q(t){Li||z();var e=Li.get(t);if(e)return e;if(!Oi.test(t))return null;for(var n,i,r,o,s,a,l=[],c=Oi.lastIndex=0;n=Oi.exec(t);)i=n.index,i>c&&l.push({value:t.slice(c,i)}),r=ji.test(n[0]),o=r?n[1]:n[2],s=o.charCodeAt(0),a=42===s,o=a?o.slice(1):o,l.push({tag:!0,value:o.trim(),html:r,oneTime:a}),c=i+n[0].length;return c<t.length&&l.push({value:t.slice(c)}),Li.put(t,l),l}function U(t,e){return t.length>1?t.map(function(t){return G(t,e)}).join("+"):G(t[0],e,!0)}function G(t,e,n){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':K(t.value,n):'"'+t.value+'"'}function K(t,e){if(Ni.test(t)){var n=V(t);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function Y(t,e,n,i){Z(t,1,function(){e.appendChild(t)},n,i)}function X(t,e,n,i){Z(t,1,function(){rt(t,e)},n,i)}function J(t,e,n){Z(t,-1,function(){st(t)},e,n)}function Z(t,e,n,i,r){var o=t.__v_trans;if(!o||!o.hooks&&!ai||!i._isCompiled||i.$parent&&!i.$parent._isCompiled)return n(),void(r&&r());var s=e>0?"enter":"leave";o[s](n,r)}function Q(t){if("string"==typeof t){t=document.querySelector(t)}return t}function tt(t){if(!t)return!1;var e=t.ownerDocument.documentElement,n=t.parentNode;return e===t||e===n||!(!n||1!==n.nodeType||!e.contains(n))}function et(t,e){var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n}function nt(t,e){var n=et(t,":"+e);return null===n&&(n=et(t,"v-bind:"+e)),n}function it(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function rt(t,e){e.parentNode.insertBefore(t,e)}function ot(t,e){e.nextSibling?rt(t,e.nextSibling):e.parentNode.appendChild(t)}function st(t){t.parentNode.removeChild(t)}function at(t,e){e.firstChild?rt(t,e.firstChild):e.appendChild(t)}function lt(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)}function ct(t,e,n,i){t.addEventListener(e,n,i)}function ut(t,e,n){t.removeEventListener(e,n)}function dt(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function ht(t,e){ii&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function ft(t,e){if(t.classList)t.classList.add(e);else{var n=" "+dt(t)+" ";n.indexOf(" "+e+" ")<0&&ht(t,(n+e).trim())}}function pt(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+dt(t)+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");ht(t,n.trim())}t.className||t.removeAttribute("class")}function mt(t,e){var n,i;if(yt(t)&&_t(t.content)&&(t=t.content),t.hasChildNodes())for(gt(t),i=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)i.appendChild(n);return i}function gt(t){for(var e;e=t.firstChild,vt(e);)t.removeChild(e);for(;e=t.lastChild,vt(e);)t.removeChild(e)}function vt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function yt(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function bt(t,e){var n=Wi.debug?document.createComment(t):document.createTextNode(e?" ":"");return n.__v_anchor=!0,n}function wt(t){if(t.hasAttributes())for(var e=t.attributes,n=0,i=e.length;n<i;n++){var r=e[n].name;if(Ui.test(r))return h(r.replace(Ui,""))}}function At(t,e,n){for(var i;t!==e;)i=t.nextSibling,n(t),t=i;n(e)}function xt(t,e,n,i,r){function o(){if(a++,s&&a>=l.length){for(var t=0;t<l.length;t++)i.appendChild(l[t]);r&&r()}}var s=!1,a=0,l=[];At(t,e,function(t){t===e&&(s=!0),l.push(t),J(t,n,o)})}function _t(t){return t&&11===t.nodeType}function Et(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}function Ct(t,e){var n=t.tagName.toLowerCase(),i=t.hasAttributes();if(Gi.test(n)||Ki.test(n)){if(i)return kt(t,e)}else{if(Mt(e,"components",n))return{id:n};var r=i&&kt(t,e);if(r)return r}}function kt(t,e){var n=t.getAttribute("is");if(null!=n){if(Mt(e,"components",n))return t.removeAttribute("is"),{id:n}}else if(n=nt(t,"is"),null!=n)return{id:n,dynamic:!0}}function St(t,e){var n,r,s;for(n in e)r=t[n],s=e[n],o(t,n)?b(r)&&b(s)&&St(r,s):i(t,n,s);return t}function Ft(t,e){var n=Object.create(t||null);return e?y(n,$t(e)):n}function Dt(t){if(t.components)for(var e,n=t.components=$t(t.components),i=Object.keys(n),r=0,o=i.length;r<o;r++){var s=i[r];Gi.test(s)||Ki.test(s)||(e=n[s],w(e)&&(n[s]=jn.extend(e)))}}function Tt(t){var e,n,i=t.props;if(Jn(i))for(t.props={},e=i.length;e--;)n=i[e],"string"==typeof n?t.props[n]=null:n.name&&(t.props[n.name]=n);else if(w(i)){var r=Object.keys(i);for(e=r.length;e--;)n=i[r[e]],"function"==typeof n&&(i[r[e]]={type:n})}}function $t(t){if(Jn(t)){for(var e,n={},i=t.length;i--;){e=t[i];var r="function"==typeof e?e.options&&e.options.name||e.id:e.name||e.id;r&&(n[r]=e)}return n}return t}function Bt(t,e,n){function i(i){var r=Yi[i]||Xi;s[i]=r(t[i],e[i],n,i)}Dt(e),Tt(e);var r,s={};if(e.extends&&(t="function"==typeof e.extends?Bt(t,e.extends.options,n):Bt(t,e.extends,n)),e.mixins)for(var a=0,l=e.mixins.length;a<l;a++){var c=e.mixins[a],u=c.prototype instanceof jn?c.options:c;t=Bt(t,u,n)}for(r in t)i(r);for(r in e)o(t,r)||i(r);return s}function Mt(t,e,n,i){if("string"==typeof n){var r,o=t[e],s=o[n]||o[r=h(n)]||o[r.charAt(0).toUpperCase()+r.slice(1)];return s}}function Rt(){this.id=Ji++,this.subs=[]}function Pt(t){er=!1,t(),er=!0}function Lt(t){if(this.value=t,this.dep=new Rt,A(t,"__ob__",this),Jn(t)){var e=Zn?Ot:jt;e(t,Qi,tr),this.observeArray(t)}else this.walk(t)}function Ot(t,e){t.__proto__=e}function jt(t,e,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];A(t,o,e[o])}}function Nt(t,e){if(t&&"object"==typeof t){var n;return o(t,"__ob__")&&t.__ob__ instanceof Lt?n=t.__ob__:er&&(Jn(t)||w(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Lt(t)),n&&e&&n.addVm(e),n}}function It(t,e,n){var i=new Rt,r=Object.getOwnPropertyDescriptor(t,e);if(!r||r.configurable!==!1){var o=r&&r.get,s=r&&r.set,a=Nt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):n;if(Rt.target&&(i.depend(),a&&a.dep.depend(),Jn(e)))for(var r,s=0,l=e.length;s<l;s++)r=e[s],r&&r.__ob__&&r.__ob__.dep.depend();return e},set:function(e){var r=o?o.call(t):n;e!==r&&(s?s.call(t,e):n=e,a=Nt(e),i.notify())}})}}function Ht(t){t.prototype._init=function(t){t=t||{},this.$el=null,this.$parent=t.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=ir++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=t._context||this.$parent,this._scope=t._scope,this._frag=t._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),t=this.$options=Bt(this.constructor.options,t,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}}function Vt(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function Wt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(s(e)?d(e):"*"+e)}function zt(t){function e(){var e=t[u+1];if(d===pr&&"'"===e||d===mr&&'"'===e)return u++,i="\\"+e,f[or](),!0}var n,i,r,o,s,a,l,c=[],u=-1,d=cr,h=0,f=[];for(f[sr]=function(){void 0!==r&&(c.push(r),r=void 0)},f[or]=function(){void 0===r?r=i:r+=i},f[ar]=function(){f[or](),h++},f[lr]=function(){if(h>0)h--,d=fr,f[or]();else{if(h=0,r=Wt(r),r===!1)return!1;f[sr]()}};null!=d;)if(u++,n=t[u],"\\"!==n||!e()){if(o=Vt(n),l=yr[d],s=l[o]||l.else||vr,s===vr)return;if(d=s[0],a=f[s[1]],a&&(i=s[2],i=void 0===i?n:i,a()===!1))return;if(d===gr)return c.raw=t,c}}function qt(t){var e=rr.get(t);return e||(e=zt(t),e&&rr.put(t,e)),e}function Ut(t,e){return ee(e).get(t)}function Gt(t,e,n){var r=t;if("string"==typeof e&&(e=zt(e)),!e||!b(t))return!1;for(var o,s,a=0,l=e.length;a<l;a++)o=t,s=e[a],"*"===s.charAt(0)&&(s=ee(s.slice(1)).get.call(r,r)),a<l-1?(t=t[s],b(t)||(t={},i(o,s,t))):Jn(t)?t.$set(s,n):s in t?t[s]=n:i(t,s,n);return!0}function Kt(){}function Yt(t,e){var n=Br.length;return Br[n]=e?t.replace(kr,"\\n"):t,'"'+n+'"'}function Xt(t){var e=t.charAt(0),n=t.slice(1);return xr.test(n)?t:(n=n.indexOf('"')>-1?n.replace(Fr,Jt):n,e+"scope."+n)}function Jt(t,e){return Br[e]}function Zt(t){Er.test(t),Br.length=0;var e=t.replace(Sr,Yt).replace(Cr,"");return e=(" "+e).replace(Tr,Xt).replace(Fr,Jt),Qt(e)}function Qt(t){try{return new Function("scope","return "+t+";")}catch(t){return Kt}}function te(t){var e=qt(t);if(e)return function(t,n){Gt(t,e,n)}}function ee(t,e){t=t.trim();var n=wr.get(t);if(n)return e&&!n.set&&(n.set=te(n.exp)),n;var i={exp:t};return i.get=ne(t)&&t.indexOf("[")<0?Qt("scope."+t):Zt(t),e&&(i.set=te(t)),wr.put(t,i),i}function ne(t){return Dr.test(t)&&!$r.test(t)&&"Math."!==t.slice(0,5)}function ie(){Rr.length=0,Pr.length=0,Lr={},Or={},jr=!1}function re(){for(var t=!0;t;)t=!1,oe(Rr),oe(Pr),Rr.length?t=!0:(ti&&Wi.devtools&&ti.emit("flush"),ie())}function oe(t){for(var e=0;e<t.length;e++){var n=t[e],i=n.id;Lr[i]=null,n.run()}t.length=0}function se(t){var e=t.id;if(null==Lr[e]){var n=t.user?Pr:Rr;Lr[e]=n.length,n.push(t),jr||(jr=!0,hi(re))}}function ae(t,e,n,i){i&&y(this,i);var r="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=e,this.cb=n,this.id=++Nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fi,this.newDepIds=new fi,this.prevError=null,r)this.getter=e,this.setter=void 0;else{var o=ee(e,this.twoWay);this.getter=o.get,this.setter=o.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function le(t,e){var n=void 0,i=void 0;e||(e=Ir,e.clear());var r=Jn(t),o=b(t);if((r||o)&&Object.isExtensible(t)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(r)for(n=t.length;n--;)le(t[n],e);else if(o)for(i=Object.keys(t),n=i.length;n--;)le(t[i[n]],e)}}function ce(t){return yt(t)&&_t(t.content)}function ue(t,e){var n=e?t:t.trim(),i=Vr.get(n);if(i)return i;var r=document.createDocumentFragment(),o=t.match(qr),s=Ur.test(t),a=Gr.test(t);if(o||s||a){var l=o&&o[1],c=zr[l]||zr.efault,u=c[0],d=c[1],h=c[2],f=document.createElement("div");for(f.innerHTML=d+t+h;u--;)f=f.lastChild;for(var p;p=f.firstChild;)r.appendChild(p)}else r.appendChild(document.createTextNode(t));return e||gt(r),Vr.put(n,r),r}function de(t){if(ce(t))return ue(t.innerHTML);if("SCRIPT"===t.tagName)return ue(t.textContent);for(var e,n=he(t),i=document.createDocumentFragment();e=n.firstChild;)i.appendChild(e);return gt(i),i}function he(t){if(!t.querySelectorAll)return t.cloneNode();var e,n,i,r=t.cloneNode(!0);if(Kr){var o=r;if(ce(t)&&(t=t.content,o=r.content),n=t.querySelectorAll("template"),n.length)for(i=o.querySelectorAll("template"),e=i.length;e--;)i[e].parentNode.replaceChild(he(n[e]),i[e])}if(Yr)if("TEXTAREA"===t.tagName)r.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(i=r.querySelectorAll("textarea"),e=i.length;e--;)i[e].value=n[e].value;return r}function fe(t,e,n){var i,r;return _t(t)?(gt(t),e?he(t):t):("string"==typeof t?n||"#"!==t.charAt(0)?r=ue(t,n):(r=Wr.get(t),r||(i=document.getElementById(t.slice(1)),i&&(r=de(i),Wr.put(t,r)))):t.nodeType&&(r=de(t)),r&&e?he(r):r)}function pe(t,e,n,i,r,o){this.children=[],this.childFrags=[],this.vm=e,this.scope=r,this.inserted=!1,this.parentFrag=o,o&&o.childFrags.push(this),this.unlink=t(e,n,i,r,this);var s=this.single=1===n.childNodes.length&&!n.childNodes[0].__v_anchor;s?(this.node=n.childNodes[0],this.before=me,this.remove=ge):(this.node=bt("fragment-start"),this.end=bt("fragment-end"),this.frag=n,at(this.node,n),n.appendChild(this.end),this.before=ve,this.remove=ye),this.node.__v_frag=this}function me(t,e){this.inserted=!0;var n=e!==!1?X:rt;n(this.node,t,this.vm),tt(this.node)&&this.callHook(be)}function ge(){this.inserted=!1;var t=tt(this.node),e=this;this.beforeRemove(),J(this.node,this.vm,function(){t&&e.callHook(we),e.destroy()})}function ve(t,e){this.inserted=!0;var n=this.vm,i=e!==!1?X:rt;At(this.node,this.end,function(e){i(e,t,n)}),tt(this.node)&&this.callHook(be)}function ye(){this.inserted=!1;var t=this,e=tt(this.node);this.beforeRemove(),xt(this.node,this.end,this.vm,this.frag,function(){e&&t.callHook(we),t.destroy()})}function be(t){!t._isAttached&&tt(t.$el)&&t._callHook("attached")}function we(t){t._isAttached&&!tt(t.$el)&&t._callHook("detached")}function Ae(t,e){this.vm=t;var n,i="string"==typeof e;i||yt(e)&&!e.hasAttribute("v-if")?n=fe(e,!0):(n=document.createDocumentFragment(),n.appendChild(e)),this.template=n;var r,o=t.constructor.cid;if(o>0){var s=o+(i?e:Et(e));r=Zr.get(s),r||(r=Xe(n,t.$options,!0),Zr.put(s,r))}else r=Xe(n,t.$options,!0);this.linker=r}function xe(t,e,n){var i=t.node.previousSibling;if(i){for(t=i.__v_frag;!(t&&t.forId===n&&t.inserted||i===e);){if(i=i.previousSibling,!i)return;t=i.__v_frag}return t}}function _e(t){for(var e=-1,n=new Array(Math.floor(t));++e<t;)n[e]=e;return n}function Ee(t,e,n,i){return i?"$index"===i?t:i.charAt(0).match(/\w/)?Ut(n,i):n[i]:e||n}function Ce(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function ke(t,e,n){for(var i,r,o,s=e?[]:null,a=0,l=t.options.length;a<l;a++)if(i=t.options[a],o=n?i.hasAttribute("selected"):i.selected){if(r=i.hasOwnProperty("_value")?i._value:i.value,!e)return r;s.push(r)}return s}function Se(t,e){for(var n=t.length;n--;)if(C(t[n],e))return n;return-1}function Fe(t,e){var n=e.map(function(t){var e=t.charCodeAt(0);return e>47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:wo[t]});return n=[].concat.apply([],n),function(e){if(n.indexOf(e.keyCode)>-1)return t.call(this,e)}}function De(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function Te(t){return function(e){return e.preventDefault(),t.call(this,e)}}function $e(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function Be(t){if(Co[t])return Co[t];var e=Me(t);return Co[t]=Co[e]=e,e}function Me(t){t=p(t);var e=h(t),n=e.charAt(0).toUpperCase()+e.slice(1);ko||(ko=document.createElement("div"));var i,r=xo.length;if("filter"!==e&&e in ko.style)return{kebab:t,camel:e};for(;r--;)if(i=_o[r]+n,i in ko.style)return{kebab:xo[r]+t,camel:i}}function Re(t){var e=[];if(Jn(t))for(var n=0,i=t.length;n<i;n++){var r=t[n];if(r)if("string"==typeof r)e.push(r);else for(var o in r)r[o]&&e.push(o)}else if(b(t))for(var s in t)t[s]&&e.push(s);return e}function Pe(t,e,n){if(e=e.trim(),e.indexOf(" ")===-1)return void n(t,e);for(var i=e.split(/\s+/),r=0,o=i.length;r<o;r++)n(t,i[r])}function Le(t,e,n){function i(){++o>=r?n():t[o].call(e,i)}var r=t.length,o=0;t[0].call(e,i)}function Oe(t,e,n){for(var i,r,o,a,l,c,u,d=[],f=n.$options.propsData,m=Object.keys(e),g=m.length;g--;)if(r=m[g],i=e[r]||Vo,l=h(r),Wo.test(l)){if(u={name:r,path:l,options:i,mode:Ho.ONE_WAY,raw:null},o=p(r),null===(a=nt(t,o))&&(null!==(a=nt(t,o+".sync"))?u.mode=Ho.TWO_WAY:null!==(a=nt(t,o+".once"))&&(u.mode=Ho.ONE_TIME)),null!==a)u.raw=a,c=V(a),a=c.expression,u.filters=c.filters,s(a)&&!c.filters?u.optimizedLiteral=!0:u.dynamic=!0,u.parentPath=a;else if(null!==(a=et(t,o)))u.raw=a;else if(f&&null!==(a=f[r]||f[l]))u.raw=a;else;d.push(u)}return je(d)}function je(t){return function(e,n){e._props={};for(var i,r,s,a,l,h=e.$options.propsData,f=t.length;f--;)if(i=t[f],l=i.raw,r=i.path,s=i.options,e._props[r]=i,h&&o(h,r)&&Ie(e,i,h[r]),null===l)Ie(e,i,void 0);else if(i.dynamic)i.mode===Ho.ONE_TIME?(a=(n||e._context||e).$get(i.parentPath),Ie(e,i,a)):e._context?e._bindDir({name:"prop",def:qo,prop:i},null,null,n):Ie(e,i,e.$get(i.parentPath));else if(i.optimizedLiteral){var m=d(l);a=m===l?u(c(l)):m,Ie(e,i,a)}else a=s.type===Boolean&&(""===l||l===p(i.name))||l,Ie(e,i,a)}}function Ne(t,e,n,i){var r=e.dynamic&&ne(e.parentPath),o=n;void 0===o&&(o=Ve(t,e)),o=ze(e,o,t);var s=o!==n;We(e,o,t)||(o=void 0),r&&!s?Pt(function(){i(o)}):i(o)}function Ie(t,e,n){Ne(t,e,n,function(n){It(t,e.path,n)})}function He(t,e,n){Ne(t,e,n,function(n){t[e.path]=n})}function Ve(t,e){var n=e.options;if(!o(n,"default"))return n.type!==Boolean&&void 0;var i=n.default;return b(i),"function"==typeof i&&n.type!==Function?i.call(t):i}function We(t,e,n){if(!t.options.required&&(null===t.raw||null==e))return!0;var i=t.options,r=i.type,o=!r,s=[];if(r){Jn(r)||(r=[r]);for(var a=0;a<r.length&&!o;a++){var l=qe(e,r[a]);s.push(l.expectedType),o=l.valid}}if(!o)return!1;var c=i.validator;return!(c&&!c(e))}function ze(t,e,n){var i=t.options.coerce;return i&&"function"==typeof i?i(e):e}function qe(t,e){var n,i;return e===String?(i="string",n=typeof t===i):e===Number?(i="number",n=typeof t===i):e===Boolean?(i="boolean",n=typeof t===i):e===Function?(i="function",n=typeof t===i):e===Object?(i="object",n=w(t)):e===Array?(i="array",n=Jn(t)):n=t instanceof e,{valid:n,expectedType:i}}function Ue(t){Uo.push(t),Go||(Go=!0,hi(Ge))}function Ge(){for(var t=document.documentElement.offsetHeight,e=0;e<Uo.length;e++)Uo[e]();return Uo=[],Go=!1,t}function Ke(t,e,n,i){this.id=e,this.el=t,this.enterClass=n&&n.enterClass||e+"-enter",this.leaveClass=n&&n.leaveClass||e+"-leave",this.hooks=n,this.vm=i,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=n&&n.type;var r=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){r[t]=g(r[t],r)})}function Ye(t){if(/svg$/.test(t.namespaceURI)){var e=t.getBoundingClientRect();return!(e.width||e.height)}return!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Xe(t,e,n){var i=n||!e._asComponent?rn(t,e):null,r=i&&i.terminal||An(t)||!t.hasChildNodes()?null:un(t.childNodes,e);return function(t,e,n,o,s){var a=v(e.childNodes),l=Je(function(){i&&i(t,e,n,o,s),r&&r(t,a,n,o,s)},t);return Qe(t,l)}}function Je(t,e){e._directives=[];var n=e._directives.length;t();var i=e._directives.slice(n);Ze(i);for(var r=0,o=i.length;r<o;r++)i[r]._bind();return i}function Ze(t){if(0!==t.length){var e,n,i,r,o={},s=0,a=[];for(e=0,n=t.length;e<n;e++){var l=t[e],c=l.descriptor.def.priority||ls,u=o[c];u||(u=o[c]=[],a.push(c)),u.push(l)}for(a.sort(function(t,e){return t>e?-1:t===e?0:1}),e=0,n=a.length;e<n;e++){var d=o[a[e]];for(i=0,r=d.length;i<r;i++)t[s++]=d[i]}}}function Qe(t,e,n,i){function r(r){tn(t,e,r),n&&i&&tn(n,i)}return r.dirs=e,r}function tn(t,e,n){for(var i=e.length;i--;)e[i]._teardown()}function en(t,e,n,i){var r=Oe(e,n,t),o=Je(function(){r(t,i)},t);return Qe(t,o)}function nn(t,e,n){var i,r,o=e._containerAttrs,s=e._replacerAttrs;if(11!==t.nodeType)e._asComponent?(o&&n&&(i=vn(o,n)),s&&(r=vn(s,e))):r=vn(t.attributes,e);else;return e._containerAttrs=e._replacerAttrs=null,function(t,e,n){var o,s=t._context;s&&i&&(o=Je(function(){i(s,e,null,n)},s));var a=Je(function(){r&&r(t,e)},t);return Qe(t,a,s,o)}}function rn(t,e){var n=t.nodeType;return 1!==n||An(t)?3===n&&t.data.trim()?sn(t,e):null:on(t,e)}function on(t,e){if("TEXTAREA"===t.tagName){if(null!==et(t,"v-pre"))return mn;var n=q(t.value);n&&(t.setAttribute(":value",U(n)),t.value="")}var i,r=t.hasAttributes(),o=r&&v(t.attributes);return r&&(i=pn(t,o,e)),i||(i=hn(t,e)),i||(i=fn(t,e)),!i&&r&&(i=vn(o,e)),i}function sn(t,e){if(t._skip)return an;var n=q(t.wholeText);if(!n)return null;for(var i=t.nextSibling;i&&3===i.nodeType;)i._skip=!0,i=i.nextSibling;for(var r,o,s=document.createDocumentFragment(),a=0,l=n.length;a<l;a++)o=n[a],r=o.tag?ln(o,e):document.createTextNode(o.value),s.appendChild(r);return cn(n,s,e)}function an(t,e){st(e)}function ln(t,e){function n(e){if(!t.descriptor){var n=V(t.value);t.descriptor={name:e,def:jo[e],expression:n.expression,filters:n.filters}}}var i;return t.oneTime?i=document.createTextNode(t.value):t.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function cn(t,e){return function(n,i,r,o){for(var s,a,c,u=e.cloneNode(!0),d=v(u.childNodes),h=0,f=t.length;h<f;h++)s=t[h],a=s.value,s.tag&&(c=d[h],s.oneTime?(a=(o||n).$eval(a),s.html?lt(c,fe(a,!0)):c.data=l(a)):n._bindDir(s.descriptor,c,r,o));lt(i,u)}}function un(t,e){for(var n,i,r,o=[],s=0,a=t.length;s<a;s++)r=t[s],n=rn(r,e),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:un(r.childNodes,e),o.push(n,i);return o.length?dn(o):null}function dn(t){return function(e,n,i,r,o){for(var s,a,l,c=0,u=0,d=t.length;c<d;u++){s=n[u],a=t[c++],l=t[c++];var h=v(s.childNodes);a&&a(e,s,i,r,o),l&&l(e,h,i,r,o)}}}function hn(t,e){var n=t.tagName.toLowerCase();if(!Gi.test(n)){var i=Mt(e,"elementDirectives",n);return i?gn(t,n,"",e,i):void 0}}function fn(t,e){var n=Ct(t,e);if(n){var i=wt(t),r={name:"component",ref:i,expression:n.id,def:ns.component,modifiers:{literal:!n.dynamic}},o=function(t,e,n,o,s){i&&It((o||t).$refs,i,null),t._bindDir(r,e,n,o,s)};return o.terminal=!0,o}}function pn(t,e,n){if(null!==et(t,"v-pre"))return mn;if(t.hasAttribute("v-else")){var i=t.previousElementSibling;if(i&&i.hasAttribute("v-if"))return mn}for(var r,o,s,a,l,c,u,d,h,f,p=0,m=e.length;p<m;p++)r=e[p],o=r.name.replace(ss,""),(l=o.match(os))&&(h=Mt(n,"directives",l[1]),h&&h.terminal&&(!f||(h.priority||cs)>f.priority)&&(f=h,u=r.name,a=yn(r.name),s=r.value,c=l[1],d=l[2]));return f?gn(t,c,s,n,f,u,d,a):void 0}function mn(){}function gn(t,e,n,i,r,o,s,a){var l=V(n),c={name:e,arg:s,expression:l.expression,filters:l.filters,raw:n,attr:o,modifiers:a,def:r};"for"!==e&&"router-view"!==e||(c.ref=wt(t));var u=function(t,e,n,i,r){c.ref&&It((i||t).$refs,c.ref,null),t._bindDir(c,e,n,i,r)};return u.terminal=!0,u}function vn(t,e){function n(t,e,n){var i=n&&wn(n),r=!i&&V(o);m.push({name:t,attr:s,raw:a,def:e,arg:c,modifiers:u,expression:r&&r.expression,filters:r&&r.filters,interp:n,hasOneTime:i})}for(var i,r,o,s,a,l,c,u,d,h,f,p=t.length,m=[];p--;)if(i=t[p],r=s=i.name,o=a=i.value,h=q(o),c=null,u=yn(r),r=r.replace(ss,""),h)o=U(h),c=r,n("bind",jo.bind,h);else if(as.test(r))u.literal=!is.test(r),n("transition",ns.transition);else if(rs.test(r))c=r.replace(rs,""),n("on",jo.on);else if(is.test(r))l=r.replace(is,""),"style"===l||"class"===l?n(l,ns[l]):(c=l,n("bind",jo.bind));else if(f=r.match(os)){if(l=f[1],c=f[2],"else"===l)continue;d=Mt(e,"directives",l,!0),d&&n(l,d)}if(m.length)return bn(m)}function yn(t){var e=Object.create(null),n=t.match(ss);if(n)for(var i=n.length;i--;)e[n[i].slice(1)]=!0;return e}function bn(t){return function(e,n,i,r,o){for(var s=t.length;s--;)e._bindDir(t[s],n,i,r,o)}}function wn(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function An(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function xn(t,e){return e&&(e._containerAttrs=En(t)),yt(t)&&(t=fe(t)),e&&(e._asComponent&&!e.template&&(e.template="<slot></slot>"),e.template&&(e._content=mt(t),t=_n(t,e))),_t(t)&&(at(bt("v-start",!0),t),t.appendChild(bt("v-end",!0))),t}function _n(t,e){var n=e.template,i=fe(n,!0);if(i){var r=i.firstChild;if(!r)return i;var o=r.tagName&&r.tagName.toLowerCase();return e.replace?(t===document.body,i.childNodes.length>1||1!==r.nodeType||"component"===o||Mt(e,"components",o)||it(r,"is")||Mt(e,"elementDirectives",o)||r.hasAttribute("v-for")||r.hasAttribute("v-if")?i:(e._replacerAttrs=En(r),Cn(t,r),r)):(t.appendChild(i),t)}}function En(t){if(1===t.nodeType&&t.hasAttributes())return v(t.attributes)}function Cn(t,e){for(var n,i,r=t.attributes,o=r.length;o--;)n=r[o].name,i=r[o].value,e.hasAttribute(n)||us.test(n)?"class"===n&&!q(i)&&(i=i.trim())&&i.split(/\s+/).forEach(function(t){ft(e,t)}):e.setAttribute(n,i)}function kn(t,e){if(e){for(var n,i,r=t._slotContents=Object.create(null),o=0,s=e.children.length;o<s;o++)n=e.children[o],(i=n.getAttribute("slot"))&&(r[i]||(r[i]=[])).push(n);for(i in r)r[i]=Sn(r[i],e);if(e.hasChildNodes()){var a=e.childNodes;if(1===a.length&&3===a[0].nodeType&&!a[0].data.trim())return;r.default=Sn(e.childNodes,e)}}}function Sn(t,e){var n=document.createDocumentFragment();t=v(t);for(var i=0,r=t.length;i<r;i++){var o=t[i];!yt(o)||o.hasAttribute("v-if")||o.hasAttribute("v-for")||(e.removeChild(o),o=fe(o,!0)),n.appendChild(o)}return n}function Fn(t){function e(){}function n(t,e){var n=new ae(e,t,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Rt.target&&n.depend(),n.value}}Object.defineProperty(t.prototype,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),t.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},t.prototype._initProps=function(){var t=this.$options,e=t.el,n=t.props;e=t.el=Q(e),this._propsUnlinkFn=e&&1===e.nodeType&&n?en(this,e,n,this._scope):null},t.prototype._initData=function(){var t=this.$options.data,e=this._data=t?t():{};w(e)||(e={});var n,i,r=this._props,s=Object.keys(e);for(n=s.length;n--;)i=s[n],r&&o(r,i)||this._proxy(i);Nt(e,this)},t.prototype._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,i,r;for(n=Object.keys(e),r=n.length;r--;)i=n[r],i in t||this._unproxy(i);for(n=Object.keys(t),r=n.length;r--;)i=n[r],o(this,i)||this._proxy(i);e.__ob__.removeVm(this),Nt(t,this),this._digest()},t.prototype._proxy=function(t){if(!a(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}},t.prototype._unproxy=function(t){a(t)||delete this[t]},t.prototype._digest=function(){for(var t=0,e=this._watchers.length;t<e;t++)this._watchers[t].update(!0)},t.prototype._initComputed=function(){var t=this.$options.computed;if(t)for(var i in t){var r=t[i],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=n(r,this),o.set=e):(o.get=r.get?r.cache!==!1?n(r.get,this):g(r.get,this):e,o.set=r.set?g(r.set,this):e),Object.defineProperty(this,i,o)}},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=g(t[e],this)},t.prototype._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)It(this,e,t[e])}}function Dn(t){function e(t,e){for(var n,i,r,o=e.attributes,s=0,a=o.length;s<a;s++)n=o[s].name,hs.test(n)&&(n=n.replace(hs,""),i=o[s].value,ne(i)&&(i+=".apply(this, $arguments)"),r=(t._scope||t._context).$eval(i,!0),r._fromParent=!0,t.$on(n.replace(hs),r))}function n(t,e,n){if(n){var r,o,s,a;for(o in n)if(r=n[o],Jn(r))for(s=0,a=r.length;s<a;s++)i(t,e,o,r[s]);else i(t,e,o,r)}}function i(t,e,n,r,o){var s=typeof r;if("function"===s)t[e](n,r,o);else if("string"===s){var a=t.$options.methods,l=a&&a[r];l&&t[e](n,l,o)}else r&&"object"===s&&i(t,e,n,r.handler,r)}function r(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(t){!t._isAttached&&tt(t.$el)&&t._callHook("attached")}function s(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(a))}function a(t){t._isAttached&&!tt(t.$el)&&t._callHook("detached")}t.prototype._initEvents=function(){var t=this.$options;t._asComponent&&e(this,t.el),n(this,"$on",t.events),n(this,"$watch",t.watch)},t.prototype._initDOMHooks=function(){this.$on("hook:attached",r),this.$on("hook:detached",s)},t.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e)for(var n=0,i=e.length;n<i;n++)e[n].call(this);this.$emit("hook:"+t)}}function Tn(){}function $n(t,e,n,i,r,o){this.vm=e,this.el=n,this.descriptor=t,this.name=t.name,this.expression=t.expression,this.arg=t.arg,this.modifiers=t.modifiers,this.filters=t.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=i,this._scope=r,this._frag=o}function Bn(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var n=(this._scope||this._context).$refs;t?n[e]===this&&(n[e]=null):n[e]=this}},t.prototype._compile=function(t){var e=this.$options,n=t;if(t=xn(t,e),this._initElement(t),1!==t.nodeType||null===et(t,"v-pre")){var i=this._context&&this._context.$options,r=nn(t,e,i);kn(this,e._content);var o,s=this.constructor;e._linkerCachable&&(o=s.linker,o||(o=s.linker=Xe(t,e)));var a=r(this,t,this._scope),l=o?o(this,t):Xe(t,e)(this,t);this._unlinkFn=function(){a(),l(!0)},e.replace&<(n,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){
|
|
7
|
-
_t(t)?(this._isFragment=!0,this.$el=this._fragmentStart=t.firstChild,this._fragmentEnd=t.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},t.prototype._bindDir=function(t,e,n,i,r){this._directives.push(new $n(t,this,e,n,i,r))},t.prototype._destroy=function(t,e){if(this._isBeingDestroyed)return void(e||this._cleanup());var n,i,r=this,o=function(){!n||i||e||r._cleanup()};t&&this.$el&&(i=!0,this.$remove(function(){i=!1,o()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var s,a=this.$parent;for(a&&!a._isBeingDestroyed&&(a.$children.$remove(this),this._updateRef(!0)),s=this.$children.length;s--;)this.$children[s].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),s=this._watchers.length;s--;)this._watchers[s].teardown();this.$el&&(this.$el.__vue__=null),n=!0,o()},t.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function Mn(t){t.prototype._applyFilters=function(t,e,n,i){var r,o,s,a,l,c,u,d,h;for(c=0,u=n.length;c<u;c++)if(r=n[i?u-c-1:c],o=Mt(this.$options,"filters",r.name,!0),o&&(o=i?o.write:o.read||o,"function"==typeof o)){if(s=i?[t,e]:[t],l=i?2:1,r.args)for(d=0,h=r.args.length;d<h;d++)a=r.args[d],s[d+l]=a.dynamic?this.$get(a.value):a.value;t=o.apply(this,s)}return t},t.prototype._resolveComponent=function(e,n){var i;if(i="function"==typeof e?e:Mt(this.$options,"components",e,!0))if(i.options)n(i);else if(i.resolved)n(i.resolved);else if(i.requested)i.pendingCallbacks.push(n);else{i.requested=!0;var r=i.pendingCallbacks=[n];i.call(this,function(e){w(e)&&(e=t.extend(e)),i.resolved=e;for(var n=0,o=r.length;n<o;n++)r[n](e)},function(t){})}}}function Rn(t){function e(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){var n=ee(t);if(n){if(e){var i=this;return function(){i.$arguments=v(arguments);var t=n.get.call(i,i);return i.$arguments=null,t}}try{return n.get.call(this,this)}catch(t){}}},t.prototype.$set=function(t,e){var n=ee(t,!0);n&&n.set&&n.set.call(this,this,e)},t.prototype.$delete=function(t){r(this._data,t)},t.prototype.$watch=function(t,e,n){var i,r=this;"string"==typeof t&&(i=V(t),t=i.expression);var o=new ae(r,t,e,{deep:n&&n.deep,sync:n&&n.sync,filters:i&&i.filters,user:!n||n.user!==!1});return n&&n.immediate&&e.call(r,o.value),function(){o.teardown()}},t.prototype.$eval=function(t,e){if(fs.test(t)){var n=V(t),i=this.$get(n.expression,e);return n.filters?this._applyFilters(i,null,n.filters):i}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=q(t),n=this;return e?1===e.length?n.$eval(e[0].value)+"":e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var n=t?Ut(this._data,t):this._data;if(n&&(n=e(n)),!t){var i;for(i in this.$options.computed)n[i]=e(this[i]);if(this._props)for(i in this._props)n[i]=e(this[i])}console.log(n)}}function Pn(t){function e(t,e,i,r,o,s){e=n(e);var a=!tt(e),l=r===!1||a?o:s,c=!a&&!t._isAttached&&!tt(t.$el);return t._isFragment?(At(t._fragmentStart,t._fragmentEnd,function(n){l(n,e,t)}),i&&i()):l(t.$el,e,t,i),c&&t._callHook("attached"),t}function n(t){return"string"==typeof t?document.querySelector(t):t}function i(t,e,n,i){e.appendChild(t),i&&i()}function r(t,e,n,i){rt(t,e),i&&i()}function o(t,e,n){st(t),n&&n()}t.prototype.$nextTick=function(t){hi(t,this)},t.prototype.$appendTo=function(t,n,r){return e(this,t,n,r,i,Y)},t.prototype.$prependTo=function(t,e,i){return t=n(t),t.hasChildNodes()?this.$before(t.firstChild,e,i):this.$appendTo(t,e,i),this},t.prototype.$before=function(t,n,i){return e(this,t,n,i,r,X)},t.prototype.$after=function(t,e,i){return t=n(t),t.nextSibling?this.$before(t.nextSibling,e,i):this.$appendTo(t.parentNode,e,i),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var n=this._isAttached&&tt(this.$el);n||(e=!1);var i=this,r=function(){n&&i._callHook("detached"),t&&t()};if(this._isFragment)xt(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var s=e===!1?o:J;s(this.$el,this,r)}return this}}function Ln(t){function e(t,e,i){var r=t.$parent;if(r&&i&&!n.test(e))for(;r;)r._eventsCount[e]=(r._eventsCount[e]||0)+i,r=r.$parent}t.prototype.$on=function(t,n){return(this._events[t]||(this._events[t]=[])).push(n),e(this,t,1),this},t.prototype.$once=function(t,e){function n(){i.$off(t,n),e.apply(this,arguments)}var i=this;return n.fn=e,this.$on(t,n),this},t.prototype.$off=function(t,n){var i;if(!arguments.length){if(this.$parent)for(t in this._events)i=this._events[t],i&&e(this,t,-i.length);return this._events={},this}if(i=this._events[t],!i)return this;if(1===arguments.length)return e(this,t,-i.length),this._events[t]=null,this;for(var r,o=i.length;o--;)if(r=i[o],r===n||r.fn===n){e(this,t,-1),i.splice(o,1);break}return this},t.prototype.$emit=function(t){var e="string"==typeof t;t=e?t:t.name;var n=this._events[t],i=e||!n;if(n){n=n.length>1?v(n):n;var r=e&&n.some(function(t){return t._fromParent});r&&(i=!1);for(var o=v(arguments,1),s=0,a=n.length;s<a;s++){var l=n[s],c=l.apply(this,o);c!==!0||r&&!l._fromParent||(i=!0)}}return i},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var n=this.$children,i=v(arguments);e&&(i[0]={name:t,source:this});for(var r=0,o=n.length;r<o;r++){var s=n[r],a=s.$emit.apply(s,i);a&&s.$broadcast.apply(s,i)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var n=this.$parent,i=v(arguments);for(i[0]={name:t,source:this};n;)e=n.$emit.apply(n,i),n=e?n.$parent:null;return this}};var n=/^hook:/}function On(t){function e(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){if(!this._isCompiled)return t=Q(t),t||(t=document.createElement("div")),this._compile(t),this._initDOMHooks(),tt(this.$el)?(this._callHook("attached"),e.call(this)):this.$once("hook:attached",e),this},t.prototype.$destroy=function(t,e){this._destroy(t,e)},t.prototype.$compile=function(t,e,n,i){return Xe(t,this.$options,!0)(this,t,e,n,i)}}function jn(t){this._init(t)}function Nn(t,e,n){return n=n?parseInt(n,10):0,e=c(e),"number"==typeof e?t.slice(n,n+e):t}function In(t,e,n){if(t=vs(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var i,r,o,s,a="in"===n?3:2,l=Array.prototype.concat.apply([],v(arguments,a)),c=[],u=0,d=t.length;u<d;u++)if(i=t[u],o=i&&i.$value||i,s=l.length){for(;s--;)if(r=l[s],"$key"===r&&Vn(i.$key,e)||Vn(Ut(o,r),e)){c.push(i);break}}else Vn(i,e)&&c.push(i);return c}function Hn(t){function e(t,e,n){var r=i[n];return r&&("$key"!==r&&(b(t)&&"$value"in t&&(t=t.$value),b(e)&&"$value"in e&&(e=e.$value)),t=b(t)?Ut(t,r):t,e=b(e)?Ut(e,r):e),t===e?0:t>e?o:-o}var n=null,i=void 0;t=vs(t);var r=v(arguments,1),o=r[r.length-1];"number"==typeof o?(o=o<0?-1:1,r=r.length>1?r.slice(0,-1):r):o=1;var s=r[0];return s?("function"==typeof s?n=function(t,e){return s(t,e)*o}:(i=Array.prototype.concat.apply([],r),n=function(t,r,o){return o=o||0,o>=i.length-1?e(t,r,o):e(t,r,o)||n(t,r,o+1)}),t.slice().sort(n)):t}function Vn(t,e){var n;if(w(t)){var i=Object.keys(t);for(n=i.length;n--;)if(Vn(t[i[n]],e))return!0}else if(Jn(t)){for(n=t.length;n--;)if(Vn(t[n],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function Wn(t){function e(t){return new Function("return function "+m(t)+" (options) { this._init(options) }")()}t.options={directives:jo,elementDirectives:gs,filters:bs,transitions:{},components:{},partials:{},replace:!0},t.util=nr,t.config=Wi,t.set=i,t.delete=r,t.nextTick=hi,t.compiler=ds,t.FragmentFactory=Ae,t.internalDirectives=ns,t.parsers={path:br,text:Ii,template:Xr,directive:Ri,expression:Mr},t.cid=0;var n=1;t.extend=function(t){t=t||{};var i=this,r=0===i.cid;if(r&&t._Ctor)return t._Ctor;var o=t.name||i.options.name,s=e(o||"VueComponent");return s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.cid=n++,s.options=Bt(i.options,t),s.super=i,s.extend=i.extend,Wi._assetTypes.forEach(function(t){s[t]=i[t]}),o&&(s.options.components[o]=s),r&&(t._Ctor=s),s},t.use=function(t){if(!t.installed){var e=v(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},t.mixin=function(e){t.options=Bt(t.options,e)},Wi._assetTypes.forEach(function(e){t[e]=function(n,i){return i?("component"===e&&w(i)&&(i.name||(i.name=n),i=t.extend(i)),this.options[e+"s"][n]=i,i):this.options[e+"s"][n]}}),y(t.transition,qi)}var zn=Object.prototype.hasOwnProperty,qn=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Un=/-(\w)/g,Gn=/([^-])([A-Z])/g,Kn=/(?:^|[-_\/])(\w)/g,Yn=Object.prototype.toString,Xn="[object Object]",Jn=Array.isArray,Zn="__proto__"in{},Qn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),ti=Qn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,ei=Qn&&window.navigator.userAgent.toLowerCase(),ni=ei&&ei.indexOf("trident")>0,ii=ei&&ei.indexOf("msie 9.0")>0,ri=ei&&ei.indexOf("android")>0,oi=ei&&/iphone|ipad|ipod|ios/.test(ei),si=void 0,ai=void 0,li=void 0,ci=void 0;if(Qn&&!ii){var ui=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,di=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;si=ui?"WebkitTransition":"transition",ai=ui?"webkitTransitionEnd":"transitionend",li=di?"WebkitAnimation":"animation",ci=di?"webkitAnimationEnd":"animationend"}var hi=function(){function t(){n=!1;var t=e.slice(0);e.length=0;for(var i=0;i<t.length;i++)t[i]()}var e=[],n=!1,i=void 0;if("undefined"!=typeof Promise&&k(Promise)){var r=Promise.resolve(),o=function(){};i=function(){r.then(t),oi&&setTimeout(o)}}else if("undefined"!=typeof MutationObserver){var s=1,a=new MutationObserver(t),l=document.createTextNode(String(s));a.observe(l,{characterData:!0}),i=function(){s=(s+1)%2,l.data=String(s)}}else i=setTimeout;return function(r,o){var s=o?function(){r.call(o)}:r;e.push(s),n||(n=!0,i(t,0))}}(),fi=void 0;"undefined"!=typeof Set&&k(Set)?fi=Set:(fi=function(){this.set=Object.create(null)},fi.prototype.has=function(t){return void 0!==this.set[t]},fi.prototype.add=function(t){this.set[t]=1},fi.prototype.clear=function(){this.set=Object.create(null)});var pi=S.prototype;pi.put=function(t,e){var n,i=this.get(t,!0);return i||(this.size===this.limit&&(n=this.shift()),i={key:t},this._keymap[t]=i,this.tail?(this.tail.newer=i,i.older=this.tail):this.head=i,this.tail=i,this.size++),i.value=e,n},pi.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0,this.size--),t},pi.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)};var mi,gi,vi,yi,bi,wi,Ai=new S(1e3),xi=/^in$|^-?\d+/,_i=0,Ei=1,Ci=2,ki=3,Si=34,Fi=39,Di=124,Ti=92,$i=32,Bi={91:1,123:1,40:1},Mi={91:93,123:125,40:41},Ri=Object.freeze({parseDirective:V}),Pi=/[-.*+?^${}()|[\]\/\\]/g,Li=void 0,Oi=void 0,ji=void 0,Ni=/[^|]\|[^|]/,Ii=Object.freeze({compileRegex:z,parseText:q,tokensToExp:U}),Hi=["{{","}}"],Vi=["{{{","}}}"],Wi=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:!1,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return Hi},set:function(t){Hi=t,z()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return Vi},set:function(t){Vi=t,z()},configurable:!0,enumerable:!0}}),zi=void 0,qi=Object.freeze({appendWithTransition:Y,beforeWithTransition:X,removeWithTransition:J,applyTransition:Z}),Ui=/^v-ref:/,Gi=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Ki=/^(slot|partial|component)$/i,Yi=Wi.optionMergeStrategies=Object.create(null);Yi.data=function(t,e,n){return n?t||e?function(){var i="function"==typeof e?e.call(n):e,r="function"==typeof t?t.call(n):void 0;return i?St(i,r):r}:void 0:e?"function"!=typeof e?t:t?function(){return St(e.call(this),t.call(this))}:e:t},Yi.el=function(t,e,n){if(n||!e||"function"==typeof e){var i=e||t;return n&&"function"==typeof i?i.call(n):i}},Yi.init=Yi.created=Yi.ready=Yi.attached=Yi.detached=Yi.beforeCompile=Yi.compiled=Yi.beforeDestroy=Yi.destroyed=Yi.activate=function(t,e){return e?t?t.concat(e):Jn(e)?e:[e]:t},Wi._assetTypes.forEach(function(t){Yi[t+"s"]=Ft}),Yi.watch=Yi.events=function(t,e){if(!e)return t;if(!t)return e;var n={};y(n,t);for(var i in e){var r=n[i],o=e[i];r&&!Jn(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},Yi.props=Yi.methods=Yi.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return y(n,t),y(n,e),n};var Xi=function(t,e){return void 0===e?t:e},Ji=0;Rt.target=null,Rt.prototype.addSub=function(t){this.subs.push(t)},Rt.prototype.removeSub=function(t){this.subs.$remove(t)},Rt.prototype.depend=function(){Rt.target.addDep(this)},Rt.prototype.notify=function(){for(var t=v(this.subs),e=0,n=t.length;e<n;e++)t[e].update()};var Zi=Array.prototype,Qi=Object.create(Zi);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Zi[t];A(Qi,t,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,o=e.apply(this,i),s=this.__ob__;switch(t){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),A(Zi,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),A(Zi,"$remove",function(t){if(this.length){var e=_(this,t);return e>-1?this.splice(e,1):void 0}});var tr=Object.getOwnPropertyNames(Qi),er=!0;Lt.prototype.walk=function(t){for(var e=Object.keys(t),n=0,i=e.length;n<i;n++)this.convert(e[n],t[e[n]])},Lt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Nt(t[e])},Lt.prototype.convert=function(t,e){It(this.value,t,e)},Lt.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},Lt.prototype.removeVm=function(t){this.vms.$remove(t)};var nr=Object.freeze({defineReactive:It,set:i,del:r,hasOwn:o,isLiteral:s,isReserved:a,_toString:l,toNumber:c,toBoolean:u,stripQuotes:d,camelize:h,hyphenate:p,classify:m,bind:g,toArray:v,extend:y,isObject:b,isPlainObject:w,def:A,debounce:x,indexOf:_,cancellable:E,looseEqual:C,isArray:Jn,hasProto:Zn,inBrowser:Qn,devtools:ti,isIE:ni,isIE9:ii,isAndroid:ri,isIOS:oi,get transitionProp(){return si},get transitionEndEvent(){return ai},get animationProp(){return li},get animationEndEvent(){return ci},nextTick:hi,get _Set(){return fi},query:Q,inDoc:tt,getAttr:et,getBindAttr:nt,hasBindAttr:it,before:rt,after:ot,remove:st,prepend:at,replace:lt,on:ct,off:ut,setClass:ht,addClass:ft,removeClass:pt,extractContent:mt,trimNode:gt,isTemplate:yt,createAnchor:bt,findRef:wt,mapNodeRange:At,removeNodeRange:xt,isFragment:_t,getOuterHTML:Et,mergeOptions:Bt,resolveAsset:Mt,checkComponentAttr:Ct,commonTagRE:Gi,reservedTagRE:Ki,get warn(){return zi}}),ir=0,rr=new S(1e3),or=0,sr=1,ar=2,lr=3,cr=0,ur=1,dr=2,hr=3,fr=4,pr=5,mr=6,gr=7,vr=8,yr=[];yr[cr]={ws:[cr],ident:[hr,or],"[":[fr],eof:[gr]},yr[ur]={ws:[ur],".":[dr],"[":[fr],eof:[gr]},yr[dr]={ws:[dr],ident:[hr,or]},yr[hr]={ident:[hr,or],0:[hr,or],number:[hr,or],ws:[ur,sr],".":[dr,sr],"[":[fr,sr],eof:[gr,sr]},yr[fr]={"'":[pr,or],'"':[mr,or],"[":[fr,ar],"]":[ur,lr],eof:vr,else:[fr,or]},yr[pr]={"'":[fr,or],eof:vr,else:[pr,or]},yr[mr]={'"':[fr,or],eof:vr,else:[mr,or]};var br=Object.freeze({parsePath:qt,getPath:Ut,setPath:Gt}),wr=new S(1e3),Ar="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",xr=new RegExp("^("+Ar.replace(/,/g,"\\b|")+"\\b)"),_r="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",Er=new RegExp("^("+_r.replace(/,/g,"\\b|")+"\\b)"),Cr=/\s/g,kr=/\n/g,Sr=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\"']|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,Fr=/"(\d+)"/g,Dr=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Tr=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,$r=/^(?:true|false|null|undefined|Infinity|NaN)$/,Br=[],Mr=Object.freeze({parseExpression:ee,isSimplePath:ne}),Rr=[],Pr=[],Lr={},Or={},jr=!1,Nr=0;ae.prototype.get=function(){this.beforeGet();var t,e=this.scope||this.vm;try{t=this.getter.call(e,e)}catch(t){}return this.deep&&le(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.postProcess&&(t=this.postProcess(t)),this.afterGet(),t},ae.prototype.set=function(t){var e=this.scope||this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(t){}var n=e.$forContext;if(n&&n.alias===this.expression){if(n.filters)return;n._withLock(function(){e.$key?n.rawValue[e.$key]=t:n.rawValue.$set(e.$index,t)})}},ae.prototype.beforeGet=function(){Rt.target=this},ae.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ae.prototype.afterGet=function(){Rt.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ae.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!Wi.async?this.run():(this.shallow=this.queued?!!t&&this.shallow:!!t,this.queued=!0,se(this))},ae.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(b(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t;this.prevError;this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},ae.prototype.evaluate=function(){var t=Rt.target;this.value=this.get(),this.dirty=!1,Rt.target=t},ae.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},ae.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var Ir=new fi,Hr={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=l(t)}},Vr=new S(1e3),Wr=new S(1e3),zr={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};zr.td=zr.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],zr.option=zr.optgroup=[1,'<select multiple="multiple">',"</select>"],zr.thead=zr.tbody=zr.colgroup=zr.caption=zr.tfoot=[1,"<table>","</table>"],zr.g=zr.defs=zr.symbol=zr.use=zr.image=zr.text=zr.circle=zr.ellipse=zr.line=zr.path=zr.polygon=zr.polyline=zr.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var qr=/<([\w:-]+)/,Ur=/&#?\w+?;/,Gr=/<!--/,Kr=function(){if(Qn){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),Yr=function(){if(Qn){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),Xr=Object.freeze({cloneNode:he,parseTemplate:fe}),Jr={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=bt("v-html"),lt(this.el,this.anchor))},update:function(t){t=l(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)st(this.nodes[e]);var n=fe(t,!0,!0);this.nodes=v(n.childNodes),rt(n,this.anchor)}};pe.prototype.callHook=function(t){var e,n;for(e=0,n=this.childFrags.length;e<n;e++)this.childFrags[e].callHook(t);for(e=0,n=this.children.length;e<n;e++)t(this.children[e])},pe.prototype.beforeRemove=function(){var t,e;for(t=0,e=this.childFrags.length;t<e;t++)this.childFrags[t].beforeRemove(!1);for(t=0,e=this.children.length;t<e;t++)this.children[t].$destroy(!1,!0);var n=this.unlink.dirs;for(t=0,e=n.length;t<e;t++)n[t]._watcher&&n[t]._watcher.teardown()},pe.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Zr=new S(5e3);Ae.prototype.create=function(t,e,n){var i=he(this.template);return new pe(this.linker,this.vm,i,t,e,n)};var Qr=700,to=800,eo=850,no=1100,io=1500,ro=1500,oo=1750,so=2100,ao=2200,lo=2300,co=0,uo={priority:ao,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var t=this.expression.match(/(.*) (?:in|of) (.*)/);if(t){var e=t[1].match(/\((.*),(.*)\)/);e?(this.iterator=e[1].trim(),this.alias=e[2].trim()):this.alias=t[1].trim(),this.expression=t[2]}if(this.alias){this.id="__v-for__"+ ++co;var n=this.el.tagName;this.isOption=("OPTION"===n||"OPTGROUP"===n)&&"SELECT"===this.el.parentNode.tagName,this.start=bt("v-for-start"),this.end=bt("v-for-end"),lt(this.el,this.end),rt(this.start,this.end),this.cache=Object.create(null),this.factory=new Ae(this.vm,this.el)}},update:function(t){this.diff(t),this.updateRef(),this.updateModel()},diff:function(t){var e,n,i,r,s,a,l=t[0],c=this.fromObject=b(l)&&o(l,"$key")&&o(l,"$value"),u=this.params.trackBy,d=this.frags,h=this.frags=new Array(t.length),f=this.alias,p=this.iterator,m=this.start,g=this.end,v=tt(m),y=!d;for(e=0,n=t.length;e<n;e++)l=t[e],r=c?l.$key:null,s=c?l.$value:l,a=!b(s),i=!y&&this.getCachedFrag(s,e,r),i?(i.reused=!0,i.scope.$index=e,r&&(i.scope.$key=r),p&&(i.scope[p]=null!==r?r:e),(u||c||a)&&Pt(function(){i.scope[f]=s})):(i=this.create(s,f,e,r),i.fresh=!y),h[e]=i,y&&i.before(g);if(!y){var w=0,A=d.length-h.length;for(this.vm._vForRemoving=!0,e=0,n=d.length;e<n;e++)i=d[e],i.reused||(this.deleteCachedFrag(i),this.remove(i,w++,A,v));this.vm._vForRemoving=!1,w&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var x,_,E,C=0;for(e=0,n=h.length;e<n;e++)i=h[e],x=h[e-1],_=x?x.staggerCb?x.staggerAnchor:x.end||x.node:m,i.reused&&!i.staggerCb?(E=xe(i,m,this.id),E===x||E&&xe(E,m,this.id)===x||this.move(i,_)):this.insert(i,C++,_,v),i.reused=i.fresh=!1}},create:function(t,e,n,i){var r=this._host,o=this._scope||this.vm,s=Object.create(o);s.$refs=Object.create(o.$refs),s.$els=Object.create(o.$els),s.$parent=o,s.$forContext=this,Pt(function(){It(s,e,t)}),It(s,"$index",n),i?It(s,"$key",i):s.$key&&A(s,"$key",null),this.iterator&&It(s,this.iterator,null!==i?i:n);var a=this.factory.create(r,s,this._frag);return a.forId=this.id,this.cacheFrag(t,a,n,i),a},updateRef:function(){var t=this.descriptor.ref;if(t){var e,n=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=Ce(t)})):e=this.frags.map(Ce),n[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,n,i){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var r=this.getStagger(t,e,null,"enter");if(i&&r){var o=t.staggerAnchor;o||(o=t.staggerAnchor=bt("stagger-anchor"),o.__v_frag=t),ot(o,n);var s=t.staggerCb=E(function(){t.staggerCb=null,t.before(o),st(o)});setTimeout(s,r)}else{var a=n.nextSibling;a||(ot(this.end,n),a=this.end),t.before(a)}},remove:function(t,e,n,i){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var r=this.getStagger(t,e,n,"leave");if(i&&r){var o=t.staggerCb=E(function(){t.staggerCb=null,t.remove()});setTimeout(o,r)}else t.remove()},move:function(t,e){e.nextSibling||this.end.parentNode.appendChild(this.end),t.before(e.nextSibling,!1)},cacheFrag:function(t,e,n,i){var r,s=this.params.trackBy,a=this.cache,l=!b(t);i||s||l?(r=Ee(n,i,t,s),a[r]||(a[r]=e)):(r=this.id,o(t,r)?null===t[r]&&(t[r]=e):Object.isExtensible(t)&&A(t,r,e)),e.raw=t},getCachedFrag:function(t,e,n){var i,r=this.params.trackBy,o=!b(t);if(n||r||o){var s=Ee(e,n,t,r);i=this.cache[s]}else i=t[this.id];return i&&(i.reused||i.fresh),i},deleteCachedFrag:function(t){var e=t.raw,n=this.params.trackBy,i=t.scope,r=i.$index,s=o(i,"$key")&&i.$key,a=!b(e);if(n||s||a){var l=Ee(r,s,e,n);this.cache[l]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,n,i){i+="Stagger";var r=t.node.__v_trans,o=r&&r.hooks,s=o&&(o[i]||o.stagger);return s?s.call(t,e,n):e*parseInt(this.params[i]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Jn(t))return t;if(w(t)){for(var e,n=Object.keys(t),i=n.length,r=new Array(i);i--;)e=n[i],r[i]={$key:e,$value:t[e]};return r}return"number"!=typeof t||isNaN(t)||(t=_e(t)),t||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var t,e=this.frags.length;e--;)t=this.frags[e],this.deleteCachedFrag(t),t.destroy()}},ho={priority:so,terminal:!0,bind:function(){var t=this.el;if(t.__vue__)this.invalid=!0;else{var e=t.nextElementSibling;e&&null!==et(e,"v-else")&&(st(e),this.elseEl=e),this.anchor=bt("v-if"),lt(t,this.anchor)}},update:function(t){this.invalid||(t?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new Ae(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new Ae(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},fo={bind:function(){var t=this.el.nextElementSibling;t&&null!==et(t,"v-else")&&(this.elseEl=t)},update:function(t){this.apply(this.el,t),this.elseEl&&this.apply(this.elseEl,!t)},apply:function(t,e){function n(){t.style.display=e?"":"none"}tt(t)?Z(t,e?1:-1,n,this.vm):n()}},po={bind:function(){var t=this,e=this.el,n="range"===e.type,i=this.params.lazy,r=this.params.number,o=this.params.debounce,s=!1;if(ri||n||(this.on("compositionstart",function(){s=!0}),this.on("compositionend",function(){s=!1,i||t.listener()})),this.focused=!1,n||i||(this.on("focus",function(){t.focused=!0}),this.on("blur",function(){t.focused=!1,t._frag&&!t._frag.inserted||t.rawListener()})),this.listener=this.rawListener=function(){if(!s&&t._bound){var i=r||n?c(e.value):e.value;t.set(i),hi(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},o&&(this.listener=x(this.listener,o)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var a=jQuery.fn.on?"on":"bind";jQuery(e)[a]("change",this.rawListener),i||jQuery(e)[a]("input",this.listener)}else this.on("change",this.rawListener),i||this.on("input",this.listener);!i&&ii&&(this.on("cut",function(){hi(t.listener)}),this.on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||t.listener()})),(e.hasAttribute("value")||"TEXTAREA"===e.tagName&&e.value.trim())&&(this.afterBind=this.listener)},update:function(t){t=l(t),t!==this.el.value&&(this.el.value=t)},unbind:function(){var t=this.el;if(this.hasjQuery){var e=jQuery.fn.off?"off":"unbind";jQuery(t)[e]("change",this.listener),jQuery(t)[e]("input",this.listener)}}},mo={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var n=e.value;return t.params.number&&(n=c(n)),n},this.listener=function(){t.set(t.getValue())},this.on("change",this.listener),e.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){this.el.checked=C(t,this.getValue())}},go={bind:function(){var t=this,e=this,n=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var i=this.multiple=n.hasAttribute("multiple");this.listener=function(){var t=ke(n,i);t=e.params.number?Jn(t)?t.map(c):c(t):t,e.set(t)},this.on("change",this.listener);var r=ke(n,i,!0);(i&&r.length||!i&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){hi(t.forceUpdate)}),tt(n)||hi(this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,i,r=this.multiple&&Jn(t),o=e.options,s=o.length;s--;)n=o[s],i=n.hasOwnProperty("_value")?n._value:n.value,n.selected=r?Se(t,i)>-1:C(t,i)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},vo={bind:function(){function t(){var t=n.checked;return t&&n.hasOwnProperty("_trueValue")?n._trueValue:!t&&n.hasOwnProperty("_falseValue")?n._falseValue:t}var e=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:e.params.number?c(n.value):n.value},this.listener=function(){var i=e._watcher.get();if(Jn(i)){var r=e.getValue(),o=_(i,r);n.checked?o<0&&e.set(i.concat(r)):o>-1&&e.set(i.slice(0,o).concat(i.slice(o+1)))}else e.set(t())},this.on("change",this.listener),n.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Jn(t)?e.checked=_(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=C(t,e._trueValue):e.checked=!!t}},yo={text:po,radio:mo,select:go,checkbox:vo},bo={priority:to,twoWay:!0,handlers:yo,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite;var t,e=this.el,n=e.tagName;if("INPUT"===n)t=yo[e.type]||yo.text;else if("SELECT"===n)t=yo.select;else{if("TEXTAREA"!==n)return;t=yo.text}e.__v_model=this,t.bind.call(this),this.update=t.update,this._unbind=t.unbind},checkFilters:function(){var t=this.filters;if(t)for(var e=t.length;e--;){var n=Mt(this.vm.$options,"filters",t[e].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},wo={esc:27,tab:9,enter:13,space:32,delete:[8,46],up:38,left:37,right:39,down:40},Ao={priority:Qr,acceptStatement:!0,keyCodes:wo,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){ct(t.el.contentWindow,t.arg,t.handler,t.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(t){if(this.descriptor.raw||(t=function(){}),"function"==typeof t){this.modifiers.stop&&(t=De(t)),this.modifiers.prevent&&(t=Te(t)),this.modifiers.self&&(t=$e(t));var e=Object.keys(this.modifiers).filter(function(t){return"stop"!==t&&"prevent"!==t&&"self"!==t&&"capture"!==t});e.length&&(t=Fe(t,e)),this.reset(),this.handler=t,this.iframeBind?this.iframeBind():ct(this.el,this.arg,this.handler,this.modifiers.capture)}},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&ut(t,this.arg,this.handler)},unbind:function(){this.reset()}},xo=["-webkit-","-moz-","-ms-"],_o=["Webkit","Moz","ms"],Eo=/!important;?$/,Co=Object.create(null),ko=null,So={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Jn(t)?this.handleObject(t.reduce(y,{})):this.handleObject(t||{})},handleObject:function(t){var e,n,i=this.cache||(this.cache={});for(e in i)e in t||(this.handleSingle(e,null),delete i[e]);for(e in t)n=t[e],n!==i[e]&&(i[e]=n,this.handleSingle(e,n))},handleSingle:function(t,e){if(t=Be(t))if(null!=e&&(e+=""),e){var n=Eo.test(e)?"important":"";n?(e=e.replace(Eo,"").trim(),this.el.style.setProperty(t.kebab,e,n)):this.el.style[t.camel]=e}else this.el.style[t.camel]=""}},Fo="http://www.w3.org/1999/xlink",Do=/^xlink:/,To=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,$o=/^(?:value|checked|selected|muted)$/,Bo=/^(?:draggable|contenteditable|spellcheck)$/,Mo={
|
|
8
|
-
value:"_value","true-value":"_trueValue","false-value":"_falseValue"},Ro={priority:eo,bind:function(){var t=this.arg,e=this.el.tagName;t||(this.deep=!0);var n=this.descriptor,i=n.interp;if(i){n.hasOneTime&&(this.expression=U(i,this._scope||this.vm)),(To.test(t)||"name"===t&&("PARTIAL"===e||"SLOT"===e))&&(this.el.removeAttribute(t),this.invalid=!0)}},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:So.handleObject,handleSingle:function(t,e){var n=this.el,i=this.descriptor.interp;if(this.modifiers.camel&&(t=h(t)),!i&&$o.test(t)&&t in n){var r="value"===t&&null==e?"":e;n[t]!==r&&(n[t]=r)}var o=Mo[t];if(!i&&o){n[o]=e;var s=n.__v_model;s&&s.listener()}return"value"===t&&"TEXTAREA"===n.tagName?void n.removeAttribute(t):void(Bo.test(t)?n.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(n.__v_trans&&(e+=" "+n.__v_trans.id+"-transition"),ht(n,e)):Do.test(t)?n.setAttributeNS(Fo,t,e===!0?"":e):n.setAttribute(t,e===!0?"":e):n.removeAttribute(t))}},Po={priority:io,bind:function(){if(this.arg){var t=this.id=h(this.arg),e=(this._scope||this.vm).$els;o(e,t)?e[t]=this.el:It(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},Lo={bind:function(){}},Oo={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},jo={text:Hr,html:Jr,for:uo,if:ho,show:fo,model:bo,on:Ao,bind:Ro,el:Po,ref:Lo,cloak:Oo},No={deep:!0,update:function(t){t?"string"==typeof t?this.setClass(t.trim().split(/\s+/)):this.setClass(Re(t)):this.cleanup()},setClass:function(t){this.cleanup(t);for(var e=0,n=t.length;e<n;e++){var i=t[e];i&&Pe(this.el,i,ft)}this.prevKeys=t},cleanup:function(t){var e=this.prevKeys;if(e)for(var n=e.length;n--;){var i=e[n];(!t||t.indexOf(i)<0)&&Pe(this.el,i,pt)}}},Io={priority:ro,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__||(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=mt(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=bt("v-component"),lt(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+p(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(t){this.literal||this.setComponent(t)},setComponent:function(t,e){if(this.invalidatePending(),t){var n=this;this.resolveComponent(t,function(){n.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var n=this;this.pendingComponentCb=E(function(i){n.ComponentName=i.options.name||("string"==typeof t?t:null),n.Component=i,e()}),this.vm._resolveComponent(t,this.pendingComponentCb)},mountComponent:function(t){this.unbuild(!0);var e=this,n=this.Component.options.activate,i=this.getCached(),r=this.build();n&&!i?(this.waitingFor=r,Le(n,r,function(){e.waitingFor===r&&(e.waitingFor=null,e.transition(r,t))})):(i&&r._updateRef(),this.transition(r,t))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(t){var e=this.getCached();if(e)return e;if(this.Component){var n={name:this.ComponentName,el:he(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};t&&y(n,t);var i=new this.Component(n);return this.keepAlive&&(this.cache[this.Component.cid]=i),i}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var e=this.childVM;return!e||this.keepAlive?void(e&&(e._inactive=!0,e._updateRef(!0))):void e.$destroy(!1,t)},remove:function(t,e){var n=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var i=this;t.$remove(function(){i.pendingRemovals--,n||t._cleanup(),!i.pendingRemovals&&i.pendingRemovalCb&&(i.pendingRemovalCb(),i.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var n=this,i=this.childVM;switch(i&&(i._inactive=!0),t._inactive=!1,this.childVM=t,n.params.transitionMode){case"in-out":t.$before(n.anchor,function(){n.remove(i,e)});break;case"out-in":n.remove(i,function(){t.$before(n.anchor,e)});break;default:n.remove(i),t.$before(n.anchor,e)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}},Ho=Wi._propBindingModes,Vo={},Wo=/^[$_a-zA-Z]+[\w$]*$/,zo=Wi._propBindingModes,qo={bind:function(){var t=this.vm,e=t._context,n=this.descriptor.prop,i=n.path,r=n.parentPath,o=n.mode===zo.TWO_WAY,s=this.parentWatcher=new ae(e,r,function(e){He(t,n,e)},{twoWay:o,filters:n.filters,scope:this._scope});if(Ie(t,n,s.value),o){var a=this;t.$once("pre-hook:created",function(){a.childWatcher=new ae(t,i,function(t){s.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Uo=[],Go=!1,Ko="transition",Yo="animation",Xo=si+"Duration",Jo=li+"Duration",Zo=Qn&&window.requestAnimationFrame,Qo=Zo?function(t){Zo(function(){Zo(t)})}:function(t){setTimeout(t,50)},ts=Ke.prototype;ts.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,ft(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Ue(this.enterNextTick))},ts.enterNextTick=function(){var t=this;this.justEntered=!0,Qo(function(){t.justEntered=!1});var e=this.enterDone,n=this.getCssTransitionType(this.enterClass);this.pendingJsCb?n===Ko&&pt(this.el,this.enterClass):n===Ko?(pt(this.el,this.enterClass),this.setupCssCb(ai,e)):n===Yo?this.setupCssCb(ci,e):e()},ts.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,pt(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},ts.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,ft(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Ue(this.leaveNextTick)))},ts.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===Ko?ai:ci;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},ts.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),pt(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},ts.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,ut(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(pt(this.el,this.enterClass),pt(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},ts.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},ts.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=E(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},ts.getCssTransitionType=function(t){if(!(!ai||document.hidden||this.hooks&&this.hooks.css===!1||Ye(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var n=this.el.style,i=window.getComputedStyle(this.el),r=n[Xo]||i[Xo];if(r&&"0s"!==r)e=Ko;else{var o=n[Jo]||i[Jo];o&&"0s"!==o&&(e=Yo)}return e&&(this.typeCache[t]=e),e}},ts.setupCssCb=function(t,e){this.pendingCssEvent=t;var n=this,i=this.el,r=this.pendingCssCb=function(o){o.target===i&&(ut(i,t,r),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&e&&e())};ct(i,t,r)};var es={priority:no,update:function(t,e){var n=this.el,i=Mt(this.vm.$options,"transitions",t);t=t||"v",e=e||"v",n.__v_trans=new Ke(n,t,i,this.vm),pt(n,e+"-transition"),ft(n,t+"-transition")}},ns={style:So,class:No,component:Io,prop:qo,transition:es},is=/^v-bind:|^:/,rs=/^v-on:|^@/,os=/^v-([^:]+)(?:$|:(.*)$)/,ss=/\.[^\.]+/g,as=/^(v-bind:|:)?transition$/,ls=1e3,cs=2e3;mn.terminal=!0;var us=/[^\w\-:\.]/,ds=Object.freeze({compile:Xe,compileAndLinkProps:en,compileRoot:nn,transclude:xn,resolveSlots:kn}),hs=/^v-on:|^@/;$n.prototype._bind=function(){var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=e.attr||"v-"+t;this.el.removeAttribute(n)}var i=e.def;if("function"==typeof i?this.update=i:y(this,i),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(e.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var r=this;this.update?this._update=function(t,e){r._locked||r.update(t,e)}:this._update=Tn;var o=this._preProcess?g(this._preProcess,this):null,s=this._postProcess?g(this._postProcess,this):null,a=this._watcher=new ae(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:o,postProcess:s,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(a.value)}},$n.prototype._setupParams=function(){if(this.params){var t=this.params;this.params=Object.create(null);for(var e,n,i,r=t.length;r--;)e=p(t[r]),i=h(e),n=nt(this.el,e),null!=n?this._setupParamWatcher(i,n):(n=et(this.el,e),null!=n&&(this.params[i]=""===n||n))}},$n.prototype._setupParamWatcher=function(t,e){var n=this,i=!1,r=(this._scope||this.vm).$watch(e,function(e,r){if(n.params[t]=e,i){var o=n.paramWatchers&&n.paramWatchers[t];o&&o.call(n,e,r)}else i=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},$n.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!ne(t)){var e=ee(t).get,n=this._scope||this.vm,i=function(t){n.$event=t,e.call(n,n),n.$event=null};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},$n.prototype.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},$n.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),hi(function(){e._locked=!1})},$n.prototype.on=function(t,e,n){ct(this.el,t,e,n),(this._listeners||(this._listeners=[])).push([t,e])},$n.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var t,e=this._listeners;if(e)for(t=e.length;t--;)ut(this.el,e[t][0],e[t][1]);var n=this._paramUnwatchFns;if(n)for(t=n.length;t--;)n[t]();this.vm=this.el=this._watcher=this._listeners=null}};var fs=/[^|]\|[^|]/;Ht(jn),Fn(jn),Dn(jn),Bn(jn),Mn(jn),Rn(jn),Pn(jn),Ln(jn),On(jn);var ps={priority:lo,params:["name"],bind:function(){var t=this.params.name||"default",e=this.vm._slotContents&&this.vm._slotContents[t];e&&e.hasChildNodes()?this.compile(e.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(t,e,n){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var i=document.createElement("template");i.setAttribute("v-else",""),i.innerHTML=this.el.innerHTML,i._context=this.vm,t.appendChild(i)}var r=n?n._scope:this._scope;this.unlink=e.$compile(t,n,r,this._frag)}t?lt(this.el,t):st(this.el)},fallback:function(){this.compile(mt(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},ms={priority:oo,params:["name"],paramWatchers:{name:function(t){ho.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=bt("v-partial"),lt(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=Mt(this.vm.$options,"partials",t,!0);e&&(this.factory=new Ae(this.vm,e),ho.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},gs={slot:ps,partial:ms},vs=uo._postProcess,ys=/(\d{3})(?=\d)/g,bs={orderBy:Hn,filterBy:In,limitBy:Nn,json:{read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,arguments.length>1?e:2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},capitalize:function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},uppercase:function(t){return t||0===t?t.toString().toUpperCase():""},lowercase:function(t){return t||0===t?t.toString().toLowerCase():""},currency:function(t,e,n){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=null!=e?e:"$",n=null!=n?n:2;var i=Math.abs(t).toFixed(n),r=n?i.slice(0,-1-n):i,o=r.length%3,s=o>0?r.slice(0,o)+(r.length>3?",":""):"",a=n?i.slice(-1-n):"",l=t<0?"-":"";return l+e+s+r.slice(o).replace(ys,"$1,")+a},pluralize:function(t){var e=v(arguments,1),n=e.length;if(n>1){var i=t%10-1;return i in e?e[i]:e[n-1]}return e[0]+(1===t?"":"s")},debounce:function(t,e){if(t)return e||(e=300),x(t,e)}};Wn(jn),jn.version="1.0.28",setTimeout(function(){Wi.devtools&&ti&&ti.emit("init",jn)},0),t.exports=jn},function(t,e,n){t.exports=n(289)},function(t,e,n){!function(n,i){t.exports=e=i()}(this,function(){var t=t||function(t,e){var n=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),i={},r=i.lib={},o=r.Base=function(){return{extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=r.WordArray=o.extend({init:function(t,n){t=this.words=t||[],n!=e?this.sigBytes=n:this.sigBytes=4*t.length},toString:function(t){return(t||l).stringify(this)},concat:function(t){var e=this.words,n=t.words,i=this.sigBytes,r=t.sigBytes;if(this.clamp(),i%4)for(var o=0;o<r;o++){var s=n[o>>>2]>>>24-o%4*8&255;e[i+o>>>2]|=s<<24-(i+o)%4*8}else for(var o=0;o<r;o+=4)e[i+o>>>2]=n[o>>>2];return this.sigBytes+=r,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n,i=[],r=function(e){var e=e,n=987654321,i=4294967295;return function(){n=36969*(65535&n)+(n>>16)&i,e=18e3*(65535&e)+(e>>16)&i;var r=(n<<16)+e&i;return r/=4294967296,r+=.5,r*(t.random()>.5?1:-1)}},o=0;o<e;o+=4){var a=r(4294967296*(n||t.random()));n=987654071*a(),i.push(4294967296*a()|0)}return new s.init(i,e)}}),a=i.enc={},l=a.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r<n;r++){var o=e[r>>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i+=2)n[i>>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new s.init(n,e/2)}},c=a.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r<n;r++){var o=e[r>>>2]>>>24-r%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i++)n[i>>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new s.init(n,e)}},u=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},d=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n=this._data,i=n.words,r=n.sigBytes,o=this.blockSize,a=4*o,l=r/a;l=e?t.ceil(l):t.max((0|l)-this._minBufferSize,0);var c=l*o,u=t.min(4*c,r);if(c){for(var d=0;d<c;d+=o)this._doProcessBlock(i,d);var h=i.splice(0,c);n.sigBytes-=u}return new s.init(h,u)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),h=(r.Hasher=d.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new h.HMAC.init(t,n).finalize(e)}}}),i.algo={});return i}(Math);return t})},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e){function n(t){var e=this,n=d.call(arguments,1);return new Promise(function(r,o){function s(e){var n;try{n=t.next(e)}catch(t){return o(t)}c(n)}function l(e){var n;try{n=t.throw(e)}catch(t){return o(t)}c(n)}function c(t){if(t.done)return r(t.value);var n=i.call(e,t.value);return n&&a(n)?n.then(s,l):l(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(t.value)+'"'))}return"function"==typeof t&&(t=t.apply(e,n)),t&&"function"==typeof t.next?void s():r(t)})}function i(t){return t?a(t)?t:c(t)||l(t)?n.call(this,t):"function"==typeof t?r.call(this,t):Array.isArray(t)?o.call(this,t):u(t)?s.call(this,t):t:t}function r(t){var e=this;return new Promise(function(n,i){t.call(e,function(t,e){return t?i(t):(arguments.length>2&&(e=d.call(arguments,1)),void n(e))})})}function o(t){return Promise.all(t.map(i,this))}function s(t){function e(t,e){n[e]=void 0,o.push(t.then(function(t){n[e]=t}))}for(var n=new t.constructor,r=Object.keys(t),o=[],s=0;s<r.length;s++){var l=r[s],c=i.call(this,t[l]);c&&a(c)?e(c,l):n[l]=t[l]}return Promise.all(o).then(function(){return n})}function a(t){return"function"==typeof t.then}function l(t){return"function"==typeof t.next&&"function"==typeof t.throw}function c(t){var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||l(e.prototype))}function u(t){return Object==t.constructor}var d=Array.prototype.slice;t.exports=n.default=n.co=n,n.wrap=function(t){function e(){return n.call(this,t.apply(this,arguments))}return e.__generatorFunction__=t,e}},function(t,e,n){t.exports={default:n(293),__esModule:!0}},function(t,e,n){t.exports={default:n(309),__esModule:!0}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(7),o=i(r);e.default=function(t){return function(){var e=t.apply(this,arguments);return new o.default(function(t,n){function i(r,s){try{var a=e[r](s),l=a.value}catch(t){return void n(t)}return a.done?void t(l):o.default.resolve(l).then(function(t){i("next",t)},function(t){i("throw",t)})}return i("next")})}}},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(33))}(this,function(t){t.lib.Cipher||function(e){var n=t,i=n.lib,r=i.Base,o=i.WordArray,s=i.BufferedBlockAlgorithm,a=n.enc,l=(a.Utf8,a.Base64),c=n.algo,u=c.EvpKDF,d=i.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=e,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?_:w}return function(e){return{encrypt:function(n,i,r){return t(i).encrypt(e,n,i,r)},decrypt:function(n,i,r){return t(i).decrypt(e,n,i,r)}}}}()}),h=(i.StreamCipher=d.extend({_doFinalize:function(){var t=this._process(!0);return t},blockSize:1}),n.mode={}),f=i.BlockCipherMode=r.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),p=h.CBC=function(){function t(t,n,i){var r=this._iv;if(r){var o=r;this._iv=e}else var o=this._prevBlock;for(var s=0;s<i;s++)t[n+s]^=o[s]}var n=f.extend();return n.Encryptor=n.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize;t.call(this,e,n,r),i.encryptBlock(e,n),this._prevBlock=e.slice(n,n+r)}}),n.Decryptor=n.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=e.slice(n,n+r);i.decryptBlock(e,n),t.call(this,e,n,r),this._prevBlock=o}}),n}(),m=n.pad={},g=m.Pkcs7={pad:function(t,e){for(var n=4*e,i=n-t.sigBytes%n,r=i<<24|i<<16|i<<8|i,s=[],a=0;a<i;a+=4)s.push(r);var l=o.create(s,i);t.concat(l)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},v=(i.BlockCipher=d.extend({cfg:d.cfg.extend({mode:p,padding:g}),reset:function(){d.reset.call(this);var t=this.cfg,e=t.iv,n=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else{var i=n.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==i?this._mode.init(this,e&&e.words):(this._mode=i.call(n,this,e&&e.words),this._mode.__creator=i)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else{var e=this._process(!0);t.unpad(e)}return e},blockSize:4}),i.CipherParams=r.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),y=n.format={},b=y.OpenSSL={stringify:function(t){var e=t.ciphertext,n=t.salt;if(n)var i=o.create([1398893684,1701076831]).concat(n).concat(e);else var i=e;return i.toString(l)},parse:function(t){var e=l.parse(t),n=e.words;if(1398893684==n[0]&&1701076831==n[1]){var i=o.create(n.slice(2,4));n.splice(0,4),e.sigBytes-=16}return v.create({ciphertext:e,salt:i})}},w=i.SerializableCipher=r.extend({cfg:r.extend({format:b}),encrypt:function(t,e,n,i){i=this.cfg.extend(i);var r=t.createEncryptor(n,i),o=r.finalize(e),s=r.cfg;return v.create({ciphertext:o,key:n,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,e,n,i){i=this.cfg.extend(i),e=this._parse(e,i.format);var r=t.createDecryptor(n,i).finalize(e.ciphertext);return r},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),A=n.kdf={},x=A.OpenSSL={execute:function(t,e,n,i){i||(i=o.random(8));var r=u.create({keySize:e+n}).compute(t,i),s=o.create(r.words.slice(e),4*n);return r.sigBytes=4*e,v.create({key:r,iv:s,salt:i})}},_=i.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:x}),encrypt:function(t,e,n,i){i=this.cfg.extend(i);var r=i.kdf.execute(n,t.keySize,t.ivSize);i.iv=r.iv;var o=w.encrypt.call(this,t,e,r.key,i);return o.mixIn(r),o},decrypt:function(t,e,n,i){i=this.cfg.extend(i),e=this._parse(e,i.format);var r=i.kdf.execute(n,t.keySize,t.ivSize,e.salt);i.iv=r.iv;var o=w.decrypt.call(this,t,e,r.key,i);return o}})}()})},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){(function(t){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),o=i(r),s=n(14),a=i(s),l=n(15),c=i(l),u=n(2),d=i(u),h=n(6),f=i(h),p=n(1),m=i(p),g=n(5),v=i(g),y=n(86),b=i(y),w=d.default.mark(function t(e,n,i,r,o){var s,a,l,c,u=r.warnMsg,h=r.resolveMsg,p=r.rejectMsg,g=r.type,v=r.silent,y=r.aoteEncrypt,b=r.encryKey;return d.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(m.default.set(o,"silent",v),o.isBusy!==!1){t.next=39;break}if(o.isBusy=!0,s="confirm",!u){t.next=8;break}return t.next=7,m.default.showMessage(u,["confirm","cancel"]);case 7:s=t.sent;case 8:if("confirm"!==s){t.next=31;break}return t.prev=9,o.isEnd=!1,t.next=13,o.http(e,n,i,g,y,b);case 13:return a=t.sent,o.isEnd=!0,h&&m.default.showAlert(h,"success",2e3),o.isBusy=!1,o.silent=!1,t.abrupt("return",a);case 21:throw t.prev=21,t.t0=t.catch(9),o.isEnd=!0,p&&m.default.showAlert(p+"错误状态:"+t.t0.status+",错误内容:"+t.t0.data,"danger",0),m.default.console.info("http异常: "+(0,f.default)(t.t0),"HttpReset"),o.isBusy=!1,o.silent=!1,t.t0;case 29:t.next=37;break;case 31:if("cancel"!==s){t.next=37;break}throw m.default.console.info("http请求: 用户按下了取消按钮,未提交请求","HttpReset"),l={status:301,data:"用户按下了取消按钮,未提交请求"},o.isBusy=!1,o.silent=!1,l;case 37:t.next=42;break;case 39:throw c={status:603,data:"重复提交"},m.default.console.info("http异常: "+(0,f.default)(c),"HttpReset"),c;case 42:case"end":return t.stop()}},t,this,[[9,21]])}),A=function(){function e(){(0,a.default)(this,e),this.xhr=new XMLHttpRequest,m.default.set(this,"isEnd",!0),m.default.set(this,"isBusy",!1)}return(0,c.default)(e,[{key:"load",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=i.warnMsg,o=void 0===r?null:r,s=i.resolveMsg,a=void 0===s?"恭喜!提交成功!":s,l=i.rejectMsg,c=void 0===l?"提交错误!":l,u=i.type,d=void 0===u?"json":u,h=i.silent,f=void 0!==h&&h,p=i.aoteEncrypt,g=void 0===p?g?g:m.default.mmType:p,y=i.encryKey,b=void 0===y?b?b:m.default.mm:y,A=arguments[4];A&&A>0?this.xhr.timeout=A?A:2e4:this.xhr.timeout=0;var x=w(t,e,n,{warnMsg:o,resolveMsg:a,rejectMsg:c,type:d,silent:f,aoteEncrypt:g,encryKey:b},this);return(0,v.default)(x)}},{key:"http",value:function(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"json",s=this,a=arguments[4],l=arguments[5];if(a&&"AES"==a&&(n.indexOf("rs/sql")!=-1||n.indexOf("rs/logic")!=-1||n.indexOf("rs/search")!=-1||n.indexOf("rs/path")!=-1||n.indexOf("rs/user")!=-1||n.indexOf("rs/entity")!=-1)){var c={};c.aoteEncrypt=a,c.data=b.default.AESEncrypt((0,f.default)(i),l),i=c}return new o.default(function(o,c){i||(i={});s.xhr.onload=function(){if(200===this.status){var t=null;try{t="json"===r?JSON.parse(this.responseText):this.responseText}catch(e){t=this.responseText}a&&("AES"!=a||n.indexOf("rs/sql")==-1&&n.indexOf("rs/logic")==-1&&n.indexOf("rs/search")==-1&&n.indexOf("rs/path")==-1&&n.indexOf("rs/user")==-1&&n.indexOf("rs/entity")==-1||(t=b.default.AESDecrypt(t,l))),o({data:t})}else m.default.console.warn("http异常, 错误码:"+this.status+", 错误信息:"+this.response,"HttpReset``"),c({status:this.status,data:this.response})},s.xhr.onabort=function(){m.default.console.warn("请求被终止!","HttpReset"),c({status:610,data:"请求被终止!"})},s.xhr.ontimeout=function(){m.default.console.warn("请求超时!","HttpReset"),c({status:611,data:"请求超时"})},s.xhr.onerror=function(){m.default.console.error("网络故障!","HttpReset"),c({status:612,data:"网络故障"})},m.default.console.info("http请求: "+n,"HttpReset"),s.xhr.open(e,n,!0),!n.startsWith("http://127.0.0.1")&&m.default.$login&&m.default.$login.jwt&&(console.log("设置请求头: jwt="+m.default.$login.jwt),s.xhr.setRequestHeader("Token",m.default.$login.jwt)),!n.startsWith("http://127.0.0.1")&&m.default.$login&&m.default.$login.f&&m.default.$login.f.dir&&s.xhr.setRequestHeader("componentDir",m.default.$login.f.dir),null!=t.session&&s.xhr.setRequestHeader("session",t.session),s.xhr.send("string"==typeof i?i:(0,f.default)(i))})}}]),e}();e.default=A}).call(e,function(){return this}())},function(t,e,n){var i=n(68)("wks"),r=n(54),o=n(10).Symbol,s="function"==typeof o,a=t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))};a.store=i},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(49),o=i(r);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,o.default)(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}()},function(t,e,n){t.exports={default:n(292),__esModule:!0}},function(t,e,n){var i=n(10),r=n(4),o=n(40),s=n(31),a=n(30),l="prototype",c=function(t,e,n){var u,d,h,f=t&c.F,p=t&c.G,m=t&c.S,g=t&c.P,v=t&c.B,y=t&c.W,b=p?r:r[e]||(r[e]={}),w=b[l],A=p?i:m?i[e]:(i[e]||{})[l];p&&(n=e);for(u in n)d=!f&&A&&void 0!==A[u],d&&a(b,u)||(h=d?A[u]:n[u],b[u]=p&&"function"!=typeof A[u]?n[u]:v&&d?o(h,i):y&&A[u]==h?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[l]=t[l],e}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((b.virtual||(b.virtual={}))[u]=h,t&c.R&&w&&!w[u]&&s(w,u,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(93),o=i(r);e.default={data:function(){return{selectStore:new o.default}},props:{selectMode:{type:String,default:"single"}},computed:{selected:function t(){var t=this.selectStore.selected;return t}},methods:{select:function(t){if("none"!==this.selectMode&&(this.selectStore.selected!==t||"资源管理"==this.selectStore.selected.data.name)){var e=this.selectStore.selected;this.selectStore.select(t),t&&this.$dispatch("select-changed",{val:this.selectStore.selected,oldVal:e})}},isSelected:function(t){return"none"!==this.selectMode&&t===this.selected&&"资源管理"!=this.selected.data.name}},beforeCompile:function(){for(var t=this;t.$parent&&!t.$parent.selectStore;)t=t.$parent;t.$parent&&t.$parent.selectStore&&(this.selectStore=t.$parent.selectStore)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"string"!=typeof t?t:"true"===t||"false"!==t&&("null"!==t&&("undefined"!==t&&t))}},function(t,e,n){t.exports=!n(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(17),r=n(4),o=n(34);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var i=n(11);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var i=n(22),r=n(102),o=n(71),s=Object.defineProperty;e.f=n(20)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports={default:n(295),__esModule:!0}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(t.$remove(e),e.children){var n=!0,i=!1,o=void 0;try{for(var s,a=(0,h.default)(e.children);!(n=(s=a.next()).done);n=!0){var l=s.value;r(t,l)}}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}}}function o(t,e,n,i){if(t.splice(n+1,0,e),e.open&&e.children){i.index=t.indexOf(e);var r=!0,s=!1,a=void 0;try{for(var l,c=(0,h.default)(e.children);!(r=(l=c.next()).done);r=!0){var u=l.value;o(t,u,i.index++,i)}}catch(t){s=!0,a=t}finally{try{!r&&c.return&&c.return()}finally{if(s)throw a}}}}function s(t,e,n){if(e.open){n.index=t.indexOf(e);var i=!0,s=!1,a=void 0;try{for(var l,c=(0,h.default)(e.children);!(i=(l=c.next()).done);i=!0){var u=l.value;o(t,u,n.index++,n)}}catch(t){s=!0,a=t}finally{try{!i&&c.return&&c.return()}finally{if(s)throw a}}}else{var d=!0,f=!1,p=void 0;try{for(var m,g=(0,h.default)(e.children);!(d=(m=g.next()).done);d=!0){var v=m.value;r(t,v)}}catch(t){f=!0,p=t}finally{try{!d&&g.return&&g.return()}finally{if(f)throw p}}}n.$dispatch("toggle")}Object.defineProperty(e,"__esModule",{value:!0});var a=n(8),l=i(a),c=n(7),u=i(c),d=n(16),h=i(d),f=n(2),p=i(f),m=n(1),g=i(m),v=n(94),y=i(v),b=n(5),w=i(b),A=p.default.mark(function t(e,n){return p.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.toggle(n);case 2:
|
|
9
|
-
e.openNode(n.children);case 3:case"end":return t.stop()}},t,this)}),x=p.default.mark(function t(e,n){return p.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.open=!e.open,!e.open||e.loaded){t.next=5;break}return t.next=4,n.loadChild(e);case 4:e.children=y.default.toTreeNode(e.children,e,e.level+1);case 5:s(n.toNode,e,n);case 6:case"end":return t.stop()}},t,this)});e.default={props:["url","model","filter"],created:function(){this.model&&this.model.length>0&&(this.toNode=y.default.toTreeNode(this.model))},data:function(){return{toNode:[],index:null,memory:[],oldNode:null,oldLevelNode:null}},watch:{model:function(){this.model&&(this.memory=this.toNode,this.toNode=y.default.toTreeNode(this.model))},filter:function(){if(this.filter.length>0){var t=[];t=this.findmodal(t,this.model,this.filter),0==t.length&&this.$showAlert("暂无数据","warning",2e3),this.toNode=y.default.toTreeNode(t)}else this.toNode=y.default.toTreeNode(this.model)}},methods:{toggle:function(t,e){if(!e&&"undefined"!=typeof e){if(null!=this.oldNode){if(this.oldNode.id==t.id)return this.oldNode.open=!1,s(this.toNode,this.oldNode,this),void(this.oldNode=null);if(0==t.level)if(0!=this.oldNode.level){if(this.oldLevelNode.open=!1,s(this.toNode,this.oldLevelNode,this),this.oldLevelNode.id==t.id)return void(this.oldNode=null)}else this.oldNode.open=!1,s(this.toNode,this.oldNode,this)}1==t.level&&null!=this.oldNode&&(this.oldLevelNode=this.oldNode),this.oldNode=t}var n=x(t,this);return(0,w.default)(n)},findmodal:function(t,e,n){if(e.length>0){var i=!0,r=!1,o=void 0;try{for(var s,a=(0,h.default)(e);!(i=(s=a.next()).done);i=!0){var l=s.value;this.dealnode(t,l,n)}}catch(t){r=!0,o=t}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}}return t},dealnode:function(t,e,n){e&&e.name&&e.name.indexOf(n)>-1&&t.push(e),e.children&&this.findmodal(t,e.children,n)},isFolder:function(t){return t.size>0},loadChild:function(t){var e=this;return new u.default(function(n,i){return 0!==t.children.length?(t.loaded=!0,void n()):void e.$resetpost(e.url,{data:{id:t.id}},{resolveMsg:null}).then(function(e){t.children=e.data,t.loaded=!0,g.default.set(t,"state","成功"),n()}).catch(function(){t.open=!1,g.default.set(t,"state","错误")})})},refreshChild:function(t){var e=this;return t.open&&this.toggle(t),this.$resetpost(this.url,{data:{id:t.id}},{resolveMsg:null}).then(function(n){t.children=n.data,t.loaded=!0,g.default.set(t,"state","成功"),t.children=y.default.toTreeNode(t.children,t,t.level+1),t.size=t.children.length,e.toggle(t)}).catch(function(){t.open=!1,g.default.set(t,"state","错误")})},openAll:function(){var t=this;return(0,l.default)(p.default.mark(function e(){var n,i,r,o,s,a;return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=!0,i=!1,r=void 0,e.prev=3,o=(0,h.default)(t.toNode);case 5:if(n=(s=o.next()).done){e.next=12;break}return a=s.value,e.next=9,t.openChild(a);case 9:n=!0,e.next=5;break;case 12:e.next=18;break;case 14:e.prev=14,e.t0=e.catch(3),i=!0,r=e.t0;case 18:e.prev=18,e.prev=19,!n&&o.return&&o.return();case 21:if(e.prev=21,!i){e.next=24;break}throw r;case 24:return e.finish(21);case 25:return e.finish(18);case 26:case"end":return e.stop()}},e,t,[[3,14,18,26],[19,,21,25]])}))()},openMemory:function(){var t=this;return(0,l.default)(p.default.mark(function e(){var n,i,r,o,s,a,l,c,u,d,f,m;return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=!0,i=!1,r=void 0,e.prev=3,o=(0,h.default)(t.memory);case 5:if(n=(s=o.next()).done){e.next=37;break}a=s.value,l=!0,c=!1,u=void 0,e.prev=10,d=(0,h.default)(t.toNode);case 12:if(l=(f=d.next()).done){e.next=20;break}if(m=f.value,!(a.id==m.id&&a.open&&m.children.length>0)){e.next=17;break}return e.next=17,t.toggle(m);case 17:l=!0,e.next=12;break;case 20:e.next=26;break;case 22:e.prev=22,e.t0=e.catch(10),c=!0,u=e.t0;case 26:e.prev=26,e.prev=27,!l&&d.return&&d.return();case 29:if(e.prev=29,!c){e.next=32;break}throw u;case 32:return e.finish(29);case 33:return e.finish(26);case 34:n=!0,e.next=5;break;case 37:e.next=43;break;case 39:e.prev=39,e.t1=e.catch(3),i=!0,r=e.t1;case 43:e.prev=43,e.prev=44,!n&&o.return&&o.return();case 46:if(e.prev=46,!i){e.next=49;break}throw r;case 49:return e.finish(46);case 50:return e.finish(43);case 51:case"end":return e.stop()}},e,t,[[3,39,43,51],[10,22,26,34],[27,,29,33],[44,,46,50]])}))()},openChild:function(t){var e=this;return(0,l.default)(p.default.mark(function n(){var i,r,o,s,a,l;return p.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(!t.open&&t.children&&t.children.length>0)){n.next=3;break}return n.next=3,e.toggle(t);case 3:i=!0,r=!1,o=void 0,n.prev=6,s=(0,h.default)(t.children);case 8:if(i=(a=s.next()).done){n.next=15;break}return l=a.value,n.next=12,e.openChild(l);case 12:i=!0,n.next=8;break;case 15:n.next=21;break;case 17:n.prev=17,n.t0=n.catch(6),r=!0,o=n.t0;case 21:n.prev=21,n.prev=22,!i&&s.return&&s.return();case 24:if(n.prev=24,!r){n.next=27;break}throw o;case 27:return n.finish(24);case 28:return n.finish(21);case 29:case"end":return n.stop()}},n,e,[[6,17,21,29],[22,,24,28]])}))()},remove:function(t,e){var n=this;g.default.remove(t,e).then(function(){n.model.$remove(e),e.parent&&(e.parent.children.$remove(e),e.parent.size=e.parent.children.length),n.select&&n.select(null)})},openNode:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.toNode;e.forEach(function(e){e.children.length>0&&t.$nextTick(function(){var n=A(t,e);(0,w.default)(n)})})},addNode:function(t,e){var n=y.default.toTreeNode([e],t,t.level+1);n.forEach(function(e,n){t.children.push(e)})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(99),o=i(r),s=n(288),a=i(s),l="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===l(o.default)?function(t){return"undefined"==typeof t?"undefined":l(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":l(t)}},function(t,e,n){t.exports=n.p+"jsoneditor-icons.svg?256e3ab"},function(t,e){"use strict";function n(){try{var t=navigator.userAgent;if(null!=t.match(/Windows\sPhone/i))return!0;if(null!=t.match(/iPhone|iPod/i))return!0;if(null!=t.match(/Android/i))return!0;if(null!=t.match(/Edge\D?\d+/i))return!0;if(null!=t.match(/QQBrowser/i))return!1;var e=t.match(/Trident\D?\d+/i),n=t.match(/MSIE\D?\d+/i),i=t.match(/OPR\D?\d+/i),r=t.match(/Firefox\D?\d+/i),o=t.match(/x64/i);if(null==e&&null==n&&null!==o)return!0;if(null!==r){if(r=r[0].match(/\d+/),r[0]>=42)return!0}else if(null!==i){if(i=i[0].match(/\d+/),i[0]>=32)return!0}else if(null==e&&null==n){var s=t.match(/Chrome\D?\d+/i);if(null!==s&&(s=s[0].match(/\d+/),s[0]>=42))return!0}return!1}catch(t){return!0}}function i(t,e){var i,o="<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>",s="<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>",a="<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>",l="<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>",c="<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>",u="<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>",d="<br><font color='#FF00FF'>CLodop云打印服务(localhost本地)未安装启动!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行安装</a>,安装后请刷新页面。</font>",h="<br><font color='#FF00FF'>CLodop云打印服务需升级!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行升级</a>,升级后请刷新页面。</font>";try{var f=navigator.userAgent.indexOf("MSIE")>=0||navigator.userAgent.indexOf("Trident")>=0;if(n()){try{i=getCLodop()}catch(t){}if(!i&&"complete"!==document.readyState)return void alert("C-Lodop没准备好,请稍后再试!");if(!i)return void(f?document.write(d):document.documentElement.innerHTML=d+document.documentElement.innerHTML);CLODOP.CVERSION<"2.0.6.2"&&(f?document.write(h):document.documentElement.innerHTML=h+document.documentElement.innerHTML),e&&e.parentNode&&e.parentNode.removeChild(e),t&&t.parentNode&&t.parentNode.removeChild(t)}else{var p=f&&navigator.userAgent.indexOf("x64")>=0;if(void 0!==t||void 0!==e?i=f?t:e:null==r?(i=document.createElement("object"),i.setAttribute("width",0),i.setAttribute("height",0),i.setAttribute("style","position:absolute;left:0px;top:-100px;width:0px;height:0px;"),f?i.setAttribute("classid","clsid:2105C259-1E0C-4534-8141-A753534CB4CA"):i.setAttribute("type","application/x-print-lodop"),document.documentElement.appendChild(i),r=i):i=r,null==i||"undefined"==typeof i.VERSION)return navigator.userAgent.indexOf("Chrome")>=0&&(document.documentElement.innerHTML=u+document.documentElement.innerHTML),navigator.userAgent.indexOf("Firefox")>=0&&(document.documentElement.innerHTML=c+document.documentElement.innerHTML),p?document.write(a):f?document.write(o):document.documentElement.innerHTML=o+document.documentElement.innerHTML,i}return i.VERSION<"6.2.0.3"?(n()?document.documentElement.innerHTML=h+document.documentElement.innerHTML:p?document.write(l):f?document.write(s):document.documentElement.innerHTML=s+document.documentElement.innerHTML,i):(i.SET_LICENSES("西安奥枫软件有限公司","552C41D5AB0D146FCF77D05CD8AA15A1","",""),i)}catch(t){alert("getLodop出错:"+t)}}Object.defineProperty(e,"__esModule",{value:!0});var r=null;if(n()){var o=document.head||document.getElementsByTagName("head")[0]||document.documentElement,s=document.createElement("script");s.src="http://localhost:18000/CLodopfuncs.js?priority=1",o.insertBefore(s,o.firstChild)}e.default=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0}};e.default=n},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(23),r=n(44);t.exports=n(20)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(103),r=n(61);t.exports=function(t){return i(r(t))}},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(77),n(76))}(this,function(t){return function(){var e=t,n=e.lib,i=n.Base,r=n.WordArray,o=e.algo,s=o.MD5,a=o.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var n=this.cfg,i=n.hasher.create(),o=r.create(),s=o.words,a=n.keySize,l=n.iterations;s.length<a;){c&&i.update(c);var c=i.update(t).finalize(e);i.reset();for(var u=1;u<l;u++)c=i.finalize(c),i.reset();o.concat(c)}return o.sigBytes=4*a,o}});e.EvpKDF=function(t,e,n){return a.create(n).compute(t,e)}}(),t.EvpKDF})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(61);t.exports=function(t){return Object(i(t))}},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){return function(){function e(t,e,n){for(var i=[],o=0,s=0;s<e;s++)if(s%4){var a=n[t.charCodeAt(s-1)]<<s%4*2,l=n[t.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(a|l)<<24-o%4*8,o++}return r.create(i,o)}var n=t,i=n.lib,r=i.WordArray,o=n.enc;o.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,i=this._map;t.clamp();for(var r=[],o=0;o<n;o+=3)for(var s=e[o>>>2]>>>24-o%4*8&255,a=e[o+1>>>2]>>>24-(o+1)%4*8&255,l=e[o+2>>>2]>>>24-(o+2)%4*8&255,c=s<<16|a<<8|l,u=0;u<4&&o+.75*u<n;u++)r.push(i.charAt(c>>>6*(3-u)&63));var d=i.charAt(64);if(d)for(;r.length%4;)r.push(d);return r.join("")},parse:function(t){var n=t.length,i=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<i.length;o++)r[i.charCodeAt(o)]=o}var s=i.charAt(64);if(s){var a=t.indexOf(s);a!==-1&&(n=a)}return e(t,n,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),t.enc.Base64})},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){return function(e){function n(t,e,n,i,r,o,s){var a=t+(e&n|~e&i)+r+s;return(a<<o|a>>>32-o)+e}function i(t,e,n,i,r,o,s){var a=t+(e&i|n&~i)+r+s;return(a<<o|a>>>32-o)+e}function r(t,e,n,i,r,o,s){var a=t+(e^n^i)+r+s;return(a<<o|a>>>32-o)+e}function o(t,e,n,i,r,o,s){var a=t+(n^(e|~i))+r+s;return(a<<o|a>>>32-o)+e}var s=t,a=s.lib,l=a.WordArray,c=a.Hasher,u=s.algo,d=[];!function(){for(var t=0;t<64;t++)d[t]=4294967296*e.abs(e.sin(t+1))|0}();var h=u.MD5=c.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var s=0;s<16;s++){var a=e+s,l=t[a];t[a]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var c=this._hash.words,u=t[e+0],h=t[e+1],f=t[e+2],p=t[e+3],m=t[e+4],g=t[e+5],v=t[e+6],y=t[e+7],b=t[e+8],w=t[e+9],A=t[e+10],x=t[e+11],_=t[e+12],E=t[e+13],C=t[e+14],k=t[e+15],S=c[0],F=c[1],D=c[2],T=c[3];S=n(S,F,D,T,u,7,d[0]),T=n(T,S,F,D,h,12,d[1]),D=n(D,T,S,F,f,17,d[2]),F=n(F,D,T,S,p,22,d[3]),S=n(S,F,D,T,m,7,d[4]),T=n(T,S,F,D,g,12,d[5]),D=n(D,T,S,F,v,17,d[6]),F=n(F,D,T,S,y,22,d[7]),S=n(S,F,D,T,b,7,d[8]),T=n(T,S,F,D,w,12,d[9]),D=n(D,T,S,F,A,17,d[10]),F=n(F,D,T,S,x,22,d[11]),S=n(S,F,D,T,_,7,d[12]),T=n(T,S,F,D,E,12,d[13]),D=n(D,T,S,F,C,17,d[14]),F=n(F,D,T,S,k,22,d[15]),S=i(S,F,D,T,h,5,d[16]),T=i(T,S,F,D,v,9,d[17]),D=i(D,T,S,F,x,14,d[18]),F=i(F,D,T,S,u,20,d[19]),S=i(S,F,D,T,g,5,d[20]),T=i(T,S,F,D,A,9,d[21]),D=i(D,T,S,F,k,14,d[22]),F=i(F,D,T,S,m,20,d[23]),S=i(S,F,D,T,w,5,d[24]),T=i(T,S,F,D,C,9,d[25]),D=i(D,T,S,F,p,14,d[26]),F=i(F,D,T,S,b,20,d[27]),S=i(S,F,D,T,E,5,d[28]),T=i(T,S,F,D,f,9,d[29]),D=i(D,T,S,F,y,14,d[30]),F=i(F,D,T,S,_,20,d[31]),S=r(S,F,D,T,g,4,d[32]),T=r(T,S,F,D,b,11,d[33]),D=r(D,T,S,F,x,16,d[34]),F=r(F,D,T,S,C,23,d[35]),S=r(S,F,D,T,h,4,d[36]),T=r(T,S,F,D,m,11,d[37]),D=r(D,T,S,F,y,16,d[38]),F=r(F,D,T,S,A,23,d[39]),S=r(S,F,D,T,E,4,d[40]),T=r(T,S,F,D,u,11,d[41]),D=r(D,T,S,F,p,16,d[42]),F=r(F,D,T,S,v,23,d[43]),S=r(S,F,D,T,w,4,d[44]),T=r(T,S,F,D,_,11,d[45]),D=r(D,T,S,F,k,16,d[46]),F=r(F,D,T,S,f,23,d[47]),S=o(S,F,D,T,u,6,d[48]),T=o(T,S,F,D,y,10,d[49]),D=o(D,T,S,F,C,15,d[50]),F=o(F,D,T,S,g,21,d[51]),S=o(S,F,D,T,_,6,d[52]),T=o(T,S,F,D,p,10,d[53]),D=o(D,T,S,F,A,15,d[54]),F=o(F,D,T,S,h,21,d[55]),S=o(S,F,D,T,b,6,d[56]),T=o(T,S,F,D,k,10,d[57]),D=o(D,T,S,F,v,15,d[58]),F=o(F,D,T,S,E,21,d[59]),S=o(S,F,D,T,m,6,d[60]),T=o(T,S,F,D,x,10,d[61]),D=o(D,T,S,F,f,15,d[62]),F=o(F,D,T,S,w,21,d[63]),c[0]=c[0]+S|0,c[1]=c[1]+F|0,c[2]=c[2]+D|0,c[3]=c[3]+T|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var o=e.floor(i/4294967296),s=i;n[(r+64>>>9<<4)+15]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[(r+64>>>9<<4)+14]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,l=a.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var t=c.clone.call(this);return t._hash=this._hash.clone(),t}});s.MD5=c._createHelper(h),s.HmacMD5=c._createHmacHelper(h)}(Math),t.MD5})},function(t,e,n){t.exports={default:n(306),__esModule:!0}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(50);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e,n){var i=n(113),r=n(63);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TestUtil=e.SaveService=e.all=e.HttpResetClass=e.HttpLoad=e.VueLogger=e.HttpStore=e.DataModel=e.TreeList=e.SelectStore=e.PagedList=e.TreeMixin=e.Selector=e.SearchList=e.date=e.trans=void 0;var r=n(95),o=i(r),s=n(147),a=i(s),l=n(153),c=i(l),u=n(18),d=i(u),h=n(25),f=i(h),p=n(166),m=i(p),g=n(93),v=i(g),y=n(94),b=i(y),w=n(165),A=i(w),x=n(88),_=i(x),E=n(58),C=i(E),k=n(87),S=i(k),F=n(12),D=i(F),T=n(164),$=i(T),B=n(167),M=i(B),R=n(146),P=i(R);e.trans=o.default,e.date=a.default,e.SearchList=c.default,e.Selector=d.default,e.TreeMixin=f.default,e.PagedList=m.default,e.SelectStore=v.default,e.TreeList=b.default,e.DataModel=A.default,e.HttpStore=_.default,e.VueLogger=C.default,e.HttpLoad=S.default,e.HttpResetClass=D.default,e.all=P.default,e.SaveService=$.default,e.TestUtil=M.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=(i(r),n(12)),s=i(o),a=new s.default;a.install=function(t,e){t.resetpost=t.prototype.$resetpost=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.warnMsg,o=void 0===r?null:r,s=i.resolveMsg,l=void 0===s?"恭喜!提交成功!":s,c=i.rejectMsg,u=void 0===c?"提交错误!":c,d=i.type,h=void 0===d?"json":d,f=i.silent,p=void 0!==f&&f,m=i.aoteEncrypt,g=void 0===m?t.mmType:m,v=i.encryKey,y=void 0===v?t.mm:v,b=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e4;return a.load("POST",e,n,{warnMsg:o,resolveMsg:l,rejectMsg:u,type:h,silent:p,aoteEncrypt:g,encryKey:y},b)},t.resetget=t.prototype.$resetget=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.warnMsg,i=void 0===n?null:n,r=e.resolveMsg,o=void 0===r?null:r,s=e.rejectMsg,l=void 0===s?"获取数据错误!":s,c=e.silent,u=void 0!==c&&c;return a.load("GET",t,{},{warnMsg:i,resolveMsg:o,rejectMsg:l,silent:u})},t.resetdelete=t.prototype.$resetdelete=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.warnMsg,r=void 0===i?"删除数据不可恢复,确认删除吗?":i,o=n.resolveMsg,s=void 0===o?"恭喜!删除成功!":o,l=n.rejectMsg,c=void 0===l?"删除失败:":l,u=n.silent,d=void 0!==u&&u;return a.load("DELETE",t+"/"+e.id,{},{warnMsg:r,resolveMsg:s,rejectMsg:c,silent:d})}},e.default=a},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){e=parseInt(e,10);var n=new Date(t,e,0);return n.getDate()}function o(t,e,n){if(t.f_state="",t.f_signin_time&&t.f_knockoff_time){var i=t.f_signin_time.substring(11,16),r=t.f_knockoff_time.substring(11,16);i>e&&(t.f_state="迟到"),r<n&&(t.f_state=t.f_state+"早退")}else t.f_state="缺勤";t.f_state||(t.f_state="正常")}function s(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+"-"+(e<10?"0"+e:e)}function a(){var t=new Date,e=t.getMonth()+1,n=t.getDate();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)}function l(){var t=new Date,e=t.getMonth()+1,n=t.getDate(),i=t.getHours(),r=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+" "+(i<10?"0"+i:i)+":"+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)}function c(t){var e=new Date(t),n=e.getMonth()+1,i=e.getDate(),r=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(n<10?"0"+n:n)+"-"+(i<10?"0"+i:i)+" "+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)+":"+(s<10?"0"+s:s)}function u(){var t=new Date,e=t.getMonth()+1,n=t.getDate(),i=t.getHours(),r=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+"T"+(i<10?"0"+i:i)+":"+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)}function d(t){return new Date(t.substr(0,4),t.substr(5,2)-1,t.substr(8,2),t.substr(11,2),t.substr(14,2),t.substr(17,2))}function h(t){var e=t.getMonth()+1,n=t.getDate(),i=t.getHours(),r=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+"T"+(i<10?"0"+i:i)+":"+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)}function f(){var t=new Uint16Array(8);window.crypto.getRandomValues(t);var e=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return e(t[0])+e(t[1])+e(t[2])+e(t[3])+e(t[4])+e(t[5])+e(t[6])+e(t[7])}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"请选择";if("view"!=t){var r=[];if(n&&r.push({label:i,value:null}),j.default.param&&j.default.param[e]){var o=j.default.param[e];o.forEach(function(t){r.push({label:t.name,value:t.name})})}else r.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"});return r}j.default.getParams(e,[null])}function m(t){return("number"!=typeof t||0!=t)&&(!t||(t+="",t=t.trim(),!t))}function g(t){return console.log("判断整数"+t),!window.isNaN(t)&&t%1===0}function v(t){return console.log("判断小数"+t),!window.isNaN(t)}function y(t){for(var e in t)t.hasOwnProperty(e)&&("object"==(0,L.default)(t[e])&&null!=t[e]?y(t[e]):"true"!==t[e]&&"false"!=t[e]||(t[e]="true"===t[e]))}function b(t){for(var e in t)e.endsWith("_path")?t[e]?t[e]="rs/db/file/"+t[e]:t[e]="rs/db/file/nopic.png":null!==t[e]&&"object"==(0,L.default)(t[e])&&b(t[e])}function w(t,e){return new R.default(function(n,i){var r=void 0;"css"==t?(r=document.createElement("link"),r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href",e)):"js"==t&&(r=document.createElement("script"),r.setAttribute("type","text/javascript"),r.setAttribute("src",e)),r&&(r.setAttribute("async",""),r.setAttribute("defer",""),r.addEventListener("load",function(){n(r),console.log("load script resolved")},!1),r.addEventListener("error",function(){i(r),console.log("load script rejected")},!1),document.body.appendChild(r))})}function A(t){return t.substring(10)}function x(t){var e="",n="",i=new Date;e=i.getDay();var r=i.getMonth()+1,o=i.getDate(),s=i.getYear();n=s>200?s:1900+s;var a=["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"];return n+"年"+r+"月"+o+"日 "+a[e]}function _(t){for(var e=[],n=t.length,i=0;i<n;i++)t[i]instanceof Array?e[i]=_(t[i]):"object"===(0,L.default)(t[i])?e[i]=(0,B.default)({},e[i],t[i]):e[i]=t[i];return e}function E(t){var e=(new Date).getTime(),n=new Date(t).getTime(),i=e-n,r=6e4,o=60*r,s=24*o,a=30*s,l=12*a,c="";return i<=2*r?c="刚刚":2*r<i&&i<o?c=Math.floor(i/r)+"分钟前":o<i&&i<=s?c=Math.floor(i/o)+"小时前":s<i&&i<=a?c=Math.floor(i/s)+"天前":a<i&&i<=l?c=Math.floor(i/a)+"个月前":l<i&&(c=Math.floor(i/l)+"年前"),c}function C(t){var e=window.location.search,n=t.length,i=e.indexOf(t);if(i===-1)return"";i+=n+1;var r=e.indexOf("&",i);return r===-1?e.substring(i):e.substring(i,r)}function k(t){var e=F(window.location.search.slice(1,window.location.search.length)),n=t.length,i=e.indexOf(t);if(i===-1)return"";i+=n+1;var r=e.indexOf("&",i);return r===-1?e.substring(i):e.substring(i,r)}function S(t){for(var e=String.fromCharCode(t.charCodeAt(0)+t.length),n=1;n<t.length;n++)e+=String.fromCharCode(t.charCodeAt(n)+t.charCodeAt(n-1));return escape(e)}function F(t){t=unescape(t);for(var e=String.fromCharCode(t.charCodeAt(0)-t.length),n=1;n<t.length;n++)e+=String.fromCharCode(t.charCodeAt(n)-e.charCodeAt(n-1));return e}function D(){return Date.parse(new Date)}function T(){for(var t=[],e="0123456789abcdef",n=0;n<36;n++)t[n]=e.substr(Math.floor(16*Math.random()),1);t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-";var i=t.join("");return i}Object.defineProperty(e,"__esModule",{value:!0}),e.f=void 0;var $=n(24),B=i($),M=n(7),R=i(M),P=n(26),L=i(P);e.getDaysInOneMonth=r,e.getAttendanceState=o,e.toStandardYearMonth=s,e.toStandardDateString=a,e.toStandardTimeString=l,e.toStandardTimeStringByTimestamp=c,e.to3339TimeString=u,e.parse3339String=d,e.format3339TimeString=h,e.guid=f,e.choices=p,e.required=m,e.isInt=g,e.isFloat=v,e.booleanFilter=y,e.ratifyPics=b,e.loadscript=w,e.orgName=A,e.getNowDate=x,e.deepcopy=_,e.dateDescripte=E,e.getUrlParames=C,e.getUrlCompileParames=k,e.compileStr=S,e.uncompileStr=F,e.getCurrentTime=D,e.uuid=T;var O=n(1),j=i(O);e.f={id:"aaa",role:"repairman"}},function(t,e){"use strict";function n(t){var e=new window.XMLHttpRequest,n={},i={then:function(t,e){return i.done(t).fail(e)},catch:function(t){return i.fail(t)},always:function(t){return i.done(t).fail(t)}};return["done","fail"].forEach(function(t){n[t]=[],i[t]=function(e){return e instanceof Function&&n[t].push(e),i}}),i.done(JSON.parse),e.onreadystatechange=function(){if(4===e.readyState){var t={status:e.status};if(200===e.status)try{var i=e.responseText;for(var r in n.done){var o=n.done[r](i);void 0!==o&&(i=o)}}catch(t){n.fail.forEach(function(e){return e(t)})}else n.fail.forEach(function(e){return e(t)})}},e.open("GET",t),e.setRequestHeader("Accept","application/json"),e.send(),i}function i(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var t=document.createElement("p");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.visibility="hidden",e.style.width="200px",e.style.height="150px",e.style.overflow="hidden",e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;return n===i&&(i=e.clientWidth),document.body.removeChild(e),n-i}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",e={daysOfWeek:["Su","Mo","Tu","We","Th","Fr","Sa"],limit:"Limit reached ({{limit}} items max).",loading:"Loading...",minLength:"Min. Length",months:["January","February","March","April","May","June","July","August","September","October","November","December"],notSelected:"Nothing Selected",required:"Required",search:"Search"};return window.VueStrapLang?window.VueStrapLang(t):e}function o(t,e){function n(t){return/^[0-9]+$/.test(t)?Number(t)||1:null}var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return function(){for(var o=this,s=arguments.length,a=Array(s),l=0;l<s;l++)a[l]=arguments[l];i&&clearTimeout(i),i=setTimeout(function(){t.apply(o,a)},n(e)||n(this[e])||r)}}function s(t){var e=!window.Vue||!window.Vue.partial,n={computed:{vue2:function(){return!this.$dispatch}}};return e?(t.beforeCompile&&(t.beforeMount=t.beforeCompile,delete t.beforeCompile),t.compiled&&(n.compiled=t.compiled,delete t.compiled),t.ready&&(t.mounted=t.ready,delete t.ready)):(t.beforeCreate&&(n.create=t.beforeCreate,delete t.beforeCreate),t.beforeMount&&(t.beforeCompile=t.beforeMount,delete t.beforeMount),t.mounted&&(t.ready=t.mounted,delete t.mounted)),t.mixins||(t.mixins=[]),t.mixins.unshift(n),t}Object.defineProperty(e,"__esModule",{value:!0}),e.getJSON=n,e.getScrollBarWidth=i,e.translations=r,e.delayer=o,e.VueFixer=s;e.coerce={boolean:function(t){return"string"==typeof t?""===t||"true"===t||"false"!==t&&"null"!==t&&"undefined"!==t&&t:t},number:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"number"==typeof t?t:void 0===t||null===t||isNaN(Number(t))?e:Number(t)},string:function(t){return void 0===t||null===t?"":t+""},pattern:function(t){return t instanceof Function||t instanceof RegExp?t:"string"==typeof t?new RegExp(t):null}}},function(t,e,n){t.exports={default:n(298),__esModule:!0}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(54)("meta"),r=n(11),o=n(30),s=n(23).f,a=0,l=Object.isExtensible||function(){return!0},c=!n(34)(function(){return l(Object.preventExtensions({}))}),u=function(t){s(t,i,{value:{i:"O"+ ++a,w:{}}})},d=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[i].i},h=function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[i].w},f=function(t){return c&&p.NEED&&l(t)&&!o(t,i)&&u(t),t},p=t.exports={KEY:i,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(23).f,r=n(30),o=n(13)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){"use strict";var i=n(327)(!0);n(106)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){return function(e){var n=t,i=n.lib,r=i.Base,o=i.WordArray,s=n.x64={};s.Word=r.extend({init:function(t,e){this.high=t,this.low=e}}),s.WordArray=r.extend({init:function(t,n){t=this.words=t||[],n!=e?this.sigBytes=n:this.sigBytes=8*t.length},toX32:function(){for(var t=this.words,e=t.length,n=[],i=0;i<e;i++){var r=t[i];n.push(r.high),n.push(r.low)}return o.create(n,this.sigBytes)},clone:function(){for(var t=r.clone.call(this),e=t.words=this.words.slice(0),n=e.length,i=0;i<n;i++)e[i]=e[i].clone();return t}})}(),t})},function(t,e,n){var i,r,o={};n(398),i=n(254),r=n(498),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(59),o=i(r),s=n(16),a=i(s),l=n(1),c=(i(l),{allowGadgets:function(t){t?Array.isArray(t)?this.allowedGadgets=t:this.allowedGadgets=[t]:this.allowedGadgets=!1}});c.install=function(t){var e={dev:t.config.debug,levels:["log","warn","info","error"]},n=!0,i=!1,r=void 0;try{for(var s,l=function(){var n=s.value;e[n]=function(){if(!t.config.silent&&e.dev&&"undefined"!=typeof console){var i=(0,o.default)(arguments),r=void 0;"VueComponent"===this.constructor.name&&this.$options?r=this.$options.name:(r=i[i.length-1],i.splice(-1)),c.allowedGadgets&&c.allowedGadgets.length>0?c.allowedGadgets.indexOf(r)!=-1&&(i.unshift("["+r+" :: "+n+"]"),console[n].apply(console,i)):(i.unshift("["+r+" :: "+n+"]"),console[n].apply(console,i))}},t.prototype["$"+n]=e[n]},u=(0,a.default)(e.levels);!(n=(s=u.next()).done);n=!0)l()}catch(t){i=!0,r=t}finally{try{!n&&u.return&&u.return()}finally{if(i)throw r}}t.prototype.$console=e,t.console=e,t.allowGadgets=c.allowGadgets},e.default=c},function(t,e,n){t.exports={default:n(291),__esModule:!0}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(49),o=i(r);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(11),r=n(10).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){"use strict";function i(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=r(e),this.reject=r(n)}var r=n(50);t.exports.f=function(t){return new i(t)}},function(t,e,n){var i=n(22),r=n(108),o=n(63),s=n(67)("IE_PROTO"),a=function(){},l="prototype",c=function(){var t,e=n(62)("iframe"),i=o.length,r="<",s=">";for(e.style.display="none",n(101).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+s+"document.F=Object"+r+"/script"+s),t.close(),c=t.F;i--;)delete c[l][o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[l]=i(t),n=new a,a[l]=null,n[s]=t):n=c(),void 0===e?n:r(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(68)("keys"),r=n(54);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){
|
|
10
|
-
var i=n(4),r=n(10),o="__core-js_shared__",s=r[o]||(r[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(42)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(69),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(11);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(10),r=n(4),o=n(42),s=n(73),a=n(23).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){e.f=n(13)},function(t,e,n){var i=n(100),r=n(13)("iterator"),o=n(41);t.exports=n(4).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){n(332);for(var i=n(10),r=n(31),o=n(41),s=n(13)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var c=a[l],u=i[c],d=u&&u.prototype;d&&!d[s]&&r(d,s,c),o[c]=o.Array}},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){!function(){var e=t,n=e.lib,i=n.Base,r=e.enc,o=r.Utf8,s=e.algo;s.HMAC=i.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=o.parse(e));var n=t.blockSize,i=4*n;e.sigBytes>i&&(e=t.finalize(e)),e.clamp();for(var r=this._oKey=e.clone(),s=this._iKey=e.clone(),a=r.words,l=s.words,c=0;c<n;c++)a[c]^=1549556828,l[c]^=909522486;r.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,n=e.finalize(t);e.reset();var i=e.finalize(this._oKey.clone().concat(n));return i}})}()})},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){return function(){var e=t,n=e.lib,i=n.WordArray,r=n.Hasher,o=e.algo,s=[],a=o.SHA1=r.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],a=n[3],l=n[4],c=0;c<80;c++){if(c<16)s[c]=0|t[e+c];else{var u=s[c-3]^s[c-8]^s[c-14]^s[c-16];s[c]=u<<1|u>>>31}var d=(i<<5|i>>>27)+l+s[c];d+=c<20?(r&o|~r&a)+1518500249:c<40?(r^o^a)+1859775393:c<60?(r&o|r&a|o&a)-1894007588:(r^o^a)-899497514,l=a,a=o,o=r<<30|r>>>2,r=i,i=d}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[(i+64>>>9<<4)+14]=Math.floor(n/4294967296),e[(i+64>>>9<<4)+15]=n,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA1=r._createHelper(a),e.HmacSHA1=r._createHmacHelper(a)}(),t.SHA1})},function(t,e,n){var i,r;/*!
|
|
11
|
-
* jQuery JavaScript Library v3.5.1
|
|
12
|
-
* https://jquery.com/
|
|
13
|
-
*
|
|
14
|
-
* Includes Sizzle.js
|
|
15
|
-
* https://sizzlejs.com/
|
|
16
|
-
*
|
|
17
|
-
* Copyright JS Foundation and other contributors
|
|
18
|
-
* Released under the MIT license
|
|
19
|
-
* https://jquery.org/license
|
|
20
|
-
*
|
|
21
|
-
* Date: 2020-05-04T22:49Z
|
|
22
|
-
*/
|
|
23
|
-
!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){"use strict";function s(t,e,n){n=n||Ct;var i,r,o=n.createElement("script");if(o.text=t,e)for(i in kt)r=e[i]||e.getAttribute&&e.getAttribute(i),r&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function a(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?vt[yt.call(t)]||"object":typeof t}function l(t){var e=!!t&&"length"in t&&t.length,n=a(t);return!_t(t)&&!Et(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function c(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function u(t,e,n){return _t(e)?Ft.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?Ft.grep(t,function(t){return t===e!==n}):"string"!=typeof e?Ft.grep(t,function(t){return gt.call(e,t)>-1!==n}):Ft.filter(e,t,n)}function d(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function h(t){var e={};return Ft.each(t.match(Nt)||[],function(t,n){e[n]=!0}),e}function f(t){return t}function p(t){throw t}function m(t,e,n,i){var r;try{t&&_t(r=t.promise)?r.call(t).done(e).fail(n):t&&_t(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function g(){Ct.removeEventListener("DOMContentLoaded",g),n.removeEventListener("load",g),Ft.ready()}function v(t,e){return e.toUpperCase()}function y(t){return t.replace(Wt,"ms-").replace(zt,v)}function b(){this.expando=Ft.expando+b.uid++}function w(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Kt.test(t)?JSON.parse(t):t)}function A(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Yt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n=w(n)}catch(t){}Gt.set(t,e,n)}else n=void 0;return n}function x(t,e,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return Ft.css(t,e,"")},l=a(),c=n&&n[3]||(Ft.cssNumber[e]?"":"px"),u=t.nodeType&&(Ft.cssNumber[e]||"px"!==c&&+l)&&Jt.exec(Ft.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)Ft.style(t,e,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,Ft.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}function _(t){var e,n=t.ownerDocument,i=t.nodeName,r=ie[i];return r?r:(e=n.body.appendChild(n.createElement(i)),r=Ft.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),ie[i]=r,r)}function E(t,e){for(var n,i,r=[],o=0,s=t.length;o<s;o++)i=t[o],i.style&&(n=i.style.display,e?("none"===n&&(r[o]=Ut.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ne(i)&&(r[o]=_(i))):"none"!==n&&(r[o]="none",Ut.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}function C(t,e){var n;return n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&c(t,e)?Ft.merge([t],n):n}function k(t,e){for(var n=0,i=t.length;n<i;n++)Ut.set(t[n],"globalEval",!e||Ut.get(e[n],"globalEval"))}function S(t,e,n,i,r){for(var o,s,l,c,u,d,h=e.createDocumentFragment(),f=[],p=0,m=t.length;p<m;p++)if(o=t[p],o||0===o)if("object"===a(o))Ft.merge(f,o.nodeType?[o]:o);else if(le.test(o)){for(s=s||h.appendChild(e.createElement("div")),l=(oe.exec(o)||["",""])[1].toLowerCase(),c=ae[l]||ae._default,s.innerHTML=c[1]+Ft.htmlPrefilter(o)+c[2],d=c[0];d--;)s=s.lastChild;Ft.merge(f,s.childNodes),s=h.firstChild,s.textContent=""}else f.push(e.createTextNode(o));for(h.textContent="",p=0;o=f[p++];)if(i&&Ft.inArray(o,i)>-1)r&&r.push(o);else if(u=te(o),s=C(h.appendChild(o),"script"),u&&k(s),n)for(d=0;o=s[d++];)se.test(o.type||"")&&n.push(o);return h}function F(){return!0}function D(){return!1}function T(t,e){return t===$()==("focus"===e)}function $(){try{return Ct.activeElement}catch(t){}}function B(t,e,n,i,r,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(a in e)B(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),r===!1)r=D;else if(!r)return t;return 1===o&&(s=r,r=function(t){return Ft().off(t),s.apply(this,arguments)},r.guid=s.guid||(s.guid=Ft.guid++)),t.each(function(){Ft.event.add(this,e,r,i,n)})}function M(t,e,n){return n?(Ut.set(t,e,!1),void Ft.event.add(t,e,{namespace:!1,handler:function(t){var i,r,o=Ut.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(Ft.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=ft.call(arguments),Ut.set(this,e,o),i=n(this,e),this[e](),r=Ut.get(this,e),o!==r||i?Ut.set(this,e,!1):r={},o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else o.length&&(Ut.set(this,e,{value:Ft.event.trigger(Ft.extend(o[0],Ft.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void(void 0===Ut.get(t,e)&&Ft.event.add(t,e,F))}function R(t,e){return c(t,"table")&&c(11!==e.nodeType?e:e.firstChild,"tr")?Ft(t).children("tbody")[0]||t:t}function P(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function L(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function O(t,e){var n,i,r,o,s,a,l;if(1===e.nodeType){if(Ut.hasData(t)&&(o=Ut.get(t),l=o.events)){Ut.remove(e,"handle events");for(r in l)for(n=0,i=l[r].length;n<i;n++)Ft.event.add(e,r,l[r][n])}Gt.hasData(t)&&(s=Gt.access(t),a=Ft.extend({},s),Gt.set(e,a))}}function j(t,e){var n=e.nodeName.toLowerCase();"input"===n&&re.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function N(t,e,n,i){e=pt(e);var r,o,a,l,c,u,d=0,h=t.length,f=h-1,p=e[0],m=_t(p);if(m||h>1&&"string"==typeof p&&!xt.checkClone&&fe.test(p))return t.each(function(r){var o=t.eq(r);m&&(e[0]=p.call(this,r,o.html())),N(o,e,n,i)});if(h&&(r=S(e,t[0].ownerDocument,!1,t,i),o=r.firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=Ft.map(C(r,"script"),P),l=a.length;d<h;d++)c=r,d!==f&&(c=Ft.clone(c,!0,!0),l&&Ft.merge(a,C(c,"script"))),n.call(t[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,Ft.map(a,L),d=0;d<l;d++)c=a[d],se.test(c.type||"")&&!Ut.access(c,"globalEval")&&Ft.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Ft._evalUrl&&!c.noModule&&Ft._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):s(c.textContent.replace(pe,""),c,u))}return t}function I(t,e,n){for(var i,r=e?Ft.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||Ft.cleanData(C(i)),i.parentNode&&(n&&te(i)&&k(C(i,"script")),i.parentNode.removeChild(i));return t}function H(t,e,n){var i,r,o,s,a=t.style;return n=n||ge(t),n&&(s=n.getPropertyValue(e)||n[e],""!==s||te(t)||(s=Ft.style(t,e)),!xt.pixelBoxStyles()&&me.test(s)&&ye.test(e)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function V(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function W(t){for(var e=t[0].toUpperCase()+t.slice(1),n=be.length;n--;)if(t=be[n]+e,t in we)return t}function z(t){var e=Ft.cssProps[t]||Ae[t];return e?e:t in we?t:Ae[t]=W(t)||t}function q(t,e,n){var i=Jt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function U(t,e,n,i,r,o){var s="width"===e?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=Ft.css(t,n+Zt[s],!0,r)),i?("content"===n&&(l-=Ft.css(t,"padding"+Zt[s],!0,r)),"margin"!==n&&(l-=Ft.css(t,"border"+Zt[s]+"Width",!0,r))):(l+=Ft.css(t,"padding"+Zt[s],!0,r),"padding"!==n?l+=Ft.css(t,"border"+Zt[s]+"Width",!0,r):a+=Ft.css(t,"border"+Zt[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))||0),l}function G(t,e,n){var i=ge(t),r=!xt.boxSizingReliable()||n,o=r&&"border-box"===Ft.css(t,"boxSizing",!1,i),s=o,a=H(t,e,i),l="offset"+e[0].toUpperCase()+e.slice(1);if(me.test(a)){if(!n)return a;a="auto"}return(!xt.boxSizingReliable()&&o||!xt.reliableTrDimensions()&&c(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===Ft.css(t,"display",!1,i))&&t.getClientRects().length&&(o="border-box"===Ft.css(t,"boxSizing",!1,i),s=l in t,s&&(a=t[l])),a=parseFloat(a)||0,a+U(t,e,n||(o?"border":"content"),s,i,a)+"px"}function K(t,e,n,i,r){return new K.prototype.init(t,e,n,i,r)}function Y(){Se&&(Ct.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Y):n.setTimeout(Y,Ft.fx.interval),Ft.fx.tick())}function X(){return n.setTimeout(function(){ke=void 0}),ke=Date.now()}function J(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)n=Zt[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function Z(t,e,n){for(var i,r=(et.tweeners[e]||[]).concat(et.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,e,t))return i}function Q(t,e,n){var i,r,o,s,a,l,c,u,d="width"in e||"height"in e,h=this,f={},p=t.style,m=t.nodeType&&ne(t),g=Ut.get(t,"fxshow");n.queue||(s=Ft._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,Ft.queue(t,"fx").length||s.empty.fire()})}));for(i in e)if(r=e[i],Fe.test(r)){if(delete e[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||Ft.style(t,i)}if(l=!Ft.isEmptyObject(e),l||!Ft.isEmptyObject(f)){d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],c=g&&g.display,null==c&&(c=Ut.get(t,"display")),u=Ft.css(t,"display"),"none"===u&&(c?u=c:(E([t],!0),c=t.style.display||c,u=Ft.css(t,"display"),E([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===Ft.css(t,"float")&&(l||(h.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1;for(i in f)l||(g?"hidden"in g&&(m=g.hidden):g=Ut.access(t,"fxshow",{display:c}),o&&(g.hidden=!m),m&&E([t],!0),h.done(function(){m||E([t]),Ut.remove(t,"fxshow");for(i in f)Ft.style(t,i,f[i])})),l=Z(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}}function tt(t,e){var n,i,r,o,s;for(n in t)if(i=y(n),r=e[i],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),s=Ft.cssHooks[i],s&&"expand"in s){o=s.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function et(t,e,n){var i,r,o=0,s=et.prefilters.length,a=Ft.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=ke||X(),n=Math.max(0,c.startTime+c.duration-e),i=n/c.duration||0,o=1-i,s=0,l=c.tweens.length;s<l;s++)c.tweens[s].run(o);return a.notifyWith(t,[c,o,n]),o<1&&l?n:(l||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:Ft.extend({},e),opts:Ft.extend(!0,{specialEasing:{},easing:Ft.easing._default},n),originalProperties:e,originalOptions:n,startTime:ke||X(),duration:n.duration,tweens:[],createTween:function(e,n){var i=Ft.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),u=c.props;for(tt(u,c.opts.specialEasing);o<s;o++)if(i=et.prefilters[o].call(c,t,u,c.opts))return _t(i.stop)&&(Ft._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return Ft.map(u,Z,c),_t(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Ft.fx.timer(Ft.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}function nt(t){var e=t.match(Nt)||[];return e.join(" ")}function it(t){return t.getAttribute&&t.getAttribute("class")||""}function rt(t){return Array.isArray(t)?t:"string"==typeof t?t.match(Nt)||[]:[]}function ot(t,e,n,i){var r;if(Array.isArray(e))Ft.each(e,function(e,r){n||Ie.test(t)?i(t,r):ot(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==a(e))i(t,e);else for(r in e)ot(t+"["+r+"]",e[r],n,i)}function st(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(Nt)||[];if(_t(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function at(t,e,n,i){function r(a){var l;return o[a]=!0,Ft.each(t[a]||[],function(t,a){var c=a(e,n,i);return"string"!=typeof c||s||o[c]?s?!(l=c):void 0:(e.dataTypes.unshift(c),r(c),!1)}),l}var o={},s=t===Ze;return r(e.dataTypes[0])||!o["*"]&&r("*")}function lt(t,e){var n,i,r=Ft.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&Ft.extend(!0,t,i),t}function ct(t,e,n){for(var i,r,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}function ut(t,e,n,i){var r,o,s,a,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(s=c[l+" "+o]||c["* "+o],!s)for(r in c)if(a=r.split(" "),a[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[r]:c[r]!==!0&&(o=a[0],u.unshift(a[1]));break}if(s!==!0)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}var dt=[],ht=Object.getPrototypeOf,ft=dt.slice,pt=dt.flat?function(t){return dt.flat.call(t)}:function(t){return dt.concat.apply([],t)},mt=dt.push,gt=dt.indexOf,vt={},yt=vt.toString,bt=vt.hasOwnProperty,wt=bt.toString,At=wt.call(Object),xt={},_t=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},Et=function(t){return null!=t&&t===t.window},Ct=n.document,kt={type:!0,src:!0,nonce:!0,noModule:!0},St="3.5.1",Ft=function(t,e){return new Ft.fn.init(t,e)};Ft.fn=Ft.prototype={jquery:St,constructor:Ft,length:0,toArray:function(){return ft.call(this)},get:function(t){return null==t?ft.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=Ft.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return Ft.each(this,t)},map:function(t){return this.pushStack(Ft.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(ft.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Ft.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(Ft.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:mt,sort:dt.sort,splice:dt.splice},Ft.extend=Ft.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||_t(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(c&&i&&(Ft.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[e],o=r&&!Array.isArray(n)?[]:r||Ft.isPlainObject(n)?n:{},r=!1,s[e]=Ft.extend(c,o,i)):void 0!==i&&(s[e]=i));return s},Ft.extend({expando:"jQuery"+(St+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==yt.call(t))&&(!(e=ht(t))||(n=bt.call(e,"constructor")&&e.constructor,"function"==typeof n&&wt.call(n)===At))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){s(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(l(t))for(n=t.length;i<n&&e.call(t[i],i,t[i])!==!1;i++);else for(i in t)if(e.call(t[i],i,t[i])===!1)break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(l(Object(t))?Ft.merge(n,"string"==typeof t?[t]:t):mt.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:gt.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],o=0,s=t.length,a=!n;o<s;o++)i=!e(t[o],o),i!==a&&r.push(t[o]);return r},map:function(t,e,n){var i,r,o=0,s=[];if(l(t))for(i=t.length;o<i;o++)r=e(t[o],o,n),null!=r&&s.push(r);else for(o in t)r=e(t[o],o,n),null!=r&&s.push(r);return pt(s)},guid:1,support:xt}),"function"==typeof Symbol&&(Ft.fn[Symbol.iterator]=dt[Symbol.iterator]),Ft.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){vt["[object "+e+"]"]=e.toLowerCase()});var Dt=/*!
|
|
24
|
-
* Sizzle CSS Selector Engine v2.3.5
|
|
25
|
-
* https://sizzlejs.com/
|
|
26
|
-
*
|
|
27
|
-
* Copyright JS Foundation and other contributors
|
|
28
|
-
* Released under the MIT license
|
|
29
|
-
* https://js.foundation/
|
|
30
|
-
*
|
|
31
|
-
* Date: 2020-03-14
|
|
32
|
-
*/
|
|
33
|
-
function(t){function e(t,e,n,i){var r,o,s,a,l,c,u,h=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!i&&(B(e),e=e||M,P)){if(11!==p&&(l=bt.exec(t)))if(r=l[1]){if(9===p){if(!(s=e.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(h&&(s=h.getElementById(r))&&N(e,s)&&s.id===r)return n.push(s),n}else{if(l[2])return Q.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&x.getElementsByClassName&&e.getElementsByClassName)return Q.apply(n,e.getElementsByClassName(r)),n}if(x.qsa&&!G[t+" "]&&(!L||!L.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(u=t,h=e,1===p&&(dt.test(t)||ut.test(t))){for(h=wt.test(t)&&d(e.parentNode)||e,h===e&&x.scope||((a=e.getAttribute("id"))?a=a.replace(_t,Et):e.setAttribute("id",a=I)),c=k(t),o=c.length;o--;)c[o]=(a?"#"+a:":scope")+" "+f(c[o]);u=c.join(",")}try{return Q.apply(n,h.querySelectorAll(u)),n}catch(e){G(t,!0)}finally{a===I&&e.removeAttribute("id")}}}return F(t.replace(lt,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>_.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[I]=!0,t}function r(t){var e=M.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=n.length;i--;)_.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&e.disabled===!1?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&kt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function d(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function f(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,r=e.next,o=r||i,s=n&&"parentNode"===o,a=W++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,r);return!1}:function(e,n,l){var c,u,d,h=[V,a];if(l){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||s)if(d=e[I]||(e[I]={}),u=d[e.uniqueID]||(d[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((c=u[o])&&c[0]===V&&c[1]===a)return h[2]=c[2];if(u[o]=h,h[2]=t(e,n,l))return!0}return!1}}function m(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function g(t,n,i){for(var r=0,o=n.length;r<o;r++)e(t,n[r],i);return i}function v(t,e,n,i,r){for(var o,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(o=t[a])&&(n&&!n(o,i,r)||(s.push(o),c&&e.push(a)));return s}function y(t,e,n,r,o,s){return r&&!r[I]&&(r=y(r)),o&&!o[I]&&(o=y(o,s)),i(function(i,s,a,l){var c,u,d,h=[],f=[],p=s.length,m=i||g(e||"*",a.nodeType?[a]:a,[]),y=!t||!i&&e?m:v(m,h,t,a,l),b=n?o||(i?t:p||r)?[]:s:y;if(n&&n(y,b,a,l),r)for(c=v(b,f),r(c,[],a,l),u=c.length;u--;)(d=c[u])&&(b[f[u]]=!(y[f[u]]=d));if(i){if(o||t){if(o){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(y[u]=d);o(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=o?et(i,d):h[u])>-1&&(i[c]=!(s[c]=d))}}else b=v(b===s?b.splice(p,b.length):b),o?o(null,s,b,l):Q.apply(s,b)})}function b(t){for(var e,n,i,r=t.length,o=_.relative[t[0].type],s=o||_.relative[" "],a=o?1:0,l=p(function(t){return t===e},s,!0),c=p(function(t){return et(e,t)>-1},s,!0),u=[function(t,n,i){var r=!o&&(i||n!==D)||((e=n).nodeType?l(t,n,i):c(t,n,i));return e=null,r}];a<r;a++)if(n=_.relative[t[a].type])u=[p(m(u),n)];else{if(n=_.filter[t[a].type].apply(null,t[a].matches),n[I]){for(i=++a;i<r&&!_.relative[t[i].type];i++);return y(a>1&&m(u),a>1&&f(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(lt,"$1"),n,a<i&&b(t.slice(a,i)),i<r&&b(t=t.slice(i)),i<r&&f(t))}u.push(n)}return m(u)}function w(t,n){var r=n.length>0,o=t.length>0,s=function(i,s,a,l,c){var u,d,h,f=0,p="0",m=i&&[],g=[],y=D,b=i||o&&_.find.TAG("*",c),w=V+=null==y?1:Math.random()||.1,A=b.length;for(c&&(D=s==M||s||c);p!==A&&null!=(u=b[p]);p++){if(o&&u){for(d=0,s||u.ownerDocument==M||(B(u),a=!P);h=t[d++];)if(h(u,s||M,a)){l.push(u);break}c&&(V=w)}r&&((u=!h&&u)&&f--,i&&m.push(u))}if(f+=p,r&&p!==f){for(d=0;h=n[d++];)h(m,g,s,a);if(i){if(f>0)for(;p--;)m[p]||g[p]||(g[p]=J.call(l));g=v(g)}Q.apply(l,g),c&&!i&&g.length>0&&f+n.length>1&&e.uniqueSort(l)}return c&&(V=w,D=y),m};return r?i(s):s}var A,x,_,E,C,k,S,F,D,T,$,B,M,R,P,L,O,j,N,I="sizzle"+1*new Date,H=t.document,V=0,W=0,z=n(),q=n(),U=n(),G=n(),K=function(t,e){return t===e&&($=!0),0},Y={}.hasOwnProperty,X=[],J=X.pop,Z=X.push,Q=X.push,tt=X.slice,et=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\[\\da-fA-F]{1,6}"+it+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ot="\\["+it+"*("+rt+")(?:"+it+"*([*^$|!~]?=)"+it+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+it+"*\\]",st=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ot+")*)|.*)\\)|)",at=new RegExp(it+"+","g"),lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),ct=new RegExp("^"+it+"*,"+it+"*"),ut=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),dt=new RegExp(it+"|>"),ht=new RegExp(st),ft=new RegExp("^"+rt+"$"),pt={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},mt=/HTML$/i,gt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,yt=/^[^{]+\{\s*\[native \w/,bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,wt=/[+~]/,At=new RegExp("\\\\[\\da-fA-F]{1,6}"+it+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var n="0x"+t.slice(1)-65536;return e?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},_t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Et=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Ct=function(){B()},kt=p(function(t){return t.disabled===!0&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Q.apply(X=tt.call(H.childNodes),H.childNodes),X[H.childNodes.length].nodeType}catch(t){Q={apply:X.length?function(t,e){Z.apply(t,tt.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}x=e.support={},C=e.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!mt.test(e||n&&n.nodeName||"HTML")},B=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:H;return i!=M&&9===i.nodeType&&i.documentElement?(M=i,R=M.documentElement,P=!C(M),H!=M&&(n=M.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ct,!1):n.attachEvent&&n.attachEvent("onunload",Ct)),x.scope=r(function(t){return R.appendChild(t).appendChild(M.createElement("div")),"undefined"!=typeof t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=r(function(t){return t.appendChild(M.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=yt.test(M.getElementsByClassName),x.getById=r(function(t){return R.appendChild(t).id=I,!M.getElementsByName||!M.getElementsByName(I).length}),x.getById?(_.filter.ID=function(t){var e=t.replace(At,xt);return function(t){return t.getAttribute("id")===e}},_.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&P){var n=e.getElementById(t);return n?[n]:[]}}):(_.filter.ID=function(t){var e=t.replace(At,xt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},_.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&P){var n,i,r,o=e.getElementById(t);if(o){if(n=o.getAttributeNode("id"),n&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if(n=o.getAttributeNode("id"),n&&n.value===t)return[o]}return[]}}),_.find.TAG=x.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},_.find.CLASS=x.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&P)return e.getElementsByClassName(t)},O=[],L=[],(x.qsa=yt.test(M.querySelectorAll))&&(r(function(t){var e;R.appendChild(t).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+it+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||L.push("\\["+it+"*(?:value|"+nt+")"),t.querySelectorAll("[id~="+I+"-]").length||L.push("~="),e=M.createElement("input"),e.setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||L.push("\\["+it+"*name"+it+"*="+it+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||L.push(":checked"),t.querySelectorAll("a#"+I+"+*").length||L.push(".#.+[+~]"),t.querySelectorAll("\\\f"),L.push("[\\r\\n\\f]")}),r(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=M.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&L.push("name"+it+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),R.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),L.push(",.*:")})),(x.matchesSelector=yt.test(j=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&r(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),O.push("!=",st)}),L=L.length&&new RegExp(L.join("|")),O=O.length&&new RegExp(O.join("|")),e=yt.test(R.compareDocumentPosition),N=e||yt.test(R.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},K=e?function(t,e){if(t===e)return $=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!x.sortDetached&&e.compareDocumentPosition(t)===n?t==M||t.ownerDocument==H&&N(H,t)?-1:e==M||e.ownerDocument==H&&N(H,e)?1:T?et(T,t)-et(T,e):0:4&n?-1:1)}:function(t,e){if(t===e)return $=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],l=[e];if(!r||!o)return t==M?-1:e==M?1:r?-1:o?1:T?et(T,t)-et(T,e):0;if(r===o)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?s(a[i],l[i]):a[i]==H?-1:l[i]==H?1:0},M):M},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if(B(t),x.matchesSelector&&P&&!G[n+" "]&&(!O||!O.test(n))&&(!L||!L.test(n)))try{var i=j.call(t,n);if(i||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){G(n,!0)}return e(n,M,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!=M&&B(t),N(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=M&&B(t);var n=_.attrHandle[e.toLowerCase()],i=n&&Y.call(_.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==i?i:x.attributes||!P?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.escape=function(t){return(t+"").replace(_t,Et)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if($=!x.detectDuplicates,T=!x.sortStable&&t.slice(0),t.sort(K),$){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return T=null,t},E=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=E(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=E(e);return n},_=e.selectors={cacheLength:50,createPseudo:i,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(At,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(At,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=k(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(At,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+it+")"+t+"("+it+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(at," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,h,f,p,m=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.lastChild],s&&y){for(h=g,d=h[I]||(h[I]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),c=u[t]||[],f=c[0]===V&&c[1],b=f&&c[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){u[t]=[V,f,b];break}}else if(y&&(h=e,d=h[I]||(h[I]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),c=u[t]||[],f=c[0]===V&&c[1],b=f),b===!1)for(;(h=++f&&h&&h[m]||(b=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&(d=h[I]||(h[I]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),u[t]=[V,b]),h!==e)););return b-=r,b===i||b%i===0&&b/i>=0}}},PSEUDO:function(t,n){var r,o=_.pseudos[t]||_.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[I]?o(n):o.length>1?(r=[t,t,"",n],_.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),s=r.length;s--;)i=et(t,r[s]),t[i]=!(e[i]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=S(t.replace(lt,"$1"));return r[I]?i(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(At,xt),function(e){return(e.textContent||E(e)).indexOf(t)>-1}}),lang:i(function(t){return ft.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(At,xt).toLowerCase(),function(e){var n;do if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===R},focus:function(t){return t===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!_.pseudos.empty(t)},header:function(t){return vt.test(t.nodeName)},input:function(t){return gt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[n<0?n+e:n]}),even:u(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:u(function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t}),gt:u(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},_.pseudos.nth=_.pseudos.eq;for(A in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[A]=a(A);for(A in{submit:!0,reset:!0})_.pseudos[A]=l(A);return h.prototype=_.filters=_.pseudos,_.setFilters=new h,k=e.tokenize=function(t,n){var i,r,o,s,a,l,c,u=q[t+" "];if(u)return n?0:u.slice(0);for(a=t,l=[],c=_.preFilter;a;){i&&!(r=ct.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=ut.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(lt," ")}),a=a.slice(i.length));for(s in _.filter)!(r=pt[s].exec(a))||c[s]&&!(r=c[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?e.error(t):q(t,l).slice(0)},S=e.compile=function(t,e){var n,i=[],r=[],o=U[t+" "];if(!o){for(e||(e=k(t)),n=e.length;n--;)o=b(e[n]),o[I]?i.push(o):r.push(o);o=U(t,w(r,i)),o.selector=t}return o},F=e.select=function(t,e,n,i){var r,o,s,a,l,c="function"==typeof t&&t,u=!i&&k(t=c.selector||t);if(n=n||[],1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&9===e.nodeType&&P&&_.relative[o[1].type]){if(e=(_.find.ID(s.matches[0].replace(At,xt),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=pt.needsContext.test(t)?0:o.length;r--&&(s=o[r],!_.relative[a=s.type]);)if((l=_.find[a])&&(i=l(s.matches[0].replace(At,xt),wt.test(o[0].type)&&d(e.parentNode)||e))){if(o.splice(r,1),t=i.length&&f(o),!t)return Q.apply(n,i),n;break}}return(c||S(t,u))(i,e,!P,n,!e||wt.test(t)&&d(e.parentNode)||e),n},x.sortStable=I.split("").sort(K).join("")===I,x.detectDuplicates=!!$,B(),x.sortDetached=r(function(t){return 1&t.compareDocumentPosition(M.createElement("fieldset"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(nt,function(t,e,n){var i;if(!n)return t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(n);Ft.find=Dt,Ft.expr=Dt.selectors,Ft.expr[":"]=Ft.expr.pseudos,Ft.uniqueSort=Ft.unique=Dt.uniqueSort,Ft.text=Dt.getText,Ft.isXMLDoc=Dt.isXML,Ft.contains=Dt.contains,Ft.escapeSelector=Dt.escape;var Tt=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&Ft(t).is(n))break;i.push(t)}return i},$t=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Bt=Ft.expr.match.needsContext,Mt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ft.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?Ft.find.matchesSelector(i,t)?[i]:[]:Ft.find.matches(t,Ft.grep(e,function(t){return 1===t.nodeType}))},Ft.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(Ft(t).filter(function(){for(e=0;e<i;e++)if(Ft.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)Ft.find(t,r[e],n);return i>1?Ft.uniqueSort(n):n},filter:function(t){return this.pushStack(u(this,t||[],!1))},not:function(t){return this.pushStack(u(this,t||[],!0))},is:function(t){return!!u(this,"string"==typeof t&&Bt.test(t)?Ft(t):t||[],!1).length}});var Rt,Pt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Lt=Ft.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||Rt,"string"==typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Pt.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof Ft?e[0]:e,Ft.merge(this,Ft.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:Ct,!0)),Mt.test(i[1])&&Ft.isPlainObject(e))for(i in e)_t(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return r=Ct.getElementById(i[2]),r&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):_t(t)?void 0!==n.ready?n.ready(t):t(Ft):Ft.makeArray(t,this)};Lt.prototype=Ft.fn,Rt=Ft(Ct);var Ot=/^(?:parents|prev(?:Until|All))/,jt={children:!0,contents:!0,next:!0,prev:!0};Ft.fn.extend({has:function(t){var e=Ft(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(Ft.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,o=[],s="string"!=typeof t&&Ft(t);if(!Bt.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Ft.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?Ft.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?gt.call(Ft(t),this[0]):gt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Ft.uniqueSort(Ft.merge(this.get(),Ft(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Ft.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Tt(t,"parentNode")},parentsUntil:function(t,e,n){return Tt(t,"parentNode",n)},next:function(t){return d(t,"nextSibling")},prev:function(t){return d(t,"previousSibling")},nextAll:function(t){return Tt(t,"nextSibling")},prevAll:function(t){return Tt(t,"previousSibling")},nextUntil:function(t,e,n){return Tt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Tt(t,"previousSibling",n)},siblings:function(t){return $t((t.parentNode||{}).firstChild,t)},children:function(t){return $t(t.firstChild)},contents:function(t){return null!=t.contentDocument&&ht(t.contentDocument)?t.contentDocument:(c(t,"template")&&(t=t.content||t),Ft.merge([],t.childNodes))}},function(t,e){Ft.fn[t]=function(n,i){var r=Ft.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=Ft.filter(i,r)),this.length>1&&(jt[t]||Ft.uniqueSort(r),Ot.test(t)&&r.reverse()),this.pushStack(r)}});var Nt=/[^\x20\t\r\n\f]+/g;Ft.Callbacks=function(t){t="string"==typeof t?h(t):Ft.extend({},t);var e,n,i,r,o=[],s=[],l=-1,c=function(){for(r=r||t.once,i=e=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)o[l].apply(n[0],n[1])===!1&&t.stopOnFalse&&(l=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(l=o.length-1,s.push(n)),function e(n){Ft.each(n,function(n,i){_t(i)?t.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==a(i)&&e(i)})}(arguments),n&&!e&&c()),this},remove:function(){return Ft.each(arguments,function(t,e){for(var n;(n=Ft.inArray(e,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(t){return t?Ft.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=n||[],n=[t,n.slice?n.slice():n],s.push(n),e||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},Ft.extend({Deferred:function(t){var e=[["notify","progress",Ft.Callbacks("memory"),Ft.Callbacks("memory"),2],["resolve","done",Ft.Callbacks("once memory"),Ft.Callbacks("once memory"),0,"resolved"],["reject","fail",Ft.Callbacks("once memory"),Ft.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return Ft.Deferred(function(n){Ft.each(e,function(e,i){var r=_t(t[i[4]])&&t[i[4]];o[i[1]](function(){var t=r&&r.apply(this,arguments);t&&_t(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(t,i,r){function o(t,e,i,r){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(t<s)){if(n=i.apply(a,l),n===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,_t(c)?r?c.call(n,o(s,e,f,r),o(s,e,p,r)):(s++,c.call(n,o(s,e,f,r),o(s,e,p,r),o(s,e,f,e.notifyWith))):(i!==f&&(a=void 0,l=[n]),(r||e.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(n){Ft.Deferred.exceptionHook&&Ft.Deferred.exceptionHook(n,u.stackTrace),t+1>=s&&(i!==p&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?u():(Ft.Deferred.getStackHook&&(u.stackTrace=Ft.Deferred.getStackHook()),n.setTimeout(u))}}var s=0;return Ft.Deferred(function(n){e[0][3].add(o(0,n,_t(r)?r:f,n.notifyWith)),e[1][3].add(o(0,n,_t(t)?t:f)),e[2][3].add(o(0,n,_t(i)?i:p))}).promise()},promise:function(t){return null!=t?Ft.extend(t,r):r}},o={};return Ft.each(e,function(t,n){var s=n[2],a=n[5];r[n[1]]=s.add,a&&s.add(function(){i=a},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=ft.call(arguments),o=Ft.Deferred(),s=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?ft.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(m(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||_t(r[n]&&r[n].then)))return o.then();for(;n--;)m(r[n],s(n),o.reject);return o.promise()}});var It=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ft.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&It.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},Ft.readyException=function(t){n.setTimeout(function(){throw t})};var Ht=Ft.Deferred();Ft.fn.ready=function(t){return Ht.then(t).catch(function(t){Ft.readyException(t)}),this},Ft.extend({isReady:!1,readyWait:1,ready:function(t){(t===!0?--Ft.readyWait:Ft.isReady)||(Ft.isReady=!0,t!==!0&&--Ft.readyWait>0||Ht.resolveWith(Ct,[Ft]))}}),Ft.ready.then=Ht.then,"complete"===Ct.readyState||"loading"!==Ct.readyState&&!Ct.documentElement.doScroll?n.setTimeout(Ft.ready):(Ct.addEventListener("DOMContentLoaded",g),n.addEventListener("load",g));var Vt=function(t,e,n,i,r,o,s){var l=0,c=t.length,u=null==n;if("object"===a(n)){r=!0;for(l in n)Vt(t,e,l,n[l],!0,o,s)}else if(void 0!==i&&(r=!0,_t(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(Ft(t),n)})),e))for(;l<c;l++)e(t[l],n,s?i:i.call(t[l],l,e(t[l],n)));return r?t:u?e.call(t):c?e(t[0],n):o},Wt=/^-ms-/,zt=/-([a-z])/g,qt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};b.uid=1,b.prototype={cache:function(t){var e=t[this.expando];return e||(e={},qt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[y(e)]=n;else for(i in e)r[y(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][y(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){Array.isArray(e)?e=e.map(y):(e=y(e),e=e in i?[e]:e.match(Nt)||[]),n=e.length;for(;n--;)delete i[e[n]]}(void 0===e||Ft.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!Ft.isEmptyObject(e)}};var Ut=new b,Gt=new b,Kt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Yt=/[A-Z]/g;Ft.extend({hasData:function(t){return Gt.hasData(t)||Ut.hasData(t)},data:function(t,e,n){return Gt.access(t,e,n)},removeData:function(t,e){Gt.remove(t,e)},_data:function(t,e,n){return Ut.access(t,e,n)},_removeData:function(t,e){Ut.remove(t,e)}}),Ft.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=Gt.get(o),1===o.nodeType&&!Ut.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=y(i.slice(5)),A(o,i,r[i])));Ut.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){Gt.set(this,t)}):Vt(this,function(e){var n;if(o&&void 0===e){if(n=Gt.get(o,t),void 0!==n)return n;if(n=A(o,t),void 0!==n)return n}else this.each(function(){Gt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Gt.remove(this,t)})}}),Ft.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Ut.get(t,e),n&&(!i||Array.isArray(n)?i=Ut.access(t,e,Ft.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=Ft.queue(t,e),i=n.length,r=n.shift(),o=Ft._queueHooks(t,e),s=function(){Ft.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Ut.get(t,n)||Ut.access(t,n,{empty:Ft.Callbacks("once memory").add(function(){Ut.remove(t,[e+"queue",n])})})}}),Ft.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Ft.queue(this[0],t):void 0===e?this:this.each(function(){var n=Ft.queue(this,t,e);Ft._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&Ft.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Ft.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=Ft.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=Ut.get(o[s],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var Xt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Jt=new RegExp("^(?:([+-])=|)("+Xt+")([a-z%]*)$","i"),Zt=["Top","Right","Bottom","Left"],Qt=Ct.documentElement,te=function(t){return Ft.contains(t.ownerDocument,t)},ee={composed:!0};Qt.getRootNode&&(te=function(t){return Ft.contains(t.ownerDocument,t)||t.getRootNode(ee)===t.ownerDocument});var ne=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&te(t)&&"none"===Ft.css(t,"display")},ie={};Ft.fn.extend({show:function(){return E(this,!0)},hide:function(){return E(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ne(this)?Ft(this).show():Ft(this).hide()})}});var re=/^(?:checkbox|radio)$/i,oe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,se=/^$|^module$|\/(?:java|ecma)script/i;
|
|
34
|
-
!function(){var t=Ct.createDocumentFragment(),e=t.appendChild(Ct.createElement("div")),n=Ct.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),xt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",xt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="<option></option>",xt.option=!!e.lastChild}();var ae={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td,xt.option||(ae.optgroup=ae.option=[1,"<select multiple='multiple'>","</select>"]);var le=/<|&#?\w+;/,ce=/^key/,ue=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,de=/^([^.]*)(?:\.(.+)|)/;Ft.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,c,u,d,h,f,p,m,g=Ut.get(t);if(qt(t))for(n.handler&&(o=n,n=o.handler,r=o.selector),r&&Ft.find.matchesSelector(Qt,r),n.guid||(n.guid=Ft.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(e){return"undefined"!=typeof Ft&&Ft.event.triggered!==e.type?Ft.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Nt)||[""],c=e.length;c--;)a=de.exec(e[c])||[],f=m=a[1],p=(a[2]||"").split(".").sort(),f&&(d=Ft.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=Ft.event.special[f]||{},u=Ft.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Ft.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||(h=l[f]=[],h.delegateCount=0,d.setup&&d.setup.call(t,i,p,s)!==!1||t.addEventListener&&t.addEventListener(f,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),Ft.event.global[f]=!0)},remove:function(t,e,n,i,r){var o,s,a,l,c,u,d,h,f,p,m,g=Ut.hasData(t)&&Ut.get(t);if(g&&(l=g.events)){for(e=(e||"").match(Nt)||[""],c=e.length;c--;)if(a=de.exec(e[c])||[],f=m=a[1],p=(a[2]||"").split(".").sort(),f){for(d=Ft.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,h=l[f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));s&&!h.length&&(d.teardown&&d.teardown.call(t,p,g.handle)!==!1||Ft.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)Ft.event.remove(t,f+e[c],n,i,!0);Ft.isEmptyObject(l)&&Ut.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,s,a=new Array(arguments.length),l=Ft.event.fix(t),c=(Ut.get(this,"events")||Object.create(null))[l.type]||[],u=Ft.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,l)!==!1){for(s=Ft.event.handlers.call(this,l,c),e=0;(r=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&o.namespace!==!1&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,i=((Ft.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a),void 0!==i&&(l.result=i)===!1&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,o,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||c.disabled!==!0)){for(o=[],s={},n=0;n<l;n++)i=e[n],r=i.selector+" ",void 0===s[r]&&(s[r]=i.needsContext?Ft(r,this).index(c)>-1:Ft.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(Ft.Event.prototype,t,{enumerable:!0,configurable:!0,get:_t(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[Ft.expando]?t:new Ft.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return re.test(e.type)&&e.click&&c(e,"input")&&M(e,"click",F),!1},trigger:function(t){var e=this||t;return re.test(e.type)&&e.click&&c(e,"input")&&M(e,"click"),!0},_default:function(t){var e=t.target;return re.test(e.type)&&e.click&&c(e,"input")&&Ut.get(e,"click")||c(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},Ft.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},Ft.Event=function(t,e){return this instanceof Ft.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?F:D,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&Ft.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),void(this[Ft.expando]=!0)):new Ft.Event(t,e)},Ft.Event.prototype={constructor:Ft.Event,isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=F,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=F,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=F,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},Ft.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&ce.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&ue.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},Ft.event.addProp),Ft.each({focus:"focusin",blur:"focusout"},function(t,e){Ft.event.special[t]={setup:function(){return M(this,t,T),!1},trigger:function(){return M(this,t),!0},delegateType:e}}),Ft.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Ft.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||Ft.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),Ft.fn.extend({on:function(t,e,n,i){return B(this,t,e,n,i)},one:function(t,e,n,i){return B(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,Ft(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=D),this.each(function(){Ft.event.remove(this,t,n,e)})}});var he=/<script|<style|<link/i,fe=/checked\s*(?:[^=]|=\s*.checked.)/i,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Ft.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,s,a=t.cloneNode(!0),l=te(t);if(!(xt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Ft.isXMLDoc(t)))for(s=C(a),o=C(t),i=0,r=o.length;i<r;i++)j(o[i],s[i]);if(e)if(n)for(o=o||C(t),s=s||C(a),i=0,r=o.length;i<r;i++)O(o[i],s[i]);else O(t,a);return s=C(a,"script"),s.length>0&&k(s,!l&&C(t,"script")),a},cleanData:function(t){for(var e,n,i,r=Ft.event.special,o=0;void 0!==(n=t[o]);o++)if(qt(n)){if(e=n[Ut.expando]){if(e.events)for(i in e.events)r[i]?Ft.event.remove(n,i):Ft.removeEvent(n,i,e.handle);n[Ut.expando]=void 0}n[Gt.expando]&&(n[Gt.expando]=void 0)}}}),Ft.fn.extend({detach:function(t){return I(this,t,!0)},remove:function(t){return I(this,t)},text:function(t){return Vt(this,function(t){return void 0===t?Ft.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return N(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=R(this,t);e.appendChild(t)}})},prepend:function(){return N(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=R(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return N(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return N(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Ft.cleanData(C(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Ft.clone(this,t,e)})},html:function(t){return Vt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!he.test(t)&&!ae[(oe.exec(t)||["",""])[1].toLowerCase()]){t=Ft.htmlPrefilter(t);try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(Ft.cleanData(C(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return N(this,arguments,function(e){var n=this.parentNode;Ft.inArray(this,t)<0&&(Ft.cleanData(C(this)),n&&n.replaceChild(e,this))},t)}}),Ft.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Ft.fn[t]=function(t){for(var n,i=[],r=Ft(t),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),Ft(r[s])[e](n),mt.apply(i,n.get());return this.pushStack(i)}});var me=new RegExp("^("+Xt+")(?!px)[a-z%]+$","i"),ge=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},ve=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];i=n.call(t);for(r in e)t.style[r]=o[r];return i},ye=new RegExp(Zt.join("|"),"i");!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Qt.appendChild(c).appendChild(u);var t=n.getComputedStyle(u);i="1%"!==t.top,l=12===e(t.marginLeft),u.style.right="60%",s=36===e(t.right),r=36===e(t.width),u.style.position="absolute",o=12===e(u.offsetWidth/3),Qt.removeChild(c),u=null}}function e(t){return Math.round(parseFloat(t))}var i,r,o,s,a,l,c=Ct.createElement("div"),u=Ct.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",xt.clearCloneStyle="content-box"===u.style.backgroundClip,Ft.extend(xt,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,i,r;return null==a&&(t=Ct.createElement("table"),e=Ct.createElement("tr"),i=Ct.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",i.style.height="9px",Qt.appendChild(t).appendChild(e).appendChild(i),r=n.getComputedStyle(e),a=parseInt(r.height)>3,Qt.removeChild(t)),a}}))}();var be=["Webkit","Moz","ms"],we=Ct.createElement("div").style,Ae={},xe=/^(none|table(?!-c[ea]).+)/,_e=/^--/,Ee={position:"absolute",visibility:"hidden",display:"block"},Ce={letterSpacing:"0",fontWeight:"400"};Ft.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=H(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=y(e),l=_e.test(e),c=t.style;return l||(e=z(a)),s=Ft.cssHooks[e]||Ft.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:c[e]:(o=typeof n,"string"===o&&(r=Jt.exec(n))&&r[1]&&(n=x(t,e,r),o="number"),null!=n&&n===n&&("number"!==o||l||(n+=r&&r[3]||(Ft.cssNumber[a]?"":"px")),xt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n)),void 0)}},css:function(t,e,n,i){var r,o,s,a=y(e),l=_e.test(e);return l||(e=z(a)),s=Ft.cssHooks[e]||Ft.cssHooks[a],s&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=H(t,e,i)),"normal"===r&&e in Ce&&(r=Ce[e]),""===n||n?(o=parseFloat(r),n===!0||isFinite(o)?o||0:r):r}}),Ft.each(["height","width"],function(t,e){Ft.cssHooks[e]={get:function(t,n,i){if(n)return!xe.test(Ft.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?G(t,e,i):ve(t,Ee,function(){return G(t,e,i)})},set:function(t,n,i){var r,o=ge(t),s=!xt.scrollboxSize()&&"absolute"===o.position,a=s||i,l=a&&"border-box"===Ft.css(t,"boxSizing",!1,o),c=i?U(t,e,i,l,o):0;return l&&s&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-U(t,e,"border",!1,o)-.5)),c&&(r=Jt.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=Ft.css(t,e)),q(t,n,c)}}}),Ft.cssHooks.marginLeft=V(xt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(H(t,"marginLeft"))||t.getBoundingClientRect().left-ve(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),Ft.each({margin:"",padding:"",border:"Width"},function(t,e){Ft.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+Zt[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(Ft.cssHooks[t+e].set=q)}),Ft.fn.extend({css:function(t,e){return Vt(this,function(t,e,n){var i,r,o={},s=0;if(Array.isArray(e)){for(i=ge(t),r=e.length;s<r;s++)o[e[s]]=Ft.css(t,e[s],!1,i);return o}return void 0!==n?Ft.style(t,e,n):Ft.css(t,e)},t,e,arguments.length>1)}}),Ft.Tween=K,K.prototype={constructor:K,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||Ft.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(Ft.cssNumber[n]?"":"px")},cur:function(){var t=K.propHooks[this.prop];return t&&t.get?t.get(this):K.propHooks._default.get(this)},run:function(t){var e,n=K.propHooks[this.prop];return this.options.duration?this.pos=e=Ft.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):K.propHooks._default.set(this),this}},K.prototype.init.prototype=K.prototype,K.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=Ft.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){Ft.fx.step[t.prop]?Ft.fx.step[t.prop](t):1!==t.elem.nodeType||!Ft.cssHooks[t.prop]&&null==t.elem.style[z(t.prop)]?t.elem[t.prop]=t.now:Ft.style(t.elem,t.prop,t.now+t.unit)}}},K.propHooks.scrollTop=K.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Ft.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},Ft.fx=K.prototype.init,Ft.fx.step={};var ke,Se,Fe=/^(?:toggle|show|hide)$/,De=/queueHooks$/;Ft.Animation=Ft.extend(et,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return x(n.elem,t,Jt.exec(e),n),n}]},tweener:function(t,e){_t(t)?(e=t,t=["*"]):t=t.match(Nt);for(var n,i=0,r=t.length;i<r;i++)n=t[i],et.tweeners[n]=et.tweeners[n]||[],et.tweeners[n].unshift(e)},prefilters:[Q],prefilter:function(t,e){e?et.prefilters.unshift(t):et.prefilters.push(t)}}),Ft.speed=function(t,e,n){var i=t&&"object"==typeof t?Ft.extend({},t):{complete:n||!n&&e||_t(t)&&t,duration:t,easing:n&&e||e&&!_t(e)&&e};return Ft.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in Ft.fx.speeds?i.duration=Ft.fx.speeds[i.duration]:i.duration=Ft.fx.speeds._default),null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){_t(i.old)&&i.old.call(this),i.queue&&Ft.dequeue(this,i.queue)},i},Ft.fn.extend({fadeTo:function(t,e,n,i){return this.filter(ne).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=Ft.isEmptyObject(t),o=Ft.speed(e,n,i),s=function(){var e=et(this,Ft.extend({},t),o);(r||Ut.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=Ft.timers,s=Ut.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&De.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||Ft.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Ut.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=Ft.timers,s=i?i.length:0;for(n.finish=!0,Ft.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),Ft.each(["toggle","show","hide"],function(t,e){var n=Ft.fn[e];Ft.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(J(e,!0),t,i,r)}}),Ft.each({slideDown:J("show"),slideUp:J("hide"),slideToggle:J("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Ft.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),Ft.timers=[],Ft.fx.tick=function(){var t,e=0,n=Ft.timers;for(ke=Date.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||Ft.fx.stop(),ke=void 0},Ft.fx.timer=function(t){Ft.timers.push(t),Ft.fx.start()},Ft.fx.interval=13,Ft.fx.start=function(){Se||(Se=!0,Y())},Ft.fx.stop=function(){Se=null},Ft.fx.speeds={slow:600,fast:200,_default:400},Ft.fn.delay=function(t,e){return t=Ft.fx?Ft.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}})},function(){var t=Ct.createElement("input"),e=Ct.createElement("select"),n=e.appendChild(Ct.createElement("option"));t.type="checkbox",xt.checkOn=""!==t.value,xt.optSelected=n.selected,t=Ct.createElement("input"),t.value="t",t.type="radio",xt.radioValue="t"===t.value}();var Te,$e=Ft.expr.attrHandle;Ft.fn.extend({attr:function(t,e){return Vt(this,Ft.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Ft.removeAttr(this,t)})}}),Ft.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?Ft.prop(t,e,n):(1===o&&Ft.isXMLDoc(t)||(r=Ft.attrHooks[e.toLowerCase()]||(Ft.expr.match.bool.test(e)?Te:void 0)),void 0!==n?null===n?void Ft.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=Ft.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!xt.radioValue&&"radio"===e&&c(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(Nt);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),Te={set:function(t,e,n){return e===!1?Ft.removeAttr(t,n):t.setAttribute(n,n),n}},Ft.each(Ft.expr.match.bool.source.match(/\w+/g),function(t,e){var n=$e[e]||Ft.find.attr;$e[e]=function(t,e,i){var r,o,s=e.toLowerCase();return i||(o=$e[s],$e[s]=r,r=null!=n(t,e,i)?s:null,$e[s]=o),r}});var Be=/^(?:input|select|textarea|button)$/i,Me=/^(?:a|area)$/i;Ft.fn.extend({prop:function(t,e){return Vt(this,Ft.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Ft.propFix[t]||t]})}}),Ft.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Ft.isXMLDoc(t)||(e=Ft.propFix[e]||e,r=Ft.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=Ft.find.attr(t,"tabindex");return e?parseInt(e,10):Be.test(t.nodeName)||Me.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),xt.optSelected||(Ft.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),Ft.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ft.propFix[this.toLowerCase()]=this}),Ft.fn.extend({addClass:function(t){var e,n,i,r,o,s,a,l=0;if(_t(t))return this.each(function(e){Ft(this).addClass(t.call(this,e,it(this)))});if(e=rt(t),e.length)for(;n=this[l++];)if(r=it(n),i=1===n.nodeType&&" "+nt(r)+" "){for(s=0;o=e[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");a=nt(i),r!==a&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,r,o,s,a,l=0;if(_t(t))return this.each(function(e){Ft(this).removeClass(t.call(this,e,it(this)))});if(!arguments.length)return this.attr("class","");if(e=rt(t),e.length)for(;n=this[l++];)if(r=it(n),i=1===n.nodeType&&" "+nt(r)+" "){for(s=0;o=e[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");a=nt(i),r!==a&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):_t(t)?this.each(function(n){Ft(this).toggleClass(t.call(this,n,it(this),e),e)}):this.each(function(){var e,r,o,s;if(i)for(r=0,o=Ft(this),s=rt(t);e=s[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||(e=it(this),e&&Ut.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Ut.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+nt(it(n))+" ").indexOf(e)>-1)return!0;return!1}});var Re=/\r/g;Ft.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=_t(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,Ft(this).val()):t,null==r?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=Ft.map(r,function(t){return null==t?"":t+""})),e=Ft.valHooks[this.type]||Ft.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=Ft.valHooks[r.type]||Ft.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(Re,""):null==n?"":n)}}}),Ft.extend({valHooks:{option:{get:function(t){var e=Ft.find.attr(t,"value");return null!=e?e:nt(Ft.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(n=r[i],(n.selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!c(n.parentNode,"optgroup"))){if(e=Ft(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=Ft.makeArray(e),s=r.length;s--;)i=r[s],(i.selected=Ft.inArray(Ft.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),Ft.each(["radio","checkbox"],function(){Ft.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=Ft.inArray(Ft(t).val(),e)>-1}},xt.checkOn||(Ft.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),xt.focusin="onfocusin"in n;var Pe=/^(?:focusinfocus|focusoutblur)$/,Le=function(t){t.stopPropagation()};Ft.extend(Ft.event,{trigger:function(t,e,i,r){var o,s,a,l,c,u,d,h,f=[i||Ct],p=bt.call(t,"type")?t.type:t,m=bt.call(t,"namespace")?t.namespace.split("."):[];if(s=h=a=i=i||Ct,3!==i.nodeType&&8!==i.nodeType&&!Pe.test(p+Ft.event.triggered)&&(p.indexOf(".")>-1&&(m=p.split("."),p=m.shift(),m.sort()),c=p.indexOf(":")<0&&"on"+p,t=t[Ft.expando]?t:new Ft.Event(p,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:Ft.makeArray(e,[t]),d=Ft.event.special[p]||{},r||!d.trigger||d.trigger.apply(i,e)!==!1)){if(!r&&!d.noBubble&&!Et(i)){for(l=d.delegateType||p,Pe.test(l+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(i.ownerDocument||Ct)&&f.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=f[o++])&&!t.isPropagationStopped();)h=s,t.type=o>1?l:d.bindType||p,u=(Ut.get(s,"events")||Object.create(null))[t.type]&&Ut.get(s,"handle"),u&&u.apply(s,e),u=c&&s[c],u&&u.apply&&qt(s)&&(t.result=u.apply(s,e),t.result===!1&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||d._default&&d._default.apply(f.pop(),e)!==!1||!qt(i)||c&&_t(i[p])&&!Et(i)&&(a=i[c],a&&(i[c]=null),Ft.event.triggered=p,t.isPropagationStopped()&&h.addEventListener(p,Le),i[p](),t.isPropagationStopped()&&h.removeEventListener(p,Le),Ft.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(t,e,n){var i=Ft.extend(new Ft.Event,n,{type:t,isSimulated:!0});Ft.event.trigger(i,null,e)}}),Ft.fn.extend({trigger:function(t,e){return this.each(function(){Ft.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return Ft.event.trigger(t,e,n,!0)}}),xt.focusin||Ft.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){Ft.event.simulate(e,t.target,Ft.event.fix(t))};Ft.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=Ut.access(i,e);r||i.addEventListener(t,n,!0),Ut.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Ut.access(i,e)-1;r?Ut.access(i,e,r):(i.removeEventListener(t,n,!0),Ut.remove(i,e))}}});var Oe=n.location,je={guid:Date.now()},Ne=/\?/;Ft.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||Ft.error("Invalid XML: "+t),e};var Ie=/\[\]$/,He=/\r?\n/g,Ve=/^(?:submit|button|image|reset|file)$/i,We=/^(?:input|select|textarea|keygen)/i;Ft.param=function(t,e){var n,i=[],r=function(t,e){var n=_t(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!Ft.isPlainObject(t))Ft.each(t,function(){r(this.name,this.value)});else for(n in t)ot(n,t[n],e,r);return i.join("&")},Ft.fn.extend({serialize:function(){return Ft.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Ft.prop(this,"elements");return t?Ft.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Ft(this).is(":disabled")&&We.test(this.nodeName)&&!Ve.test(t)&&(this.checked||!re.test(t))}).map(function(t,e){var n=Ft(this).val();return null==n?null:Array.isArray(n)?Ft.map(n,function(t){return{name:e.name,value:t.replace(He,"\r\n")}}):{name:e.name,value:n.replace(He,"\r\n")}}).get()}});var ze=/%20/g,qe=/#.*$/,Ue=/([?&])_=[^&]*/,Ge=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ke=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ye=/^(?:GET|HEAD)$/,Xe=/^\/\//,Je={},Ze={},Qe="*/".concat("*"),tn=Ct.createElement("a");tn.href=Oe.href,Ft.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oe.href,type:"GET",isLocal:Ke.test(Oe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Ft.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?lt(lt(t,Ft.ajaxSettings),e):lt(Ft.ajaxSettings,t)},ajaxPrefilter:st(Je),ajaxTransport:st(Ze),ajax:function(t,e){function i(t,e,i,a){var c,h,f,w,A,x=e;u||(u=!0,l&&n.clearTimeout(l),r=void 0,s=a||"",_.readyState=t>0?4:0,c=t>=200&&t<300||304===t,i&&(w=ct(p,_,i)),!c&&Ft.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),w=ut(p,w,_,c),c?(p.ifModified&&(A=_.getResponseHeader("Last-Modified"),A&&(Ft.lastModified[o]=A),A=_.getResponseHeader("etag"),A&&(Ft.etag[o]=A)),204===t||"HEAD"===p.type?x="nocontent":304===t?x="notmodified":(x=w.state,h=w.data,f=w.error,c=!f)):(f=x,!t&&x||(x="error",t<0&&(t=0))),_.status=t,_.statusText=(e||x)+"",c?v.resolveWith(m,[h,x,_]):v.rejectWith(m,[_,x,f]),_.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[_,p,c?h:f]),y.fireWith(m,[_,x]),d&&(g.trigger("ajaxComplete",[_,p]),--Ft.active||Ft.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,o,s,a,l,c,u,d,h,f,p=Ft.ajaxSetup({},e),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?Ft(m):Ft.event,v=Ft.Deferred(),y=Ft.Callbacks("once memory"),b=p.statusCode||{},w={},A={},x="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(u){if(!a)for(a={};e=Ge.exec(s);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(t,e){return null==u&&(t=A[t.toLowerCase()]=A[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==u&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)_.always(t[_.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||x;return r&&r.abort(e),i(0,e),this}};if(v.promise(_),p.url=((t||p.url||Oe.href)+"").replace(Xe,Oe.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Nt)||[""],null==p.crossDomain){c=Ct.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=tn.protocol+"//"+tn.host!=c.protocol+"//"+c.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=Ft.param(p.data,p.traditional)),at(Je,p,e,_),u)return _;d=Ft.event&&p.global,d&&0===Ft.active++&&Ft.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ye.test(p.type),o=p.url.replace(qe,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(ze,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Ne.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(o=o.replace(Ue,"$1"),f=(Ne.test(o)?"&":"?")+"_="+je.guid++ +f),p.url=o+f),p.ifModified&&(Ft.lastModified[o]&&_.setRequestHeader("If-Modified-Since",Ft.lastModified[o]),Ft.etag[o]&&_.setRequestHeader("If-None-Match",Ft.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||e.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Qe+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)_.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(p.beforeSend.call(m,_,p)===!1||u))return _.abort();if(x="abort",y.add(p.complete),_.done(p.success),_.fail(p.error),r=at(Ze,p,e,_)){if(_.readyState=1,d&&g.trigger("ajaxSend",[_,p]),u)return _;p.async&&p.timeout>0&&(l=n.setTimeout(function(){_.abort("timeout")},p.timeout));try{u=!1,r.send(w,i)}catch(t){if(u)throw t;i(-1,t)}}else i(-1,"No Transport");return _},getJSON:function(t,e,n){return Ft.get(t,e,n,"json")},getScript:function(t,e){return Ft.get(t,void 0,e,"script")}}),Ft.each(["get","post"],function(t,e){
|
|
35
|
-
Ft[e]=function(t,n,i,r){return _t(n)&&(r=r||i,i=n,n=void 0),Ft.ajax(Ft.extend({url:t,type:e,dataType:r,data:n,success:i},Ft.isPlainObject(t)&&t))}}),Ft.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),Ft._evalUrl=function(t,e,n){return Ft.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){Ft.globalEval(t,e,n)}})},Ft.fn.extend({wrapAll:function(t){var e;return this[0]&&(_t(t)&&(t=t.call(this[0])),e=Ft(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return _t(t)?this.each(function(e){Ft(this).wrapInner(t.call(this,e))}):this.each(function(){var e=Ft(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=_t(t);return this.each(function(n){Ft(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){Ft(this).replaceWith(this.childNodes)}),this}}),Ft.expr.pseudos.hidden=function(t){return!Ft.expr.pseudos.visible(t)},Ft.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},Ft.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var en={0:200,1223:204},nn=Ft.ajaxSettings.xhr();xt.cors=!!nn&&"withCredentials"in nn,xt.ajax=nn=!!nn,Ft.ajaxTransport(function(t){var e,i;if(xt.cors||nn&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)a.setRequestHeader(s,r[s]);e=function(t){return function(){e&&(e=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(en[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),i=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),Ft.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),Ft.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return Ft.globalEval(t),t}}}),Ft.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Ft.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var e,n;return{send:function(i,r){e=Ft("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),Ct.head.appendChild(e[0])},abort:function(){n&&n()}}}});var rn=[],on=/(=)\?(?=&|$)|\?\?/;Ft.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=rn.pop()||Ft.expando+"_"+je.guid++;return this[t]=!0,t}}),Ft.ajaxPrefilter("json jsonp",function(t,e,i){var r,o,s,a=t.jsonp!==!1&&(on.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&on.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=_t(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(on,"$1"+r):t.jsonp!==!1&&(t.url+=(Ne.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||Ft.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always(function(){void 0===o?Ft(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,rn.push(r)),s&&_t(o)&&o(s[0]),s=o=void 0}),"script"}),xt.createHTMLDocument=function(){var t=Ct.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),Ft.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var i,r,o;return e||(xt.createHTMLDocument?(e=Ct.implementation.createHTMLDocument(""),i=e.createElement("base"),i.href=Ct.location.href,e.head.appendChild(i)):e=Ct),r=Mt.exec(t),o=!n&&[],r?[e.createElement(r[1])]:(r=S([t],e,o),o&&o.length&&Ft(o).remove(),Ft.merge([],r.childNodes))},Ft.fn.load=function(t,e,n){var i,r,o,s=this,a=t.indexOf(" ");return a>-1&&(i=nt(t.slice(a)),t=t.slice(0,a)),_t(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&Ft.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(i?Ft("<div>").append(Ft.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},Ft.expr.pseudos.animated=function(t){return Ft.grep(Ft.timers,function(e){return t===e.elem}).length},Ft.offset={setOffset:function(t,e,n){var i,r,o,s,a,l,c,u=Ft.css(t,"position"),d=Ft(t),h={};"static"===u&&(t.style.position="relative"),a=d.offset(),o=Ft.css(t,"top"),l=Ft.css(t,"left"),c=("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1,c?(i=d.position(),s=i.top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),_t(e)&&(e=e.call(t,n,Ft.extend({},a))),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):("number"==typeof h.top&&(h.top+="px"),"number"==typeof h.left&&(h.left+="px"),d.css(h))}},Ft.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Ft.offset.setOffset(this,t,e)});var e,n,i=this[0];if(i)return i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===Ft.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===Ft.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&(r=Ft(t).offset(),r.top+=Ft.css(t,"borderTopWidth",!0),r.left+=Ft.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-Ft.css(i,"marginTop",!0),left:e.left-r.left-Ft.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===Ft.css(t,"position");)t=t.offsetParent;return t||Qt})}}),Ft.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;Ft.fn[t]=function(i){return Vt(this,function(t,i,r){var o;return Et(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r?o?o[e]:t[i]:void(o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r)},t,i,arguments.length)}}),Ft.each(["top","left"],function(t,e){Ft.cssHooks[e]=V(xt.pixelPosition,function(t,n){if(n)return n=H(t,e),me.test(n)?Ft(t).position()[e]+"px":n})}),Ft.each({Height:"height",Width:"width"},function(t,e){Ft.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){Ft.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return Vt(this,function(e,n,r){var o;return Et(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?Ft.css(e,n,a):Ft.style(e,n,r,a)},e,s?r:void 0,s)}})}),Ft.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Ft.fn[e]=function(t){return this.on(e,t)}}),Ft.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),Ft.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){Ft.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var sn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Ft.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),_t(t))return i=ft.call(arguments,2),r=function(){return t.apply(e||this,i.concat(ft.call(arguments)))},r.guid=t.guid=t.guid||Ft.guid++,r},Ft.holdReady=function(t){t?Ft.readyWait++:Ft.ready(!0)},Ft.isArray=Array.isArray,Ft.parseJSON=JSON.parse,Ft.nodeName=c,Ft.isFunction=_t,Ft.isWindow=Et,Ft.camelCase=y,Ft.type=a,Ft.now=Date.now,Ft.isNumeric=function(t){var e=Ft.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},Ft.trim=function(t){return null==t?"":(t+"").replace(sn,"")},i=[],r=function(){return Ft}.apply(e,i),!(void 0!==r&&(t.exports=r));var an=n.jQuery,ln=n.$;return Ft.noConflict=function(t){return n.$===Ft&&(n.$=ln),t&&n.jQuery===Ft&&(n.jQuery=an),Ft},"undefined"==typeof o&&(n.jQuery=n.$=Ft),Ft})},function(t,e,n){var i,r,o={};i=n(186),r=n(448),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(401),i=n(260),r=n(502),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(429),i=n(266),r=n(536),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(t,e,n){function i(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=p[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(u(i.parts[o],e))}else{for(var s=[],o=0;o<i.parts.length;o++)s.push(u(i.parts[o],e));p[i.id]={id:i.id,refs:1,parts:s}}}}function r(t,e){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],s=e.base?o[0]+e.base:o[0],a=o[1],l=o[2],c=o[3],u={css:a,media:l,sourceMap:c};i[s]?i[s].parts.push(u):n.push(i[s]={id:s,parts:[u]})}return n}function o(t,e){var n=y(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=A[A.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(e,i.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),A.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=y(t.insertInto+" "+t.insertAt.before);n.insertBefore(e,r)}}function s(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=A.indexOf(t);e>=0&&A.splice(e,1)}function a(t){var e=document.createElement("style");return t.attrs.type="text/css",c(e,t.attrs),o(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),o(t,e),e}function c(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function u(t,e){var n,i,r,o;if(e.transform&&t.css){if(o=e.transform(t.css),!o)return function(){};t.css=o}if(e.singleton){var c=w++;n=b||(b=a(e)),i=d.bind(null,n,c,!1),r=d.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=f.bind(null,n,e),r=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),i=h.bind(null,n),r=function(){s(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function d(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=_(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function h(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function f(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=x(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([i],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}var p={},m=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},g=m(function(){return window&&document&&document.all&&!window.atob}),v=function(t){return document.querySelector(t)},y=function(t){var e={};return function(t){if("function"==typeof t)return t();if("undefined"==typeof e[t]){var n=v.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),b=null,w=0,A=[],x=n(439);t.exports=function(t,e){e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=g()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return i(n,e),function(t){for(var o=[],s=0;s<n.length;s++){var a=n[s],l=p[a.id];l.refs--,o.push(l)}if(t){var c=r(t,e);i(c,e)}for(var s=0;s<o.length;s++){var l=o[s];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete p[l.id]}}}};var _=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=n(59),o=i(r);e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=i(r),s={install:function(t,e){t.showAlert=t.prototype.$showAlert=function(t,e,n){s.msg=t,s.type=e,s.duration=n,s.show=!0},t.closeAlert=t.prototype.$closeAlert=function(){s.show=!1}}};o.default.set(s,"show",!1),o.default.set(s,"msg",""),o.default.set(s,"type",""),o.default.set(s,"duration",0),e.default=s},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(357),o=i(r),s=n(436),a=i(s);e.default={AESEncrypt:function(t,e){var n=o.default.enc.Utf8.parse(e),i=o.default.enc.Utf8.parse(t),r=o.default.AES.encrypt(i,n,{mode:o.default.mode.ECB,padding:o.default.pad.Pkcs7});return r.toString()},AESDecrypt:function(t,e){var n=o.default.enc.Utf8.parse(e),i=o.default.AES.decrypt(t,n,{mode:o.default.mode.ECB,padding:o.default.pad.Pkcs7}),r=o.default.enc.Utf8.stringify(i).toString();try{return JSON.parse(r)}catch(t){return r}},RSAEncrypt:function(t){var e=new a.default;e.setPublicKey("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB");var n=e.encrypt(t);return n.toString()},RSADecrypt:function(t){var e=new a.default;e.setPrivateKey("MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKo++i9J9dzAFtbxwowKDCo2mxi7MXxE8A8VvssaydWjjgmEz/HHMPLOhi1182a1si4pWL0/MizKnquD7T2Bu4jpQbAFnkNYEMEyq/kw904Xl0JCQHYFuvnI99RE8Q3KlTP6kEUGDjV34EL6vBGJcQvArLtj1xoP8y0nIfJ2Pw5TAgMBAAECgYAGGB8IllMwxceLhjf6n1l0IWRH7FuHIUieoZ6k0p6rASHSgWiYNRMxfecbtX8zDAoG0QAWNi7rn40ygpR5gS1fWDAKhmnhKgQIT6wW0VmD4hraaeyP78iy8BLhlvblri2nCPIhDH5+l96v7D47ZZi3ZSOzcj89s1eS/k7/N4peEQJBAPEtGGJY+lBoCxQMhGyzuzDmgcS1Un1ZE2pt+XNCVl2b+T8fxWJH3tRRR8wOY5uvtPiK1HM/IjT0T5qwQeH8Yk0CQQC0tcv3d/bDb7bOe9QzUFDQkUSpTdPWAgMX2OVPxjdq3Sls9oA5+fGNYEy0OgyqTjde0b4iRzlD1O0OhLqPSUMfAkEAh5FIvqezdRU2/PsYSR4yoAdCdLdT+h/jGRVefhqQ/6eYUJJkWp15tTFHQX3pIe9/s6IeT/XyHYAjaxmevxAmlQJBAKSdhvQjf9KAjZKDEsa7vyJ/coCXuQUWSCMNHbcR5aGfXgE4e45UtUoIE1eKGcd6AM6LWhx3rR6xdFDpb9je8BkCQB0SpevGfOQkMk5i8xkEt9eeYP0fi8nv6eOUcK96EXbzs4jV2SAoQJ9oJegPtPROHbhIvVUmNQTbuP10Yjg59+8=");var n=e.decrypt(t);return JSON.parse(n.toString())}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(7),a=i(s),l=n(14),c=i(l),u=n(15),d=i(u),h=n(2),f=i(h),p=n(1),m=i(p),g=n(5),v=i(g),y=n(86),b=i(y),w=f.default.mark(function t(e,n,i,r){var o;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.isBusy===!0&&r.xhr.abort(),r.isBusy=!0,t.prev=2,t.next=5,r.http(e,n,i);case 5:return o=t.sent,r.isBusy=!1,t.abrupt("return",o);case 10:throw t.prev=10,t.t0=t.catch(2),r.isBusy=!1,t.t0;case 14:case"end":return t.stop()}},t,this,[[2,10]])}),A=function(){function t(){(0,c.default)(this,t),this.xhr=new XMLHttpRequest,this.xhr.timeout=1e4,m.default.set(this,"isBusy",!1)}return(0,d.default)(t,[{key:"load",value:function(t,e){var n=w("POST",t,e,this);return(0,v.default)(n)}},{key:"http",value:function(t,e,n){var i=this;return new a.default(function(r,s){if(n||(n={}),m.default.mmType&&"AES"==m.default.mmType&&(e.indexOf("rs/sql")!=-1||e.indexOf("rs/logic")!=-1||e.indexOf("rs/search")!=-1||e.indexOf("rs/path")!=-1||e.indexOf("rs/user")!=-1||e.indexOf("rs/entity")!=-1)){var a={};a.aoteEncrypt=m.default.mmType,a.data=b.default.AESEncrypt((0,o.default)(n),m.default.mm),n=a}i.xhr.onload=function(){if(200===this.status){var t=null;try{t=JSON.parse(this.responseText)}catch(e){t=this.responseText}m.default.mmType&&("AES"!=m.default.mmType||e.indexOf("rs/sql")==-1&&e.indexOf("rs/logic")==-1&&e.indexOf("rs/search")==-1&&e.indexOf("rs/path")==-1&&e.indexOf("rs/user")==-1&&e.indexOf("rs/entity")==-1||(t=b.default.AESDecrypt(t,m.default.mm))),r({data:t})}else m.default.console.warn("http异常, 错误码:"+this.status+", 错误信息:"+this.response,"HttpLoad"),s({status:this.status,data:this.response})},i.xhr.onabort=function(){m.default.console.warn("请求被终止!","HttpLoad"),s({status:610,data:"请求被终止!"})},i.xhr.ontimeout=function(){m.default.console.warn("请求超时!","HttpLoad"),s({status:611,data:"请求超时"})},i.xhr.onerror=function(){m.default.console.error("网络故障!","HttpLoad"),s({status:612,data:"网络故障"})},m.default.console.info("http请求: "+e,"HttpLoad"),i.xhr.open(t,e,!0),i.xhr.send((0,o.default)(n))})}}]),t}();e.default=A},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(7),a=i(s),l=n(2),c=i(l),u=n(1),d=i(u),h=n(5),f=i(h),p=c.default.mark(function t(e,n,i,r){var o,s,a,l=r.warnMsg,u=r.resolveMsg,h=r.rejectMsg;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o="confirm",!l){t.next=5;break}return t.next=4,d.default.showMessage(l,["confirm","cancel"]);case 4:o=t.sent;case 5:if("confirm"!==o){t.next=24;break}return t.prev=6,t.next=9,m.http(e,n,i);case 9:if(s=t.sent,!u){t.next=13;break}return t.next=13,d.default.showMessage(u);case 13:return t.abrupt("return",s);case 16:if(t.prev=16,t.t0=t.catch(6),!h){t.next=21;break}return t.next=21,d.default.showMessage(h+"错误状态:"+t.t0.status+",错误内容:"+t.t0.data);case 21:throw t.t0;case 22:t.next=27;break;case 24:if("cancel"!==o){t.next=27;break}throw a={status:301,statusText:"用户按下了取消按钮,未提交请求"};case 27:case"end":return t.stop()}},t,this,[[6,16]])}),m={count:0,https:[],install:function(t,e){t.post=t.prototype.$post=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.warnMsg,o=void 0===r?null:r,s=i.resolveMsg,a=void 0===s?"恭喜!提交成功!":s,l=i.rejectMsg,c=void 0===l?"提交错误!":l;i.Origin;t.console.info("post:"+e,"HttpStore");var u=p("POST",e,n,{warnMsg:o,resolveMsg:a,rejectMsg:c});return(0,f.default)(u)},t.remove=t.prototype.$remove=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.warnMsg,o=void 0===r?"删除数据不可恢复,确认删除吗?":r,s=i.resolveMsg,a=void 0===s?"恭喜!删除成功!":s,l=i.rejectMsg,c=void 0===l?"删除失败:":l;t.console.info("delete:"+e,"HttpStore");var u=p("DELETE",e+"/"+n.id,{},{warnMsg:o,resolveMsg:a,rejectMsg:c});return(0,f.default)(u)}},httpEnd:function(){if(this.count--,this.https.length>0){var t=this.https.splice(0,1)[0];this.http(t.method,t.url,t.body).then(function(e){return t.resolve(e)}).catch(function(e){return t.reject(e)})}0===this.count&&(this.isBusy=!1)},http:function(t,e,n,i){var r=this;return new a.default(function(i,s){r.isBusy===!1&&(r.isBusy=!0),r.count<5?(r.count++,n||(n={}),d.default.http({url:e,data:(0,o.default)(n),method:t}).then(function(t){r.httpEnd(),i(t)}).catch(function(t){r.httpEnd(),s(t)})):(d.default.console.info("put:"+(0,o.default)(n),"HttpStore"),r.https.push({method:t,url:e,body:n,resolve:i,reject:s}))})}};d.default.set(m,"isBusy",!1),e.default=m},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(16),o=i(r),s=n(7),a=i(s),l=n(1),c=i(l),u={install:function(t,e){t.showMessage=t.prototype.$showMessage=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["confirm"],n=arguments[2],i=arguments[3],r=arguments[4];return new a.default(function(s){u.msg=t,u.confirmShow=!1,u.cancelShow=!1,u.backShow=!1;var a=!0,l=!1,c=void 0;try{for(var d,h=(0,o.default)(e);!(a=(d=h.next()).done);a=!0){var f=d.value;u[f+"Show"]=!0}}catch(t){l=!0,c=t}finally{try{!a&&h.return&&h.return()}finally{if(l)throw c}}n?u.titlestyle=n:u.titlestyle="",i?u.msgstyle=i:u.msgstyle="",r?u.btnstyle=r:u.btnstyle="",setTimeout(function(){u.show=!0},300),u.resolve=s})},t.showMessageWithSize=t.prototype.$showMessageWithSize=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["confirm"],n=arguments[2];return new a.default(function(i){u.msg=t,u.confirmShow=!1,u.cancelShow=!1,u.backShow=!1;var r=!0,s=!1,a=void 0;try{for(var l,c=(0,o.default)(e);!(r=(l=c.next()).done);r=!0){var d=l.value;u[d+"Show"]=!0}}catch(t){s=!0,a=t}finally{try{!r&&c.return&&c.return()}finally{if(s)throw a}}var h="font-size:"+n;u.titlestyle=h,u.msgstyle=h,u.btnstyle=h,setTimeout(function(){u.show=!0},300),u.resolve=i})},t.showNewMessage=t.prototype.$showNewMessage=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["confirm"],i=arguments[3];return new a.default(function(r){u.msg=e,u.title=t,u.confirmShow=!1,u.cancelShow=!1,u.backShow=!1;var s=!0,a=!1,l=void 0;try{for(var c,d=(0,o.default)(n);!(s=(c=d.next()).done);s=!0){var h=c.value;u[h+"Show"]=!0}}catch(t){a=!0,l=t}finally{try{!s&&d.return&&d.return()}finally{if(a)throw l}}i?u.stylename=i:u.stylename="",setTimeout(function(){u.show=!0},300),u.resolve=r})},t.closeMessage=t.prototype.$closeMessage=function(){u.show=!1}}};c.default.set(u,"show",!1),c.default.set(u,"msg",""),c.default.set(u,"title","提醒"),c.default.set(u,"confirmShow",!0),c.default.set(u,"cancelShow",!0),c.default.set(u,"backShow",!0),c.default.set(u,"stylename",""),c.default.set(u,"titlestyle",""),c.default.set(u,"msgstyle",""),c.default.set(u,"btnstyle",""),e.default=u},function(t,e,n){"use strict";function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),s=r(o),a=n(1),l=r(a),c=n(47),u=i(c),d=n(5);r(d),n(171);e.default={install:function(t,e){t.androidUtil=t.prototype.$androidUtil=this,window.iosApp={__this__:null,__callback__:null}},isAndroid:!1,isTest:!1,isAndroidDebug:!1,proxyUrl:"",context:{version:0},timeout:function(t,e){var n=this;if(this.isTest){this.context.cc_base_url||(this.context.cc_base_url=this.getProxyUrl()),t&&(this.context.f_repairman_id=t);var i={data:{},context:this.context};return l.default.resetpost("AndroidRest/rs/logic/定时提取",i).then(function(t){t.data.version&&(n.context.version=t.data.version)})}},path:function(t){return this.isTest?l.default.resetpost("AndroidRest/rs/path/"+t.alias,{data:t.data}):navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("path",(0,s.default)({alias:t.alias,data:t.data}))):HostApp.path({alias:t.alias,data:t.data})},alert:function(t){this.isTest||(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("alert","延期申请成功"):HostApp.alert("延期申请成功"))},getProxyUrl:function(){var t=navigator.userAgent.match("Android");return t?HostApp.getProxyUrl().data:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("getProxyUrl","")).data:this.isTest?this.proxyUrl:""},log:function(t){this.isAndroidDebug&&l.default.post(this.getProxyUrl()+"/rs/logic/androidLog}",{data:t},{resolveMsg:null,rejectMsg:null})},read:function(){return this.isTest?{code:200,msg:{CardID:"10312669"}}:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("read","")):HostApp.read()},print:function(t){this.isTest?this.log("打印:"+t):navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("print",t):HostApp.print(t)},getFullFileName:function(t){return this.isTest?t:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("getFullFileName",t)).data:HostApp.getFullFileName(t).data},bzLogic:function(t,e){if(this.isTest){var n={data:e,context:this.context};return l.default.http.post("AndroidRest/rs/logic/"+t,n)}if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){var i=JSON.parse(window.prompt("bzLogic",(0,s.default)({logic:t,data:e})));return i}var r={logic:t,data:e};return HostApp.bzLogic(r)},syncBzLogic:function(t,e){if(this.isTest){var n={data:e,context:this.context};return l.default.http.post("AndroidRest/rs/logic/"+t,n)}if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){var i=JSON.parse(window.prompt("bzLogic",(0,s.default)({logic:t,data:e})));return i}for(var r=800,o={logic:t,data:e},a=(0,s.default)(o),c=0;c<a.length;c+=r)HostApp.param_cache(a.substr(c,r));return HostApp.syncBzLogic()},setPreference:function(t,e){this.isTest?this.context[t]=e:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("setPreference",t+" "+e):HostApp.setPreference(t,e)},getPreference:function(t){return this.isTest?this.context[t]:navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("getPreference",t)).data:HostApp.getPreference(t).data},delfile:function(t){this.isTest||(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("delfile",t):HostApp.delfile(t))},makeAPhoneCall:function(t){this.isTest||(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?window.prompt("makeAPhoneCall",t):HostApp.makeAPhoneCall(t))},getCallBack:function(t){if(this.isTest)return t;if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){var e=window.iosApp.__this__;return window.iosApp.__callback__=null,window.iosApp.__this__=null,e}var n=HostApp.__this__;return HostApp.__callback__=null,HostApp.__this__=null,n},getSignIos:function(t,e){if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){var n={name:t,source:e},i=window.prompt("__savesign__",(0,s.default)(n));return i}},getDeviceIEMI:function(){return this.isTest?"20190521000010002":navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")?JSON.parse(window.prompt("getFullFileName",fileName)).data:HostApp.getDeviceInfo().data},takePic:function(t,e,n,i){if(this.isTest){var r="repair",o=i?i:"维修拍照",a=(l.default.user.name,{type:"boomerang",page:"com.aofeng.hybrid.android.peripheral.CameraActivity",param:{file:n,requestCode:111,callback:'javascript:HostApp.__callback__("'+r+'", "%s");',watermark:o+"\t时间:"+u.toStandardTimeString()+"\t"+userame}});return e(r,n),a}if(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")){window.iosApp.__callback__=e,window.iosApp.__this__=t;var c="repair",d=i?i:"维修拍照",h=l.default.user.name;window.prompt("_open_a_page",(0,s.default)({type:"boomerang",page:"com.aofeng.hybrid.android.peripheral.CameraActivity",param:{file:n,requestCode:111,callback:'javascript:this.iosApp.__callback__("'+c+'", "%s");',watermark:d+"\t时间:"+u.toStandardTimeString()+"\t"+h}}))}else{HostApp.__callback__=e,HostApp.__this__=t;var f="repair",p=i?i:"维修拍照";console.log("维修人名称:"+l.default.user.name);var m=l.default.user.name;HostApp._open_a_page({type:"boomerang",page:"com.aofeng.hybrid.android.peripheral.CameraActivity",param:{file:n,requestCode:111,callback:'javascript:HostApp.__callback__("'+f+'", "%s");',watermark:p+"\t时间:"+u.toStandardTimeString()+"\t"+m}})}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.remove=void 0;var r=n(1),o=i(r);e.remove=new o.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),o=i(r),s=n(15),a=i(s),l=function(){function t(){(0,o.default)(this,t),this.selected=null}return(0,a.default)(t,[{key:"select",value:function(t){this.selected=t}}]),t}();e.default=l},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(24),o=i(r),s=n(59),a=i(s),l=n(14),c=i(l),u=n(15),d=i(u),h=n(1),f=i(h),p=function(){function t(e){(0,c.default)(this,t),this.url=e,this.rows=[],this.state="初始",this.error="请输入条件, 进行查询"}return(0,d.default)(t,null,[{key:"toTreeNode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,a.default)(t,function(t){var i={data:t,loaded:!1,parent:e,level:n,size:t.size,id:t.id,mark:!!e&&e.mark,authority:t.authority};if(t.children){var r=[],o=[];t.children.forEach(function(t){"页面菜单"===t.funcitontype?r.push(t):o.push(t)}),i.authority=r,i.children=o,i.size=o.length}else i.children=[];return void 0===i.open&&f.default.set(i,"open",!1),f.default.set(i,"state","初始"),i})}}]),(0,d.default)(t,[{key:"search",value:function(e,n){var i=this;this.condition=e,this.model=n;var r=(0,o.default)({},n,{condition:e});return f.default.post(this.url,r,{resolveMsg:null,rejectMsg:null}).then(function(e){return 0===e.data.length?(i.state="错误",void(i.error="没有符合条件的记录")):(i.state="正确",i.rows=e.data,void(i.rows=t.toTreeNode(i.rows)))}).catch(function(){i.state="错误",i.error="提取数据出错,请重试"})}},{key:"refresh",value:function(){return this.search(this.condition,this.model)}}]),t}();e.default=p},function(t,e,n){(function(t){"use strict";
|
|
36
|
-
function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(1),c=i(l);e.default={begin:function(){var e=this;return(0,a.default)(o.default.mark(function n(){var i;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.default.resetget("rs/trans");case 2:i=e.sent,t.session=i.data;case 4:case"end":return e.stop()}},n,e)}))()},rollback:function(){var e=this;return(0,a.default)(o.default.mark(function n(){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.default.resetget("rs/trans/rollback/"+t.session);case 2:t.session=null;case 3:case"end":return e.stop()}},n,e)}))()},commit:function(){var e=this;return(0,a.default)(o.default.mark(function n(){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.default.resetget("rs/trans/commit/"+t.session);case 2:t.session=null;case 3:case"end":return e.stop()}},n,e)}))()}}}).call(e,function(){return this}())},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(48),o=n(172),s=i(o);e.default={props:{trigger:{type:String},effect:{type:String,default:"fade"},title:{type:String},content:{type:String},header:{type:Boolean,coerce:r.coerce.boolean,default:!0},placement:{type:String,default:"top"}},data:function(){return{position:{top:0,left:0},show:!1}},methods:{toggle:function(t){var e=this;t&&"contextmenu"===this.trigger&&t.preventDefault(),(this.show=!this.show)&&setTimeout(function(){var t=e.$els.popover,n=e.$els.trigger.children[0];switch(e.placement){case"top":e.position.left=n.offsetLeft-t.offsetWidth/2+n.offsetWidth/2,e.position.top=n.offsetTop-t.offsetHeight;break;case"left":e.position.left=n.offsetLeft-t.offsetWidth,e.position.top=n.offsetTop+n.offsetHeight/2-t.offsetHeight/2;break;case"right":e.position.left=n.offsetLeft+n.offsetWidth,e.position.top=n.offsetTop+n.offsetHeight/2-t.offsetHeight/2;break;case"bottom":e.position.left=n.offsetLeft-t.offsetWidth/2+n.offsetWidth/2,e.position.top=n.offsetTop+n.offsetHeight;break;default:console.warn("Wrong placement prop")}t.style.top=e.position.top+"px",e.position.left<0?t.style.left="0px":t.style.left=e.position.left+"px"},0)}},ready:function(){var t=this.$els.trigger;if(!t)return console.error("Could not find trigger v-el in your component that uses popoverMixin.");if("focus"!==this.trigger||~t.tabIndex||(t=(0,s.default)("a,input,select,textarea,button",t),t.length||(t=null)),t){var e={contextmenu:"contextmenu",hover:"mouseleave mouseenter",focus:"blur focus"};(0,s.default)(t).on(e[this.trigger]||"click",this.toggle),this._trigger=t}},beforeDestroy:function(){this._trigger&&(0,s.default)(this._trigger).off()}}},function(t,e){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){t.exports={default:n(301),__esModule:!0}},function(t,e,n){t.exports={default:n(311),__esModule:!0}},function(t,e,n){var i=n(39),r=n(13)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var i=n(10).document;t.exports=i&&i.documentElement},function(t,e,n){t.exports=!n(20)&&!n(34)(function(){return 7!=Object.defineProperty(n(62)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(39);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(41),r=n(13)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(22);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e,n){"use strict";var i=n(42),r=n(17),o=n(116),s=n(31),a=n(41),l=n(321),c=n(53),u=n(112),d=n(13)("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",g=function(){return this};t.exports=function(t,e,n,v,y,b,w){l(n,e,v);var A,x,_,E=function(t){if(!h&&t in F)return F[t];switch(t){case p:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",k=y==m,S=!1,F=t.prototype,D=F[d]||F[f]||y&&F[y],T=D||E(y),$=y?k?E("entries"):T:void 0,B="Array"==e?F.entries||D:D;if(B&&(_=u(B.call(new t)),_!==Object.prototype&&_.next&&(c(_,C,!0),i||"function"==typeof _[d]||s(_,d,g))),k&&D&&D.name!==m&&(S=!0,T=function(){return D.call(this)}),i&&!w||!h&&!S&&F[d]||s(F,d,T),a[e]=T,a[C]=g,y)if(A={values:k?T:E(m),keys:b?T:E(p),entries:$},w)for(x in A)x in F||o(F,x,A[x]);else r(r.P+r.F*(h||S),e,A);return A}},function(t,e,n){var i=n(13)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(t){}return n}},function(t,e,n){var i=n(23),r=n(22),o=n(43);t.exports=n(20)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),a=s.length,l=0;a>l;)i.f(t,n=s[l++],e[n]);return t}},function(t,e,n){var i=n(52),r=n(44),o=n(32),s=n(71),a=n(30),l=n(102),c=Object.getOwnPropertyDescriptor;e.f=n(20)?c:function(t,e){if(t=o(t),e=s(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(32),r=n(111).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):r(i(t))}},function(t,e,n){var i=n(113),r=n(63).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(30),r=n(35),o=n(67)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var i=n(30),r=n(32),o=n(314)(!1),s=n(67)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),l=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;e.length>l;)i(a,n=e[l++])&&(~o(c,n)||c.push(n));return c}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var i=n(22),r=n(11),o=n(64);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},function(t,e,n){t.exports=n(31)},function(t,e,n){var i=n(22),r=n(50),o=n(13)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},function(t,e,n){var i,r,o,s=n(40),a=n(318),l=n(101),c=n(62),u=n(10),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},w=function(t){b.call(t.data)};h&&f||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){a("function"==typeof t?t:Function(t),e)},i(g),g},f=function(t){delete v[t]},"process"==n(39)(d)?i=function(t){d.nextTick(s(b,t,1))}:m&&m.now?i=function(t){m.now(s(b,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=w,i=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",w,!1)):i=y in c("script")?function(t){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(t)}}:function(t){setTimeout(s(b,t,1),0)}),t.exports={set:h,clear:f}},function(t,e){},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){return function(e){var n=t,i=n.lib,r=i.WordArray,o=i.Hasher,s=n.algo,a=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;i++)if(!(t%i))return!1;return!0}function n(t){return 4294967296*(t-(0|t))|0}for(var i=2,r=0;r<64;)t(i)&&(r<8&&(a[r]=n(e.pow(i,.5))),l[r]=n(e.pow(i,1/3)),r++),i++}();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],d=n[6],h=n[7],f=0;f<64;f++){if(f<16)c[f]=0|t[e+f];else{var p=c[f-15],m=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=c[f-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[f]=m+c[f-7]+v+c[f-16]}var y=a&u^~a&d,b=i&r^i&o^r&o,w=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),A=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),x=h+A+y+l[f]+c[f],_=w+b;h=d,d=u,u=a,a=s+x|0,s=o,o=r,r=i,i=x+_|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[(r+64>>>9<<4)+14]=e.floor(i/4294967296),n[(r+64>>>9<<4)+15]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});n.SHA256=o._createHelper(u),n.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(56))}(this,function(t){return function(){function e(){return s.create.apply(s,arguments)}var n=t,i=n.lib,r=i.Hasher,o=n.x64,s=o.Word,a=o.WordArray,l=n.algo,c=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],u=[];!function(){for(var t=0;t<80;t++)u[t]=e()}();var d=l.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],l=n[5],d=n[6],h=n[7],f=i.high,p=i.low,m=r.high,g=r.low,v=o.high,y=o.low,b=s.high,w=s.low,A=a.high,x=a.low,_=l.high,E=l.low,C=d.high,k=d.low,S=h.high,F=h.low,D=f,T=p,$=m,B=g,M=v,R=y,P=b,L=w,O=A,j=x,N=_,I=E,H=C,V=k,W=S,z=F,q=0;q<80;q++){var U=u[q];if(q<16)var G=U.high=0|t[e+2*q],K=U.low=0|t[e+2*q+1];else{var Y=u[q-15],X=Y.high,J=Y.low,Z=(X>>>1|J<<31)^(X>>>8|J<<24)^X>>>7,Q=(J>>>1|X<<31)^(J>>>8|X<<24)^(J>>>7|X<<25),tt=u[q-2],et=tt.high,nt=tt.low,it=(et>>>19|nt<<13)^(et<<3|nt>>>29)^et>>>6,rt=(nt>>>19|et<<13)^(nt<<3|et>>>29)^(nt>>>6|et<<26),ot=u[q-7],st=ot.high,at=ot.low,lt=u[q-16],ct=lt.high,ut=lt.low,K=Q+at,G=Z+st+(K>>>0<Q>>>0?1:0),K=K+rt,G=G+it+(K>>>0<rt>>>0?1:0),K=K+ut,G=G+ct+(K>>>0<ut>>>0?1:0);U.high=G,U.low=K}var dt=O&N^~O&H,ht=j&I^~j&V,ft=D&$^D&M^$&M,pt=T&B^T&R^B&R,mt=(D>>>28|T<<4)^(D<<30|T>>>2)^(D<<25|T>>>7),gt=(T>>>28|D<<4)^(T<<30|D>>>2)^(T<<25|D>>>7),vt=(O>>>14|j<<18)^(O>>>18|j<<14)^(O<<23|j>>>9),yt=(j>>>14|O<<18)^(j>>>18|O<<14)^(j<<23|O>>>9),bt=c[q],wt=bt.high,At=bt.low,xt=z+yt,_t=W+vt+(xt>>>0<z>>>0?1:0),xt=xt+ht,_t=_t+dt+(xt>>>0<ht>>>0?1:0),xt=xt+At,_t=_t+wt+(xt>>>0<At>>>0?1:0),xt=xt+K,_t=_t+G+(xt>>>0<K>>>0?1:0),Et=gt+pt,Ct=mt+ft+(Et>>>0<gt>>>0?1:0);W=H,z=V,H=N,V=I,N=O,I=j,j=L+xt|0,O=P+_t+(j>>>0<L>>>0?1:0)|0,P=M,L=R,M=$,R=B,$=D,B=T,T=xt+Et|0,D=_t+Ct+(T>>>0<xt>>>0?1:0)|0}p=i.low=p+T,i.high=f+D+(p>>>0<T>>>0?1:0),g=r.low=g+B,r.high=m+$+(g>>>0<B>>>0?1:0),y=o.low=y+R,o.high=v+M+(y>>>0<R>>>0?1:0),w=s.low=w+L,s.high=b+P+(w>>>0<L>>>0?1:0),x=a.low=x+j,a.high=A+O+(x>>>0<j>>>0?1:0),E=l.low=E+I,l.high=_+N+(E>>>0<I>>>0?1:0),k=d.low=k+V,d.high=C+H+(k>>>0<V>>>0?1:0),F=h.low=F+z,h.high=S+W+(F>>>0<z>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32,e[(i+128>>>10<<5)+30]=Math.floor(n/4294967296),e[(i+128>>>10<<5)+31]=n,t.sigBytes=4*e.length,this._process();var r=this._hash.toX32();return r},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});n.SHA512=r._createHelper(d),n.HmacSHA512=r._createHmacHelper(d)}(),t.SHA512})},function(t,e,n){t.exports=n.p+"doc.jpg?117d98a"},function(t,e){t.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAH0AfQDASIAAhEBAxEB/8QAHAABAAIDAQEBAAAAAAAAAAAAAAYHAQUIBAID/8QATBABAAECAwIHCgoHBwUBAQAAAAECAwQFEQYHEiExNkFRVRMWF3F0gZGxstEVImFzkpOUocHCFCMyQlJy0iQ0NWOC4fAlJjNTZKJi/8QAGgEBAAMBAQEAAAAAAAAAAAAAAAIDBAEGBf/EACoRAQACAQIFAwQDAQEAAAAAAAABAgMEEQUSITEyEzNxFEFRUhUiI0Jh/9oADAMBAAIRAxEAPwCEgM7yIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbgGgAM6cekcc9RT8avgxrM9URrLu0uxWZ7MDa4TZzOsdwZw2U4y5FXJMWpiJ9MRH3t9hN1+0+L468Jaw0f512I09HCIiVtdPlt2hDBaOC3M4uYirG5pao15abVuZ088z+De4TdHkNnScTexmJnqmvgezGqUUldXQZp+yko5Oj08b7tWq79XBs267tU9FFMz6nRWC2E2Zwcx3PKMPVVHJN2OFP3t9h8BhMNTEWMLZtafwW4p9TsY/wAtNOGT/wBS5uwWyef4/ScNlGKroni4c0cGPTLaXt2+0WGy7E47FW8PYs2LVV2qJu61TFMa8keLpdC8GmeWInxtLtXTE7I51rEf3G97FTvp1XTw7HWsy5mnlYOoVbPiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3uy2zl3anNJwVm/RYmm3NyqquNY4p05FiYPc1gqNKsZmd+7PTFuiKY9PKlFZmN2nFpMuSN6wp6I1OLXSJ1+SI1lf2E3ZbMYWdasFViJj/3XJqj0cSRYPZ/KMDwYw2W4S3EcnBsxr6UvTlqrwzJPeXNuEyfM8wnTCZdir09M0WqpiPRDfYPdxtTi44XwdNmnrv100T6NfwdEcGmOiDSI6HfThprw3HHeVKYPc5mlyY/S8xw1qJjXS3TVXMfdHrb7Bbncpt1ROLx2Kv8AXFERRH4rN0jXXSGdId5YaK6LDX7IjhN3Oy2DmIpyui7VHTerqrn750+5v8HlOXYCng4XBYexH+Xail7xJdXFSvaHxwYjkiH1DIJ7bdmNI6mJh9A6+WY5GQc2Gl2r5o515De9ipumm2q5pZz5De9iSeyOTxlzH1CQ7L7J4vaq5iKMLfs2psU01Vd0iZ1iZmPwSfwN5xp/iGC9FSiImXm6abLeN6wrcWT4G847RwXoqPA3nHaOC9FTvLKf0Wf9VbCyfA3nHaOC9FR4G847RwXoqOWT6LP+qthZPgbzjtHBeio8Decdo4L0VHLJ9Fn/AFVsLJ8Decdo4L0VHgbzjtHBeio5ZPos/wCqthY87nM4jj+EMF9GqUc2j2JzXZmmi7iqKL2GqmKe72tZpiZ6JjlhzllC+ly0jeYRsOiJ6+P5BxQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAn+6Lnfe8ln1r05FGboud97yWfWvNdTxeg4f7LJ0siTcAAAAAAAAAAAANLtXzRznyG97FTdNLtZzRzryG97FRKGTwn4VvuWj+1Zt/Jb/FcCn9y0x+l5trP7lv8VwOV7M2i9mAGdY64da+rAzOjAdQB06gaxHSRp1h1JRjeFTE7B5vrGv6j80JQi+8PmFm/zH5oclDL7dt3Ok6aREQwdIzvKz3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWBui533vJZ9a8+lRm6Lnfe8ln1rz6V1PF6Dh/svoBJuAAAAAAAAAAAAGm2q5o515De9iW5aXavmlnXkN72KieyF/GXPWS7Q5ps/Vcqy3EU2ZvcGLk8GJ1iNZj1tx4S9qtP8Rp+qpRHqFETMPNRmyVjaspd4S9qu0afqqU/wB2O02a5/czGMyxMXosxR3P4kRprrqpJa25f/z5r/Lb/FKszNurVo8+S2aItLebzto802fsZfVluIizN2uvhzNEVa6RGnL41d+EvartGn6qlMN9P91yn+e56oVCWmYno7rM2SuWYiUu8Je1XaNP1VJ4S9qu0afqqURHOaWX6jL+yXeEraqeXMKdPmqV37N4u/j9ncvxWJq4V+7YprrnTTWqeVzFPJLpnZHmllXk1HqTpMy+jw7Le95i0t1HKjG8PmFm/wAx+aEnjkRjeHzCzf5j80Jvo5fbs5z6Q6RneWnuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsDdFzvveSz6159KjN0XO+95LPrXn0rqeL0HD/ZfQE8iTcxrHWaw+K6opt1VTrOka8UcaC397GzVmvgx+l1zH8Nj3zArvlrTylPeFHWawri5viyKmJm3hMfXMRrpNqmPzJNsrtXg9qsLiMRhbdy33G7Nqqi5PxuKImJ4uidZ9BvCNM+O87RKRDETEki44Ua6a8ZrHWg28PbO9svZwdrA02q8XfqmqYuRrFNEcs+PWY086vK96209Wml3C08XRZj8XOaI7suXWY8U8tl+TVTHLJExPJOqgsFt1tjnOY4fA4fMKIuYi5FumKLNHFr0zxa6aa+iV8YS3Vawtu3Xcqu100xFVdXLVMRprPj5SJiUsGormjesP2AdaBpdq+aWdeQ3vYqbppdq+aWddX6De9ipyeyF/GfhzbhcvxmPmqMJhb1+aI1qi1RNWkeZ6e9/Oeysb9RUm+6XMsFl2IzSrHY2xhqa6LcUd2vRRE+mYWl3z5D21lv2uj3oVrEw+Lg0dMlItNtnO3e/nPZWN+oqWbuiy7G4G7mdWLwl6xFUURTN2iaddNdeVPO+fIe2st+10e968HmmAzCKoweNw+J4H7XcbtNfB8ekylFIiWzBo8eO8Wi26v972AxmPw2WRhMLevzRXXNXcqJq01iNORVfe/nPZWN+oqdK43M8Dl8UTjMbh8NFXFTN+5FET4tZh4++fIe2st+10e8msTJn0dMl5tNtnO3e/nPZWN+oqO9/Oeysb9RU6J758h7ay37XR7zvnyHtrLftdHvc9OFP8fi/dzrOz+c6T/wBKxvJ/6KnRWy1uuxsxltq7RVRcow9EVUVRpMToxO0+RdGdZbr5XR720sXbWIopu2blNy3XGsV01axPilKtYhq0umrhmZrO79YRjeHzCzf5j80JQi+8PmFm/wAx+aHWnN7dvhzn0h0jO8rPcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYG6Lnfe8ln1rz6VGboud97yWfWvPpXU8XoOH+y+mJ5GSeRJul+dUTpMaKA3k5B8C7TXL1qiKcNjdb1HVFX78emdfO6BmEQ3h7P/AA5srem3TE4rCfr7PFrrpHxo88OWjeGTWYfUx9Ps58iZpnq0TfdZnPwZtTThK6uDZxtHcZiZ/ejjon1x/qQiIiaYmnjjonrh92b13DX7d+xVwb1qqK6JjoqidYlTWZ36vhYr+nkiXVtE9ZXVFMa66acbX5FmlvOMlwuYW9NL1uKpiOiemPNOsNFvEz74F2UvVWrk0YrEzFm1pyxM/tT5qdfPML5l6OckVx8/2U3tpnfw9tPisVRXwrFM9ys9UUU8Uemdav8AV8jQcems8nWxxcGmI6v+f8+V6suwV7Msxw+Cw8frr1yKKNY1jWenzRxs++8vN2mcl9/ysvdDs7NVzEZ9ft8VOtnD6x0/vz6qfpLeojSnjnXjeDJcssZPlGFy/DU8G1YtxRT8unTPyy2Eci+I2jZ6PBj9OkRDIDq4aXavmjnUf/De9ipuml2r5pZ15De9ionshfxn4cyzxxHJ59fu4zzycUaazHp5WGf4eVifsytTczH63N9Ip/Zt9HLy8qqlq7mJiL2b8cclvXj5OVKm+7ZoJ/3h+++eP7NlM6cldzTSeTijoVH/AM5Fu7551w2V8U/t3Oj5IVEX33NbP+0gCPVk3/8ATSOPXkdMbIR/2nlMzEaxhaOPzOZ5jinxS6Y2R5pZV5NR6lmN9Phlp55hvEX3h8ws3+Y/NCToxvD5hZv8x+aFj6mX27fDnPpDpGd5ae4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwN0XO+95LPrXn0qM3Rc773ks+tefSup4vQcP9l9AJNxPI/O5GtExMROvQ/R81xrSGznLbrIvgDajEWbdEU4e/M3rERGmlM9HmnWEapnSNfMvTels9OabOTjrVGuIwM911jlm3+9H4+aVF8mk8WvSpvG07vOazFOPLM/lb25/OYrwOMyW7V8bDz3a1H/8AM8Ux6dPTKM70c7nMtp5wduvWzgI7nHy3J/an8PM0myGd/AG0uGxtVWlmOFRcif4ZifxiGnxF6vFYi5iLlWtd2uqurxzLu+9eqd9Vvp4p935zGsa68Uda0d0Wzk3b9/Pb9Hxbetmxr0z+9VHqVrgcJezDMMPg8PRw7t65FFMRGvL+DpnIMqs5Lk+Hy6xOtFiiKNemqemZ+WZ1cxx13WcPw81uae0NhFOj6iJiONkXPuAADS7V8WyOdeQ3vYqbppdq+PZHOp/+G9H/AOKnJ7IZPGVF7HbH3drruKot4+nC9wppmeFRw+FE9GmsaJb4FsR0Z7a08nn+tGdhtr7WyF3F3LuDu4j9IppiIoriNNPGmfhpwnY+J+tpQjl2fHwxpppHPPV4vAtiO3bf2ef60t2J2Iu7JV4yq5j4xUYjgxEU25o4ER551R/w04TsfE/W0pNsfttZ2unE0WsFdw36PEa8OqKtderRKOXfo14I00X/AKT1fO2+xtza63hKaMbThpw9VU/GtTXFWsR8saciHeBbEdu2vs8/1pvtftlZ2St4au7g7uI7vVMRwK4p0005dfGivhpwnY+J+tpJ5fuZ4003/vPV4vAtiO3bX2ef6zwLYnt219nn+t7fDThOx8T9bSeGnCdj4n62lz+qnl0bxeBXEdu2vs0/1LQybAVZZlGEwVVyLk4e1TbmuI0irSOXToV3O+jCTHHk+J+tpWPlWOpzTKsLjqKJt037UXIomdZjV2u2/Rq00YI39J7IRjeHzCzf5j80JQi+8PmFm/zH5oSX5fbt8Oc+kOkZ3lp7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALA3Rc773ks+tefSozdFzvveSz6159K6ni9Bw/wBl9AJNwSEzoD8b9um7Zrt10xXTVExNMxrEx1Oa9q8lq2f2jxeBmJ7nFXdLVU8tVFUzpP3S6WuTpRM+pz7vIzq3nG1d2mzEdyweuHirpqmJ1mfFrM6f7oX7PmcSis44me6IxPLrrpJrr65YOLTj644+pU+JutDdFs73fFX88vUfFtfqcPMxyzP7U+bijzrkpjTVWO6PPov5XfyW7FNNzC1cO10cKiqdZ8fxpmf9XyLNp6V1dtuj0ejrWuKOV9AJNYAA0u1XNHOvIb3sS3TS7V80c68hvexU5PZC/jLmWKp0iDXjOL4vHy8nSfF649MKNnldp77MLV3L8V7NvFR+Kqvi9cemFq7mdO7ZvpOvFb+Ti40qdJa9DH+0PRvoj+y5V/Pc9UKjW5vnn+yZTE/x3PVSqLi649MF+7uvj/adgOLrj0wfF649MI7MfLJPJLpnZHi2Tyryaj1OZuKeKJ458/qdMbITrsllXktE/csxx1fT4ZG156N3rxoxvD5hZv8AMfmhKNEX3h8ws3+Y/NCx9XL7dnOfSHSM7y09wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgboud97yWfWvPpUZui533vJZ9a8+ldTxeg4f7L6ASbhir9ll83J0o1gEV282j739m7121P9qv8A6qxEcvCmP2vNHH6HPE8cTETrx/tT0/LP3pfvI2g+G9pqrVmvXC4LW1b0niqq/eqjz8XmRCOPr8ym89Xntdm58m0doe3K8qvZtevW7HLasV3tZjlil4OqdNPklbu6TZ+Iy3G5tiqNZxOuHppmOKaI5Zj5OjzSrrafKKsi2hxmXzHxKK+FbnronjgmvTdDLp5x463/AC+Nns7u5BnmHzK3EzFqdLlET+3RPFMf86nTOExFvFYei/Zriu3cpiqmqOSYnpcpxyazyR09S5t0m0U4rKrmS3647thPjWuPXW3M/hPrdxTHZq4dn5Z9OVmasviJfULX2mQAGl2s5o515De9ipuml2r5o515De9ionshk8Z+FT7qsny3N8RmVOY4WziKbVu3wYuU66azMrQjYrZnT/B8J9H/AHc9ZbnOZZPNdWXY27hpuREVzbnThaNj37bT9t4v6auLREPj4NXix44raF6d5ezPY+E+j/u9uW5LleUxc+D8FZw/dNIr7lTpwnP3fttP23i/prG3U55mmc3cyjMcbdxMW4omjuk68FKtomWvBqsWS/LWE8zPJstzaLdOY4OziYonWnukfs6vD3lbNdkYT6P+6L71c6zLJ8Pl05djb2Gm5XXFXc5010iPerTv22n7bxf0ybREmfV4qX2vHVefeVs12RhPo/7neXsz2PhPo/7qL79tp+28X9M79tp+28X9NznhT9dg/VedWxezURxZRhNej4v+7dYXD2sLYt2LFEW7Nung0UUxxUxHQ5ynbbabT/GsX9Nf2zF+7itnMuxF+5Vcu3MPRNdVXLM6crsWiWrTajHlmYpGzb9CL7w+YWb/ADH5oShF94fMLN/mPzQkvy+3b4c59IdIzvLT3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWBui533vJZ9a8+lRm6Lnfe8ln1rz6V1PF6Dh/svonkCeRJufNVUxCK7e7R1ZBszeuWqojF4j9TYjqmeWrzRrKUzyOfN420Hw7tLct2quFhMH+qt9VU/vVeni83yo2ttDLq8/p4kRmrWnp5en1+nV6MBgruY4/DYKxGt3EXabdMeOXnjjn/nIsjdHkP6XmuIze7TrawtPc7c/wCZPL6Kfa+RVEby+HhxzkvFVt5Rl1nK8rw2Bw8aWrFuKKdP+eP0q63w5FFeFwudW6eO1Pcb1UR+7P7Mz5+L/VC06YiJ1jkeHOcss5vlOKwF+P1d+3NMz1dU+adJ8y7beNn3s2GLYuSHLkTpOsRp8ktrs5nV3IM+w2YWuPgVRTcp/jomdKo9HH5ngxeFvYHF3sLiKJovWa5orpnomOV+MTp4unrUR0l52JmmTf8ADqvCYi3i8LaxFmuLlq7TFdFUckxMcUvRTyKz3S7RTi8qryW9cib2D0qtceutqejzTxeeFl066Tr1r4neN3pcOSMlItD6AdWjS7V80s68hv8AsVN00u1fNLOvIb3sVE9kL+MuZOobDLMkzLOeFGXYK7iZtxE1xREcUTycsw2PeNtR2Ji/RT72eIl5mMd7RvEI8tXcx/5s38VH4oX3jbUdiYv0U+9Yu6zIs1ya7mdWZYK7hqbkURRw4j42muvJMpV333a9FiyRmiZjZ5d8/wDdcq+cueqFRrr3qZJmec2Mupy3BXMTNuuua4o0+LrFOnLMfKrXvG2o7Exfop97tonc1mPJbLMxCPCQ94u1HYmL9FPvO8XajsTF+in3o9WX0cv6o91umdkePZPKvJqPUoadhtqNJ/6JivRT/Uv3ZnD3sJs3l1jEUTRdt4emmuidNaZiPkTpE77y+lw6l62mZht0X3h8ws3+Y/NCT6oxvD5hZv8AMfmhY+jl9u3w5z6Q6RneWnuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsDdFzvveSz6159KjN0XO+95LPrXn0rqeL0HD/AGX0xPIyJNzV59azC9k2Ks5XVbpxldHBt1XJ+LTM8Uz5o1lS1zdXtNRExTbw1zj6L3Rp8vyr804mIp45+VG1eZmzaaubylzzc3bbU2omfg+3V4r1HV/MunZDIqdn9ncLgZj9bFHDvT13J/a5PR5m9mmJjkZiIjoK1iEcOkpineDgwxVEcXE+mJiJ5UmtSG9jIZwWeWc0s257ljKeDcnTii5TERxz0axp6FeccaVRFVPj19zrCq3RcjSumJ8cPLeyvAXpmbmDw9yZ5eFapnX0wrtTfrD5uXh8XtzROzmzZzOq8gz3C5jbnit3Ii5Tx/HomdKo9E+nR0xgsTbxmDtYi1XFdu7RFdFUT+1TMaxPniYa+vZnJLnHVlOB4+X+z0R+DZYXDWcHh6LGHt027VHFTRTyRHyJVjZdpNPbDvEz0fsAk2DS7Wc0c68hvexU3TS7V80s68hvexUT2QyeM/Cpd1mdZZkuJzGrMcXaw0XLduKeHOmukzP4rO7/AHZftvB/Tc4zyUsKYydHwsOutjpFYh0f3+7Mdt4T6b35VnuVZ33SMuxtnFdz04fAnXg68jmFa25jSb+b+K3+KUXmZ2bNPrr5ckUmFk5rneWZJTaqzLG2sNFczwZuVaRVpp74a/v92Y7bwn00N3z8WGyr+e5H3U+5URa8xOxqNdbFkmtYdH9/uzHbeE+md/uzHbeE+m5wHPUlR/J5PxDo6rbzZiY0+G8J5q2+wuIs4uxbxNiumu1dp4VFVPJMS5Tnkl0xshH/AGllU/8AzUepOl92zSaq2a0xLdwjG8PmFm/zH5oSdGN4fMLN/mPzQ61Zfbt8Oc+kOkUPLT3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWBui533vJZ9a8+lRm6Lnfe8ln1rz6V1PF6Dh/svoBJuAAAAAADQANAAAAGl2r5o515De9ipuml2s5o5z5De9ionshk8Z+HMnVqaSlmxGyFra25jKLmKrsTh6KZp0o4WvCnxx1Jp4F8J2xf+qj3qopO3R57HpMmSsWqp/SVrbl+K9m3io/F6vAvhO2MR9VHvSbZDYq1slXiq7WMuYj9IimJ4VEU6aeKXYrMTvLZpdJlx5Ytbsi2+f+65V/Pc9UKidE7YbHWdrLWFou4y5h/wBHqmYmimKuFr4/Ei3gWwnbF/6qPeTWZnc1Wky5Mk2rHRT+kmkrg8C+E7Yv/VR7zwL4Tti/9VHvc5JZ/wCPzfhT8xMRLpnZHmnlXk1HqQWrcxhKY1+F78+O1H9SxsowEZXleFwNNyblOHtRbiuY010SrSYneW7Q6fJhtM2e7pRjeHzCzf5j80JQi+8PmFm/zH5oTbcvt2c59IdIzvLT3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWBui533vJZ9a8+lRm6Lnfe8ln1rzjlXU8XoOH+y+gEm4AAAAAAAAAAAAaXavmjnXkN72Km6aXavmjnXkN72KnJ7IZPGfhW25X++Zt/Jb9crj0U5uV/vmbfyW/xXFqV7M+i9mGdDQ1NXWtjSOpnQ1NQNDQ1NQDSOo1NQYq6EW3hcws4+Y/NCUzOiHby8bYwuxGPt3b0W68RR3K1EctVUzE6R5okU5rRGO27nwZmNNYjTSJ04mGd5eQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEy3bZpgcp2muXsfi6MPaqw80U13J0iapnXTVeOEzvLMZTE4bMMNdif4bsS5c1I+LPCpnSeuOKUq22b9PrZw15dnWXCiY5YI5XL+Ez/N8BPCwuZ4u1McnBuzP3a6N9hN5e1GE0icdbxFMdF61EzPnT56tteJY57w6E4iZjrUxhd8uOp0jG5VZu9c2bk06+nWG+wm9/JbmkYnC4uxPTpTFcenWHYtC+utw2+6yORmEVwW8DZnHTEW81s0TP7t2Jo9cJBhMwweM+NhsXZvR/l3Iqj7kl9clLdpesY4UT0wax1wLN2RjWNdNYZ1ADWOsADU1AaXarmjnXkN72Km6aXavmjnXkN72KieyGTxlzdg8fjMBNc4TFYjDzXEcKbFc069WunQ9ffJnnbOO+01e9quoZ95+zzEZLxHdte+TPO2cf8Aaaved8meds4/7TV72qDex6t/y2vfJnnbOP8AtNXvO+TPO2cf9pq97VBvY9W/5bXvkzztnH/aaved8meds4/7TV72qDex6t/y2vfJnnbOP+01e875M87Zx/2mr3tUG9j1b/lte+TPO2Mf9oq97xYrHYvHVU14vF38RNMaUzeuTVMR55ecOpN7T3kAFYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB431RVVbqiuiqaao/ejifIOxbZuMJtXn+B4MYfOMZTTHJTVc4VPonWPub7Bb1Np8LEd1u4bExH/ssxHs6ISO72XVz5a+NlqYPfNejT9Mymmqemqze0+6qn8Zb/B73Nn7+kYijF4aZ/jtxVH/5mVGDsXmF9dflr36uksFtrs3jdO45vheFPJFyvgz6JbyzisPfpiq1et1xPTTVEuUtfF536WMRdwtfDw967ar66Kpp9TsZPy0V4nP/AFDq2Zj5BzZhNtNpMDGljOcTwY4+Dcq4cffH4t/hN7e0OH4MXqMJiaY5eHRwZ9MJReGivEcM9166x1tNtXx7I5z5De9ipX2F3y0TpGMyquOubF3X7qntzTeZkOa7O5lhaK79m/ewl23RRctctU0TERrHypc0TCydXhtWYiVM/ugKHnpABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/9k="},function(t,e,n){t.exports=n.p+"pdf.jpg?0b0dca6"},function(t,e,n){var i,r,o={};n(384),i=n(182),r=n(444),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(208),r=n(465),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(413),i=n(223),r=n(520),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(224),r=n(474),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(390),i=n(226),r=n(475),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(246),r=n(493),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(247),r=n(494),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(252),r=n(496),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(399),i=n(255),r=n(499),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(420),i=n(256),r=n(527),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(400),n(407),i=n(257),r=n(500),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(258),r=n(501),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(402),i=n(263),r=n(504),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(403),i=n(264),r=n(505),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(267),r=n(507),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(404),i=n(268),r=n(508),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(417),i=n(269),r=n(524),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(411),i=n(270),r=n(518),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(405),
|
|
37
|
-
i=n(271),r=n(509),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(406),i=n(272),r=n(510),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){/*!
|
|
38
|
-
* vue-validator v2.1.7
|
|
39
|
-
* (c) 2016 kazuya kawaguchi
|
|
40
|
-
* Released under the MIT License.
|
|
41
|
-
*/
|
|
42
|
-
"use strict";function i(t,e){window.console&&(console.warn("[vue-validator] "+t),e&&console.warn(e.stack))}function r(t){if(null===t||void 0===t)return!0;if(Array.isArray(t)){if(t.length>0)return!1;if(0===t.length)return!0}else if(k.Vue.util.isPlainObject(t))for(var e in t)if(k.Vue.util.hasOwn(t,e))return!1;return!0}function o(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)e.call(n||t[i],t[i],i);else if(k.Vue.util.isPlainObject(t)){var r=k.Vue.util.hasOwn;for(var o in t)r(t,o)&&e.call(n||t[o],t[o],o)}}function s(t,e){var n=k.Vue.util.indexOf(t,e);return~n?t.splice(n,1):null}function a(t,e,n){var i=document.createEvent("HTMLEvents");if(i.initEvent(e,!0,!1),n)for(var r in n)i[r]=n[r];try{t.dispatchEvent(i)}catch(t){}}function l(t){return t&&"function"==typeof t.then}function c(t,e,n){if(e=e.trim(),e.indexOf(" ")===-1)return void n(t,e);for(var i=e.split(/\s+/),r=0,o=i.length;r<o;r++)n(t,i[r])}function u(t){if(Array.isArray(t)){if(0!==t.length){for(var e=!0,n=0,i=t.length;n<i&&(e=u(t[n]),e);n++);return e}return!1}return"number"==typeof t||"function"==typeof t||("boolean"==typeof t?t:"string"==typeof t?t.length>0:null!==t&&"object"===("undefined"==typeof t?"undefined":C.typeof(t))?Object.keys(t).length>0:null!==t&&void 0!==t&&void 0)}function d(t,e){if("string"!=typeof e)return!1;var n=e.match(new RegExp("^/(.*?)/([gimy]*)$"));return!!n&&new RegExp(n[1],n[2]).test(t)}function h(t,e){return"string"==typeof t?g(e,10)&&t.length>=parseInt(e,10):!!Array.isArray(t)&&t.length>=parseInt(e,10)}function f(t,e){return"string"==typeof t?g(e,10)&&t.length<=parseInt(e,10):!!Array.isArray(t)&&t.length<=parseInt(e,10)}function p(t,e){return!isNaN(+t)&&!isNaN(+e)&&+t>=+e}function m(t,e){return!isNaN(+t)&&!isNaN(+e)&&+t<=+e}function g(t){return/^(-?[1-9]\d*|0)$/.test(t)}function v(t){var e=t.util.extend,n=Object.create(null);e(n,S),t.options.validators=n;var i=t.config.optionMergeStrategies;i&&(i.validators=function(t,n){if(!n)return t;if(!t)return n;var i=Object.create(null);e(i,t);for(var r in n)i[r]=n[r];return i}),t.validator=function(e,n){return n?void(t.options.validators[e]=n):t.options.validators[e]}}function y(t){var e=t.prototype._init;t.prototype._init=function(t){this._validatorMaps||(this._validatorMaps=Object.create(null)),e.call(this,t)};var n=t.prototype._destroy;t.prototype._destroy=function(){n.apply(this,arguments),this._validatorMaps=null}}function b(t){var e=t.directive("if"),n=t.FragmentFactory,i=t.util,r=i.toArray,o=i.replace,s=i.createAnchor;t.directive("validate-class",{terminal:!0,priority:e.priority+T,bind:function(){var t=this,e=String(R++);this.setClassIds(this.el,e),this.vm.$on(F,this.cb=function(n,i,r){n.indexOf(e)>-1&&i.updateClasses(r,t.frag.node)}),this.setupFragment()},unbind:function(){this.vm.$off(F,this.cb),this.teardownFragment()},setClassIds:function(t,e){for(var n=r(t.childNodes),i=0,o=n.length;i<o;i++){var s=n[i];if(1===s.nodeType)for(var a=s.hasAttributes(),l=a&&r(s.attributes),c=0,u=l.length;c<u;c++){var d=l[c];if(d.name.match(B)){var h=s.getAttribute(F),f=h?h+","+e:e;s.setAttribute(F,f)}}s.hasChildNodes()&&this.setClassIds(s,e)}},setupFragment:function(){this.anchor=s("v-validate-class"),o(this.el,this.anchor),this.factory=new n(this.vm,this.el),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},teardownFragment:function(){this.frag&&(this.frag.remove(),this.frag=null,this.factory=null),o(this.anchor,this.el),this.anchor=null}})}function w(t){function e(){if(s){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}var n=t.FragmentFactory,i=t.parsers.directive.parseDirective,r=t.util,s=r.inBrowser,a=r.bind,l=r.on,c=r.off,u=r.createAnchor,d=r.replace,h=r.camelize,f=r.isPlainObject,p=e();t.directive("validate",{deep:!0,terminal:!0,priority:D,params:["group","field","detect-blur","detect-change","initial","classes"],paramWatchers:{detectBlur:function(t,e){this._invalid||(this.validation.detectBlur=this.isDetectBlur(t),this.validator.validate(this.field))},detectChange:function(t,e){this._invalid||(this.validation.detectChange=this.isDetectChange(t),this.validator.validate(this.field))}},bind:function(){var t=this.el,e=this.vm.$options._validator,n=t.getAttribute("v-model"),i=this.parseModelRaw(n),r=i.model,o=i.filters;this.model=r,this.setupFragment(),this.setupValidate(e,r,o),this.listen()},update:function(t,e){if(t&&!this._invalid){f(t)||e&&f(e)?this.handleObject(t,e,this.params.initial):(Array.isArray(t)||e&&Array.isArray(e))&&this.handleArray(t,e,this.params.initial);var n={field:this.field};this.frag&&(n.el=this.frag.node),this.validator.validate(n)}},unbind:function(){this._invalid||(this.unlisten(),this.teardownValidate(),this.teardownFragment(),this.model=null)},parseModelRaw:function(t){if($.test(t)){var e=i(t);return{model:e.expression,filters:e.filters}}return{model:t}},setupValidate:function(t,e,n){var i=this.params,r=this.validator=this.vm._validatorMaps[t];this.field=h(this.arg?this.arg:i.field),this.validation=r.manageValidation(this.field,e,this.vm,this.getElementFrom(this.frag),this._scope,n,i.initial,this.isDetectBlur(i.detectBlur),this.isDetectChange(i.detectChange)),f(i.classes)&&this.validation.setValidationClasses(i.classes),i.group&&r.addGroupValidation(i.group,this.field)},listen:function(){var t=this.model,e=this.validation,n=this.getElementFrom(this.frag);this.onBlur=a(e.listener,e),l(n,"blur",this.onBlur),"radio"!==n.type&&"SELECT"!==n.tagName||t?"checkbox"===n.type?t?(this.onClick=a(e.listener,e),l(n,"click",this.onClick)):(this.onChange=a(e.listener,e),l(n,"change",this.onChange)):t||(this.onInput=a(e.listener,e),l(n,"input",this.onInput)):(this.onChange=a(e.listener,e),l(n,"change",this.onChange))},unlisten:function(){var t=this.getElementFrom(this.frag);this.onInput&&(c(t,"input",this.onInput),this.onInput=null),this.onClick&&(c(t,"click",this.onClick),this.onClick=null),this.onChange&&(c(t,"change",this.onChange),this.onChange=null),this.onBlur&&(c(t,"blur",this.onBlur),this.onBlur=null)},teardownValidate:function(){if(this.validator&&this.validation){var t=this.getElementFrom(this.frag);this.params.group&&this.validator.removeGroupValidation(this.params.group,this.field),this.validator.unmanageValidation(this.field,t),this.validator=null,this.validation=null,this.field=null}},setupFragment:function(){this.anchor=u("v-validate"),d(this.el,this.anchor),this.factory=new n(this.vm,this.shimNode(this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},teardownFragment:function(){this.frag&&(this.frag.remove(),this.frag=null,this.factory=null),d(this.anchor,this.el),this.anchor=null},handleArray:function(t,e,n){var i=this;e&&this.validation.resetValidation(),o(t,function(t){i.validation.setValidation(t,void 0,void 0,n)})},handleObject:function(t,e,n){var i=this;e&&this.validation.resetValidation(),o(t,function(t,e){if(f(t)){if("rule"in t){var r="message"in t?t.message:null,o="initial"in t?t.initial:null;i.validation.setValidation(e,t.rule,r,o||n)}}else i.validation.setValidation(e,t,void 0,n)})},isDetectBlur:function(t){return void 0===t||"on"===t||t===!0},isDetectChange:function(t){return void 0===t||"on"===t||t===!0},isInitialNoopValidation:function(t){return"off"===t||t===!1},shimNode:function(t){var e=t;if(p&&"TEXTAREA"===t.tagName){e=t.cloneNode(!0),e.value=t.value;for(var n=e.childNodes.length;n--;)e.removeChild(e.childNodes[n])}return e},getElementFrom:function(t){return t.single?t.node:t.node.nextSibling}})}function A(t){var e=t.FragmentFactory,n=t.directive("if"),i=t.util,r=i.isArray,o=i.isPlainObject,s=i.createAnchor,a=i.replace,l=i.extend,c=i.camelize;t.elementDirective("validator",{params:["name","groups","lazy","classes"],bind:function(){var t=this.params;if(this.validatorName="$"+c(t.name),!this.vm._validatorMaps)throw new Error("Invalid validator management error");var e={};o(this.params.classes)&&(e=this.params.classes),this.setupValidator(e),this.setupFragment(t.lazy)},unbind:function(){this.teardownFragment(),this.teardownValidator()},getGroups:function(){var t=this.params,e=[];return t.groups&&(r(t.groups)?e=t.groups:o(t.groups)||"string"!=typeof t.groups||e.push(t.groups)),e},setupValidator:function(t){var e=this.validator=new N(this.validatorName,this,this.getGroups(),t);e.enableReactive(),e.setupScope(),e.registerEvents()},teardownValidator:function(){this.validator.unregisterEvents(),this.validator.disableReactive(),this.validatorName&&(this.validatorName=null,this.validator=null)},setupFragment:function(t){var i=this,r=this.vm;this.validator.waitFor(function(){i.anchor=s("vue-validator"),a(i.el,i.anchor),l(r.$options,{_validator:i.validatorName}),i.factory=new e(r,i.el.innerHTML),n.insert.call(i)}),!t&&r.$activateValidator()},teardownFragment:function(){n.unbind.call(this)}})}function x(t){var e={name:"validator-error",props:{field:{type:String,required:!0},validator:{type:String},message:{type:String,required:!0},partial:{type:String,default:"validator-error-default"}},template:'<div><partial :name="partial"></partial></div>',partials:{}};return e.partials["validator-error-default"]="<p>{{field}}: {{message}}</p>",e}function _(t){var e=t.util,n=x(t),i={name:"validator-errors",props:{validation:{type:Object,required:!0},group:{type:String,default:null},field:{type:String,default:null},component:{type:String,default:"validator-error"}},computed:{errors:function(){var t=this;if(null!==this.group)return this.validation[this.group].errors;if(null!==this.field){var n=this.validation[this.field];if(!n.errors)return;return n.errors.map(function(n){var i={field:t.field};return e.isPlainObject(n)?(n.validator&&(i.validator=n.validator),i.message=n.message):"string"==typeof n&&(i.message=n),i})}return this.validation.errors}},template:'<template v-for="error in errors"><component :is="component" :partial="partial" :field="error.field" :validator="error.validator" :message="error.message"></component></template>',components:{}};return i.props.partial=n.props.partial,i.components[n.name]=n,t.component(i.name,i),i}function E(t){arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return E.installed?void i("already installed."):(k.Vue=t,v(t),_(t),y(t),A(t),b(t),void w(t))}var C={};C.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},C.classCallCheck=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C.createClass=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),C.inherits=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},C.possibleConstructorReturn=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e};var k={},S=Object.freeze({required:u,pattern:d,minlength:h,maxlength:f,min:p,max:m}),F="__vue-validator-validate-update__",D=4096,T=32,$=/[^|]\|[^|]/,B=/^v-validate(?:$|:(.*)$)/,M=/^v-on:|^@/,R=0,P=function(){function t(e,n,i,r,o,s,a,l,c){C.classCallCheck(this,t),this.field=e,this.touched=!1,this.dirty=!1,this.modified=!1,this._modified=!1,this._model=n,this._filters=a,this._validator=s,this._vm=i,this._el=r,this._forScope=o,this._init=this._getValue(r),this._validators={},this._detectBlur=l,this._detectChange=c,this._classes={}}return t.prototype.manageElement=function(t,e){var n=this,i=this._getScope(),r=this._model;this._initial=e;var o=t.getAttribute(F);o&&(t.removeAttribute(F),this._classIds=o.split(",")),r&&(t.value=this._evalModel(r,this._filters),this._unwatch=i.$watch(r,function(e,i){if(e!==i){if(n.guardValidate(t,"input"))return;n.handleValidate(t,{noopable:n._initial}),n._initial&&(n._initial=null)}},{deep:!0}))},t.prototype.unmanageElement=function(t){this._unwatch&&this._unwatch()},t.prototype.resetValidation=function(){var t=this,e=Object.keys(this._validators);o(e,function(e,n){t._validators[e]=null,delete t._validators[e]})},t.prototype.resetValidationNoopable=function(){o(this._validators,function(t,e){t.initial&&!t._isNoopable&&(t._isNoopable=!0)})},t.prototype.setValidation=function(t,e,n,i){var r=this._validators[t];r||(r=this._validators[t]={},r.name=t),r.arg=e,n&&(r.msg=n),i&&(r.initial=i,r._isNoopable=!0)},t.prototype.setValidationClasses=function(t){var e=this;o(t,function(t,n){e._classes[n]=t})},t.prototype.willUpdateFlags=function(){var t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];t&&this.willUpdateTouched(this._el,"blur"),this.willUpdateDirty(this._el),this.willUpdateModified(this._el)},t.prototype.willUpdateTouched=function(t,e){e&&"blur"===e&&(this.touched=!0,this._fireEvent(t,"touched"))},t.prototype.willUpdateDirty=function(t){!this.dirty&&this._checkModified(t)&&(this.dirty=!0,this._fireEvent(t,"dirty"))},t.prototype.willUpdateModified=function(t){this.modified=this._checkModified(t),this._modified!==this.modified&&(this._fireEvent(t,"modified",{modified:this.modified}),this._modified=this.modified)},t.prototype.listener=function(t){this.guardValidate(t.target,t.type)||this.handleValidate(t.target,{type:t.type})},t.prototype.handleValidate=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e.type,i=void 0===n?null:n,r=e.noopable,o=void 0!==r&&r;this.willUpdateTouched(t,i),this.willUpdateDirty(t),this.willUpdateModified(t),this._validator.validate({field:this.field,el:t,noopable:o})},t.prototype.validate=function(t){var e=this,n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],i=arguments.length<=2||void 0===arguments[2]?null:arguments[2],o=k.Vue.util,s={},a=[],l=!0;this._runValidators(function(t,i,r){var c=e._resolveValidator(i),u=null,d=null;if(o.isPlainObject(c)?(c.check&&"function"==typeof c.check&&(u=c.check),c.message&&(d=c.message)):"function"==typeof c&&(u=c),t.msg&&(d=t.msg),n)return s[i]=!1,r();if(t._isNoopable)return s[i]=!1,t._isNoopable=null,r();if(u){var h=e._getValue(e._el);e._invokeValidator(e._vm,u,h,t.arg,function(n,o){if(n)s[i]=!n;else if(l=!1,o)a.push({validator:i,message:o}),s[i]=o;else if(d){var c={validator:i};c.message="function"==typeof d?d.call(e._vm,e.field,t.arg):d,a.push(c),s[i]=c.message}else s[i]=!n;r()})}else r()},function(){e._fireEvent(e._el,l?"valid":"invalid");var n={valid:l,invalid:!l,touched:e.touched,untouched:!e.touched,dirty:e.dirty,pristine:!e.dirty,modified:e.modified};r(a)||(n.errors=a),o.extend(s,n),e.willUpdateClasses(s,i),t(s)})},t.prototype.resetFlags=function(){this.touched=!1,this.dirty=!1,this.modified=!1,this._modified=!1},t.prototype.reset=function(){this.resetValidationNoopable(),this.resetFlags(),this._init=this._getValue(this._el)},t.prototype.willUpdateClasses=function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];this._checkClassIds(n)?!function(){var i=e._getClassIds(n);e.vm.$nextTick(function(){e.vm.$emit(F,i,e,t)})}():this.updateClasses(t)},t.prototype.updateClasses=function(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];this._updateClasses(e||this._el,t)},t.prototype.guardValidate=function(t,e){return!(!e||"blur"!==e||this.detectBlur)||(!(!e||"input"!==e||this.detectChange)||(!(!e||"change"!==e||this.detectChange)||!(!e||"click"!==e||this.detectChange)))},t.prototype._getValue=function(t){return t.value},t.prototype._getScope=function(){return this._forScope||this._vm},t.prototype._getClassIds=function(t){return this._classIds},t.prototype._checkModified=function(t){return this._init!==this._getValue(t)},t.prototype._checkClassIds=function(t){return this._getClassIds(t)},t.prototype._fireEvent=function(t,e,n){a(t,e,n)},t.prototype._evalModel=function(t,e){var n=this._getScope(),i=null;return e?(i=n.$get(t),e?this._applyFilters(i,null,e):i):(i=n.$get(t),void 0===i||null===i?"":i)},t.prototype._updateClasses=function(t,e){this._toggleValid(t,e.valid),this._toggleTouched(t,e.touched),this._togglePristine(t,e.pristine),this._toggleModfied(t,e.modified)},t.prototype._toggleValid=function(t,e){var n=k.Vue.util,i=n.addClass,r=n.removeClass,o=this._classes.valid||"valid",s=this._classes.invalid||"invalid";e?(c(t,o,i),c(t,s,r)):(c(t,o,r),c(t,s,i))},t.prototype._toggleTouched=function(t,e){var n=k.Vue.util,i=n.addClass,r=n.removeClass,o=this._classes.touched||"touched",s=this._classes.untouched||"untouched";e?(c(t,o,i),c(t,s,r)):(c(t,o,r),c(t,s,i))},t.prototype._togglePristine=function(t,e){var n=k.Vue.util,i=n.addClass,r=n.removeClass,o=this._classes.pristine||"pristine",s=this._classes.dirty||"dirty";e?(c(t,o,i),c(t,s,r)):(c(t,o,r),c(t,s,i))},t.prototype._toggleModfied=function(t,e){var n=k.Vue.util,i=n.addClass,r=n.removeClass,o=this._classes.modified||"modified";e?c(t,o,i):c(t,o,r)},t.prototype._applyFilters=function(t,e,n,i){var r=k.Vue.util.resolveAsset,o=this._getScope(),s=void 0,a=void 0,l=void 0,c=void 0,u=void 0,d=void 0,h=void 0,f=void 0,p=void 0;for(d=0,h=n.length;d<h;d++)if(s=n[d],a=r(this._vm.$options,"filters",s.name),a&&(a=i?a.write:a.read||a,"function"==typeof a)){if(l=i?[t,e]:[t],u=i?2:1,s.args)for(f=0,p=s.args.length;f<p;f++)c=s.args[f],l[f+u]=c.dynamic?o.$get(c.value):c.value;t=a.apply(this._vm,l)}return t},t.prototype._runValidators=function(t,e){var n=this._validators,i=Object.keys(n).length,r=0;o(n,function(n,o){t(n,o,function(){++r,r>=i&&e()})})},t.prototype._invokeValidator=function(t,e,n,i,r){var o=e.call(this,n,i);"function"==typeof o?o(function(){r(!0)},function(t){r(!1,t)}):l(o)?o.then(function(){r(!0)},function(t){r(!1,t)}).catch(function(t){r(!1,t.message)}):r(o)},t.prototype._resolveValidator=function(t){var e=k.Vue.util.resolveAsset;return e(this._vm.$options,"validators",t)},C.createClass(t,[{key:"vm",get:function(){return this._vm}},{key:"el",get:function(){return this._el}},{key:"detectChange",get:function(){return this._detectChange},set:function(t){this._detectChange=t}},{key:"detectBlur",get:function(){return this._detectBlur},set:function(t){this._detectBlur=t}}]),t}(),L=function(t){function e(n,i,r,o,s,a,l,c,u){C.classCallCheck(this,e);var d=C.possibleConstructorReturn(this,t.call(this,n,i,r,o,s,a,l,c,u));return d._inits=[],d}return C.inherits(e,t),e.prototype.manageElement=function(t,e){var n=this,i=this._getScope(),r=this._addItem(t,e),o=r.model=this._model;if(o){var s=this._evalModel(o,this._filters);Array.isArray(s)?(this._setChecked(s,r.el),r.unwatch=i.$watch(o,function(t,e){if(t!==e){if(n.guardValidate(r.el,"change"))return;n.handleValidate(r.el,{noopable:r.initial}),r.initial&&(r.initial=null)}})):(t.checked=s||!1,this._init=t.checked,r.init=t.checked,r.value=t.value,r.unwatch=i.$watch(o,function(e,i){if(e!==i){if(n.guardValidate(t,"change"))return;n.handleValidate(t,{noopable:r.initial}),r.initial&&(r.initial=null)}}))}else{var a={field:this.field,noopable:e};this._checkClassIds(t)&&(a.el=t),this._validator.validate(a)}},e.prototype.unmanageElement=function(t){var e=-1;o(this._inits,function(n,i){n.el===t&&(e=i,n.unwatch&&n.model&&(n.unwatch(),n.unwatch=null,n.model=null))}),e!==-1&&(this._inits.splice(e,1),this._validator.validate({field:this.field}))},e.prototype.willUpdateFlags=function(){var t=this,e=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];o(this._inits,function(n,i){e&&t.willUpdateTouched(n.el,"blur"),t.willUpdateDirty(n.el),t.willUpdateModified(n.el)})},e.prototype.reset=function(){this.resetValidationNoopable(),this.resetFlags(),o(this._inits,function(t,e){t.init=t.el.checked,t.value=t.el.value})},e.prototype.updateClasses=function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];n?this._updateClasses(n,t):o(this._inits,function(n,i){e._updateClasses(n.el,t)})},e.prototype._addItem=function(t,e){var n={el:t,init:t.checked,value:t.value,initial:e},i=t.getAttribute(F);return i&&(t.removeAttribute(F),n.classIds=i.split(",")),this._inits.push(n),n},e.prototype._setChecked=function(t,e){for(var n=0,i=t.length;n<i;n++){var r=t[n];e.disabled||e.value!==r||e.checked||(e.checked=!0)}},e.prototype._getValue=function(t){var e=this;if(!this._inits||0===this._inits.length)return t.checked;var n=function(){var t=[];return o(e._inits,function(e,n){e.el.checked&&t.push(e.el.value)}),{v:t}}();return"object"===("undefined"==typeof n?"undefined":C.typeof(n))?n.v:void 0},e.prototype._getClassIds=function(t){var e=void 0;return o(this._inits,function(n,i){n.el===t&&(e=n.classIds)}),e},e.prototype._checkModified=function(t){var e=this;if(0===this._inits.length)return this._init!==t.checked;var n=function(){var t=!1;return o(e._inits,function(e,n){t||(t=e.init!==e.el.checked)}),{v:t}}();return"object"===("undefined"==typeof n?"undefined":C.typeof(n))?n.v:void 0},e}(P),O=function(t){function e(n,i,r,o,s,a,l,c,u){C.classCallCheck(this,e);var d=C.possibleConstructorReturn(this,t.call(this,n,i,r,o,s,a,l,c,u));return d._inits=[],d}return C.inherits(e,t),e.prototype.manageElement=function(t,e){var n=this,i=this._getScope(),r=this._addItem(t,e),o=r.model=this._model;if(o){var s=this._evalModel(o,this._filters);this._setChecked(s,t,r),r.unwatch=i.$watch(o,function(e,i){if(e!==i){if(n.guardValidate(r.el,"change"))return;n.handleValidate(t,{noopable:r.initial}),r.initial&&(r.initial=null)}})}else{var a={field:this.field,noopable:e};this._checkClassIds(t)&&(a.el=t),this._validator.validate(a)}},e.prototype.unmanageElement=function(t){var e=-1;o(this._inits,function(n,i){n.el===t&&(e=i)}),e!==-1&&(this._inits.splice(e,1),this._validator.validate({field:this.field}))},e.prototype.willUpdateFlags=function(){var t=this,e=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];o(this._inits,function(n,i){e&&t.willUpdateTouched(n.el,"blur"),t.willUpdateDirty(n.el),t.willUpdateModified(n.el)})},e.prototype.reset=function(){this.resetValidationNoopable(),this.resetFlags(),o(this._inits,function(t,e){t.init=t.el.checked,t.value=t.el.value})},e.prototype.updateClasses=function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];n?this._updateClasses(n,t):o(this._inits,function(n,i){e._updateClasses(n.el,t)})},e.prototype._addItem=function(t,e){var n={el:t,init:t.checked,value:t.value,initial:e},i=t.getAttribute(F);return i&&(t.removeAttribute(F),n.classIds=i.split(",")),this._inits.push(n),n},e.prototype._setChecked=function(t,e,n){e.value===t&&(e.checked=!0,this._init=e.checked,n.init=e.checked,n.value=t)},e.prototype._getValue=function(t){var e=this;if(!this._inits||0===this._inits.length)return t.checked;var n=function(){var t=[];return o(e._inits,function(e,n){e.el.checked&&t.push(e.el.value)}),{v:t}}();return"object"===("undefined"==typeof n?"undefined":C.typeof(n))?n.v:void 0},e.prototype._getClassIds=function(t){var e=void 0;return o(this._inits,function(n,i){n.el===t&&(e=n.classIds)}),e},e.prototype._checkModified=function(t){var e=this;if(0===this._inits.length)return this._init!==t.checked;var n=function(){var t=!1;return o(e._inits,function(e,n){t||(t=e.init!==e.el.checked)}),{v:t}}();return"object"===("undefined"==typeof n?"undefined":C.typeof(n))?n.v:void 0},e}(P),j=function(t){function e(n,i,r,o,s,a,l,c,u){C.classCallCheck(this,e);var d=C.possibleConstructorReturn(this,t.call(this,n,i,r,o,s,a,l,c,u));return d._multiple=d._el.hasAttribute("multiple"),d}return C.inherits(e,t),e.prototype.manageElement=function(t,e){var n=this,i=this._getScope(),r=this._model;this._initial=e;var o=t.getAttribute(F);if(o&&(t.removeAttribute(F),this._classIds=o.split(",")),r){var s=this._evalModel(r,this._filters),a=Array.isArray(s)?s:[s];this._setOption(a,t),this._unwatch=i.$watch(r,function(e,i){var r=Array.isArray(e)?e:[e],o=Array.isArray(i)?i:[i];if(r.slice().sort().toString()!==o.slice().sort().toString()){if(n.guardValidate(t,"change"))return;n.handleValidate(t,{noopable:n._initial}),n._initial&&(n._initial=null)}})}},e.prototype.unmanageElement=function(t){this._unwatch&&this._unwatch()},e.prototype._getValue=function(t){for(var e=[],n=0,i=t.options.length;n<i;n++){var r=t.options[n];!r.disabled&&r.selected&&e.push(r.value)}return e},e.prototype._setOption=function(t,e){for(var n=0,i=t.length;n<i;n++)for(var r=t[n],o=0,s=e.options.length;o<s;o++){var a=e.options[o];a.disabled||a.value!==r||a.hasAttribute("selected")&&a.selected||(a.selected=!0)}},e.prototype._checkModified=function(t){var e=this._getValue(t).slice().sort();if(this._init.length!==e.length)return!0;var n=this._init.slice().sort();return n.toString()!==e.toString()},e}(P),N=function(){function t(e,n,i,r){var s=this;C.classCallCheck(this,t),this.name=e,this._scope={},this._dir=n,this._validations={},this._checkboxValidations={},this._radioValidations={},this._groups=i,this._groupValidations={},this._events={},this._modified=!1,this._classes=r,o(i,function(t){s._groupValidations[t]=[]})}return t.prototype.enableReactive=function(){var t=this._dir.vm;k.Vue.util.defineReactive(t,this.name,this._scope),t._validatorMaps[this.name]=this,this._defineResetValidation(),this._defineValidate(),this._defineSetValidationErrors()},t.prototype.disableReactive=function(){var t=this._dir.vm;t.$setValidationErrors=null,delete t.$setValidationErrors,t.$validate=null,delete t.$validate,t.$resetValidation=null,delete t.$resetValidation,t._validatorMaps[this.name]=null,delete t._validatorMaps[this.name],t[this.name]=null,delete t[this.name]},t.prototype.registerEvents=function(){for(var t=k.Vue.parsers.expression.isSimplePath,e=this._dir.el.attributes,n=0,i=e.length;n<i;n++){var r=e[n].name;if(M.test(r)){var o=e[n].value;t(o)&&(o+=".apply(this, $arguments)"),r=r.replace(M,""),this._events[this._getEventName(r)]=this._dir.vm.$eval(o,!0)}}},t.prototype.unregisterEvents=function(){var t=this;o(this._events,function(e,n){t._events[n]=null,delete t._events[n]})},t.prototype.manageValidation=function(t,e,n,i,r,o,s,a,l){var c=null;return c="SELECT"===i.tagName?this._manageSelectValidation(t,e,n,i,r,o,s,a,l):"checkbox"===i.type?this._manageCheckboxValidation(t,e,n,i,r,o,s,a,l):"radio"===i.type?this._manageRadioValidation(t,e,n,i,r,o,s,a,l):this._manageBaseValidation(t,e,n,i,r,o,s,a,l),c.setValidationClasses(this._classes),c},t.prototype.unmanageValidation=function(t,e){"checkbox"===e.type?this._unmanageCheckboxValidation(t,e):"radio"===e.type?this._unmanageRadioValidation(t,e):"SELECT"===e.tagName?this._unmanageSelectValidation(t,e):this._unmanageBaseValidation(t,e)},t.prototype.addGroupValidation=function(t,e){var n=k.Vue.util.indexOf,i=this._getValidationFrom(e),r=this._groupValidations[t];r&&!~n(r,i)&&r.push(i)},t.prototype.removeGroupValidation=function(t,e){var n=this._getValidationFrom(e),i=this._groupValidations[t];i&&s(i,n)},t.prototype.validate=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.el,n=void 0===e?null:e,i=t.field,r=void 0===i?null:i,s=t.touched,a=void 0!==s&&s,l=t.noopable,c=void 0!==l&&l,u=t.cb,d=void 0===u?null:u;r?this._validate(r,a,c,n,d):(o(this.validations,function(t,e){t.willUpdateFlags(a)}),this._validates(d))},t.prototype.setupScope=function(){var t=this;this._defineProperties(function(){return t.validations},function(){return t._scope}),o(this._groups,function(e){var n=t._groupValidations[e],i={};k.Vue.set(t._scope,e,i),t._defineProperties(function(){return n},function(){return i})})},t.prototype.waitFor=function(t){var e="$activateValidator",n=this._dir.vm;n[e]=function(){t(),n[e]=null}},t.prototype._defineResetValidation=function(){var t=this;this._dir.vm.$resetValidation=function(e){t._resetValidation(e)}},t.prototype._defineValidate=function(){var t=this;this._dir.vm.$validate=function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=null,s=!1,a=null;o(n,function(t,e){"string"==typeof t?r=t:"boolean"==typeof t?s=t:"function"==typeof t&&(a=t)}),t.validate({field:r,touched:s,cb:a})}},t.prototype._defineSetValidationErrors=function(){var t=this;this._dir.vm.$setValidationErrors=function(e){t._setValidationErrors(e)}},t.prototype._validate=function(t){var e=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],n=!(arguments.length<=2||void 0===arguments[2])&&arguments[2],i=this,r=arguments.length<=3||void 0===arguments[3]?null:arguments[3],o=arguments.length<=4||void 0===arguments[4]?null:arguments[4],s=this._scope,a=this._getValidationFrom(t);a&&(a.willUpdateFlags(e),a.validate(function(e){k.Vue.set(s,t,e),i._fireEvents(),o&&o()},n,r))},t.prototype._validates=function(t){var e=this,n=this._scope;this._runValidates(function(t,e,i){t.validate(function(t){k.Vue.set(n,e,t),i()})},function(){e._fireEvents(),t&&t()})},t.prototype._getValidationFrom=function(t){return this._validations[t]||this._checkboxValidations[t]&&this._checkboxValidations[t].validation||this._radioValidations[t]&&this._radioValidations[t].validation},t.prototype._resetValidation=function(t){o(this.validations,function(t,e){t.reset()}),this._validates(t)},t.prototype._setValidationErrors=function(t){var e=this,n=k.Vue.util.extend,i={};o(t,function(t,e){i[t.field]||(i[t.field]=[]),i[t.field].push(t)}),o(i,function(t,i){var r=e._scope[i],s={};o(t,function(t){t.validator&&(r[t.validator]=t.message)}),r.valid=!1,r.invalid=!0,r.errors=t,n(s,r);var a=e._getValidationFrom(i);a.willUpdateClasses(s,a.el),k.Vue.set(e._scope,i,s)})},t.prototype._manageBaseValidation=function(t,e,n,i,r,o,s,a,l){var c=this._validations[t]=new P(t,e,n,i,r,this,o,a,l);return c.manageElement(i,s),c},t.prototype._unmanageBaseValidation=function(t,e){var n=this._validations[t];n&&(n.unmanageElement(e),k.Vue.delete(this._scope,t),this._validations[t]=null,delete this._validations[t])},t.prototype._manageCheckboxValidation=function(t,e,n,i,r,o,s,a,l){var c=this._checkboxValidations[t];if(!c){var u=new L(t,e,n,i,r,this,o,a,l);c={validation:u,elements:0},this._checkboxValidations[t]=c}return c.elements++,c.validation.manageElement(i,s),c.validation},t.prototype._unmanageCheckboxValidation=function(t,e){var n=this._checkboxValidations[t];n&&(n.elements--,n.validation.unmanageElement(e),0===n.elements&&(k.Vue.delete(this._scope,t),this._checkboxValidations[t]=null,delete this._checkboxValidations[t]))},t.prototype._manageRadioValidation=function(t,e,n,i,r,o,s,a,l){var c=this._radioValidations[t];if(!c){var u=new O(t,e,n,i,r,this,o,a,l);c={validation:u,elements:0},this._radioValidations[t]=c}return c.elements++,c.validation.manageElement(i,s),c.validation},t.prototype._unmanageRadioValidation=function(t,e){var n=this._radioValidations[t];n&&(n.elements--,n.validation.unmanageElement(e),0===n.elements&&(k.Vue.delete(this._scope,t),this._radioValidations[t]=null,delete this._radioValidations[t]))},t.prototype._manageSelectValidation=function(t,e,n,i,r,o,s,a,l){var c=this._validations[t]=new j(t,e,n,i,r,this,o,a,l);return c.manageElement(i,s),c},t.prototype._unmanageSelectValidation=function(t,e){var n=this._validations[t];n&&(n.unmanageElement(e),k.Vue.delete(this._scope,t),this._validations[t]=null,delete this._validations[t])},t.prototype._fireEvent=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=this._events[this._getEventName(t)];r&&this._dir.vm.$nextTick(function(){r.apply(null,n)})},t.prototype._fireEvents=function(){var t=this._scope;t.touched&&this._fireEvent("touched"),t.dirty&&this._fireEvent("dirty"),this._modified!==t.modified&&(this._fireEvent("modified",t.modified),this._modified=t.modified);var e=t.valid;this._fireEvent(e?"valid":"invalid")},t.prototype._getEventName=function(t){return this.name+":"+t},t.prototype._defineProperties=function(t,e){var n=this,i=k.Vue.util.bind;
|
|
43
|
-
o({valid:{fn:this._defineValid,arg:t},invalid:{fn:this._defineInvalid,arg:e},touched:{fn:this._defineTouched,arg:t},untouched:{fn:this._defineUntouched,arg:e},modified:{fn:this._defineModified,arg:t},dirty:{fn:this._defineDirty,arg:t},pristine:{fn:this._definePristine,arg:e},errors:{fn:this._defineErrors,arg:t}},function(t,r){Object.defineProperty(e(),r,{enumerable:!0,configurable:!0,get:function(){return i(t.fn,n)(t.arg)}})})},t.prototype._runValidates=function(t,e){var n=Object.keys(this.validations).length,i=0;o(this.validations,function(r,o){t(r,o,function(){++i,i>=n&&e()})})},t.prototype._walkValidations=function(t,e,n){var i=this,r=k.Vue.util.hasOwn,s=n;return o(t,function(t,o){if(s!==!n&&r(i._scope,t.field)){var a=i._scope[t.field];a&&a[e]===!n&&(s=!n)}}),s},t.prototype._defineValid=function(t){return this._walkValidations(t(),"valid",!0)},t.prototype._defineInvalid=function(t){return!t().valid},t.prototype._defineTouched=function(t){return this._walkValidations(t(),"touched",!1)},t.prototype._defineUntouched=function(t){return!t().touched},t.prototype._defineModified=function(t){return this._walkValidations(t(),"modified",!1)},t.prototype._defineDirty=function(t){return this._walkValidations(t(),"dirty",!1)},t.prototype._definePristine=function(t){return!t().dirty},t.prototype._defineErrors=function(t){var e=this,n=k.Vue.util.hasOwn,i=k.Vue.util.isPlainObject,s=[];return o(t(),function(t,a){if(n(e._scope,t.field)){var l=e._scope[t.field];l&&!r(l.errors)&&o(l.errors,function(e,n){var r={field:t.field};i(e)?(e.validator&&(r.validator=e.validator),r.message=e.message):"string"==typeof e&&(r.message=e),s.push(r)})}}),r(s)?void 0:s.sort(function(t,e){return t.field<e.field?-1:1})},C.createClass(t,[{key:"validations",get:function(){var t=k.Vue.util.extend,e={};return t(e,this._validations),o(this._checkboxValidations,function(t,n){e[n]=t.validation}),o(this._radioValidations,function(t,n){e[n]=t.validation}),e}}]),t}();E.version="2.1.7","undefined"!=typeof window&&window.Vue&&window.Vue.use(E),t.exports=E},function(t,e,n){(function(t){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){o.default.config.debug=!0,o.default.use(a.default),o.default.mixin(d.default),o.default.mixin(A.default),o.default.use(f.default),o.default.use(m.default),o.default.use(b.default),o.default.use(v.default),o.default.use(W.default),o.default.use(_.default),o.default.use(ui.default),o.default.use(C.default),o.default.use(S.default),o.default.use(D.default),o.default.use($.default),o.default.use(M.default),o.default.use(P.default),o.default.use(H.default),t.Trans=c.default,o.default.component("app-base",K.default),o.default.component("busy",X.default),o.default.component("criteria",Z.default),o.default.component("criteria-paged",tt.default),o.default.component("data-grid",nt.default),o.default.component("grid-tree",rt.default),o.default.component("http-busy",st.default),o.default.component("list",lt.default),o.default.component("message-box",ut.default),o.default.component("pager",ht.default),o.default.component("tree",pt.default),o.default.component("route",gt.default),o.default.component("dynamic",yt.default),o.default.component("form-print",wt.default),o.default.component("report-print",xt.default),o.default.component("report-excel",Et.default),o.default.component("print-data",kt.default),o.default.component("print-table",Ft.default),o.default.component("print-element",Tt.default),o.default.component("print-file",Bt.default),o.default.component("report-save",Rt.default),o.default.component("load-params",Lt.default),o.default.component("export-excel",jt.default),o.default.component("export-excel-plus",It.default),o.default.component("export-excel-hand",Vt.default),o.default.component("file-upload",zt.default),o.default.component("data-table",Ut.default),o.default.component("criteria-sbutatol",Kt.default),o.default.component("chooser",Xt.default),o.default.component("select-menu",Zt.default),o.default.component("top-menu",te.default),o.default.component("print-form-cont",ne.default),o.default.component("img-self",re.default),o.default.component("img-area",se.default),o.default.component("left-icon",le.default),o.default.component("card-grid",ue.default),o.default.component("manage-params",he.default),o.default.component("entity-form",pe.default),o.default.component("partial-view",ge.default),o.default.component("v-input",ye.default),o.default.component("data-order",we.default),o.default.component("avatar-upload",xe.default),o.default.component("keyboard",Ee.default),o.default.component("text-editor",ke.default),o.default.component("case-container",Fe.default),o.default.component("timeline",Te.default),o.default.component("timeline-item",Be.default),o.default.component("tree-grid",Re.default),o.default.component("tree-grid-item",Le.default),o.default.component("sign",je.default),o.default.component("new-sign",Ie.default),o.default.component("ios-sign",wn.default),o.default.component("criteria-data",Ve.default),o.default.component("map",ze.default),o.default.component("listener",Ue.default),o.default.component("data-order-type",Ke.default),o.default.component("high-meter",Xe.default),o.default.component("high-meter-idcard",Ze.default),o.default.component("read-idcard",tn.default),o.default.component("search",nn.default),o.default.component("upload",on.default),o.default.component("upload-idcard",an.default),o.default.component("LTupload",cn.default),o.default.component("ApplyUpload",dn.default),o.default.component("criteria-data-track",gn.default),o.default.component("map-track",yn.default),o.default.component("time-out",Fn.default),o.default.component("tabset",Tn.default),o.default.component("tab",Bn.default),o.default.component("modal",Rn.default),o.default.component("v-select",Ln.default),o.default.component("input-select",jn.default),o.default.component("datepicker",In.default),o.default.component("typeahead",Vn.default),o.default.component("dropdown",zn.default),o.default.component("spinner",Un.default),o.default.component("aside",Kn.default),o.default.component("tooltip",Xn.default),o.default.component("popover",Zn.default),o.default.component("alert",ti.default),o.default.component("accordion",ri.default),o.default.component("panel",ni.default),o.default.component("carousel",li.default),o.default.component("slider",si.default),o.default.component("embbed-page",O.default),o.default.component("file-tree",N.default),o.default.component("log-search",fn.default),o.default.component("amap",xn.default),o.default.component("work-busy",En.default),o.default.component("gao-pai-yi",kn.default),o.default.component("lt-gao-pai-yi",hi.default),o.default.component("vue-json-editor",pi.default)};var r=n(1),o=i(r),s=n(620),a=i(s),l=n(95),c=i(l),u=n(162),d=i(u),h=n(89),f=i(h),p=n(88),m=i(p),g=n(46),v=i(g),y=n(161),b=i(y),w=n(163),A=i(w),x=n(160),_=i(x),E=n(85),C=i(E),k=n(90),S=i(k),F=n(157),D=i(F),T=n(155),$=i(T),B=n(156),M=i(B),R=n(158),P=i(R),L=n(561),O=i(L),j=n(566),N=i(j),I=n(159),H=i(I),V=n(145),W=i(V),z=n(169),q=(i(z),n(148)),U=(i(q),n(149)),G=(i(U),n(546)),K=i(G),Y=n(125),X=i(Y),J=n(79),Z=i(J),Q=n(554),tt=i(Q),et=n(556),nt=i(et),it=n(570),rt=i(it),ot=n(126),st=i(ot),at=n(582),lt=i(at),ct=n(128),ut=i(ct),dt=n(129),ht=i(dt),ft=n(606),pt=i(ft),mt=n(598),gt=i(mt),vt=n(560),yt=i(vt),bt=n(568),wt=i(bt),At=n(596),xt=i(At),_t=n(595),Et=i(_t),Ct=n(589),kt=i(Ct),St=n(593),Ft=i(St),Dt=n(590),Tt=i(Dt),$t=n(591),Bt=i($t),Mt=n(597),Rt=i(Mt),Pt=n(584),Lt=i(Pt),Ot=n(563),jt=i(Ot),Nt=n(565),It=i(Nt),Ht=n(564),Vt=i(Ht),Wt=n(567),zt=i(Wt),qt=n(559),Ut=i(qt),Gt=n(555),Kt=i(Gt),Yt=n(551),Xt=i(Yt),Jt=n(600),Zt=i(Jt),Qt=n(605),te=i(Qt),ee=n(592),ne=i(ee),ie=n(574),re=i(ie),oe=n(573),se=i(oe),ae=n(581),le=i(ae),ce=n(549),ue=i(ce),de=n(586),he=i(de),fe=n(562),pe=i(fe),me=n(588),ge=i(me),ve=n(575),ye=i(ve),be=n(557),we=i(be),Ae=n(548),xe=i(Ae),_e=n(578),Ee=i(_e),Ce=n(602),ke=i(Ce),Se=n(550),Fe=i(Se),De=n(603),Te=i(De),$e=n(604),Be=i($e),Me=n(130),Re=i(Me),Pe=n(131),Le=i(Pe),Oe=n(601),je=i(Oe),Ne=n(587),Ie=i(Ne),He=n(552),Ve=i(He),We=n(127),ze=i(We),qe=n(583),Ue=i(qe),Ge=n(558),Ke=i(Ge),Ye=n(571),Xe=i(Ye),Je=n(572),Ze=i(Je),Qe=n(594),tn=i(Qe),en=n(599),nn=i(en),rn=n(607),on=i(rn),sn=n(608),an=i(sn),ln=n(580),cn=i(ln),un=n(547),dn=i(un),hn=n(585),fn=i(hn),pn=n(576),mn=(i(pn),n(553)),gn=i(mn),vn=n(127),yn=i(vn),bn=n(577),wn=i(bn),An=n(543),xn=i(An),_n=n(609),En=i(_n),Cn=n(569),kn=i(Cn),Sn=n(542),Fn=i(Sn),Dn=n(142),Tn=i(Dn),$n=n(141),Bn=i($n),Mn=n(80),Rn=i(Mn),Pn=n(81),Ln=i(Pn),On=n(612),jn=i(On),Nn=n(135),In=i(Nn),Hn=n(144),Vn=i(Hn),Wn=n(136),zn=i(Wn),qn=n(140),Un=i(qn),Gn=n(133),Kn=i(Gn),Yn=n(143),Xn=i(Yn),Jn=n(138),Zn=i(Jn),Qn=n(57),ti=i(Qn),ei=n(137),ni=i(ei),ii=n(132),ri=i(ii),oi=n(139),si=i(oi),ai=n(134),li=i(ai),ci=n(58),ui=i(ci),di=n(579),hi=i(di),fi=n(610),pi=i(fi);o.default.mmType=o.default.prototype.mmType="",o.default.mm=o.default.prototype.mm="OXuYieBb4eoIne^K",n(437),o.default.prototype.$server_url_str=""}).call(e,function(){return this}())},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={yearSelects:["2020","2021","2022","2023","2024","2025","2026","2027","2028","2029","2030"],monthSelects:["1","2","3","4","5","6","7","8","9","10","11","12"]}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function showTitle(t,e){var n=getPopover(),i=n.style;if(void 0===e)i.display="none";else{var r=t.getBoundingClientRect(),o=window.getComputedStyle(t,null),s=parseInt(o.getPropertyValue("padding-right"))||0,a=parseInt(o.getPropertyValue("padding-top"))||0;i.visibility="hidden",i.display="block",console.log(n,"测试");for(var l=e.toString().split("*"),c="",u=0;u<l.length;u++)u%2==1?c=c+'<span style="color: red">'+l[u]+"</span>":c+=l[u];console.log(r,"asfda"),console.log(o,"asfd1a"),n.querySelector(".popover-content").innerHTML=c,i.left=r.left-n.offsetWidth/2+(t.offsetWidth-s)/2+"px",r.top>800?(n.className.indexOf("top")<0&&(n.className=n.className+" top"),i.top=r.top-n.offsetHeight+a+"px"):(n.className.indexOf("bottom")<0&&(n.className=n.className+" bottom"),i.top=r.top+r.height+"px"),console.log(n.className),i.display="block",i.visibility="visible",i.height="auto"}}function getPopover(){var t=document.querySelector(".title-popover");if(!t){var e='\n <div class="popover title-popover fade in" style="position:fixed;">\n <div class="arrow"></div>\n <div class="popover-content"></div>\n </div>\n ',n=document.createRange().createContextualFragment(e);document.body.appendChild(n),t=document.querySelector(".title-popover")}return t}var _typeof2=__webpack_require__(26),_typeof3=_interopRequireDefault(_typeof2),_vue=__webpack_require__(1),_vue2=_interopRequireDefault(_vue);_vue2.default.directive("filter",{twoWay:!0,bind:function(){this.handler=function(){var t=new RegExp(/[ ,\`,\~,\!,\@,\#,\$,\%,\^,\+,\*,\¥,\&,\\,\/,\?,\|,\:,\.,\<,\>,\{,\},\(,\),\',\;,\=,\"]/);this.el.value=this.el.value.replace(t,""),this.set(this.el.value)}.bind(this),this.el.addEventListener("input",this.handler)},unbind:function(){this.el.removeEventListener("input",this.handler)}}),_vue2.default.directive("numfilter",{twoWay:!0,bind:function(){this.handler=function(){this.el.value=this.el.value.replace(/[^\d]/g,""),this.set(this.el.value)}.bind(this),this.el.addEventListener("input",this.handler)},unbind:function(){this.el.removeEventListener("input",this.handler)}}),_vue2.default.directive("next-el",{bind:function(){},update:function(t){this.handler=function(){var e=null;e=t?document.getElementById(t.id):this.vm.$els[this.expression],e&&e.focus()}.bind(this),this.el.addEventListener("keyup",function(t){13===t.keyCode&&this.handler()}.bind(this))},unbind:function(){this.el.removeEventListener("keyup",this.handler)}}),_vue2.default.directive("scale",{twoWay:!0,update:function update(value){var fixed=2,val=value,strs=this.expression;"object"===("undefined"==typeof value?"undefined":(0,_typeof3.default)(value))&&(val=value[0],fixed=value[1]||2,strs=this.expression.substring(1,this.expression.length-1).split(",")[0]),val&&val.toString().split(".")[1]&&val.toString().split(".")[1].length+1>fixed&&(this.el.value=(val-0).toFixed(fixed),eval("this.vm."+strs+" = "+this.el.value))}}),_vue2.default.directive("focus",{bind:function(){this.el.focus()}}),_vue2.default.directive("title",{bind:function(){var t=this,e=["mouseenter","mouseleave","click"];console.log(this,"dasd");var n=function(e){"mouseenter"===e.type?showTitle(t.el,t.expression):showTitle()};e.forEach(function(e){t.el.addEventListener(e,n,!1)}),this.el.destroy=function(){e.forEach(function(e){t.el.removeEventListener(e,n,!1)}),t.el.destroy=null}}})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var r=n(1),o=i(r);o.default.filter("findBy",function(t,e){if(null===e)return t;e=e.replace(/%/g,".*");var n=t.filter(function(t){var n=new RegExp(e,"i");return n.test(t.label)});return n})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),o=i(r),s=n(15),a=i(s),l=function(){function t(e){(0,o.default)(this,t),this.switchCheckAll=!1,this.checkAll=!1,this.checkes=[],this.columnName="",e&&(this.switchCheckAll=e)}return(0,a.default)(t,[{key:"setCheckAll",value:function(){this.checkAll=!this.checkAll,this.checkes=[]}},{key:"setCheckes",value:function(t){var e=this.checkes.indexOf(t);e<0?this.checkes.push(t):this.checkes.splice(e,1)}},{key:"isChecked",value:function(t){return this.checkAll?this.checkes.indexOf(t)==-1:this.checkes.indexOf(t)!=-1}}]),t}();e.default=l},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(6),a=i(s),l=n(24),c=i(l),u=n(8),d=i(u),h=n(14),f=i(h),p=n(15),m=i(p),g=n(12),v=i(g),y=function(){function t(){(0,f.default)(this,t),this.data=[],this.count=0,this.pagesize=20,this.pageindex=1,this.http=new v.default,this.condition="",this.path="",this.datas={},this.loadMoreState=!0}return(0,m.default)(t,[{key:"loadData",value:function(){function t(t,n,i,r){return e.apply(this,arguments)}var e=(0,d.default)(o.default.mark(function t(e,n,i,r){var s,l;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.data=[],this.pageindex=1,this.condition=n,this.path=e,this.datas=(0,c.default)({},{condition:this.condition},i,r),console.log((0,a.default)(this.datas)),t.next=8,this.http.load("POST",e+"/n",{data:this.datas},{resolveMsg:null,rejectMsg:null});case 8:return s=t.sent,this.count=s.data.n,t.next=12,this.http.load("POST",e+"?pageNo="+this.pageindex+"&pageSize="+this.pagesize,{data:this.datas},{resolveMsg:null,rejectMsg:null});case 12:l=t.sent,this.data=l.data,this.loadMoreState=this.count>this.data.length;case 15:case"end":return t.stop()}},t,this)}));return t}()},{key:"loadMore",value:function(){function t(){return e.apply(this,arguments)}var e=(0,d.default)(o.default.mark(function t(){var e;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.pageindex+=1,this.datas.checkes=(0,a.default)(this.datas.checkes),t.next=4,this.http.load("POST",this.path+"?pageNo="+this.pageindex+"&pageSize="+this.pagesize,{data:this.datas},{resolveMsg:null,rejectMsg:null});case 4:e=t.sent,this.data=this.data.concat(e.data),this.loadMoreState=this.count>this.data.length;case 7:case"end":return t.stop()}},t,this)}));return t}()}]),t}();e.default=y},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),o=i(r),s=n(15),a=i(s),l=function(){function t(){(0,o.default)(this,t),this.model={}}return(0,a.default)(t,[{key:"setField",value:function(t,e){this.model[t]=e}},{key:"search",value:function(t){var e="";for(var n in this.model)try{this.model[n]&&t[n]&&(e+=e?" and "+t[n].replace(/{}/g,this.model[n]):t[n].replace(/{}/g,this.model[n]))}catch(t){throw t.message+=", 属性名:"+n,t}return e?e:"1 = 1 "}},{key:"getModels",value:function(t){var e=this,n={};return t.reduce(function(t,i){e.model[i]&&(n[i]=e.model[i])},0),n}}]),t}();e.default=l},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(14),c=i(l),u=n(15),d=i(u),h=n(151),f=i(h),p=n(152),m=i(p),g=n(150),v=i(g),y=function(){function t(e){(0,c.default)(this,t),this.search=new m.default,this.list=new f.default,this.check=new v.default(e)}return(0,d.default)(t,[{key:"searchList",value:function(){function t(t,n,i){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e,n,i){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.list.loadData(e,this.search.search(n),i,this.check);case 2:case"end":return t.stop()}},t,this)}));return t}()}]),t}();e.default=y},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=i(r),s={install:function(t,e){t.showBatchAlert=t.prototype.$showBatchAlert=function(t,e,n){s.msg=t,s.type=e,s.duration=n,s.show=!0},t.closeAlert=t.prototype.$closeBatchAlert=function(){s.show=!1}}};o.default.set(s,"show",!1),o.default.set(s,"msg",""),o.default.set(s,"type",""),o.default.set(s,"duration",0),e.default=s},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),o=i(r);e.default={install:function(t,e){t.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e){for(var n=0,i=e.length;n<i;n++){var r=e[n].call(this);"ready"===t&&r&&r instanceof o.default&&this._preLoadAsyncReady(r)}this._processAsyncReady()}this.$emit("hook:"+t)},t.prototype._preLoadAsyncReady=function(t){for(var e=this;e;)e._promises||(e._promises=[]),e._promises.push(t),e=e.$parent},t.prototype._processAsyncReady=function(){var t=this;if(this._promises)return o.default.all(this._promises).then(function(){t._promises=[],t.$emit("ready")}).catch(function(e){t._promises=[],t.$emit("error",e)})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(24),a=i(s),l=n(8),c=i(l),u=n(1),d=(i(u),function(){var t=(0,c.default)(o.default.mark(function t(e,n){var i;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$resetget("/rs/vue/"+n+".json",{resolveMsg:null,rejectMsg:null});case 3:i=t.sent,(0,a.default)(e.config,i.data),t.next=11;break;case 7:if(t.prev=7,t.t0=t.catch(0),704===t.t0.status){t.next=11;break}throw t.t0;case 11:case"end":return t.stop()}},t,this,[[0,7]])}));return function(e,n){return t.apply(this,arguments)}}());e.default={install:function(t,e){t.getConfig=t.prototype.$getConfig=function(t,e){return d(t,e)}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={install:function(t){t.cookie=t.prototype.$cookie={set:function(t,e){document.cookie=t+"="+e}}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(7),a=i(s),l=n(8),c=i(l),u=n(1),d=i(u),h=n(58),f=i(h);e.default={install:function(t,e){t.eventBack=t.prototype.$eventBack=function(t){return p(t)}}};var p=function(){var t=(0,c.default)(o.default.mark(function t(e){var n,i,r,s,l;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:f.default.allowGadgets(["EventBack"]),n=!0,i=0;case 3:if(!(i<e.length)){t.next=16;break}if(r=e[i].doAction(),!(r instanceof a.default)){t.next=10;break}return d.default.console.log("ret is promise","EventBack"),t.next=9,r;case 9:r=t.sent;case 10:if(r){t.next=13;break}return n=!1,t.abrupt("break",16);case 13:i++,t.next=3;break;case 16:if(!n){t.next=26;break}s=0;case 18:if(!(s<i)){t.next=24;break}return t.next=21,e[s].commit();case 21:s++,t.next=18;break;case 24:t.next=33;break;case 26:l=0;case 27:if(!(l<i)){t.next=33;break}return t.next=30,e[l].rollback();case 30:l++,t.next=27;break;case 33:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);i(r);e.default={install:function(t,e){t.prototype.$launchFullscreen=function(t){return this.$isFullscreen()?void this.$exitFullscreen():(t=document.getElementById(t),void(t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()))},t.prototype.$isFullscreen=function(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)},t.prototype.$exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(16),a=i(s),l=n(26),c=i(l),u=n(91),d=i(u),h={install:function(t,e){t.getParams=t.prototype.$getParams=function(t,e){var n=[];if("string"==typeof e&&n.push({label:e,value:e}),"object"===("undefined"==typeof e?"undefined":(0,c.default)(e))){var i=!0,r=!1,s=void 0;try{for(var l,u=(0,a.default)(e);!(i=(l=u.next()).done);i=!0){var h=l.value;h instanceof Object?n.push(h):n.push({label:h,value:h})}}catch(t){r=!0,s=t}finally{try{!i&&u.return&&u.return()}finally{if(r)throw s}}}var f=!0,p=!1,m=void 0;try{for(var g,v=(0,a.default)(d.default.data);!(f=(g=v.next()).done);f=!0){var y=g.value;y.value===t&&n.push({label:y.label,value:y.label})}}catch(t){p=!0,m=t}finally{try{!f&&v.return&&v.return()}finally{if(p)throw m}}return console.log((0,o.default)(n)),n},t.getContent=t.prototype.$getContent=function(t,e){var n=[];if(e){var i=!0,r=!1,o=void 0;try{for(var s,l=(0,a.default)(e);!(i=(s=l.next()).done);i=!0){var c=s.value;n.push(c)}}catch(t){r=!0,o=t}finally{try{!i&&l.return&&l.return()}finally{if(r)throw o}}}var u=!0,h=!1,f=void 0;try{for(var p,m=(0,a.default)(d.default.data.data);!(u=(p=m.next()).done);u=!0){var g=p.value;g.value===t&&n.push(g.label)}}catch(t){h=!0,f=t}finally{try{!u&&m.return&&m.return()}finally{if(h)throw f}}return console.log(n),n}}};e.default=h},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(7),a=i(s),l=n(2),c=i(l),u=n(1),d=i(u),h=n(5),f=i(h),p=c.default.mark(function t(e,n,i,r){var o;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,m.http(e,n,i);case 3:return o=t.sent,r.busy=!1,m.successNum++,d.default.showBatchAlert("批量操作成功","success",2e3),t.abrupt("return",o);case 10:throw t.prev=10,t.t0=t.catch(0),r.busy=!1,m.failedNum++,d.default.showBatchAlert("错误状态:"+t.t0.status+",错误内容:"+t.t0.data,"danger",0),t.t0;case 16:case"end":return t.stop()}},t,this,[[0,10]])}),m={successNum:0,failedNum:0,https:[],install:function(t,e){t.batchpost=t.prototype.$batchpost=function(e,n){t.console.info("post:"+e,"HttpBatch");var i=p("POST",e,n,this);return(0,f.default)(i)}},httpEnd:function(){if(this.https.length>0){var t=this.https.splice(0,1)[0];this.http(t.method,t.url,t.body).then(function(e){return t.resolve(e)}).catch(function(e){return t.reject(e)})}},http:function(t,e,n){var i=this;return new a.default(function(r,s){if(i.busy===!1){i.busy=!0,d.default.showBatchAlert("批量操作中,请耐心等待...","info",0),n||(n={});var a=i,l=new XMLHttpRequest;l.onreadystatechange=function(){4===l.readyState&&(l.status>=200&&l.status<300||304===l.status?(a.httpEnd(),r(l.responseText)):(a.httpEnd(),s(l.statusText)))},l.open(t,e,!0),l.send((0,o.default)(n))}else d.default.console.info("put:"+(0,o.default)(n),"HttpBatch"),i.https.push({method:t,url:e,body:n,resolve:r,reject:s})})}};d.default.set(m,"busy",!1),e.default=m},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(78),o=i(r);e.default={beforeCompile:function(){var t=this,e={};(0,o.default)("> [partial]",this.$options._content).each(function(n,i){var r=i.getAttribute("partial");if(r||(r="default"),"partial"===i.tagName.toLowerCase()){var o=i.getAttribute("name");e[r]=t.$parent.$options.partials[o]}else e[r]=i}),(0,o.default)("partial",this.$options.template).each(function(n,i){var r=i.getAttribute("name");e[r]?t.$options.partials[r]=e[r]:t.$parent&&t.$parent.$options.partials&&t.$parent.$options.partials[r]?t.$options.partials[r]=t.$parent.$options.partials[r]:t.$options.partials[r]=i.innerHTML}),(0,o.default)("[a-partial]",this.$el).each(function(n,i){var r=i.getAttribute("a-partial");if(e[r]){var o=e[r].innerHTML;i.innerHTML+=o}else t.$parent&&t.$parent.$options.partials&&t.$parent.$options.partials[r]&&(i.innerHTML+=t.$parent.$options.partials[r].innerHTML)})},created:function(){if(this.$parent)for(var t in this.$parent.$options.components)this.$options.components[t]=this.$parent.$options.components[t]}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(24),o=i(r),s=n(1),a=i(s);e.default={activate:function(t){if(this.$parent&&"route"===this.$parent.$options.name){var e=this.$options.title;this.$parent.setTitle(e);var n=this.$parent.top().props;(0,o.default)(this,n)}t()},methods:{$goto:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"self",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if("self"===n||"tab"===n)this.$dispatch("route",t,e,n,i);else{var r=a.default.routes[n];r.init(t,e)}},$back:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.$dispatch("back",t)},$removeTab:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"self",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.$dispatch("remove-tab",t,e,n,i)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),o=i(r),s=n(15),a=i(s),l=n(2),c=i(l),u=n(6),d=i(u),h=n(5),f=i(h),p=n(12),m=i(p),g=c.default.mark(function t(e,n){var i;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=1;case 1:if(!(i<=n.length)){t.next=13;break}return t.prev=2,t.next=5,e.http.load("POST",n[i].path,n[i].param,{resolveMsg:null,rejectMsg:null});case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(2),this.$showMessage("执行"+n[i].path+"失败,失败原因:"+(0,d.default)(t.t0));case 10:i++,t.next=1;break;case 13:case"end":return t.stop()}},t,this,[[2,7]])}),v=function(){function t(){(0,o.default)(this,t);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];this.services=n,this.http=new m.default}return(0,a.default)(t,[{key:"save",value:function(){var t=g(this,this.services);(0,f.default)(t)}}]),t}();e.default=v},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var _classCallCheck2=__webpack_require__(14),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=__webpack_require__(15),_createClass3=_interopRequireDefault(_createClass2),_vue=__webpack_require__(1),_vue2=_interopRequireDefault(_vue),DataModel=function(){function DataModel(t,e){(0,_classCallCheck3.default)(this,DataModel),this.url=t,e&&(this.paramSource=e),this.params={},this.state="初始",this.error="请输入条件, 进行查询",this.condition=null,this.model=null,this.data=null}return(0,_createClass3.default)(DataModel,[{key:"search",value:function(t,e){var n=this;return this.condition=t,this.model=e,this.state="查询",this.procParams(),_vue2.default.resetpost(""+this.url,{data:this.params},{resolveMsg:null,rejectMsg:null}).then(function(t){n.state="正确",n.data=t.data}).catch(function(){n.state="错误",n.error="提取数据出错,请重试"})}},{key:"procParams",value:function procParams(){if(this.params.condition=this.condition,this.paramSource)for(var name in this.paramSource){var val=eval(this.paramSource[name]);this.params[name]=val}}}]),DataModel}();exports.default=DataModel},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var _classCallCheck2=__webpack_require__(14),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=__webpack_require__(15),_createClass3=_interopRequireDefault(_createClass2),_regenerator=__webpack_require__(2),_regenerator2=_interopRequireDefault(_regenerator),_stringify=__webpack_require__(6),_stringify2=_interopRequireDefault(_stringify),_vue=__webpack_require__(1),_vue2=_interopRequireDefault(_vue),_co=__webpack_require__(5),_co2=_interopRequireDefault(_co),_HttpResetClass=__webpack_require__(12),_HttpResetClass2=_interopRequireDefault(_HttpResetClass),postGen=_regenerator2.default.mark(function t(e,n){return _regenerator2.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.seaching=!0,t.next=3,e.http.load("POST",e.url+"?pageNo="+n+"&pageSize="+e.pageSize,{data:e.params},{aoteEncrypt:e.aoteEncrypt,encryKey:e.encryKey,resolveMsg:null,rejectMsg:null}).then(function(t){if(e.state="正确",e.rows=t.data,1==e.isBlank){var i=t.data.length%e.pageSize;if(n==e.totalPage)for(var r=1;r<=e.pageSize-i;r++)e.rows.push({isNuN:"true"})}e.pageIndex=n,e.seaching=!1}).catch(function(t){throw e.seaching=!1,e.state="错误",e.error=(0,_stringify2.default)(t),t});case 3:case"end":return t.stop()}},t,this)}),PagedList=function(){function PagedList(t,e,n,i,r,o,s,a){if((0,_classCallCheck3.default)(this,PagedList),this.seaching=!1,this.url=t,this.pageSize=e,this.pageIndex=0,this.isBlank=r,this.aoteEncrypt=s?s:_vue2.default.mmType,this.encryKey=a?a:_vue2.default.mm,o&&(this.comp=o),n&&(this.paramSource=n),this.params={},this.sums=i,this.count=0,this.totalPage=0,this.rows=[],this.state="初始",this.error="请输入条件, 进行查询",this.condition=null,this.model=null,this.condValue=null,this.http=new _HttpResetClass2.default,1==r)for(var l=1;l<=e;l++)this.rows.push({isNuN:"true"})}return(0,_createClass3.default)(PagedList,[{key:"search",value:function(t,e,n){var i=this;if(this.condition=t,this.model=e,this.condValue=n,this.state="查询",this.procParams(),this.seaching=!0,this.sums){var r=[];for(var o in this.sums){r.push(o);var s={data:this.params,sums:r}}}else s={data:this.params};return this.http.load("POST",this.url+"/n",s,{resolveMsg:null,rejectMsg:null,aoteEncrypt:this.aoteEncrypt,encryKey:this.encryKey}).then(function(t){if(i.seaching=!1,0===t.data.n)return i.state="错误",i.error="没有符合条件的记录",void(i.rows=[]);i.state="正确",i.count=t.data.n;for(var e in i.sums)i.sums[e]=t.data[e];return i.totalPage=Math.ceil(i.count/i.pageSize),i.loadPage(1)}).catch(function(t){i.seaching=!1,603!==t.status&&(i.state="错误",i.error="提取数据出错,错误码: "+t.status+", 错误信息:"+t.data+",组件:"+i.comp)})}},{key:"refresh",value:function(){this.search(this.condition,this.model,this.condValue)}},{key:"loadPage",value:function(t){this.state="查询";var e=postGen(this,t),n=(0,_co2.default)(e);return n}},{key:"procParams",value:function procParams(){if(this.params.condition=this.condition,this.condValue&&(this.params.condValue=this.condValue),this.paramSource)for(var name in this.paramSource)this.params[name]=eval(this.paramSource[name])}},{key:"remove",value:function(t,e){var n=this;_vue2.default.delete(t,e).then(function(){
|
|
44
|
-
n.refresh()})}}]),PagedList}();exports.default=PagedList},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),o=i(r),s=n(1),a=i(s),l=0,c=function(){var t=document.createElement("div");return t.id="app"+ ++l,document.body.appendChild(t),t};e.default={createTest:function(t,e){var n=a.default.extend(t),i=c(),r=new n({el:i,propsData:e});return r},createAsyncTest:function(t,e){var n=this;return new o.default(function(i,r){var o=n.createTest(t,e);o.$on("ready",function(){i(o)}),o.$on("error",function(t){r(t)})})},destroyVM:function(t){t.$destroy&&t.$destroy(),t.$el&&t.$el.parentNode&&t.$el.parentNode.removeChild(t.$el)},triggerEvent:function(t,e){var n=void 0;n=/^mouse|click/.test(e)?"MouseEvents":/^key/.test(e)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];return i.initEvent.apply(i,[e].concat(o)),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent("on"+e,i),t}}},function(t,e,n){(function(t){"use strict";function n(t,e){var n=52.35987755982988,i=t-.0065,r=e-.006,o=Math.sqrt(i*i+r*r)-2e-5*Math.sin(r*n),s=Math.atan2(r,i)-3e-6*Math.cos(i*n),a=o*Math.cos(s),l=o*Math.sin(s);return[a,l]}function i(t,e){var n=Math.sqrt(t*t+e*e)+2e-5*Math.sin(e*c),i=Math.atan2(e,t)+3e-6*Math.cos(t*c),r=n*Math.cos(i)+.0065,o=n*Math.sin(i)+.006;return[r,o]}function r(t,e){if(l(t,e))return[t,e];var n=s(t-105,e-35),i=a(t-105,e-35),r=e/180*u,o=Math.sin(r);o=1-h*o*o;var c=Math.sqrt(o);n=180*n/(d*(1-h)/(o*c)*u),i=180*i/(d/c*Math.cos(r)*u);var f=e+n,p=t+i;return[p,f]}function o(t,e){if(l(t,e))return[t,e];var n=s(t-105,e-35),i=a(t-105,e-35),r=e/180*u,o=Math.sin(r);o=1-h*o*o;var c=Math.sqrt(o);return n=180*n/(d*(1-h)/(o*c)*u),i=180*i/(d/c*Math.cos(r)*u),mglat=e+n,mglng=t+i,[2*t-mglng,2*e-mglat]}function s(t,e){var n=-100+2*t+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*u)+20*Math.sin(2*t*u))/3,n+=2*(20*Math.sin(e*u)+40*Math.sin(e/3*u))/3,n+=2*(160*Math.sin(e/12*u)+320*Math.sin(e*u/30))/3}function a(t,e){var n=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*u)+20*Math.sin(2*t*u))/3,n+=2*(20*Math.sin(t*u)+40*Math.sin(t/3*u))/3,n+=2*(150*Math.sin(t/12*u)+300*Math.sin(t/30*u))/3}function l(t,e){return t<72.004||t>137.8347||e<.8293||e>55.8271||!1}Object.defineProperty(e,"__esModule",{value:!0}),e.bd09togcj02=n,e.gcj02tobd09=i,e.wgs84togcj02=r,e.gcj02towgs84=o,e.transformlat=s,e.transformlng=a,e.out_of_china=l;var c=52.35987755982988,u=3.141592653589793,d=6378245,h=.006693421622965943;t.export=r}).call(e,n(97)(t))},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var _vue=__webpack_require__(1),_vue2=_interopRequireDefault(_vue),_vueValidator=__webpack_require__(145),_vueValidator2=_interopRequireDefault(_vueValidator);_vue2.default.use(_vueValidator2.default),_vue2.default.validator("telphoneValid",function(t){return/^1\d{10}$/.test(t)}),_vue2.default.validator("passwordValid",function(t){return/^[a-zA-Z0-9_]{6,18}$/.test(t)}),_vue2.default.validator("equalValid",function(t,e){return t===e}),_vue2.default.validator("validValid",function(t){return/^\d{4}$/.test(t)}),_vue2.default.validator("cardValid",function(t){return/^\d{10}$/.test(t)}),_vue2.default.validator("allowValid",function(t,e){return t>0&&t<=e}),_vue2.default.validator("downValid",function(t,e){return t>0&&t>=e}),_vue2.default.validator("integernum",function(t){return/^[0-9]*[1-9][0-9]*$/.test(t)}),_vue2.default.validator("emailValid",function(t){return/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(t)}),_vue2.default.validator("identityCardValid",function(t){return/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(t)}),_vue2.default.validator("equalNum",function(t,e,n,i){return t>e}),_vue2.default.validator("regularCheck",function(t,e){return e.test(t)}),_vue2.default.validator("dctest",function(val,val2){return!(!val||!val2)&&(val+="",eval(""+(val-0)+val2[1]+(val2[0]-0)))})},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(module){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var _isExtensible=__webpack_require__(283),_isExtensible2=_interopRequireDefault(_isExtensible),_isFrozen=__webpack_require__(284),_isFrozen2=_interopRequireDefault(_isFrozen),_isSealed=__webpack_require__(285),_isSealed2=_interopRequireDefault(_isSealed),_preventExtensions=__webpack_require__(286),_preventExtensions2=_interopRequireDefault(_preventExtensions),_freeze=__webpack_require__(280),_freeze2=_interopRequireDefault(_freeze),_seal=__webpack_require__(287),_seal2=_interopRequireDefault(_seal),_defineProperty=__webpack_require__(49),_defineProperty2=_interopRequireDefault(_defineProperty),_defineProperties=__webpack_require__(279),_defineProperties2=_interopRequireDefault(_defineProperties),_getOwnPropertyNames=__webpack_require__(98),_getOwnPropertyNames2=_interopRequireDefault(_getOwnPropertyNames),_getOwnPropertyDescriptor=__webpack_require__(281),_getOwnPropertyDescriptor2=_interopRequireDefault(_getOwnPropertyDescriptor),_getPrototypeOf=__webpack_require__(282),_getPrototypeOf2=_interopRequireDefault(_getPrototypeOf),_create=__webpack_require__(278),_create2=_interopRequireDefault(_create),_promise=__webpack_require__(7),_promise2=_interopRequireDefault(_promise),_stringify=__webpack_require__(6),_stringify2=_interopRequireDefault(_stringify),_keys=__webpack_require__(38),_keys2=_interopRequireDefault(_keys),_typeof2=__webpack_require__(26),_typeof3=_interopRequireDefault(_typeof2);/*!
|
|
45
|
-
* jsoneditor.js
|
|
46
|
-
*
|
|
47
|
-
* @brief
|
|
48
|
-
* JSONEditor is a web-based tool to view, edit, format, and validate JSON.
|
|
49
|
-
* It has various modes such as a tree editor, a code editor, and a plain text
|
|
50
|
-
* editor.
|
|
51
|
-
*
|
|
52
|
-
* Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 8+
|
|
53
|
-
*
|
|
54
|
-
* @license
|
|
55
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
56
|
-
* use this file except in compliance with the License. You may obtain a copy
|
|
57
|
-
* of the License at
|
|
58
|
-
*
|
|
59
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
60
|
-
*
|
|
61
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
62
|
-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
63
|
-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
64
|
-
* License for the specific language governing permissions and limitations under
|
|
65
|
-
* the License.
|
|
66
|
-
*
|
|
67
|
-
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
|
68
|
-
*
|
|
69
|
-
* @author Jos de Jong, <wjosdejong@gmail.com>
|
|
70
|
-
* @version 5.5.11
|
|
71
|
-
* @date 2017-01-06
|
|
72
|
-
*/
|
|
73
|
-
!function(t,e){"object"===(0,_typeof3.default)(exports)&&"object"===(0,_typeof3.default)(module)?module.exports=e():(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=e,__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}(void 0,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){function i(t,e,n){if(!(this instanceof i))throw new Error('JSONEditor constructor called without "new".');var r=a.getInternetExplorerVersion();if(r!=-1&&r<9)throw new Error("Unsupported browser, IE9 or newer required. Please install the newest version of your browser.");if(e&&(e.error&&(console.warn('Option "error" has been renamed to "onError"'),e.onError=e.error,delete e.error),e.change&&(console.warn('Option "change" has been renamed to "onChange"'),e.onChange=e.change,delete e.change),e.editable&&(console.warn('Option "editable" has been renamed to "onEditable"'),e.onEditable=e.editable,delete e.editable),e)){var o=["ace","theme","ajv","schema","onChange","onEditable","onError","onModeChange","escapeUnicode","history","search","mode","modes","name","indentation","sortObjectKeys"];(0,_keys2.default)(e).forEach(function(t){o.indexOf(t)===-1&&console.warn('Unknown option "'+t+'". This option will be ignored')})}arguments.length&&this._create(t,e,n)}var r;try{r=n(1)}catch(t){}var o=n(51),s=n(62),a=n(54);i.modes={},i.prototype.DEBOUNCE_INTERVAL=150,i.prototype._create=function(t,e,n){this.container=t,this.options=e||{},this.json=n||{};var i=this.options.mode||"tree";this.setMode(i)},i.prototype.destroy=function(){},i.prototype.set=function(t){this.json=t},i.prototype.get=function(){return this.json},i.prototype.setText=function(t){this.json=a.parse(t)},i.prototype.getText=function(){return(0,_stringify2.default)(this.json)},i.prototype.setName=function(t){this.options||(this.options={}),this.options.name=t},i.prototype.getName=function(){return this.options&&this.options.name},i.prototype.setMode=function(t){var e,n,r=this.container,o=a.extend({},this.options),s=o.mode;o.mode=t;var l=i.modes[t];if(!l)throw new Error('Unknown mode "'+o.mode+'"');try{var c="text"==l.data;if(n=this.getName(),e=this[c?"getText":"get"](),this.destroy(),a.clear(this),a.extend(this,l.mixin),this.create(r,o),this.setName(n),this[c?"setText":"set"](e),"function"==typeof l.load)try{l.load.call(this)}catch(t){console.error(t)}if("function"==typeof o.onModeChange&&t!==s)try{o.onModeChange(t,s)}catch(t){console.error(t)}}catch(t){this._onError(t)}},i.prototype.getMode=function(){return this.options.mode},i.prototype._onError=function(t){if(!this.options||"function"!=typeof this.options.onError)throw t;this.options.onError(t)},i.prototype.setSchema=function(t){if(t){var e;try{e=this.options.ajv||r({allErrors:!0,verbose:!0})}catch(t){console.warn("Failed to create an instance of Ajv, JSON Schema validation is not available. Please use a JSONEditor bundle including Ajv, or pass an instance of Ajv as via the configuration option `ajv`.")}e&&(this.validateSchema=e.compile(t),this.options.schema=t,this.validate()),this.refresh()}else this.validateSchema=null,this.options.schema=null,this.validate(),this.refresh()},i.prototype.validate=function(){},i.prototype.refresh=function(){},i.registerMode=function(t){var e,n;if(a.isArray(t))for(e=0;e<t.length;e++)i.registerMode(t[e]);else{if(!("mode"in t))throw new Error('Property "mode" missing');if(!("mixin"in t))throw new Error('Property "mixin" missing');if(!("data"in t))throw new Error('Property "data" missing');var r=t.mode;if(r in i.modes)throw new Error('Mode "'+r+'" already registered');if("function"!=typeof t.mixin.create)throw new Error('Required function "create" missing on mixin');var o=["setMode","registerMode","modes"];for(e=0;e<o.length;e++)if(n=o[e],n in t.mixin)throw new Error('Reserved property "'+n+'" not allowed in mixin');i.modes[r]=t}},i.registerMode(o),i.registerMode(s),t.exports=i},function(t,e,n){function i(t){return v.test(t)}function r(t){function e(t,e){var n;if("string"==typeof t){if(n=E(t),!n)throw new Error('no schema with key or ref "'+t+'"')}else{var i=F(t);n=i.validate||D(i)}var r=n(e);return n.async?"*"==L._opts.async?m(r):r:(L.errors=n.errors,r)}function b(t){var e=F(t);return e.validate||D(e)}function w(t,e,n,i){if(Array.isArray(t))for(var r=0;r<t.length;r++)w(t[r],void 0,n,i);else{e=s.normalizeId(e||t.id),R(e);var o=L._schemas[e]=F(t,n,!0);o.meta=i}}function A(t,e,n){w(t,e,n,!0)}function x(t,n){var r=t.$schema||L._opts.defaultMeta||_(),o=L._formats.uri;L._formats.uri="function"==typeof o?i:v;var s=e(r,t);if(L._formats.uri=o,!s&&n){var a="schema is invalid:"+T();if("log"!=L._opts.validateSchema)throw new Error(a);console.error(a)}return s}function _(){var t=L._opts.meta;return L._opts.defaultMeta="object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))?t.id||t:L._opts.v5?h.META_SCHEMA_ID:g,L._opts.defaultMeta}function E(t){var e=C(t);switch("undefined"==typeof e?"undefined":(0,_typeof3.default)(e)){case"object":return e.validate||D(e);case"string":return E(e)}}function C(t){return t=s.normalizeId(t),L._schemas[t]||L._refs[t]}function k(t){switch("undefined"==typeof t?"undefined":(0,_typeof3.default)(t)){case"undefined":return S(L._schemas),S(L._refs),void L._cache.clear();case"string":var e=C(t);return e&&L._cache.del(e.jsonStr),delete L._schemas[t],void delete L._refs[t];case"object":if(t instanceof RegExp)return S(L._schemas,t),void S(L._refs,t);var n=c(t);L._cache.del(n);var i=t.id;i&&(i=s.normalizeId(i),delete L._schemas[i],delete L._refs[i])}}function S(t,e){for(var n in t){var i=t[n];i.meta||e&&!e.test(n)||(L._cache.del(i.jsonStr),delete t[n])}}function F(t,e,n){if("object"!=("undefined"==typeof t?"undefined":(0,_typeof3.default)(t)))throw new Error("schema should be object");var i=c(t),r=L._cache.get(i);if(r)return r;n=n||L._opts.addUsedSchema!==!1;var o=s.normalizeId(t.id);o&&n&&R(o),L._opts.validateSchema===!1||e||x(t,!0);var a=s.ids.call(L,t),u=new l({id:o,schema:t,localRefs:a,jsonStr:i});return"#"!=o[0]&&n&&(L._refs[o]=u),L._cache.put(i,u),u}function D(t,e){function n(){var e=t.validate,i=e.apply(null,arguments);return n.errors=e.errors,i}if(t.compiling)return t.validate=n,n.schema=t.schema,n.errors=null,n.root=e?e:n,t.schema.$async===!0&&(n.async=!0),n;t.compiling=!0;var i;t.meta&&(i=L._opts,L._opts=L._metaOpts);var r;try{r=o.call(L,t.schema,e,t.localRefs)}finally{t.compiling=!1,t.meta&&(L._opts=i)}return t.validate=r,t.refs=r.refs,t.refVal=r.refVal,t.root=r.root,r}function T(t,e){if(t=t||L.errors,!t)return"No errors";e=e||{};for(var n=void 0===e.separator?", ":e.separator,i=void 0===e.dataVar?"data":e.dataVar,r="",o=0;o<t.length;o++){var s=t[o];s&&(r+=i+s.dataPath+" "+s.message+n)}return r.slice(0,-n.length)}function $(t,e){"string"==typeof e&&(e=new RegExp(e)),L._formats[t]=e}function B(){if(L._opts.meta!==!1){var t=n(50);A(t,g,!0),L._refs["http://json-schema.org/schema"]=g}var e=L._opts.schemas;if(e)if(Array.isArray(e))w(e);else for(var i in e)w(e[i],i)}function M(){for(var t in L._opts.formats){var e=L._opts.formats[t];$(t,e)}}function R(t){if(L._schemas[t]||L._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function P(){for(var t=f.copy(L._opts),e=0;e<y.length;e++)delete t[y[e]];return t}if(!(this instanceof r))return new r(t);var L=this;t=this._opts=f.copy(t)||{},this._schemas={},this._refs={},this._formats=u(t.format),this._cache=t.cache||new a,this._loadingSchemas={},this.RULES=d(),this.validate=e,this.compile=b,this.addSchema=w,this.addMetaSchema=A,this.validateSchema=x,this.getSchema=E,this.removeSchema=k,this.addFormat=$,this.errorsText=T,this._addSchema=F,this._compile=D,t.loopRequired=t.loopRequired||1/0,(t.async||t.transpile)&&p.setup(t),t.beautify===!0&&(t.beautify={indent_size:2}),"property"==t.errorDataPath&&(t._errorDataPathProperty=!0),this._metaOpts=P(),B(),t.formats&&M(),t.v5&&h.enable(this),"object"==(0,_typeof3.default)(t.meta)&&A(t.meta)}var o=n(2),s=n(3),a=n(21),l=n(16),c=n(12),u=n(22),d=n(23),h=n(43),f=n(11),p=n(17),m=n(19);t.exports=r,r.prototype.compileAsync=p.compile,r.prototype.addKeyword=n(49),r.ValidationError=n(20);var g="http://json-schema.org/draft-04/schema",v=/^(?:(?:[a-z][a-z0-9+-.]*:)?\/\/)?[^\s]*$/i,y=["removeAdditional","useDefaults","coerceTypes"]},function(module,exports,__webpack_require__){function compile(schema,root,localRefs,baseId){function localCompile(_schema,_root,localRefs,baseId){var isRoot=!_root||_root&&_root.schema==_schema;if(_root.schema!=root.schema)return compile.call(self,_schema,_root,localRefs,baseId);var $async=_schema.$async===!0;$async&&!opts.transpile&&async.setup(opts);var sourceCode=validateGenerator({isTop:!0,schema:_schema,isRoot:isRoot,baseId:baseId,root:_root,schemaPath:"",errSchemaPath:"#",errorPath:'""',RULES:RULES,validate:validateGenerator,util:util,resolve:resolve,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:opts,formats:formats,self:self});sourceCode=vars(refVal,refValCode)+vars(patterns,patternCode)+vars(defaults,defaultCode)+vars(customRules,customRuleCode)+sourceCode,opts.beautify&&(beautify?sourceCode=beautify(sourceCode,opts.beautify):console.error('"npm install js-beautify" to use beautify option'));var validate,validateCode,transpile=opts._transpileFunc;try{validateCode=$async&&transpile?transpile(sourceCode):sourceCode,eval(validateCode),refVal[0]=validate}catch(t){throw console.error("Error compiling schema, function code:",validateCode),t}return validate.schema=_schema,validate.errors=null,validate.refs=refs,validate.refVal=refVal,validate.root=isRoot?validate:_root,$async&&(validate.async=!0),validate.sourceCode=sourceCode,validate}function resolveRef(t,e,n){e=resolve.url(t,e);var i,r,o=refs[e];if(void 0!==o)return i=refVal[o],r="refVal["+o+"]",resolvedRef(i,r);if(!n){var s=root.refs[e];if(void 0!==s)return i=root.refVal[s],r=addLocalRef(e,i),resolvedRef(i,r)}r=addLocalRef(e);var a=resolve.call(self,localCompile,root,e);if(!a){var l=localRefs&&localRefs[e];l&&(a=resolve.inlineRef(l,opts.inlineRefs)?l:compile.call(self,l,root,localRefs,t))}return a?(replaceLocalRef(e,a),resolvedRef(a,r)):void 0}function addLocalRef(t,e){var n=refVal.length;return refVal[n]=e,refs[t]=n,"refVal"+n}function replaceLocalRef(t,e){var n=refs[t];refVal[n]=e}function resolvedRef(t,e){return"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))?{code:e,schema:t,inline:!0}:{code:e,async:t&&t.async}}function usePattern(t){var e=patternsHash[t];return void 0===e&&(e=patternsHash[t]=patterns.length,patterns[e]=t),"pattern"+e}function useDefault(t){switch("undefined"==typeof t?"undefined":(0,_typeof3.default)(t)){case"boolean":case"number":return""+t;case"string":return util.toQuotedString(t);case"object":if(null===t)return"null";var e=stableStringify(t),n=defaultsHash[e];return void 0===n&&(n=defaultsHash[e]=defaults.length,defaults[n]=t),"default"+n}}function useCustomRule(t,e,n,i){var r,o=t.definition.compile,s=t.definition.inline,a=t.definition.macro;o?r=o.call(self,e,n):a?(r=a.call(self,e,n),opts.validateSchema!==!1&&self.validateSchema(r,!0)):r=s?s.call(self,i,t.keyword,e,n):t.definition.validate;var l=customRules.length;return customRules[l]=r,{code:"customRule"+l,validate:r}}var self=this,opts=this._opts,refVal=[void 0],refs={},patterns=[],patternsHash={},defaults=[],defaultsHash={},customRules=[];root=root||{schema:schema,refVal:refVal,refs:refs};var formats=this._formats,RULES=this.RULES;return localCompile(schema,root,localRefs,baseId)}function patternCode(t,e){return"var pattern"+t+" = new RegExp("+util.toQuotedString(e[t])+");"}function defaultCode(t){return"var default"+t+" = defaults["+t+"];"}function refValCode(t,e){return e[t]?"var refVal"+t+" = refVal["+t+"];":""}function customRuleCode(t){return"var customRule"+t+" = customRules["+t+"];"}function vars(t,e){if(!t.length)return"";for(var n="",i=0;i<t.length;i++)n+=e(i,t);return n}var resolve=__webpack_require__(3),util=__webpack_require__(11),stableStringify=__webpack_require__(12),async=__webpack_require__(17),beautify=function(){try{return __webpack_require__(!function(){var t=new Error('Cannot find module "js-beautify"');throw t.code="MODULE_NOT_FOUND",t}()).js_beautify}catch(t){}}(),validateGenerator=__webpack_require__(18);module.exports=compile;var co=__webpack_require__(19),ucs2length=util.ucs2length,equal=__webpack_require__(10),ValidationError=__webpack_require__(20)},function(t,e,n){function i(t,e,n){var o=this._refs[n];if("string"==typeof o){if(!this._refs[o])return i.call(this,t,e,o);o=this._refs[o]}if(o=o||this._schemas[n],o instanceof y)return a(o.schema,this._opts.inlineRefs)?o.schema:o.validate||this._compile(o);var s,l,c,u=r.call(this,e,n);return u&&(s=u.schema,e=u.root,c=u.baseId),s instanceof y?l=s.validate||t.call(this,s.schema,e,void 0,c):s&&(l=a(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,c)),l}function r(t,e){var n=m.parse(e,!1,!0),i=d(n),r=u(t.schema.id);if(i!==r){var a=h(i),l=this._refs[a];if("string"==typeof l)return o.call(this,t,l,n);if(l instanceof y)l.validate||this._compile(l),t=l;else if(l=this._schemas[a],l instanceof y){if(l.validate||this._compile(l),a==h(e))return{schema:l,root:t,baseId:r};t=l}if(!t.schema)return;r=u(t.schema.id)}return s.call(this,n,r,t.schema,t)}function o(t,e,n){var i=r.call(this,t,e);if(i){var o=i.schema,a=i.baseId;return t=i.root,o.id&&(a=f(a,o.id)),s.call(this,n,a,o,t)}}function s(t,e,n,i){if(t.hash=t.hash||"","#/"==t.hash.slice(0,2)){for(var o=t.hash.split("/"),s=1;s<o.length;s++){var a=o[s];if(a){if(a=v.unescapeFragment(a),n=n[a],!n)break;if(n.id&&!b[a]&&(e=f(e,n.id)),n.$ref){var l=f(e,n.$ref),c=r.call(this,i,l);c&&(n=c.schema,i=c.root,e=c.baseId)}}}return n&&n!=i.schema?{schema:n,root:i,baseId:e}:void 0}}function a(t,e){return e!==!1&&(void 0===e||e===!0?l(t):e?c(t)<=e:void 0)}function l(t){var e;if(Array.isArray(t)){for(var n=0;n<t.length;n++)if(e=t[n],"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&!l(e))return!1}else for(var i in t){if("$ref"==i)return!1;if(e=t[i],"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&!l(e))return!1}return!0}function c(t){var e,n=0;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&(n+=c(e)),n==1/0)return 1/0}else for(var r in t){if("$ref"==r)return 1/0;if(w[r])n++;else if(e=t[r],"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&(n+=c(e)+1),n==1/0)return 1/0}return n}function u(t,e){e!==!1&&(t=h(t));var n=m.parse(t,!1,!0);return d(n)}function d(t){return(t.protocol||"")+(t.protocol?"//":"")+(t.host||"")+(t.path||"")+"#"}function h(t){return t?t.replace(A,""):""}function f(t,e){return e=h(e),m.resolve(t,e)}function p(t){function e(t,n,r){if(Array.isArray(t))for(var o=0;o<t.length;o++)e.call(this,t[o],n+"/"+o,r);else if(t&&"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))){if("string"==typeof t.id){var s=r=r?m.resolve(r,t.id):t.id;s=h(s);var a=this._refs[s];if("string"==typeof a&&(a=this._refs[a]),a&&a.schema){if(!g(t,a.schema))throw new Error('id "'+s+'" resolves to more than one schema')}else if(s!=h(n))if("#"==s[0]){if(i[s]&&!g(t,i[s]))throw new Error('id "'+s+'" resolves to more than one schema');i[s]=t}else this._refs[s]=n}for(var l in t)e.call(this,t[l],n+"/"+v.escapeFragment(l),r)}}var n=h(t.id),i={};return e.call(this,t,u(n,!1),n),i}var m=n(4),g=n(10),v=n(11),y=n(16);t.exports=i,i.normalizeId=h,i.fullPath=u,i.url=f,i.ids=p,i.inlineRef=a;var b=v.toHash(["properties","patternProperties","enum","dependencies","definitions"]),w=v.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]),A=/#\/?$/},function(t,e,n){function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function r(t,e,n){if(t&&c(t)&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}function o(t){return l(t)&&(t=r(t)),t instanceof i?t.format():i.prototype.format.call(t)}function s(t,e){return r(t,!1,!0).resolve(e)}function a(t,e){return t?r(t,!1,!0).resolveObject(e):e}function l(t){return"string"==typeof t}function c(t){return"object"===("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&null!==t}function u(t){return null===t}function d(t){return null==t}var h=n(5);e.parse=r,e.resolve=s,e.resolveObject=a,e.format=o,e.Url=i;var f=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,m=["<",">",'"',"`"," ","\r","\n","\t"],g=["{","}","|","\\","^","`"].concat(m),v=["'"].concat(g),y=["%","/","?",";","#"].concat(v),b=["/","?","#"],w=255,A=/^[a-z0-9A-Z_-]{0,63}$/,x=/^([a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},E={javascript:!0,"javascript:":!0},C={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(7);i.prototype.parse=function(t,e,n){if(!l(t))throw new TypeError("Parameter 'url' must be a string, not "+("undefined"==typeof t?"undefined":(0,_typeof3.default)(t)));var i=t;i=i.trim();var r=f.exec(i);if(r){r=r[0];var o=r.toLowerCase();this.protocol=o,i=i.substr(r.length)}if(n||r||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var s="//"===i.substr(0,2);!s||r&&E[r]||(i=i.substr(2),this.slashes=!0)}if(!E[r]&&(s||r&&!C[r])){for(var a=-1,c=0;c<b.length;c++){var u=i.indexOf(b[c]);u!==-1&&(a===-1||u<a)&&(a=u)}var d,p;p=a===-1?i.lastIndexOf("@"):i.lastIndexOf("@",a),p!==-1&&(d=i.slice(0,p),i=i.slice(p+1),this.auth=decodeURIComponent(d)),a=-1;for(var c=0;c<y.length;c++){var u=i.indexOf(y[c]);u!==-1&&(a===-1||u<a)&&(a=u)}a===-1&&(a=i.length),this.host=i.slice(0,a),i=i.slice(a),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var g=this.hostname.split(/\./),c=0,S=g.length;c<S;c++){var F=g[c];if(F&&!F.match(A)){for(var D="",T=0,$=F.length;T<$;T++)D+=F.charCodeAt(T)>127?"x":F[T];if(!D.match(A)){var B=g.slice(0,c),M=g.slice(c+1),R=F.match(x);R&&(B.push(R[1]),M.unshift(R[2])),M.length&&(i="/"+M.join(".")+i),this.hostname=B.join(".");break}}}if(this.hostname.length>w?this.hostname="":this.hostname=this.hostname.toLowerCase(),!m){for(var P=this.hostname.split("."),L=[],c=0;c<P.length;++c){var O=P[c];L.push(O.match(/[^A-Za-z0-9_-]/)?"xn--"+h.encode(O):O)}this.hostname=L.join(".")}var j=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+j,this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!_[o])for(var c=0,S=v.length;c<S;c++){var I=v[c],H=encodeURIComponent(I);H===I&&(H=escape(I)),i=i.split(I).join(H)}var V=i.indexOf("#");V!==-1&&(this.hash=i.substr(V),i=i.slice(0,V));var W=i.indexOf("?");if(W!==-1?(this.search=i.substr(W),this.query=i.substr(W+1),e&&(this.query=k.parse(this.query)),i=i.slice(0,W)):e&&(this.search="",this.query={}),i&&(this.pathname=i),C[o]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var j=this.pathname||"",O=this.search||"";this.path=j+O}return this.href=this.format(),this},i.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",i=this.hash||"",r=!1,o="";this.host?r=t+this.host:this.hostname&&(r=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&c(this.query)&&(0,_keys2.default)(this.query).length&&(o=k.stringify(this.query));var s=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||C[e])&&r!==!1?(r="//"+(r||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):r||(r=""),i&&"#"!==i.charAt(0)&&(i="#"+i),s&&"?"!==s.charAt(0)&&(s="?"+s),n=n.replace(/[?#]/g,function(t){return encodeURIComponent(t)}),s=s.replace("#","%23"),e+r+n+s+i},i.prototype.resolve=function(t){return this.resolveObject(r(t,!1,!0)).format()},i.prototype.resolveObject=function(t){if(l(t)){var e=new i;e.parse(t,!1,!0),t=e}var n=new i;if((0,_keys2.default)(this).forEach(function(t){n[t]=this[t]},this),n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol)return(0,_keys2.default)(t).forEach(function(e){"protocol"!==e&&(n[e]=t[e])}),C[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n;if(t.protocol&&t.protocol!==n.protocol){if(!C[t.protocol])return(0,_keys2.default)(t).forEach(function(e){n[e]=t[e]}),n.href=n.format(),n;if(n.protocol=t.protocol,t.host||E[t.protocol])n.pathname=t.pathname;else{for(var r=(t.pathname||"").split("/");r.length&&!(t.host=r.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),n.pathname=r.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var o=n.pathname||"",s=n.search||"";n.path=o+s}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var a=n.pathname&&"/"===n.pathname.charAt(0),c=t.host||t.pathname&&"/"===t.pathname.charAt(0),h=c||a||n.host&&t.pathname,f=h,p=n.pathname&&n.pathname.split("/")||[],r=t.pathname&&t.pathname.split("/")||[],m=n.protocol&&!C[n.protocol];if(m&&(n.hostname="",n.port=null,n.host&&(""===p[0]?p[0]=n.host:p.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===r[0]?r[0]=t.host:r.unshift(t.host)),t.host=null),h=h&&(""===r[0]||""===p[0])),c)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,p=r;else if(r.length)p||(p=[]),p.pop(),p=p.concat(r),n.search=t.search,n.query=t.query;else if(!d(t.search)){if(m){n.hostname=n.host=p.shift();var g=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");g&&(n.auth=g.shift(),n.host=n.hostname=g.shift())}return n.search=t.search,n.query=t.query,u(n.pathname)&&u(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!p.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var v=p.slice(-1)[0],y=(n.host||t.host)&&("."===v||".."===v)||""===v,b=0,w=p.length;w>=0;w--)v=p[w],"."==v?p.splice(w,1):".."===v?(p.splice(w,1),b++):b&&(p.splice(w,1),b--);if(!h&&!f)for(;b--;b)p.unshift("..");!h||""===p[0]||p[0]&&"/"===p[0].charAt(0)||p.unshift(""),y&&"/"!==p.join("/").substr(-1)&&p.push("");var A=""===p[0]||p[0]&&"/"===p[0].charAt(0);if(m){n.hostname=n.host=A?"":p.length?p.shift():"";var g=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");g&&(n.auth=g.shift(),n.host=n.hostname=g.shift())}return h=h||n.host&&p.length,h&&!A&&p.unshift(""),p.length?n.pathname=p.join("/"):(n.pathname=null,n.path=null),u(n.pathname)&&u(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=p.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,n){var i;(function(t,r){!function(o){function s(t){throw RangeError(B[t])}function a(t,e){for(var n=t.length,i=[];n--;)i[n]=e(t[n]);return i}function l(t,e){var n=t.split("@"),i="";n.length>1&&(i=n[0]+"@",t=n[1]),t=t.replace($,".");var r=t.split("."),o=a(r,e).join(".");return i+o}function c(t){for(var e,n,i=[],r=0,o=t.length;r<o;)e=t.charCodeAt(r++),e>=55296&&e<=56319&&r<o?(n=t.charCodeAt(r++),56320==(64512&n)?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--)):i.push(e);return i}function u(t){return a(t,function(t){var e="";return t>65535&&(t-=65536,e+=P(t>>>10&1023|55296),t=56320|1023&t),e+=P(t)}).join("")}function d(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:A}function h(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function f(t,e,n){var i=0;for(t=n?R(t/C):t>>1,t+=R(t/e);t>M*_>>1;i+=A)t=R(t/M);return R(i+(M+1)*t/(t+E))}function p(t){var e,n,i,r,o,a,l,c,h,p,m=[],g=t.length,v=0,y=S,b=k;for(n=t.lastIndexOf(F),n<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&s("not-basic"),m.push(t.charCodeAt(i));for(r=n>0?n+1:0;r<g;){for(o=v,a=1,l=A;r>=g&&s("invalid-input"),c=d(t.charCodeAt(r++)),(c>=A||c>R((w-v)/a))&&s("overflow"),v+=c*a,h=l<=b?x:l>=b+_?_:l-b,!(c<h);l+=A)p=A-h,a>R(w/p)&&s("overflow"),a*=p;e=m.length+1,b=f(v-o,e,0==o),R(v/e)>w-y&&s("overflow"),y+=R(v/e),v%=e,m.splice(v++,0,y)}return u(m)}function m(t){var e,n,i,r,o,a,l,u,d,p,m,g,v,y,b,E=[];for(t=c(t),g=t.length,e=S,n=0,o=k,a=0;a<g;++a)m=t[a],m<128&&E.push(P(m));for(i=r=E.length,r&&E.push(F);i<g;){for(l=w,a=0;a<g;++a)m=t[a],m>=e&&m<l&&(l=m);for(v=i+1,l-e>R((w-n)/v)&&s("overflow"),n+=(l-e)*v,e=l,a=0;a<g;++a)if(m=t[a],m<e&&++n>w&&s("overflow"),m==e){for(u=n,d=A;p=d<=o?x:d>=o+_?_:d-o,!(u<p);d+=A)b=u-p,y=A-p,E.push(P(h(p+b%y,0))),u=R(b/y);E.push(P(h(u,0))),o=f(n,v,i==r),n=0,++i}++n,++e}return E.join("")}function g(t){return l(t,function(t){return D.test(t)?p(t.slice(4).toLowerCase()):t})}function v(t){return l(t,function(t){return T.test(t)?"xn--"+m(t):t})}var y=("object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&e&&!e.nodeType&&e,"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&t&&!t.nodeType&&t,"object"==("undefined"==typeof r?"undefined":(0,_typeof3.default)(r))&&r);y.global!==y&&y.window!==y&&y.self!==y||(o=y);var b,w=2147483647,A=36,x=1,_=26,E=38,C=700,k=72,S=128,F="-",D=/^xn--/,T=/[^\x20-\x7E]/,$=/[\x2E\u3002\uFF0E\uFF61]/g,B={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=A-x,R=Math.floor,P=String.fromCharCode;b={version:"1.3.2",ucs2:{decode:c,encode:u},decode:p,encode:m,toASCII:v,toUnicode:g},i=function(){return b}.call(e,n,e,t),!(void 0!==i&&(t.exports=i))}(this)}).call(e,n(6)(t),function(){return this}())},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){e.decode=e.parse=n(8),e.encode=e.stringify=n(9)},function(t,e){function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,i,r){e=e||"&",i=i||"=";var o={};if("string"!=typeof t||0===t.length)return o;var s=/\+/g;t=t.split(e);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var l=t.length;a>0&&l>a&&(l=a);for(var c=0;c<l;++c){var u,d,h,f,p=t[c].replace(s,"%20"),m=p.indexOf(i);m>=0?(u=p.substr(0,m),d=p.substr(m+1)):(u=p,d=""),h=decodeURIComponent(u),f=decodeURIComponent(d),n(o,h)?Array.isArray(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o}},function(t,e){var n=function(t){switch("undefined"==typeof t?"undefined":(0,_typeof3.default)(t)){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,i,r){return e=e||"&",i=i||"=",null===t&&(t=void 0),"object"===("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))?(0,_keys2.default)(t).map(function(r){var o=encodeURIComponent(n(r))+i;return Array.isArray(t[r])?t[r].map(function(t){return o+encodeURIComponent(n(t))}).join(e):o+encodeURIComponent(n(t[r]))}).join(e):r?encodeURIComponent(n(r))+i+encodeURIComponent(n(t)):""}},function(t,e){t.exports=function t(e,n){if(e===n)return!0;var i,r=Array.isArray(e),o=Array.isArray(n);if(r&&o){if(e.length!=n.length)return!1;for(i=0;i<e.length;i++)if(!t(e[i],n[i]))return!1;return!0}if(r!=o)return!1;if(e&&n&&"object"===("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&"object"===("undefined"==typeof n?"undefined":(0,_typeof3.default)(n))){var s=(0,_keys2.default)(e);if(s.length!==(0,_keys2.default)(n).length)return!1;for(i=0;i<s.length;i++)if(void 0===n[s[i]])return!1;for(i=0;i<s.length;i++)if(!t(e[s[i]],n[s[i]]))return!1;return!0}return!1}},function(t,e,n){function i(t,e){e=e||{};for(var n in t)e[n]=t[n];return e}function r(t,e,n){var i=n?" !== ":" === ",r=n?" || ":" && ",o=n?"!":"",s=n?"":"!";switch(t){case"null":return e+i+"null";case"array":return o+"Array.isArray("+e+")";case"object":return"("+o+e+r+"typeof "+e+i+'"object"'+r+s+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+i+'"number"'+r+s+"("+e+" % 1))";default:return"typeof "+e+i+'"'+t+'"'}}function o(t,e){switch(t.length){case 1:return r(t[0],e,!0);default:var n="",i=a(t);i.array&&i.object&&(n=i.null?"(":"(!"+e+" || ",n+="typeof "+e+' !== "object")',delete i.null,delete i.array,delete i.object),i.number&&delete i.integer;for(var o in i)n+=(n?" && ":"")+r(o,e,!0);return n}}function s(t){if(Array.isArray(t)){for(var e=[],n=0;n<t.length;n++){var i=t[n];C[i]&&(e[e.length]=i)}if(e.length)return e}else if(C[t])return[t]}function a(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}function l(t){return"number"==typeof t?"["+t+"]":k.test(t)?"."+t:"['"+t.replace(S,"\\$&")+"']"}function c(t){return t.replace(S,"\\$&")}function u(t){for(var e,n=0,i=t.length,r=0;r<i;)n++,e=t.charCodeAt(r++),e>=55296&&e<=56319&&r<i&&(e=t.charCodeAt(r),56320==(64512&e)&&r++);return n}function d(t,e){e+="[^0-9]";var n=t.match(new RegExp(e,"g"));return n?n.length:0}function h(t,e,n){return e+="([^0-9])",n=n.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),n+"$1")}function f(t){return t.replace(F,"").replace(D,"").replace(T,"if (!($1))")}function p(t,e){var n=t.match($);return n&&2===n.length?e?t.replace(M,"").replace(L,O):t.replace(B,"").replace(R,P):t}function m(t,e){for(var n in t)if(e[n])return!0}function g(t){return"'"+c(t)+"'"}function v(t,e,n,i){var r=n?"'/' + "+e+(i?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):i?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return w(t,r)}function y(t,e,n){var i=g(n?"/"+_(e):l(e));return w(t,i)}function b(t,e,n){var i=t.match(j);if(!i)throw new Error("Invalid relative JSON-pointer: "+t);var r=+i[1],o=i[2];if("#"==o){if(r>=e)throw new Error("Cannot access property/index "+r+" levels up, current level is "+e);return n[e-r]}if(r>e)throw new Error("Cannot access data "+r+" levels up, current level is "+e);var s="data"+(e-r||"");if(!o)return s;for(var a=s,c=o.split("/"),u=0;u<c.length;u++){var d=c[u];d&&(s+=l(E(d)),a+=" && "+s)}return a}function w(t,e){return'""'==t?e:(t+" + "+e).replace(/' \+ '/g,"")}function A(t){return E(decodeURIComponent(t))}function x(t){return encodeURIComponent(_(t))}function _(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function E(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}t.exports={copy:i,checkDataType:r,checkDataTypes:o,coerceToTypes:s,toHash:a,getProperty:l,escapeQuotes:c,ucs2length:u,varOccurences:d,varReplace:h,cleanUpCode:f,cleanUpVarErrors:p,schemaHasRules:m,stableStringify:n(12),toQuotedString:g,getPathExpr:v,getPath:y,getData:b,unescapeFragment:A,escapeFragment:x,escapeJsonPointer:_};var C=a(["string","number","integer","boolean","null"]),k=/^[a-z$_][a-z$_0-9]*$/i,S=/'|\\/g,F=/else\s*{\s*}/g,D=/if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g,T=/if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g,$=/[^v\.]errors/g,B=/var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g,M=/var errors = 0;|var vErrors = null;/g,R="return errors === 0;",P="validate.errors = null; return true;",L=/if \(errors === 0\) return true;\s*else throw new ValidationError\(vErrors\);/,O="return true;",j=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/},function(t,e,n){var i="undefined"!=typeof JSON?JSON:n(13);t.exports=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var n=e.space||"";"number"==typeof n&&(n=Array(n+1).join(" "));var s="boolean"==typeof e.cycles&&e.cycles,a=e.replacer||function(t,e){return e},l=e.cmp&&function(t){return function(e){return function(n,i){var r={key:n,value:e[n]},o={key:i,value:e[i]};return t(r,o);
|
|
74
|
-
}}}(e.cmp),c=[];return function t(e,u,d,h){var f=n?"\n"+new Array(h+1).join(n):"",p=n?": ":":";if(d&&d.toJSON&&"function"==typeof d.toJSON&&(d=d.toJSON()),d=a.call(e,u,d),void 0!==d){if("object"!==("undefined"==typeof d?"undefined":(0,_typeof3.default)(d))||null===d)return i.stringify(d);if(r(d)){for(var m=[],g=0;g<d.length;g++){var v=t(d,g,d[g],h+1)||i.stringify(null);m.push(f+n+v)}return"["+m.join(",")+f+"]"}if(c.indexOf(d)!==-1){if(s)return i.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}c.push(d);for(var y=o(d).sort(l&&l(d)),m=[],g=0;g<y.length;g++){var u=y[g],b=t(d,u,d[u],h+1);if(b){var w=i.stringify(u)+p+b;m.push(f+n+w)}}return c.splice(c.indexOf(d),1),"{"+m.join(",")+f+"}"}}({"":t},"",t,0)};var r=Array.isArray||function(t){return"[object Array]"==={}.toString.call(t)},o=_keys2.default||function(t){var e=Object.prototype.hasOwnProperty||function(){return!0},n=[];for(var i in t)e.call(t,i)&&n.push(i);return n}},function(t,e,n){e.parse=n(14),e.stringify=n(15)},function(t,e){var n,i,r,o,s={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},a=function(t){throw{name:"SyntaxError",message:t,at:n,text:r}},l=function(t){return t&&t!==i&&a("Expected '"+t+"' instead of '"+i+"'"),i=r.charAt(n),n+=1,i},c=function t(){var t,e="";for("-"===i&&(e="-",l("-"));i>="0"&&i<="9";)e+=i,l();if("."===i)for(e+=".";l()&&i>="0"&&i<="9";)e+=i;if("e"===i||"E"===i)for(e+=i,l(),"-"!==i&&"+"!==i||(e+=i,l());i>="0"&&i<="9";)e+=i,l();return t=+e,isFinite(t)?t:void a("Bad number")},u=function t(){var e,n,r,t="";if('"'===i)for(;l();){if('"'===i)return l(),t;if("\\"===i)if(l(),"u"===i){for(r=0,n=0;n<4&&(e=parseInt(l(),16),isFinite(e));n+=1)r=16*r+e;t+=String.fromCharCode(r)}else{if("string"!=typeof s[i])break;t+=s[i]}else t+=i}a("Bad string")},d=function(){for(;i&&i<=" ";)l()},h=function(){switch(i){case"t":return l("t"),l("r"),l("u"),l("e"),!0;case"f":return l("f"),l("a"),l("l"),l("s"),l("e"),!1;case"n":return l("n"),l("u"),l("l"),l("l"),null}a("Unexpected '"+i+"'")},f=function t(){var t=[];if("["===i){if(l("["),d(),"]"===i)return l("]"),t;for(;i;){if(t.push(o()),d(),"]"===i)return l("]"),t;l(","),d()}}a("Bad array")},p=function t(){var e,t={};if("{"===i){if(l("{"),d(),"}"===i)return l("}"),t;for(;i;){if(e=u(),d(),l(":"),Object.hasOwnProperty.call(t,e)&&a('Duplicate key "'+e+'"'),t[e]=o(),d(),"}"===i)return l("}"),t;l(","),d()}}a("Bad object")};o=function(){switch(d(),i){case"{":return p();case"[":return f();case'"':return u();case"-":return c();default:return i>="0"&&i<="9"?c():h()}},t.exports=function(t,e){var s;return r=t,n=0,i=" ",s=o(),d(),i&&a("Syntax error"),"function"==typeof e?function t(n,i){var r,o,s=n[i];if(s&&"object"===("undefined"==typeof s?"undefined":(0,_typeof3.default)(s)))for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(o=t(s,r),void 0!==o?s[r]=o:delete s[r]);return e.call(n,i,s)}({"":s},""):s}},function(t,e){function n(t){return a.lastIndex=0,a.test(t)?'"'+t.replace(a,function(t){var e=l[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function i(t,e){var a,l,c,u,d,h=r,f=e[t];switch(f&&"object"===("undefined"==typeof f?"undefined":(0,_typeof3.default)(f))&&"function"==typeof f.toJSON&&(f=f.toJSON(t)),"function"==typeof s&&(f=s.call(e,t,f)),"undefined"==typeof f?"undefined":(0,_typeof3.default)(f)){case"string":return n(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(r+=o,d=[],"[object Array]"===Object.prototype.toString.apply(f)){for(u=f.length,a=0;a<u;a+=1)d[a]=i(a,f)||"null";return c=0===d.length?"[]":r?"[\n"+r+d.join(",\n"+r)+"\n"+h+"]":"["+d.join(",")+"]",r=h,c}if(s&&"object"===("undefined"==typeof s?"undefined":(0,_typeof3.default)(s)))for(u=s.length,a=0;a<u;a+=1)l=s[a],"string"==typeof l&&(c=i(l,f),c&&d.push(n(l)+(r?": ":":")+c));else for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c=i(l,f),c&&d.push(n(l)+(r?": ":":")+c));return c=0===d.length?"{}":r?"{\n"+r+d.join(",\n"+r)+"\n"+h+"}":"{"+d.join(",")+"}",r=h,c}}var r,o,s,a=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,l={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};t.exports=function(t,e,n){var a;if(r="",o="","number"==typeof n)for(a=0;a<n;a+=1)o+=" ";else"string"==typeof n&&(o=n);if(s=e,e&&"function"!=typeof e&&("object"!==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))||"number"!=typeof e.length))throw new Error("JSON.stringify");return i("",{"":t})}},function(t,e,n){function i(t){r.copy(t,this)}var r=n(11);t.exports=i},function(module,exports,__webpack_require__){function setupAsync(t,e){e!==!1&&(e=!0);var n,i=t.async,r=t.transpile;switch("undefined"==typeof r?"undefined":(0,_typeof3.default)(r)){case"string":var o=TRANSPILE[r];if(!o)throw new Error("bad transpiler: "+r);return t._transpileFunc=o(t,e);case"undefined":case"boolean":if("string"==typeof i){if(n=ASYNC[i],!n)throw new Error("bad async mode: "+i);return t.transpile=n(t,e)}for(var s=0;s<MODES.length;s++){var a=MODES[s];if(setupAsync(a,!1))return util.copy(a,t),t.transpile}throw new Error("generators, nodent and regenerator are not available");case"function":return t._transpileFunc=t.transpile;default:throw new Error("bad transpiler: "+r)}}function checkGenerators(opts,required){try{return eval("(function*(){})()"),!0}catch(t){if(required)throw new Error("generators not supported")}}function checkAsyncFunction(opts,required){try{return eval("(async function(){})()"),!0}catch(t){if(required)throw new Error("es7 async functions not supported")}}function getRegenerator(t,e){try{return regenerator||(regenerator=__webpack_require__(!function(){var t=new Error('Cannot find module "regenerator"');throw t.code="MODULE_NOT_FOUND",t}()),regenerator.runtime()),t.async&&t.async!==!0||(t.async="es7"),regeneratorTranspile}catch(t){if(e)throw new Error("regenerator not available")}}function regeneratorTranspile(t){return regenerator.compile(t).code}function getNodent(t,e){try{return nodent||(nodent=__webpack_require__(!function(){var t=new Error('Cannot find module "nodent"');throw t.code="MODULE_NOT_FOUND",t}())({log:!1,dontInstallRequireHook:!0})),"es7"!=t.async&&(t.async&&t.async!==!0&&console.warn("nodent transpiles only es7 async functions"),t.async="es7"),nodentTranspile}catch(t){if(e)throw new Error("nodent not available")}}function nodentTranspile(t){return nodent.compile(t,"",{promises:!0,sourcemap:!1}).code}function compileAsync(t,e){function n(t,e,i){function o(i){function o(i,o){if(i)return e(i);if(!r._refs[s]&&!r._schemas[s])try{r.addSchema(o,s)}catch(t){return void e(t)}n(t,e)}var s=i.missingSchema;if(r._refs[s]||r._schemas[s])return e(new Error("Schema "+s+" is loaded but"+i.missingRef+"cannot be resolved"));var a=r._loadingSchemas[s];a?"function"==typeof a?r._loadingSchemas[s]=[a,o]:a[a.length]=o:(r._loadingSchemas[s]=o,r._opts.loadSchema(s,function(t,e){var n=r._loadingSchemas[s];if(delete r._loadingSchemas[s],"function"==typeof n)n(t,e);else for(var i=0;i<n.length;i++)n[i](t,e)}))}function s(t,n){return i?void setTimeout(function(){e(t,n)}):e(t,n)}var a;try{a=r.compile(t)}catch(t){return void(t.missingSchema?o(t):s(t))}s(null,a)}var i,r=this;try{i=this._addSchema(t)}catch(t){return void setTimeout(function(){e(t)})}if(i.validate)setTimeout(function(){e(null,i.validate)});else{if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");n(t,e,!0)}}module.exports={setup:setupAsync,compile:compileAsync};var util=__webpack_require__(11),ASYNC={"*":checkGenerators,"co*":checkGenerators,es7:checkAsyncFunction},TRANSPILE={nodent:getNodent,regenerator:getRegenerator},MODES=[{async:"co*"},{async:"es7",transpile:"nodent"},{async:"co*",transpile:"regenerator"}],regenerator,nodent},function(t,e){t.exports=function(t,e){function n(t){for(var e=0;e<t.rules.length;e++)if(i(t.rules[e]))return!0}function i(e){return void 0!==t.schema[e.keyword]||"properties"==e.keyword&&(t.schema.additionalProperties===!1||"object"==(0,_typeof3.default)(t.schema.additionalProperties)||t.schema.patternProperties&&(0,_keys2.default)(t.schema.patternProperties).length||t.opts.v5&&t.schema.patternGroups&&(0,_keys2.default)(t.schema.patternGroups).length)}var r="",o=t.schema.$async===!0;if(t.isTop){var s=t.isTop,a=t.level=0,l=t.dataLevel=0,c="data";if(t.rootId=t.resolve.fullPath(t.root.schema.id),t.baseId=t.baseId||t.rootId,o){t.async=!0;var u="es7"==t.opts.async;t.yieldAwait=u?"await":"yield"}delete t.isTop,t.dataPathArr=[void 0],r+=" validate = ",o?u?r+=" (async function ":("co*"==t.opts.async&&(r+="co.wrap"),r+="(function* "):r+=" (function ",r+=" (data, dataPath, parentData, parentDataProperty) { 'use strict'; var vErrors = null; ",r+=" var errors = 0; "}else{var a=t.level,l=t.dataLevel,c="data"+(l||"");if(t.schema.id&&(t.baseId=t.resolve.url(t.baseId,t.schema.id)),o&&!t.async)throw new Error("async schema in sync schema");r+=" var errs_"+a+" = errors;"}var d,h="valid"+a,f=!t.opts.allErrors,p="",m="",g=t.schema.type,v=Array.isArray(g);if(g&&t.opts.coerceTypes){var y=t.util.coerceToTypes(g);if(y){var b=t.schemaPath+".type",w=t.errSchemaPath+"/type",A=v?"checkDataTypes":"checkDataType";r+=" if ("+t.util[A](g,c,!0)+") { ";var x="dataType"+a,_="coerced"+a;r+=" var "+x+" = typeof "+c+"; var "+_+" = undefined; ";var E="",C=y;if(C)for(var k,S=-1,F=C.length-1;S<F;)k=C[S+=1],S&&(r+=" if ("+_+" === undefined) { ",E+="}"),"string"==k?r+=" if ("+x+" == 'number' || "+x+" == 'boolean') "+_+" = '' + "+c+"; else if ("+c+" === null) "+_+" = ''; ":"number"==k||"integer"==k?(r+=" if ("+x+" == 'boolean' || "+c+" === null || ("+x+" == 'string' && "+c+" && "+c+" == +"+c+" ","integer"==k&&(r+=" && !("+c+" % 1)"),r+=")) "+_+" = +"+c+"; "):"boolean"==k?r+=" if ("+c+" === 'false' || "+c+" === 0 || "+c+" === null) "+_+" = false; else if ("+c+" === 'true' || "+c+" === 1) "+_+" = true; ":"null"==k&&(r+=" if ("+c+" === '' || "+c+" === 0 || "+c+" === false) "+_+" = null; ");r+=" "+E+" if ("+_+" === undefined) { ";var D=D||[];D.push(r),r="",t.createErrors!==!1?(r+=" { keyword: '"+(d||"type")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+w+"\" , params: { type: '",r+=v?""+g.join(","):""+g,r+="' } ",t.opts.messages!==!1&&(r+=" , message: 'should be ",r+=v?""+g.join(","):""+g,r+="' "),t.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;if(r=D.pop(),r+=!t.compositeRule&&f?t.async?" throw new ValidationError(["+T+"]); ":" validate.errors = ["+T+"]; return false; ":" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",l){var $="data"+(l-1||""),B=t.dataPathArr[l];r+=" "+c+" = "+$+"["+B+"] = "+_+"; "}else r+=" data = "+_+"; if (parentData !== undefined) parentData[parentDataProperty] = "+_+"; ";r+=" } } "}}var M=t.RULES;if(M)for(var R,P=-1,L=M.length-1;P<L;)if(R=M[P+=1],n(R)){if(R.type&&(r+=" if ("+t.util.checkDataType(R.type,c)+") { "),t.opts.useDefaults&&!t.compositeRule)if("object"==R.type&&t.schema.properties){var O=t.schema.properties,j=(0,_keys2.default)(O),N=j;if(N)for(var I,H=-1,V=N.length-1;H<V;){I=N[H+=1];var W=O[I];if(void 0!==W.default){var z=c+t.util.getProperty(I);r+=" if ("+z+" === undefined) "+z+" = ",r+="clone"==t.opts.useDefaults?" "+(0,_stringify2.default)(W.default)+" ":" "+t.useDefault(W.default)+" ",r+="; "}}}else if("array"==R.type&&Array.isArray(t.schema.items)){var q=t.schema.items;if(q)for(var W,S=-1,U=q.length-1;S<U;)if(W=q[S+=1],void 0!==W.default){var z=c+"["+S+"]";r+=" if ("+z+" === undefined) "+z+" = ",r+="clone"==t.opts.useDefaults?" "+(0,_stringify2.default)(W.default)+" ":" "+t.useDefault(W.default)+" ",r+="; "}}var G=R.rules;if(G)for(var K,Y=-1,X=G.length-1;Y<X;)if(K=G[Y+=1],i(K)){if(K.custom){var O=t.schema[K.keyword],J=t.useCustomRule(K,O,t.schema,t),Z=J.code+".errors",b=t.schemaPath+"."+K.keyword,w=t.errSchemaPath+"/"+K.keyword,Q="errs"+a,S="i"+a,tt="ruleErr"+a,et=K.definition,nt=et.async,it=et.inline,rt=et.macro;if(nt&&!t.async)throw new Error("async keyword in sync schema");if(it||rt||(r+=""+Z+" = null;"),r+="var "+Q+" = errors;var valid"+a+";",it&&et.statements)r+=" "+J.validate;else if(rt){var ot=t.util.copy(t);ot.level++,ot.schema=J.validate,ot.schemaPath="";var st=t.compositeRule;t.compositeRule=ot.compositeRule=!0;var at=t.validate(ot).replace(/validate\.schema/g,J.code);t.compositeRule=ot.compositeRule=st,r+=" "+at}else if(et.compile||et.validate){var D=D||[];D.push(r),r="",r+=" "+J.code+".call( ",r+=t.opts.passContext?"this":"self";J.validate.length;r+=et.compile||et.schema===!1?" , "+c+" ":" , validate.schema"+b+" , "+c+" , validate.schema"+t.schemaPath+" ",r+=" , (dataPath || '')",'""'!=t.errorPath&&(r+=" + "+t.errorPath),r+=l?" , data"+(l-1||"")+" , "+t.dataPathArr[l]+" ":" , parentData , parentDataProperty ",r+=" ) ";var lt=r;r=D.pop(),et.errors!==!1&&(nt?(Z="customErrors"+a,r+=" var "+Z+" = null; try { valid"+a+" = "+t.yieldAwait+lt+"; } catch (e) { valid"+a+" = false; if (e instanceof ValidationError) "+Z+" = e.errors; else throw e; } "):r+=" "+J.code+".errors = null; ")}r+="if (! ",r+=it?et.statements?" valid"+a+" ":" ("+J.validate+") ":rt?" valid"+ot.level+" ":nt?et.errors===!1?" ("+t.yieldAwait+lt+") ":" valid"+a+" ":" "+lt+" ",r+=") { ",d=K.keyword;var D=D||[];D.push(r),r="";var D=D||[];D.push(r),r="",t.createErrors!==!1?(r+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+w+"\" , params: { keyword: '"+K.keyword+"' } ",t.opts.messages!==!1&&(r+=" , message: 'should pass \""+K.keyword+"\" keyword validation' "),t.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=D.pop(),r+=!t.compositeRule&&f?t.async?" throw new ValidationError(["+T+"]); ":" validate.errors = ["+T+"]; return false; ":" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var ct=r;r=D.pop(),it?et.errors?"full"!=et.errors&&(r+=" for (var "+S+"="+Q+"; "+S+"<errors; "+S+"++) { var "+tt+" = vErrors["+S+"]; if ("+tt+".dataPath === undefined) { "+tt+".dataPath = (dataPath || '') + "+t.errorPath+"; } if ("+tt+".schemaPath === undefined) { "+tt+'.schemaPath = "'+w+'"; } ',t.opts.verbose&&(r+=" "+tt+".schema = validate.schema"+b+"; "+tt+".data = "+c+"; "),r+=" } "):et.errors===!1?r+=" "+ct+" ":(r+=" if ("+Q+" == errors) { "+ct+" } else { for (var "+S+"="+Q+"; "+S+"<errors; "+S+"++) { var "+tt+" = vErrors["+S+"]; if ("+tt+".dataPath === undefined) { "+tt+".dataPath = (dataPath || '') + "+t.errorPath+"; } if ("+tt+".schemaPath === undefined) { "+tt+'.schemaPath = "'+w+'"; } ',t.opts.verbose&&(r+=" "+tt+".schema = validate.schema"+b+"; "+tt+".data = "+c+"; "),r+=" } } "):rt?(r+=" var err = ",t.createErrors!==!1?(r+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+w+"\" , params: { keyword: '"+K.keyword+"' } ",t.opts.messages!==!1&&(r+=" , message: 'should pass \""+K.keyword+"\" keyword validation' "),t.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&f&&(r+=t.async?" throw new ValidationError(vErrors); ":" validate.errors = vErrors; return false ")):et.errors===!1?r+=" "+ct+" ":(r+=" if (Array.isArray("+Z+")) { if (vErrors === null) vErrors = "+Z+"; else vErrors.concat("+Z+"); errors = vErrors.length; for (var "+S+"="+Q+"; "+S+"<errors; "+S+"++) { var "+tt+" = vErrors["+S+"]; "+tt+".dataPath = (dataPath || '') + "+t.errorPath+"; "+tt+'.schemaPath = "'+w+'"; ',t.opts.verbose&&(r+=" "+tt+".schema = validate.schema"+b+"; "+tt+".data = "+c+"; "),r+=" } } else { "+ct+" } "),d=void 0,r+=" } ",f&&(r+=" else { ")}else r+=" "+K.code(t,K.keyword)+" ";f&&(p+="}")}if(f&&(r+=" "+p+" ",p=""),R.type&&(r+=" } ",g&&g===R.type)){var ut=!0;r+=" else { ";var b=t.schemaPath+".type",w=t.errSchemaPath+"/type",D=D||[];D.push(r),r="",t.createErrors!==!1?(r+=" { keyword: '"+(d||"type")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+w+"\" , params: { type: '",r+=v?""+g.join(","):""+g,r+="' } ",t.opts.messages!==!1&&(r+=" , message: 'should be ",r+=v?""+g.join(","):""+g,r+="' "),t.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=D.pop(),r+=!t.compositeRule&&f?t.async?" throw new ValidationError(["+T+"]); ":" validate.errors = ["+T+"]; return false; ":" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } "}f&&(r+=" if (errors === ",r+=s?"0":"errs_"+a,r+=") { ",m+="}")}if(g&&!ut&&(!t.opts.coerceTypes||!y)){var b=t.schemaPath+".type",w=t.errSchemaPath+"/type",A=v?"checkDataTypes":"checkDataType";r+=" if ("+t.util[A](g,c,!0)+") { ";var D=D||[];D.push(r),r="",t.createErrors!==!1?(r+=" { keyword: '"+(d||"type")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+w+"\" , params: { type: '",r+=v?""+g.join(","):""+g,r+="' } ",t.opts.messages!==!1&&(r+=" , message: 'should be ",r+=v?""+g.join(","):""+g,r+="' "),t.opts.verbose&&(r+=" , schema: validate.schema"+b+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=D.pop(),r+=!t.compositeRule&&f?t.async?" throw new ValidationError(["+T+"]); ":" validate.errors = ["+T+"]; return false; ":" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }"}return f&&(r+=" "+m+" "),s?(o?(r+=" if (errors === 0) return true; ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0; "),r+=" });"):r+=" var "+h+" = errors === errs_"+a+";",r=t.util.cleanUpCode(r),s&&f&&(r=t.util.cleanUpVarErrors(r,o)),r}},function(t,e){function n(t){var e=this,n=d.call(arguments,1);return new _promise2.default(function(r,o){function s(e){var n;try{n=t.next(e)}catch(t){return o(t)}c(n)}function l(e){var n;try{n=t.throw(e)}catch(t){return o(t)}c(n)}function c(t){if(t.done)return r(t.value);var n=i.call(e,t.value);return n&&a(n)?n.then(s,l):l(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(t.value)+'"'))}return"function"==typeof t&&(t=t.apply(e,n)),t&&"function"==typeof t.next?void s():r(t)})}function i(t){return t?a(t)?t:c(t)||l(t)?n.call(this,t):"function"==typeof t?r.call(this,t):Array.isArray(t)?o.call(this,t):u(t)?s.call(this,t):t:t}function r(t){var e=this;return new _promise2.default(function(n,i){t.call(e,function(t,e){return t?i(t):(arguments.length>2&&(e=d.call(arguments,1)),void n(e))})})}function o(t){return _promise2.default.all(t.map(i,this))}function s(t){function e(t,e){n[e]=void 0,o.push(t.then(function(t){n[e]=t}))}for(var n=new t.constructor,r=(0,_keys2.default)(t),o=[],s=0;s<r.length;s++){var l=r[s],c=i.call(this,t[l]);c&&a(c)?e(c,l):n[l]=t[l]}return _promise2.default.all(o).then(function(){return n})}function a(t){return"function"==typeof t.then}function l(t){return"function"==typeof t.next&&"function"==typeof t.throw}function c(t){var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||l(e.prototype))}function u(t){return Object==t.constructor}var d=Array.prototype.slice;t.exports=n.default=n.co=n,n.wrap=function(t){function e(){return n.call(this,t.apply(this,arguments))}return e.__generatorFunction__=t,e}},function(t,e){function n(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}t.exports=n,n.prototype=(0,_create2.default)(Error.prototype),n.prototype.constructor=n},function(t,e){var n=t.exports=function(){this._cache={}};n.prototype.put=function(t,e){this._cache[t]=e},n.prototype.get=function(t){return this._cache[t]},n.prototype.del=function(t){delete this._cache[t]},n.prototype.clear=function(){this._cache={}}},function(t,e,n){function i(t){t="full"==t?"full":"fast";var e=f.copy(i[t]);for(var n in i.compare)e[n]={validate:e[n],compare:i.compare[n]};return e}function r(t){var e=t.match(p);if(!e)return!1;var n=+e[1],i=+e[2];return n>=1&&n<=12&&i>=1&&i<=m[n]}function o(t,e){var n=t.match(g);if(!n)return!1;var i=n[1],r=n[2],o=n[3],s=n[5];return i<=23&&r<=59&&o<=59&&(!e||s)}function s(t){var e=t.split(x);return r(e[0])&&o(e[1],!0)}function a(t){return t.length<=255&&v.test(t)}function l(t){return _.test(t)&&y.test(t)}function c(t){try{return new RegExp(t),!0}catch(t){return!1}}function u(t,e){if(t&&e)return t>e?1:t<e?-1:t===e?0:void 0}function d(t,e){if(t&&e&&(t=t.match(g),e=e.match(g),t&&e))return t=t[1]+t[2]+t[3]+(t[4]||""),e=e[1]+e[2]+e[3]+(e[4]||""),t>e?1:t<e?-1:t===e?0:void 0}function h(t,e){if(t&&e){t=t.split(x),e=e.split(x);var n=u(t[0],e[0]);if(void 0!==n)return n||d(t[1],e[1])}}var f=n(11),p=/^\d\d\d\d-(\d\d)-(\d\d)$/,m=[0,31,29,31,30,31,30,31,31,30,31,30,31],g=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,v=/^[a-z](?:(?:[-0-9a-z]{0,61})?[0-9a-z])?(\.[a-z](?:(?:[-0-9a-z]{0,61})?[0-9a-z])?)*$/i,y=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?(?:\#(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?$/i,b=/^(?:urn\:uuid\:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,w=/^(?:\/(?:[^~\/]|~0|~1)+)*(?:\/)?$|^\#(?:\/(?:[a-z0-9_\-\.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)+)*(?:\/)?$/i,A=/^(?:0|[1-9][0-9]*)(?:\#|(?:\/(?:[^~\/]|~0|~1)+)*(?:\/)?)$/;t.exports=i,i.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^[0-2]\d:[0-5]\d:[0-5]\d(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s][0-2]\d:[0-5]\d:[0-5]\d(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*)?(?:\:|\/)\/?[^\s]*$/i,email:/^[a-z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:v,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:c,uuid:b,"json-pointer":w,"relative-json-pointer":A},i.full={date:r,time:o,"date-time":s,uri:l,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&''*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:c,uuid:b,"json-pointer":w,"relative-json-pointer":A},i.compare={date:u,time:d,"date-time":h};var x=/t|\s/i,_=/\/|\:/},function(t,e,n){var i=n(24),r=n(11);t.exports=function(){var t=[{type:"number",rules:["maximum","minimum","multipleOf"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","uniqueItems","items"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","properties"]},{rules:["$ref","enum","not","anyOf","oneOf","allOf"]}];return t.all=["type","additionalProperties","patternProperties"],t.keywords=["additionalItems","$schema","id","title","description","default"],t.types=["number","integer","string","array","object","boolean","null"],t.forEach(function(e){e.rules=e.rules.map(function(e){return t.all.push(e),{keyword:e,code:i[e]}})}),t.keywords=r.toHash(t.all.concat(t.keywords)),t.all=r.toHash(t.all),t.types=r.toHash(t.types),t}},function(t,e,n){t.exports={$ref:n(25),allOf:n(26),anyOf:n(27),dependencies:n(28),enum:n(29),format:n(30),items:n(31),maximum:n(32),minimum:n(32),maxItems:n(33),minItems:n(33),maxLength:n(34),minLength:n(34),maxProperties:n(35),minProperties:n(35),multipleOf:n(36),not:n(37),oneOf:n(38),pattern:n(39),properties:n(40),required:n(41),uniqueItems:n(42),validate:n(18)}},function(t,e){t.exports=function(t,e){var n,i,r,o=" ",s=t.level,a=t.dataLevel,l=t.schema[e],c=t.errSchemaPath+"/"+e,u=!t.opts.allErrors,d="data"+(a||""),h="valid"+s;if("#"==l||"#/"==l)t.isRoot?(i=t.async,r="validate"):(i=t.root.schema.$async===!0,r="root.refVal[0]");else{var f=t.resolveRef(t.baseId,l,t.isRoot);if(void 0===f){var p="can't resolve reference "+l+" from id "+t.baseId;if("fail"==t.opts.missingRefs){console.log(p);var m=m||[];m.push(o),o="",t.createErrors!==!1?(o+=" { keyword: '"+(n||"$ref")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+c+"\" , params: { ref: '"+t.util.escapeQuotes(l)+"' } ",t.opts.messages!==!1&&(o+=" , message: 'can\\'t resolve reference "+t.util.escapeQuotes(l)+"' "),t.opts.verbose&&(o+=" , schema: "+t.util.toQuotedString(l)+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var g=o;o=m.pop(),o+=!t.compositeRule&&u?t.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(o+=" if (false) { ")}else{if("ignore"!=t.opts.missingRefs){var v=new Error(p);throw v.missingRef=t.resolve.url(t.baseId,l),v.missingSchema=t.resolve.normalizeId(t.resolve.fullPath(v.missingRef)),v}console.log(p),u&&(o+=" if (true) { ")}}else if(f.inline){var y=t.util.copy(t);y.level++,y.schema=f.schema,y.schemaPath="",y.errSchemaPath=l;var b=t.validate(y).replace(/validate\.schema/g,f.code);o+=" "+b+" ",u&&(o+=" if (valid"+y.level+") { ")}else i=f.async,r=f.code}if(r){var m=m||[];m.push(o),o="",o+=t.opts.passContext?" "+r+".call(this, ":" "+r+"( ",o+=" "+d+", (dataPath || '')",'""'!=t.errorPath&&(o+=" + "+t.errorPath),o+=a?" , data"+(a-1||"")+" , "+t.dataPathArr[a]+" ":" , parentData , parentDataProperty ",o+=") ";var w=o;if(o=m.pop(),i){if(!t.async)throw new Error("async schema referenced by sync schema");o+=" try { ",u&&(o+="var "+h+" ="),o+=" "+t.yieldAwait+" "+w+"; } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; } ",u&&(o+=" if ("+h+") { ")}else o+=" if (!"+w+") { if (vErrors === null) vErrors = "+r+".errors; else vErrors = vErrors.concat("+r+".errors); errors = vErrors.length; } ",u&&(o+=" else { ")}return o}},function(t,e){t.exports=function(t,e){var n=" ",i=t.schema[e],r=t.schemaPath+"."+e,o=t.errSchemaPath+"/"+e,s=!t.opts.allErrors,a=t.util.copy(t),l="";a.level++;var c=i;if(c)for(var u,d=-1,h=c.length-1;d<h;)u=c[d+=1],t.util.schemaHasRules(u,t.RULES.all)&&(a.schema=u,a.schemaPath=r+"["+d+"]",a.errSchemaPath=o+"/"+d,n+=" "+t.validate(a)+" ",s&&(n+=" if (valid"+a.level+") { ",l+="}"));return s&&(n+=" "+l.slice(0,-1)),n=t.util.cleanUpCode(n)}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=t.util.copy(t),p="";f.level++;var m=s.every(function(e){return t.util.schemaHasRules(e,t.RULES.all)});if(m){i+=" var "+h+" = errors; var "+d+" = false; ";var g=t.compositeRule;t.compositeRule=f.compositeRule=!0;var v=s;if(v)for(var y,b=-1,w=v.length-1;b<w;)y=v[b+=1],f.schema=y,f.schemaPath=a+"["+b+"]",f.errSchemaPath=l+"/"+b,i+=" "+t.validate(f)+" "+d+" = "+d+" || valid"+f.level+"; if (!"+d+") { ",p+="}";t.compositeRule=f.compositeRule=g,i+=" "+p+" if (!"+d+") { var err = ",t.createErrors!==!1?(i+=" { keyword: '"+(n||"anyOf")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: {} ',t.opts.messages!==!1&&(i+=" , message: 'should match some schema in anyOf' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",t.opts.allErrors&&(i+=" } "),i=t.util.cleanUpCode(i)}else c&&(i+=" if (true) { ");return i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="errs__"+r,h=t.util.copy(t),f="";h.level++;var p={},m={};for(b in s){var g=s[b],v=Array.isArray(g)?m:p;v[b]=g}i+="var "+d+" = errors;";var y=t.errorPath;i+="var missing"+r+";";for(var b in m){v=m[b],i+=" if ("+u+t.util.getProperty(b)+" !== undefined && ( ";var w=v;if(w)for(var A,x=-1,_=w.length-1;x<_;){A=w[x+=1],x&&(i+=" || ");var E=t.util.getProperty(A);i+=" ( "+u+E+" === undefined && (missing"+r+" = "+t.util.toQuotedString(t.opts.jsonPointers?A:E)+") ) "}i+=")) { ";var C="missing"+r,k="' + "+C+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.opts.jsonPointers?t.util.getPathExpr(y,C,!0):y+" + "+C);
|
|
75
|
-
var S=S||[];S.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"dependencies")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { property: '"+t.util.escapeQuotes(b)+"', missingProperty: '"+k+"', depsCount: "+v.length+", deps: '"+t.util.escapeQuotes(1==v.length?v[0]:v.join(", "))+"' } ",t.opts.messages!==!1&&(i+=" , message: 'should have ",i+=1==v.length?"property "+t.util.escapeQuotes(v[0]):"properties "+t.util.escapeQuotes(v.join(", ")),i+=" when property "+t.util.escapeQuotes(b)+" is present' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var F=i;i=S.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+F+"]); ":" validate.errors = ["+F+"]; return false; ":" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(f+="}",i+=" else { ")}t.errorPath=y;for(var b in p){var g=p[b];t.util.schemaHasRules(g,t.RULES.all)&&(i+=" valid"+h.level+" = true; if ("+u+"['"+b+"'] !== undefined) { ",h.schema=g,h.schemaPath=a+t.util.getProperty(b),h.errSchemaPath=l+"/"+t.util.escapeFragment(b),i+=" "+t.validate(h)+" } ",c&&(i+=" if (valid"+h.level+") { ",f+="}"))}return c&&(i+=" "+f+" if ("+d+" == errors) {"),i=t.util.cleanUpCode(i)}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h=t.opts.v5&&s.$data,f=h?t.util.getData(s.$data,o,t.dataPathArr):s;h&&(i+=" var schema"+r+" = "+f+"; ",f="schema"+r);var p="i"+r;h||(i+=" var schema"+r+" = validate.schema"+a+";"),i+="var "+d+";",h&&(i+=" if (schema"+r+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+r+")) "+d+" = false; else {"),i+=""+d+" = false;for (var "+p+"=0; "+p+"<schema"+r+".length; "+p+"++) if (equal("+u+", schema"+r+"["+p+"])) { "+d+" = true; break; }",h&&(i+=" } "),i+=" if (!"+d+") { ";var m=m||[];m.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"enum")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: {} ',t.opts.messages!==!1&&(i+=" , message: 'should be equal to one of the allowed values' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }",c&&(i+=" else { "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||"");if(t.opts.format===!1)return c&&(i+=" if (true) { "),i;var d=t.opts.v5&&s.$data,h=d?t.util.getData(s.$data,o,t.dataPathArr):s;if(d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r),d){var f="format"+r;i+=" var "+f+" = formats["+h+"]; var isObject"+r+" = typeof "+f+" == 'object' && !("+f+" instanceof RegExp) && "+f+".validate; if (isObject"+r+") { var async"+r+" = "+f+".async; "+f+" = "+f+".validate; } if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "),i+=" ("+f+" && !(typeof "+f+" == 'function' ? ",i+=t.async?" (async"+r+" ? "+t.yieldAwait+" "+f+"("+u+") : "+f+"("+u+")) ":" "+f+"("+u+") ",i+=" : "+f+".test("+u+")))) {"}else{var f=t.formats[s];if(!f)return c&&(i+=" if (true) { "),i;var p="object"==("undefined"==typeof f?"undefined":(0,_typeof3.default)(f))&&!(f instanceof RegExp)&&f.validate;if(p){var m=f.async===!0;f=f.validate}if(m){if(!t.async)throw new Error("async format in sync schema");var g="formats"+t.util.getProperty(s)+".validate";i+=" if (!("+t.yieldAwait+" "+g+"("+u+"))) { "}else{i+=" if (! ";var g="formats"+t.util.getProperty(s);p&&(g+=".validate"),i+="function"==typeof f?" "+g+"("+u+") ":" "+g+".test("+u+") ",i+=") { "}}var v=v||[];v.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"format")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { format: ',i+=d?""+h:""+t.util.toQuotedString(s),i+=" } ",t.opts.messages!==!1&&(i+=" , message: 'should match format \"",i+=d?"' + "+h+" + '":""+t.util.escapeQuotes(s),i+="\"' "),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+t.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var y=i;return i=v.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+y+"]); ":" validate.errors = ["+y+"]; return false; ":" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=t.util.copy(t),p="";f.level++;var m=f.dataLevel=t.dataLevel+1,g="data"+m;if(i+="var "+h+" = errors;var "+d+";",Array.isArray(s)){var v=t.schema.additionalItems;if(v===!1){i+=" "+d+" = "+u+".length <= "+s.length+"; ";var y=l;l=t.errSchemaPath+"/additionalItems",i+=" if (!"+d+") { ";var b=b||[];b.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"additionalItems")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { limit: '+s.length+" } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have more than "+s.length+" items' "),t.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var w=i;i=b.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+w+"]); ":" validate.errors = ["+w+"]; return false; ":" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l=y,c&&(p+="}",i+=" else { ")}var A=s;if(A)for(var x,_=-1,E=A.length-1;_<E;)if(x=A[_+=1],t.util.schemaHasRules(x,t.RULES.all)){i+=" valid"+f.level+" = true; if ("+u+".length > "+_+") { ";var C=u+"["+_+"]";f.schema=x,f.schemaPath=a+"["+_+"]",f.errSchemaPath=l+"/"+_,f.errorPath=t.util.getPathExpr(t.errorPath,_,t.opts.jsonPointers,!0),f.dataPathArr[m]=_;var k=t.validate(f);i+=t.util.varOccurences(k,g)<2?" "+t.util.varReplace(k,g,C)+" ":" var "+g+" = "+C+"; "+k+" ",i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}if("object"==("undefined"==typeof v?"undefined":(0,_typeof3.default)(v))&&t.util.schemaHasRules(v,t.RULES.all)){f.schema=v,f.schemaPath=t.schemaPath+".additionalItems",f.errSchemaPath=t.errSchemaPath+"/additionalItems",i+=" valid"+f.level+" = true; if ("+u+".length > "+s.length+") { for (var i"+r+" = "+s.length+"; i"+r+" < "+u+".length; i"+r+"++) { ",f.errorPath=t.util.getPathExpr(t.errorPath,"i"+r,t.opts.jsonPointers,!0);var C=u+"[i"+r+"]";f.dataPathArr[m]="i"+r;var k=t.validate(f);i+=t.util.varOccurences(k,g)<2?" "+t.util.varReplace(k,g,C)+" ":" var "+g+" = "+C+"; "+k+" ",c&&(i+=" if (!valid"+f.level+") break; "),i+=" } } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}}else if(t.util.schemaHasRules(s,t.RULES.all)){f.schema=s,f.schemaPath=a,f.errSchemaPath=l,i+=" for (var i"+r+" = 0; i"+r+" < "+u+".length; i"+r+"++) { ",f.errorPath=t.util.getPathExpr(t.errorPath,"i"+r,t.opts.jsonPointers,!0);var C=u+"[i"+r+"]";f.dataPathArr[m]="i"+r;var k=t.validate(f);i+=t.util.varOccurences(k,g)<2?" "+t.util.varReplace(k,g,C)+" ":" var "+g+" = "+C+"; "+k+" ",c&&(i+=" if (!valid"+f.level+") break; "),i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}return c&&(i+=" "+p+" if ("+h+" == errors) {"),i=t.util.cleanUpCode(i)}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d=t.opts.v5&&s.$data,h=d?t.util.getData(s.$data,o,t.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f="maximum"==e,p=f?"exclusiveMaximum":"exclusiveMinimum",m=t.schema[p],g=t.opts.v5&&m&&m.$data,v=f?"<":">",y=f?">":"<";if(g){var b=t.util.getData(m.$data,o,t.dataPathArr),w="exclusive"+r,A="op"+r,x="' + "+A+" + '";i+=" var schemaExcl"+r+" = "+b+"; ",b="schemaExcl"+r,i+=" var exclusive"+r+"; if (typeof "+b+" != 'boolean' && typeof "+b+" != 'undefined') { ";var n=p,_=_||[];_.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: {} ',t.opts.messages!==!1&&(i+=" , message: '"+p+" should be boolean' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var E=i;i=_.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+E+"]); ":" validate.errors = ["+E+"]; return false; ":" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" ((exclusive"+r+" = "+b+" === true) ? "+u+" "+y+"= "+h+" : "+u+" "+y+" "+h+")) { var op"+r+" = exclusive"+r+" ? '"+v+"' : '"+v+"=';"}else{var w=m===!0,x=v;w||(x+="=");var A="'"+x+"'";i+=" if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" "+u+" "+y,w&&(i+="="),i+=" "+h+") {"}var n=e,_=_||[];_.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"_limit")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { comparison: '+A+", limit: "+h+", exclusive: "+w+" } ",t.opts.messages!==!1&&(i+=" , message: 'should be "+x+" ",i+=d?"' + "+h:""+s+"'"),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var E=i;return i=_.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+E+"]); ":" validate.errors = ["+E+"]; return false; ":" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d=t.opts.v5&&s.$data,h=d?t.util.getData(s.$data,o,t.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f="maxItems"==e?">":"<";i+="if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" "+u+".length "+f+" "+h+") { ";var n=e,p=p||[];p.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"_limitItems")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { limit: '+h+" } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have ",i+="maxItems"==e?"more":"less",i+=" than ",i+=d?"' + "+h+" + '":""+s,i+=" items' "),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d=t.opts.v5&&s.$data,h=d?t.util.getData(s.$data,o,t.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f="maxLength"==e?">":"<";i+="if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=t.opts.unicode===!1?" "+u+".length ":" ucs2length("+u+") ",i+=" "+f+" "+h+") { ";var n=e,p=p||[];p.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"_limitLength")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { limit: '+h+" } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT be ",i+="maxLength"==e?"longer":"shorter",i+=" than ",i+=d?"' + "+h+" + '":""+s,i+=" characters' "),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d=t.opts.v5&&s.$data,h=d?t.util.getData(s.$data,o,t.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f="maxProperties"==e?">":"<";i+="if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" Object.keys("+u+").length "+f+" "+h+") { ";var n=e,p=p||[];p.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"_limitProperties")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { limit: '+h+" } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have ",i+="maxProperties"==e?"more":"less",i+=" than ",i+=d?"' + "+h+" + '":""+s,i+=" properties' "),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d=t.opts.v5&&s.$data,h=d?t.util.getData(s.$data,o,t.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r),i+="var division"+r+";if (",d&&(i+=" "+h+" !== undefined && ( typeof "+h+" != 'number' || "),i+=" (division"+r+" = "+u+" / "+h+", ",i+=t.opts.multipleOfPrecision?" Math.abs(Math.round(division"+r+") - division"+r+") > 1e-"+t.opts.multipleOfPrecision+" ":" division"+r+" !== parseInt(division"+r+") ",i+=" ) ",d&&(i+=" ) "),i+=" ) { ";var f=f||[];f.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"multipleOf")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { multipleOf: '+h+" } ",t.opts.messages!==!1&&(i+=" , message: 'should be multiple of ",i+=d?"' + "+h:""+s+"'"),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var p=i;return i=f.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+p+"]); ":" validate.errors = ["+p+"]; return false; ":" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="errs__"+r,h=t.util.copy(t);if(h.level++,t.util.schemaHasRules(s,t.RULES.all)){h.schema=s,h.schemaPath=a,h.errSchemaPath=l,i+=" var "+d+" = errors; ";var f=t.compositeRule;t.compositeRule=h.compositeRule=!0,h.createErrors=!1;var p;h.opts.allErrors&&(p=h.opts.allErrors,h.opts.allErrors=!1),i+=" "+t.validate(h)+" ",h.createErrors=!0,p&&(h.opts.allErrors=p),t.compositeRule=h.compositeRule=f,i+=" if (valid"+h.level+") { ";var m=m||[];m.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"not")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: {} ',t.opts.messages!==!1&&(i+=" , message: 'should NOT be valid' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var g=i;i=m.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",t.opts.allErrors&&(i+=" } ")}else i+=" var err = ",t.createErrors!==!1?(i+=" { keyword: '"+(n||"not")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: {} ',t.opts.messages!==!1&&(i+=" , message: 'should NOT be valid' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(i+=" if (false) { ");return i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=t.util.copy(t),p="";f.level++,i+="var "+h+" = errors;var prevValid"+r+" = false;var "+d+" = false; ";var m=t.compositeRule;t.compositeRule=f.compositeRule=!0;var g=s;if(g)for(var v,y=-1,b=g.length-1;y<b;)v=g[y+=1],t.util.schemaHasRules(v,t.RULES.all)?(f.schema=v,f.schemaPath=a+"["+y+"]",f.errSchemaPath=l+"/"+y,i+=" "+t.validate(f)+" "):i+=" var valid"+f.level+" = true; ",y&&(i+=" if (valid"+f.level+" && prevValid"+r+") "+d+" = false; else { ",p+="}"),i+=" if (valid"+f.level+") "+d+" = prevValid"+r+" = true;";t.compositeRule=f.compositeRule=m,i+=""+p+"if (!"+d+") { ";var w=w||[];w.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"oneOf")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: {} ',t.opts.messages!==!1&&(i+=" , message: 'should match exactly one schema in oneOf' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var A=i;return i=w.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+A+"]); ":" validate.errors = ["+A+"]; return false; ":" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",t.opts.allErrors&&(i+=" } "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d=t.opts.v5&&s.$data,h=d?t.util.getData(s.$data,o,t.dataPathArr):s;d&&(i+=" var schema"+r+" = "+h+"; ",h="schema"+r);var f=d?"(new RegExp("+h+"))":t.usePattern(s);i+="if ( ",d&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "),i+=" !"+f+".test("+u+") ) { ";var p=p||[];p.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"pattern")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { pattern: ',i+=d?""+h:""+t.util.toQuotedString(s),i+=" } ",t.opts.messages!==!1&&(i+=" , message: 'should match pattern \"",i+=d?"' + "+h+" + '":""+t.util.escapeQuotes(s),i+="\"' "),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+a:""+t.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=t.util.copy(t),p="";f.level++;var m=f.dataLevel=t.dataLevel+1,g="data"+m,v=(0,_keys2.default)(s||{}),y=t.schema.patternProperties||{},b=(0,_keys2.default)(y),w=t.schema.additionalProperties,A=v.length||b.length,x=w===!1,_="object"==("undefined"==typeof w?"undefined":(0,_typeof3.default)(w))&&(0,_keys2.default)(w).length,E=t.opts.removeAdditional,C=x||_||E,k=t.schema.required;if(k&&(!t.opts.v5||!k.$data)&&k.length<t.opts.loopRequired)var S=t.util.toHash(k);if(t.opts.v5)var F=t.schema.patternGroups||{},D=(0,_keys2.default)(F);if(i+="var "+h+" = errors;var valid"+f.level+" = true;",C){if(i+=" for (var key"+r+" in "+u+") { ",A){if(i+=" var isAdditional"+r+" = !(false ",v.length)if(v.length>5)i+=" || validate.schema"+a+"[key"+r+"] ";else{var T=v;if(T)for(var $,B=-1,M=T.length-1;B<M;)$=T[B+=1],i+=" || key"+r+" == "+t.util.toQuotedString($)+" "}if(b.length){var R=b;if(R)for(var P,L=-1,O=R.length-1;L<O;)P=R[L+=1],i+=" || "+t.usePattern(P)+".test(key"+r+") "}if(t.opts.v5&&D&&D.length){var j=D;if(j)for(var N,L=-1,I=j.length-1;L<I;)N=j[L+=1],i+=" || "+t.usePattern(N)+".test(key"+r+") "}i+=" ); if (isAdditional"+r+") { "}if("all"==E)i+=" delete "+u+"[key"+r+"]; ";else{var H=t.errorPath,V="' + key"+r+" + '";if(t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPathExpr(t.errorPath,"key"+r,t.opts.jsonPointers)),x)if(E)i+=" delete "+u+"[key"+r+"]; ";else{i+=" valid"+f.level+" = false; ";var W=l;l=t.errSchemaPath+"/additionalProperties";var z=z||[];z.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"additionalProperties")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { additionalProperty: '"+V+"' } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have additional properties' "),t.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var q=i;i=z.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+q+"]); ":" validate.errors = ["+q+"]; return false; ":" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=W,c&&(i+=" break; ")}else if(_)if("failing"==E){i+=" var "+h+" = errors; ";var U=t.compositeRule;t.compositeRule=f.compositeRule=!0,f.schema=w,f.schemaPath=t.schemaPath+".additionalProperties",f.errSchemaPath=t.errSchemaPath+"/additionalProperties",f.errorPath=t.opts._errorDataPathProperty?t.errorPath:t.util.getPathExpr(t.errorPath,"key"+r,t.opts.jsonPointers);var G=u+"[key"+r+"]";f.dataPathArr[m]="key"+r;var K=t.validate(f);i+=t.util.varOccurences(K,g)<2?" "+t.util.varReplace(K,g,G)+" ":" var "+g+" = "+G+"; "+K+" ",i+=" if (!valid"+f.level+") { errors = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"[key"+r+"]; } ",t.compositeRule=f.compositeRule=U}else{f.schema=w,f.schemaPath=t.schemaPath+".additionalProperties",f.errSchemaPath=t.errSchemaPath+"/additionalProperties",f.errorPath=t.opts._errorDataPathProperty?t.errorPath:t.util.getPathExpr(t.errorPath,"key"+r,t.opts.jsonPointers);var G=u+"[key"+r+"]";f.dataPathArr[m]="key"+r;var K=t.validate(f);i+=t.util.varOccurences(K,g)<2?" "+t.util.varReplace(K,g,G)+" ":" var "+g+" = "+G+"; "+K+" ",c&&(i+=" if (!valid"+f.level+") break; ")}t.errorPath=H}A&&(i+=" } "),i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}var Y=t.opts.useDefaults&&!t.compositeRule;if(v.length){var X=v;if(X)for(var $,J=-1,Z=X.length-1;J<Z;){$=X[J+=1];var Q=s[$];if(t.util.schemaHasRules(Q,t.RULES.all)){var tt=t.util.getProperty($),G=u+tt,et=Y&&void 0!==Q.default;f.schema=Q,f.schemaPath=a+tt,f.errSchemaPath=l+"/"+t.util.escapeFragment($),f.errorPath=t.util.getPath(t.errorPath,$,t.opts.jsonPointers),f.dataPathArr[m]=t.util.toQuotedString($);var K=t.validate(f);if(t.util.varOccurences(K,g)<2){K=t.util.varReplace(K,g,G);var nt=G}else{var nt=g;i+=" var "+g+" = "+G+"; "}if(et)i+=" "+K+" ";else{if(S&&S[$]){i+=" if ("+nt+" === undefined) { valid"+f.level+" = false; ";var H=t.errorPath,W=l,it=t.util.escapeQuotes($);t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPath(H,$,t.opts.jsonPointers)),l=t.errSchemaPath+"/required";var z=z||[];z.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+it+"' } ",t.opts.messages!==!1&&(i+=" , message: '",i+=t.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+it+"\\'",i+="' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var q=i;i=z.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+q+"]); ":" validate.errors = ["+q+"]; return false; ":" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=W,t.errorPath=H,i+=" } else { "}else i+=c?" if ("+nt+" === undefined) { valid"+f.level+" = true; } else { ":" if ("+nt+" !== undefined) { ";i+=" "+K+" } "}}c&&(i+=" if (valid"+f.level+") { ",p+="}")}}var rt=b;if(rt)for(var P,ot=-1,st=rt.length-1;ot<st;){P=rt[ot+=1];var Q=y[P];if(t.util.schemaHasRules(Q,t.RULES.all)){f.schema=Q,f.schemaPath=t.schemaPath+".patternProperties"+t.util.getProperty(P),f.errSchemaPath=t.errSchemaPath+"/patternProperties/"+t.util.escapeFragment(P),i+=" for (var key"+r+" in "+u+") { if ("+t.usePattern(P)+".test(key"+r+")) { ",f.errorPath=t.util.getPathExpr(t.errorPath,"key"+r,t.opts.jsonPointers);var G=u+"[key"+r+"]";f.dataPathArr[m]="key"+r;var K=t.validate(f);i+=t.util.varOccurences(K,g)<2?" "+t.util.varReplace(K,g,G)+" ":" var "+g+" = "+G+"; "+K+" ",c&&(i+=" if (!valid"+f.level+") break; "),i+=" } ",c&&(i+=" else valid"+f.level+" = true; "),i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}")}}if(t.opts.v5){var at=D;if(at)for(var N,lt=-1,ct=at.length-1;lt<ct;){N=at[lt+=1];var ut=F[N],Q=ut.schema;if(t.util.schemaHasRules(Q,t.RULES.all)){f.schema=Q,f.schemaPath=t.schemaPath+".patternGroups"+t.util.getProperty(N)+".schema",f.errSchemaPath=t.errSchemaPath+"/patternGroups/"+t.util.escapeFragment(N)+"/schema",i+=" var pgPropCount"+r+" = 0; for (var key"+r+" in "+u+") { if ("+t.usePattern(N)+".test(key"+r+")) { pgPropCount"+r+"++; ",f.errorPath=t.util.getPathExpr(t.errorPath,"key"+r,t.opts.jsonPointers);var G=u+"[key"+r+"]";f.dataPathArr[m]="key"+r;var K=t.validate(f);i+=t.util.varOccurences(K,g)<2?" "+t.util.varReplace(K,g,G)+" ":" var "+g+" = "+G+"; "+K+" ",c&&(i+=" if (!valid"+f.level+") break; "),i+=" } ",c&&(i+=" else valid"+f.level+" = true; "),i+=" } ",c&&(i+=" if (valid"+f.level+") { ",p+="}");var dt=ut.minimum,ht=ut.maximum;if(void 0!==dt||void 0!==ht){i+=" var "+d+" = true; ";var W=l;if(void 0!==dt){var ft=dt,pt="minimum",mt="less";i+=" "+d+" = pgPropCount"+r+" >= "+dt+"; ",l=t.errSchemaPath+"/patternGroups/minimum",i+=" if (!"+d+") { ";var z=z||[];z.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"patternGroups")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { reason: '"+pt+"', limit: "+ft+", pattern: '"+t.util.escapeQuotes(N)+"' } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have "+mt+" than "+ft+' properties matching pattern "'+t.util.escapeQuotes(N)+"\"' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var q=i;i=z.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+q+"]); ":" validate.errors = ["+q+"]; return false; ":" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",void 0!==ht&&(i+=" else ")}if(void 0!==ht){var ft=ht,pt="maximum",mt="more";i+=" "+d+" = pgPropCount"+r+" <= "+ht+"; ",l=t.errSchemaPath+"/patternGroups/maximum",i+=" if (!"+d+") { ";var z=z||[];z.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"patternGroups")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { reason: '"+pt+"', limit: "+ft+", pattern: '"+t.util.escapeQuotes(N)+"' } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have "+mt+" than "+ft+' properties matching pattern "'+t.util.escapeQuotes(N)+"\"' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var q=i;i=z.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+q+"]); ":" validate.errors = ["+q+"]; return false; ":" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } "}l=W,c&&(i+=" if ("+d+") { ",p+="}")}}}}return c&&(i+=" "+p+" if ("+h+" == errors) {"),i=t.util.cleanUpCode(i)}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h=t.opts.v5&&s.$data,f=h?t.util.getData(s.$data,o,t.dataPathArr):s;if(h&&(i+=" var schema"+r+" = "+f+"; ",f="schema"+r),!h)if(s.length<t.opts.loopRequired&&t.schema.properties&&(0,_keys2.default)(t.schema.properties).length){var p=[],m=s;if(m)for(var g,v=-1,y=m.length-1;v<y;){g=m[v+=1];var b=t.schema.properties[g];b&&t.util.schemaHasRules(b,t.RULES.all)||(p[p.length]=g)}}else var p=s;if(h||p.length){var w=t.errorPath,A=h||p.length>=t.opts.loopRequired;if(c)if(i+=" var missing"+r+"; ",A){h||(i+=" var schema"+r+" = validate.schema"+a+"; ");var x="i"+r,_="schema"+r+"["+x+"]",E="' + "+_+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPathExpr(w,_,t.opts.jsonPointers)),i+=" var "+d+" = true; ",h&&(i+=" if (schema"+r+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+r+")) "+d+" = false; else {"),i+=" for (var "+x+" = 0; "+x+" < schema"+r+".length; "+x+"++) { "+d+" = "+u+"[schema"+r+"["+x+"]] !== undefined; if (!"+d+") break; } ",h&&(i+=" } "),i+=" if (!"+d+") { ";var C=C||[];C.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+E+"' } ",t.opts.messages!==!1&&(i+=" , message: '",i+=t.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+E+"\\'",i+="' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var k=i;i=C.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+k+"]); ":" validate.errors = ["+k+"]; return false; ":" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { "}else{i+=" if ( ";var S=p;if(S)for(var F,x=-1,D=S.length-1;x<D;){F=S[x+=1],x&&(i+=" || ");var T=t.util.getProperty(F);i+=" ( "+u+T+" === undefined && (missing"+r+" = "+t.util.toQuotedString(t.opts.jsonPointers?F:T)+") ) "}i+=") { ";var _="missing"+r,E="' + "+_+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.opts.jsonPointers?t.util.getPathExpr(w,_,!0):w+" + "+_);var C=C||[];C.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+E+"' } ",t.opts.messages!==!1&&(i+=" , message: '",i+=t.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+E+"\\'",i+="' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var k=i;i=C.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+k+"]); ":" validate.errors = ["+k+"]; return false; ":" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { "}else if(A){h||(i+=" var schema"+r+" = validate.schema"+a+"; ");var x="i"+r,_="schema"+r+"["+x+"]",E="' + "+_+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPathExpr(w,_,t.opts.jsonPointers)),h&&(i+=" if (schema"+r+" && !Array.isArray(schema"+r+")) { var err = ",t.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+E+"' } ",
|
|
76
|
-
t.opts.messages!==!1&&(i+=" , message: '",i+=t.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+E+"\\'",i+="' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if (schema"+r+" !== undefined) { "),i+=" for (var "+x+" = 0; "+x+" < schema"+r+".length; "+x+"++) { if ("+u+"[schema"+r+"["+x+"]] === undefined) { var err = ",t.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+E+"' } ",t.opts.messages!==!1&&(i+=" , message: '",i+=t.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+E+"\\'",i+="' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",h&&(i+=" } ")}else{var $=p;if($)for(var g,x=-1,B=$.length-1;x<B;){g=$[x+=1];var T=t.util.getProperty(g),E=t.util.escapeQuotes(g);t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPath(w,g,t.opts.jsonPointers)),i+=" if ("+u+T+" === undefined) { var err = ",t.createErrors!==!1?(i+=" { keyword: '"+(n||"required")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { missingProperty: '"+E+"' } ",t.opts.messages!==!1&&(i+=" , message: '",i+=t.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+E+"\\'",i+="' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t.errorPath=w}else c&&(i+=" if (true) {");return i}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h=t.opts.v5&&s.$data,f=h?t.util.getData(s.$data,o,t.dataPathArr):s;if(h&&(i+=" var schema"+r+" = "+f+"; ",f="schema"+r),(s||h)&&t.opts.uniqueItems!==!1){h&&(i+=" var "+d+"; if ("+f+" === false || "+f+" === undefined) "+d+" = true; else if (typeof "+f+" != 'boolean') "+d+" = false; else { "),i+=" var "+d+" = true; if ("+u+".length > 1) { var i = "+u+".length, j; outer: for (;i--;) { for (j = i; j--;) { if (equal("+u+"[i], "+u+"[j])) { "+d+" = false; break outer; } } } } ",h&&(i+=" } "),i+=" if (!"+d+") { ";var p=p||[];p.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"uniqueItems")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { i: i, j: j } ',t.opts.messages!==!1&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),t.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+a:""+s,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { ")}else c&&(i+=" if (true) { ");return i}},function(t,e,n){function i(t){function e(e,n,r){var o={inline:r||i[e],statements:!0,errors:"full"};n&&(o.type=n),t.addKeyword(e,o)}var i={switch:n(44),constant:n(45),_formatLimit:n(46),patternRequired:n(47)};if(t._opts.meta!==!1){var s=n(48);t.addMetaSchema(s,o)}e("constant"),t.addKeyword("contains",{type:"array",macro:r}),e("formatMaximum","string",i._formatLimit),e("formatMinimum","string",i._formatLimit),t.addKeyword("exclusiveFormatMaximum"),t.addKeyword("exclusiveFormatMinimum"),t.addKeyword("patternGroups"),e("patternRequired","object"),e("switch")}function r(t){return{not:{items:{not:t}}}}var o="https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-v5.json";t.exports={enable:i,META_SCHEMA_ID:o}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h="errs__"+r,f=t.util.copy(t),p="";f.level++;var m,g="ifPassed"+t.level;i+="var "+g+";";var v=s;if(v)for(var y,b=-1,w=v.length-1;b<w;){if(y=v[b+=1],b&&!m&&(i+=" if (!"+g+") { ",p+="}"),y.if&&t.util.schemaHasRules(y.if,t.RULES.all)){i+=" var "+h+" = errors; ";var A=t.compositeRule;if(t.compositeRule=f.compositeRule=!0,f.createErrors=!1,f.schema=y.if,f.schemaPath=a+"["+b+"].if",f.errSchemaPath=l+"/"+b+"/if",i+=" "+t.validate(f)+" ",f.createErrors=!0,t.compositeRule=f.compositeRule=A,i+=" "+g+" = valid"+f.level+"; if ("+g+") { ","boolean"==typeof y.then){if(y.then===!1){var x=x||[];x.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"switch")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { caseIndex: '+b+" } ",t.opts.messages!==!1&&(i+=" , message: 'should pass \"switch\" keyword validation' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var _=i;i=x.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+_+"]); ":" validate.errors = ["+_+"]; return false; ":" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" var valid"+f.level+" = "+y.then+"; "}else f.schema=y.then,f.schemaPath=a+"["+b+"].then",f.errSchemaPath=l+"/"+b+"/then",i+=" "+t.validate(f)+" ";i+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } } "}else if(i+=" "+g+" = true; ","boolean"==typeof y.then){if(y.then===!1){var x=x||[];x.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"switch")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { caseIndex: '+b+" } ",t.opts.messages!==!1&&(i+=" , message: 'should pass \"switch\" keyword validation' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var _=i;i=x.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+_+"]); ":" validate.errors = ["+_+"]; return false; ":" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" var valid"+f.level+" = "+y.then+"; "}else f.schema=y.then,f.schemaPath=a+"["+b+"].then",f.errSchemaPath=l+"/"+b+"/then",i+=" "+t.validate(f)+" ";m=y.continue}return i+=""+p+"var "+d+" = valid"+f.level+"; ",i=t.util.cleanUpCode(i)}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h=t.opts.v5&&s.$data,f=h?t.util.getData(s.$data,o,t.dataPathArr):s;h&&(i+=" var schema"+r+" = "+f+"; ",f="schema"+r),h||(i+=" var schema"+r+" = validate.schema"+a+";"),i+="var "+d+" = equal("+u+", schema"+r+"); if (!"+d+") { ";var p=p||[];p.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"constant")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: {} ',t.opts.messages!==!1&&(i+=" , message: 'should be equal to constant' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }"}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r;if(i+="var "+d+" = undefined;",t.opts.format===!1)return i+=" "+d+" = true; ";var h=t.schema.format,f=t.opts.v5&&h.$data,p="";if(f){var m=t.util.getData(h.$data,o,t.dataPathArr),g="format"+r,v="compare"+r;i+=" var "+g+" = formats["+m+"] , "+v+" = "+g+" && "+g+".compare;"}else{var g=t.formats[h];if(!g||!g.compare)return i+=" "+d+" = true; ";var v="formats"+t.util.getProperty(h)+".compare"}var y="formatMaximum"==e,b="exclusiveFormat"+(y?"Maximum":"Minimum"),w=t.schema[b],A=t.opts.v5&&w&&w.$data,x=y?"<":">",_="result"+r,E=t.opts.v5&&s.$data,C=E?t.util.getData(s.$data,o,t.dataPathArr):s;if(E&&(i+=" var schema"+r+" = "+C+"; ",C="schema"+r),A){var k=t.util.getData(w.$data,o,t.dataPathArr),S="exclusive"+r,F="op"+r,D="' + "+F+" + '";i+=" var schemaExcl"+r+" = "+k+"; ",k="schemaExcl"+r,i+=" if (typeof "+k+" != 'boolean' && "+k+" !== undefined) { "+d+" = false; ";var n=b,T=T||[];T.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"_exclusiveFormatLimit")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: {} ',t.opts.messages!==!1&&(i+=" , message: '"+b+" should be boolean' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var $=i;i=T.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+$+"]); ":" validate.errors = ["+$+"]; return false; ":" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(p+="}",i+=" else { "),E&&(i+=" if ("+C+" === undefined) "+d+" = true; else if (typeof "+C+" != 'string') "+d+" = false; else { ",p+="}"),f&&(i+=" if (!"+v+") "+d+" = true; else { ",p+="}"),i+=" var "+_+" = "+v+"("+u+", ",i+=E?""+C:""+t.util.toQuotedString(s),i+=" ); if ("+_+" === undefined) "+d+" = false; var exclusive"+r+" = "+k+" === true; if ("+d+" === undefined) { "+d+" = exclusive"+r+" ? "+_+" "+x+" 0 : "+_+" "+x+"= 0; } if (!"+d+") var op"+r+" = exclusive"+r+" ? '"+x+"' : '"+x+"=';"}else{var S=w===!0,D=x;S||(D+="=");var F="'"+D+"'";E&&(i+=" if ("+C+" === undefined) "+d+" = true; else if (typeof "+C+" != 'string') "+d+" = false; else { ",p+="}"),f&&(i+=" if (!"+v+") "+d+" = true; else { ",p+="}"),i+=" var "+_+" = "+v+"("+u+", ",i+=E?""+C:""+t.util.toQuotedString(s),i+=" ); if ("+_+" === undefined) "+d+" = false; if ("+d+" === undefined) "+d+" = "+_+" "+x,S||(i+="="),i+=" 0;"}i+=""+p+"if (!"+d+") { ";var n=e,T=T||[];T.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(n||"_formatLimit")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+'" , params: { limit: ',i+=E?""+C:""+t.util.toQuotedString(s),i+=" } ",t.opts.messages!==!1&&(i+=" , message: 'should be "+D+' "',i+=E?"' + "+C+" + '":""+t.util.escapeQuotes(s),i+="\"' "),t.opts.verbose&&(i+=" , schema: ",i+=E?"validate.schema"+a:""+t.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ";var $=i;return i=T.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+$+"]); ":" validate.errors = ["+$+"]; return false; ":" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="}"}},function(t,e){t.exports=function(t,e){var n,i=" ",r=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+"."+e,l=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,u="data"+(o||""),d="valid"+r,h="key"+r,f="patternMatched"+r,p="";i+="var "+d+" = true;";var m=s;if(m)for(var g,v=-1,y=m.length-1;v<y;){g=m[v+=1],i+=" var "+f+" = false; for (var "+h+" in "+u+") { "+f+" = "+t.usePattern(g)+".test("+h+"); if ("+f+") break; } ";var b=t.util.escapeQuotes(g);i+=" if (!"+f+") { "+d+" = false; var err = ",t.createErrors!==!1?(i+=" { keyword: '"+(n||"patternRequired")+"' , dataPath: (dataPath || '') + "+t.errorPath+' , schemaPath: "'+l+"\" , params: { missingPattern: '"+b+"' } ",t.opts.messages!==!1&&(i+=" , message: 'should have property matching pattern \\'"+b+"\\'' "),t.opts.verbose&&(i+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+u+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ",c&&(p+="}",i+=" else { ")}return i+=""+p}},function(t,e){t.exports={id:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-v5.json#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema (v5 proposals)",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},$data:{type:"object",required:["$data"],properties:{$data:{type:"string",format:"relative-json-pointer"}},additionalProperties:!1}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{anyOf:[{type:"number",minimum:0,exclusiveMinimum:!0},{$ref:"#/definitions/$data"}]},maximum:{anyOf:[{type:"number"},{$ref:"#/definitions/$data"}]},exclusiveMaximum:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},minimum:{anyOf:[{type:"number"},{$ref:"#/definitions/$data"}]},exclusiveMinimum:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},maxLength:{anyOf:[{$ref:"#/definitions/positiveInteger"},{$ref:"#/definitions/$data"}]},minLength:{anyOf:[{$ref:"#/definitions/positiveIntegerDefault0"},{$ref:"#/definitions/$data"}]},pattern:{anyOf:[{type:"string",format:"regex"},{$ref:"#/definitions/$data"}]},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"},{$ref:"#/definitions/$data"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{anyOf:[{$ref:"#/definitions/positiveInteger"},{$ref:"#/definitions/$data"}]},minItems:{anyOf:[{$ref:"#/definitions/positiveIntegerDefault0"},{$ref:"#/definitions/$data"}]},uniqueItems:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},maxProperties:{anyOf:[{$ref:"#/definitions/positiveInteger"},{$ref:"#/definitions/$data"}]},minProperties:{anyOf:[{$ref:"#/definitions/positiveIntegerDefault0"},{$ref:"#/definitions/$data"}]},required:{anyOf:[{$ref:"#/definitions/stringArray"},{$ref:"#/definitions/$data"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"},{$ref:"#/definitions/$data"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{anyOf:[{type:"array",minItems:1,uniqueItems:!0},{$ref:"#/definitions/$data"}]},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"},format:{anyOf:[{type:"string"},{$ref:"#/definitions/$data"}]},formatMaximum:{anyOf:[{type:"string"},{$ref:"#/definitions/$data"}]},formatMinimum:{anyOf:[{type:"string"},{$ref:"#/definitions/$data"}]},exclusiveFormatMaximum:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},exclusiveFormatMinimum:{anyOf:[{type:"boolean",default:!1},{$ref:"#/definitions/$data"}]},constant:{anyOf:[{},{$ref:"#/definitions/$data"}]},contains:{$ref:"#"},patternGroups:{type:"object",additionalProperties:{type:"object",required:["schema"],properties:{maximum:{anyOf:[{$ref:"#/definitions/positiveInteger"},{$ref:"#/definitions/$data"}]},minimum:{anyOf:[{$ref:"#/definitions/positiveIntegerDefault0"},{$ref:"#/definitions/$data"}]},schema:{$ref:"#"}},additionalProperties:!1},default:{}},switch:{type:"array",items:{required:["then"],properties:{if:{$ref:"#"},then:{anyOf:[{type:"boolean"},{$ref:"#"}]},continue:{type:"boolean"}},additionalProperties:!1,dependencies:{continue:["if"]}}}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"],formatMaximum:["format"],formatMinimum:["format"],exclusiveFormatMaximum:["formatMaximum"],exclusiveFormatMinimum:["formatMinimum"]},default:{}}},function(t,e){var n=/^[a-z_$][a-z0-9_$]*$/i;t.exports=function(t,e){function i(t,e,n){for(var i,r=0;r<o.RULES.length;r++){var s=o.RULES[r];if(s.type==e){i=s;break}}i||(i={type:e,rules:[]},o.RULES.push(i));var a={keyword:t,definition:n,custom:!0};i.rules.push(a)}function r(t){if(!o.RULES.types[t])throw new Error("Unknown type "+t)}var o=this;if(this.RULES.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!n.test(t))throw new Error("Keyword "+t+" is not a valid identifier");if(e){var s=e.type;if(Array.isArray(s)){var a,l=s.length;for(a=0;a<l;a++)r(s[a]);for(a=0;a<l;a++)i(t,s[a],e)}else s&&r(s),i(t,s,e)}this.RULES.keywords[t]=!0,this.RULES.all[t]=!0}},function(t,e){t.exports={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}}},function(t,e,n){var i=n(52),r=n(53),o=n(56),s=n(57),a=n(58),l=n(61),c=n(54),u={};u.create=function(t,e){if(!t)throw new Error("No container element provided.");this.container=t,this.dom={},this.highlighter=new i,this.selection=void 0,this.multiselection={nodes:[]},this.validateSchema=null,this.errorNodes=[],this.node=null,this.focusTarget=null,this._setOptions(e),this.options.history&&"view"!==this.options.mode&&(this.history=new r(this)),this._createFrame(),this._createTable()},u.destroy=function(){this.frame&&this.container&&this.frame.parentNode==this.container&&(this.container.removeChild(this.frame),this.frame=null),this.container=null,this.dom=null,this.clear(),this.node=null,this.focusTarget=null,this.selection=null,this.multiselection=null,this.errorNodes=null,this.validateSchema=null,this._debouncedValidate=null,this.history&&(this.history.destroy(),this.history=null),this.searchBox&&(this.searchBox.destroy(),this.searchBox=null),this.modeSwitcher&&(this.modeSwitcher.destroy(),this.modeSwitcher=null)},u._setOptions=function(t){if(this.options={search:!0,history:!0,mode:"tree",name:void 0,schema:null},t)for(var e in t)t.hasOwnProperty(e)&&(this.options[e]=t[e]);this.setSchema(this.options.schema),this._debouncedValidate=c.debounce(this.validate.bind(this),this.DEBOUNCE_INTERVAL)},u.set=function(t,e){if(e&&(console.warn('Second parameter "name" is deprecated. Use setName(name) instead.'),this.options.name=e),t instanceof Function||void 0===t)this.clear();else{this.content.removeChild(this.table);var n={field:this.options.name,value:t},i=new a(this,n);this._setRoot(i),this.validate();var r=!1;this.node.expand(r),this.content.appendChild(this.table)}this.history&&this.history.clear(),this.searchBox&&this.searchBox.clear()},u.get=function(){if(this.focusTarget){var t=a.getNodeFromTarget(this.focusTarget);t&&t.blur()}return this.node?this.node.getValue():void 0},u.getText=function(){return(0,_stringify2.default)(this.get())},u.setText=function(t){this.set(c.parse(t))},u.setName=function(t){this.options.name=t,this.node&&this.node.updateField(this.options.name)},u.getName=function(){return this.options.name},u.focus=function(){var t=this.content.querySelector("[contenteditable=true]");t?t.focus():this.node.dom.expand?this.node.dom.expand.focus():this.node.dom.menu?this.node.dom.menu.focus():(t=this.frame.querySelector("button"),t&&t.focus())},u.clear=function(){this.node&&(this.node.collapse(),this.tbody.removeChild(this.node.getDom()),delete this.node)},u._setRoot=function(t){this.clear(),this.node=t,this.tbody.appendChild(t.getDom())},u.search=function(t){var e;return this.node?(this.content.removeChild(this.table),e=this.node.search(t),this.content.appendChild(this.table)):e=[],e},u.expandAll=function(){this.node&&(this.content.removeChild(this.table),this.node.expand(),this.content.appendChild(this.table))},u.collapseAll=function(){this.node&&(this.content.removeChild(this.table),this.node.collapse(),this.content.appendChild(this.table))},u._onAction=function(t,e){this.history&&this.history.add(t,e),this._onChange()},u._onChange=function(){if(this._debouncedValidate(),this.options.onChange)try{this.options.onChange()}catch(t){console.error("Error in onChange callback: ",t)}},u.validate=function(){this.errorNodes&&this.errorNodes.forEach(function(t){t.setError(null)});var t=this.node;if(t){var e=t.validate(),n=[];if(this.validateSchema){var i=this.validateSchema(t.getValue());i||(n=this.validateSchema.errors.map(function(t){return c.improveSchemaError(t)}).map(function(e){return{node:t.findNode(e.dataPath),error:e}}).filter(function(t){return null!=t.node}))}this.errorNodes=e.concat(n).reduce(function(t,e){return e.node.findParents().map(function(t){return{node:t,child:e.node,error:{message:"object"===t.type?"Contains invalid properties":"Contains invalid items"}}}).concat(t,[e])},[]).map(function(t){return t.node.setError(t.error,t.child),t.node})}},u.refresh=function(){this.node&&this.node.updateDom({recurse:!0})},u.startAutoScroll=function(t){var e=this,n=this.content,i=c.getAbsoluteTop(n),r=n.clientHeight,o=i+r,s=24,a=50;t<i+s&&n.scrollTop>0?this.autoScrollStep=(i+s-t)/3:t>o-s&&r+n.scrollTop<n.scrollHeight?this.autoScrollStep=(o-s-t)/3:this.autoScrollStep=void 0,this.autoScrollStep?this.autoScrollTimer||(this.autoScrollTimer=setInterval(function(){e.autoScrollStep?n.scrollTop-=e.autoScrollStep:e.stopAutoScroll()},a)):this.stopAutoScroll()},u.stopAutoScroll=function(){this.autoScrollTimer&&(clearTimeout(this.autoScrollTimer),delete this.autoScrollTimer),this.autoScrollStep&&delete this.autoScrollStep},u.setSelection=function(t){t&&("scrollTop"in t&&this.content&&(this.content.scrollTop=t.scrollTop),t.nodes&&this.select(t.nodes),t.range&&c.setSelectionOffset(t.range),t.dom&&t.dom.focus())},u.getSelection=function(){var t=c.getSelectionOffset();return t&&"DIV"!==t.container.nodeName&&(t=null),{dom:this.focusTarget,range:t,nodes:this.multiselection.nodes.slice(0),scrollTop:this.content?this.content.scrollTop:0}},u.scrollTo=function(t,e){var n=this.content;if(n){var i=this;i.animateTimeout&&(clearTimeout(i.animateTimeout),delete i.animateTimeout),i.animateCallback&&(i.animateCallback(!1),delete i.animateCallback);var r=n.clientHeight,o=n.scrollHeight-r,s=Math.min(Math.max(t-r/4,0),o),a=function t(){var r=n.scrollTop,o=s-r;Math.abs(o)>3?(n.scrollTop+=o/3,i.animateCallback=e,i.animateTimeout=setTimeout(t,50)):(e&&e(!0),n.scrollTop=s,delete i.animateTimeout,delete i.animateCallback)};a()}else e&&e(!1)},u._createFrame=function(){function t(t){e._onEvent&&e._onEvent(t)}this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-"+this.options.mode,this.container.appendChild(this.frame);var e=this;this.frame.onclick=function(e){var n=e.target;t(e),"BUTTON"==n.nodeName&&e.preventDefault()},this.frame.oninput=t,this.frame.onchange=t,this.frame.onkeydown=t,this.frame.onkeyup=t,this.frame.oncut=t,this.frame.onpaste=t,this.frame.onmousedown=t,this.frame.onmouseup=t,this.frame.onmouseover=t,this.frame.onmouseout=t,c.addEventListener(this.frame,"focus",t,!0),c.addEventListener(this.frame,"blur",t,!0),this.frame.onfocusin=t,this.frame.onfocusout=t,this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var n=document.createElement("button");n.type="button",n.className="jsoneditor-expand-all",n.title="Expand all fields",n.onclick=function(){e.expandAll()},this.menu.appendChild(n);var i=document.createElement("button");if(i.type="button",i.title="Collapse all fields",i.className="jsoneditor-collapse-all",i.onclick=function(){e.collapseAll()},this.menu.appendChild(i),this.history){var r=document.createElement("button");r.type="button",r.className="jsoneditor-undo jsoneditor-separator",r.title="Undo last action (Ctrl+Z)",r.onclick=function(){e._onUndo()},this.menu.appendChild(r),this.dom.undo=r;var s=document.createElement("button");s.type="button",s.className="jsoneditor-redo",s.title="Redo (Ctrl+Shift+Z)",s.onclick=function(){e._onRedo()},this.menu.appendChild(s),this.dom.redo=s,this.history.onChange=function(){r.disabled=!e.history.canUndo(),s.disabled=!e.history.canRedo()},this.history.onChange()}if(this.options&&this.options.modes&&this.options.modes.length){var a=this;this.modeSwitcher=new l(this.menu,this.options.modes,this.options.mode,function(t){a.modeSwitcher.destroy(),a.setMode(t),a.modeSwitcher.focus()})}this.options.search&&(this.searchBox=new o(this,this.menu))},u._onUndo=function(){this.history&&(this.history.undo(),this._onChange())},u._onRedo=function(){this.history&&(this.history.redo(),this._onChange())},u._onEvent=function(t){"keydown"==t.type&&this._onKeyDown(t),"focus"==t.type&&(this.focusTarget=t.target),"mousedown"==t.type&&this._startDragDistance(t),"mousemove"!=t.type&&"mouseup"!=t.type&&"click"!=t.type||this._updateDragDistance(t);var e=a.getNodeFromTarget(t.target);if(e&&e.selected){if("click"==t.type){if(t.target==e.dom.menu)return void this.showContextMenu(t.target);t.hasMoved||this.deselect()}"mousedown"==t.type&&a.onDragStart(this.multiselection.nodes,t)}else"mousedown"==t.type&&(this.deselect(),e&&t.target==e.dom.drag?a.onDragStart(e,t):(!e||t.target!=e.dom.field&&t.target!=e.dom.value&&t.target!=e.dom.select)&&this._onMultiSelectStart(t));e&&e.onEvent(t)},u._startDragDistance=function(t){this.dragDistanceEvent={initialTarget:t.target,initialPageX:t.pageX,initialPageY:t.pageY,dragDistance:0,hasMoved:!1}},u._updateDragDistance=function(t){this.dragDistanceEvent||this._startDragDistance(t);var e=t.pageX-this.dragDistanceEvent.initialPageX,n=t.pageY-this.dragDistanceEvent.initialPageY;return this.dragDistanceEvent.dragDistance=Math.sqrt(e*e+n*n),this.dragDistanceEvent.hasMoved=this.dragDistanceEvent.hasMoved||this.dragDistanceEvent.dragDistance>10,t.dragDistance=this.dragDistanceEvent.dragDistance,t.hasMoved=this.dragDistanceEvent.hasMoved,t.dragDistance},u._onMultiSelectStart=function(t){var e=a.getNodeFromTarget(t.target);if("tree"===this.options.mode&&void 0===this.options.onEditable){this.multiselection={start:e||null,end:null,nodes:[]},this._startDragDistance(t);var n=this;this.mousemove||(this.mousemove=c.addEventListener(window,"mousemove",function(t){n._onMultiSelect(t)})),this.mouseup||(this.mouseup=c.addEventListener(window,"mouseup",function(t){n._onMultiSelectEnd(t)}))}},u._onMultiSelect=function(t){if(t.preventDefault(),this._updateDragDistance(t),t.hasMoved){var e=a.getNodeFromTarget(t.target);e&&(null==this.multiselection.start&&(this.multiselection.start=e),this.multiselection.end=e),this.deselect();var n=this.multiselection.start,i=this.multiselection.end||this.multiselection.start;n&&i&&(this.multiselection.nodes=this._findTopLevelNodes(n,i),this.select(this.multiselection.nodes))}},u._onMultiSelectEnd=function(t){this.multiselection.nodes[0]&&this.multiselection.nodes[0].dom.menu.focus(),this.multiselection.start=null,this.multiselection.end=null,this.mousemove&&(c.removeEventListener(window,"mousemove",this.mousemove),delete this.mousemove),this.mouseup&&(c.removeEventListener(window,"mouseup",this.mouseup),delete this.mouseup)},u.deselect=function(t){this.multiselection.nodes.forEach(function(t){t.setSelected(!1)}),this.multiselection.nodes=[],t&&(this.multiselection.start=null,this.multiselection.end=null)},u.select=function(t){if(!Array.isArray(t))return this.select([t]);if(t){this.deselect(),this.multiselection.nodes=t.slice(0);var e=t[0];t.forEach(function(t){t.setSelected(!0,t===e)})}},u._findTopLevelNodes=function(t,e){for(var n=t.getNodePath(),i=e.getNodePath(),r=0;r<n.length&&n[r]===i[r];)r++;var o=n[r-1],s=n[r],a=i[r];if(s&&a||(o.parent?(s=o,a=o,o=o.parent):(s=o.childs[0],a=o.childs[o.childs.length-1])),o&&s&&a){var l=o.childs.indexOf(s),c=o.childs.indexOf(a),u=Math.min(l,c),d=Math.max(l,c);return o.childs.slice(u,d+1)}return[]},u._onKeyDown=function(t){var e=t.which||t.keyCode,n=t.ctrlKey,i=t.shiftKey,r=!1;if(9==e){var o=this;setTimeout(function(){c.selectContentEditable(o.focusTarget)},0)}if(this.searchBox)if(n&&70==e)this.searchBox.dom.search.focus(),this.searchBox.dom.search.select(),r=!0;else if(114==e||n&&71==e){var s=!0;i?this.searchBox.previous(s):this.searchBox.next(s),r=!0}this.history&&(n&&!i&&90==e?(this._onUndo(),r=!0):n&&i&&90==e&&(this._onRedo(),r=!0)),r&&(t.preventDefault(),t.stopPropagation())},u._createTable=function(){var t=document.createElement("div");t.className="jsoneditor-outer",this.contentOuter=t,this.content=document.createElement("div"),this.content.className="jsoneditor-tree",t.appendChild(this.content),this.table=document.createElement("table"),this.table.className="jsoneditor-tree",this.content.appendChild(this.table);var e;this.colgroupContent=document.createElement("colgroup"),"tree"===this.options.mode&&(e=document.createElement("col"),e.width="24px",this.colgroupContent.appendChild(e)),e=document.createElement("col"),e.width="24px",this.colgroupContent.appendChild(e),e=document.createElement("col"),this.colgroupContent.appendChild(e),this.table.appendChild(this.colgroupContent),this.tbody=document.createElement("tbody"),this.table.appendChild(this.tbody),this.frame.appendChild(t)},u.showContextMenu=function(t,e){var n=[],i=this;n.push({text:"Duplicate",title:"Duplicate selected fields (Ctrl+D)",className:"jsoneditor-duplicate",click:function(){a.onDuplicate(i.multiselection.nodes)}}),n.push({text:"Remove",title:"Remove selected fields (Ctrl+Del)",className:"jsoneditor-remove",click:function(){a.onRemove(i.multiselection.nodes)}});var r=new s(n,{close:e});r.show(t,this.content)},t.exports=[{mode:"tree",mixin:u,data:"json"},{mode:"view",mixin:u,data:"json"},{mode:"form",
|
|
77
|
-
mixin:u,data:"json"}]},function(t,e){function n(){this.locked=!1}n.prototype.highlight=function(t){this.locked||(this.node!=t&&(this.node&&this.node.setHighlight(!1),this.node=t,this.node.setHighlight(!0)),this._cancelUnhighlight())},n.prototype.unhighlight=function(){if(!this.locked){var t=this;this.node&&(this._cancelUnhighlight(),this.unhighlightTimer=setTimeout(function(){t.node.setHighlight(!1),t.node=void 0,t.unhighlightTimer=void 0},0))}},n.prototype._cancelUnhighlight=function(){this.unhighlightTimer&&(clearTimeout(this.unhighlightTimer),this.unhighlightTimer=void 0)},n.prototype.lock=function(){this.locked=!0},n.prototype.unlock=function(){this.locked=!1},t.exports=n},function(t,e,n){function i(t){this.editor=t,this.history=[],this.index=-1,this.clear(),this.actions={editField:{undo:function(t){t.node.updateField(t.oldValue)},redo:function(t){t.node.updateField(t.newValue)}},editValue:{undo:function(t){t.node.updateValue(t.oldValue)},redo:function(t){t.node.updateValue(t.newValue)}},changeType:{undo:function(t){t.node.changeType(t.oldType)},redo:function(t){t.node.changeType(t.newType)}},appendNodes:{undo:function(t){t.nodes.forEach(function(e){t.parent.removeChild(e)})},redo:function(t){t.nodes.forEach(function(e){t.parent.appendChild(e)})}},insertBeforeNodes:{undo:function(t){t.nodes.forEach(function(e){t.parent.removeChild(e)})},redo:function(t){t.nodes.forEach(function(e){t.parent.insertBefore(e,t.beforeNode)})}},insertAfterNodes:{undo:function(t){t.nodes.forEach(function(e){t.parent.removeChild(e)})},redo:function(t){var e=t.afterNode;t.nodes.forEach(function(n){t.parent.insertAfter(t.node,e),e=n})}},removeNodes:{undo:function(t){var e=t.parent,n=e.childs[t.index]||e.append;t.nodes.forEach(function(t){e.insertBefore(t,n)})},redo:function(t){t.nodes.forEach(function(e){t.parent.removeChild(e)})}},duplicateNodes:{undo:function(t){t.nodes.forEach(function(e){t.parent.removeChild(e)})},redo:function(t){var e=t.afterNode;t.nodes.forEach(function(n){t.parent.insertAfter(n,e),e=n})}},moveNodes:{undo:function(t){t.nodes.forEach(function(e){t.oldBeforeNode.parent.moveBefore(e,t.oldBeforeNode)})},redo:function(t){t.nodes.forEach(function(e){t.newBeforeNode.parent.moveBefore(e,t.newBeforeNode)})}},sort:{undo:function(t){var e=t.node;e.hideChilds(),e.sort=t.oldSort,e.childs=t.oldChilds,e.showChilds()},redo:function(t){var e=t.node;e.hideChilds(),e.sort=t.newSort,e.childs=t.newChilds,e.showChilds()}}}}n(54);i.prototype.onChange=function(){},i.prototype.add=function(t,e){this.index++,this.history[this.index]={action:t,params:e,timestamp:new Date},this.index<this.history.length-1&&this.history.splice(this.index+1,this.history.length-this.index-1),this.onChange()},i.prototype.clear=function(){this.history=[],this.index=-1,this.onChange()},i.prototype.canUndo=function(){return this.index>=0},i.prototype.canRedo=function(){return this.index<this.history.length-1},i.prototype.undo=function(){if(this.canUndo()){var t=this.history[this.index];if(t){var e=this.actions[t.action];e&&e.undo?(e.undo(t.params),t.params.oldSelection&&this.editor.setSelection(t.params.oldSelection)):console.error(new Error('unknown action "'+t.action+'"'))}this.index--,this.onChange()}},i.prototype.redo=function(){if(this.canRedo()){this.index++;var t=this.history[this.index];if(t){var e=this.actions[t.action];e&&e.redo?(e.redo(t.params),t.params.newSelection&&this.editor.setSelection(t.params.newSelection)):console.error(new Error('unknown action "'+t.action+'"'))}this.onChange()}},i.prototype.destroy=function(){this.editor=null,this.history=[],this.index=-1},t.exports=i},function(t,e,n){var i=n(55);e.parse=function(t){try{return JSON.parse(t)}catch(n){throw e.validate(t),n}},e.sanitize=function(t){function e(){return t.charAt(u)}function n(){return t.charAt(u+1)}function i(){return t.charAt(u-1)}function r(){for(var t=c.length-1;t>=0;){var e=c[t];if(" "!==e&&"\n"!==e&&"\r"!==e&&"\t"!==e)return e;t--}return""}function o(){for(u+=2;u<t.length&&("*"!==e()||"/"!==n());)u++;u+=2}function s(){for(u+=2;u<t.length&&"\n"!==e();)u++}function a(n){c.push('"'),u++;for(var r=e();u<t.length&&r!==n;)'"'===r&&"\\"!==i()&&c.push("\\"),"\\"===r&&(u++,r=e(),"'"!==r&&c.push("\\")),c.push(r),u++,r=e();r===n&&(c.push('"'),u++)}function l(){for(var t=["null","true","false"],n="",i=e(),r=/[a-zA-Z_$\d]/;r.test(i);)n+=i,u++,i=e();t.indexOf(n)===-1?c.push('"'+n+'"'):c.push(n)}var c=[],u=0,d=t.match(/^\s*(\/\*(.|[\r\n])*?\*\/)?\s*[\da-zA-Z_$]+\s*\(([\s\S]*)\)\s*;?\s*$/);for(d&&(t=d[3]);u<t.length;){var h=e();"/"===h&&"*"===n()?o():"/"===h&&"/"===n()?s():"'"===h||'"'===h?a(h):/[a-zA-Z_$]/.test(h)&&["{",","].indexOf(r())!==-1?l():(c.push(h),u++)}return c.join("")},e.escapeUnicodeChars=function(t){return t.replace(/[\u007F-\uFFFF]/g,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})},e.validate=function(t){"undefined"!=typeof i?i.parse(t):JSON.parse(t)},e.extend=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.clear=function(t){for(var e in t)t.hasOwnProperty(e)&&delete t[e];return t},e.type=function(t){return null===t?"null":void 0===t?"undefined":t instanceof Number||"number"==typeof t?"number":t instanceof String||"string"==typeof t?"string":t instanceof Boolean||"boolean"==typeof t?"boolean":t instanceof RegExp||"regexp"==typeof t?"regexp":e.isArray(t)?"array":"object"};var r=/^https?:\/\/\S+$/;e.isUrl=function(t){return("string"==typeof t||t instanceof String)&&r.test(t)},e.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.getAbsoluteLeft=function(t){var e=t.getBoundingClientRect();return e.left+window.pageXOffset||document.scrollLeft||0},e.getAbsoluteTop=function(t){var e=t.getBoundingClientRect();return e.top+window.pageYOffset||document.scrollTop||0},e.addClassName=function(t,e){var n=t.className.split(" ");n.indexOf(e)==-1&&(n.push(e),t.className=n.join(" "))},e.removeClassName=function(t,e){var n=t.className.split(" "),i=n.indexOf(e);i!=-1&&(n.splice(i,1),t.className=n.join(" "))},e.stripFormatting=function(t){for(var n=t.childNodes,i=0,r=n.length;i<r;i++){var o=n[i];o.style&&o.removeAttribute("style");var s=o.attributes;if(s)for(var a=s.length-1;a>=0;a--){var l=s[a];l.specified===!0&&o.removeAttribute(l.name)}e.stripFormatting(o)}},e.setEndOfContentEditable=function(t){var e,n;document.createRange&&(e=document.createRange(),e.selectNodeContents(t),e.collapse(!1),n=window.getSelection(),n.removeAllRanges(),n.addRange(e))},e.selectContentEditable=function(t){if(t&&"DIV"==t.nodeName){var e,n;window.getSelection&&document.createRange&&(n=document.createRange(),n.selectNodeContents(t),e=window.getSelection(),e.removeAllRanges(),e.addRange(n))}},e.getSelection=function(){if(window.getSelection){var t=window.getSelection();if(t.getRangeAt&&t.rangeCount)return t.getRangeAt(0)}return null},e.setSelection=function(t){if(t&&window.getSelection){var e=window.getSelection();e.removeAllRanges(),e.addRange(t)}},e.getSelectionOffset=function(){var t=e.getSelection();return t&&"startOffset"in t&&"endOffset"in t&&t.startContainer&&t.startContainer==t.endContainer?{startOffset:t.startOffset,endOffset:t.endOffset,container:t.startContainer.parentNode}:null},e.setSelectionOffset=function(t){if(document.createRange&&window.getSelection){var n=window.getSelection();if(n){var i=document.createRange();t.container.firstChild||t.container.appendChild(document.createTextNode("")),i.setStart(t.container.firstChild,t.startOffset),i.setEnd(t.container.firstChild,t.endOffset),e.setSelection(i)}}},e.getInnerText=function(t,n){var i=void 0==n;if(i&&(n={text:"",flush:function(){var t=this.text;return this.text="",t},set:function(t){this.text=t}}),t.nodeValue)return n.flush()+t.nodeValue;if(t.hasChildNodes()){for(var r=t.childNodes,o="",s=0,a=r.length;s<a;s++){var l=r[s];if("DIV"==l.nodeName||"P"==l.nodeName){var c=r[s-1],u=c?c.nodeName:void 0;u&&"DIV"!=u&&"P"!=u&&"BR"!=u&&(o+="\n",n.flush()),o+=e.getInnerText(l,n),n.set("\n")}else"BR"==l.nodeName?(o+=n.flush(),n.set("\n")):o+=e.getInnerText(l,n)}return o}return"P"==t.nodeName&&e.getInternetExplorerVersion()!=-1?n.flush():""},e.getInternetExplorerVersion=function(){if(o==-1){var t=-1;if("Microsoft Internet Explorer"==navigator.appName){var e=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(e)&&(t=parseFloat(RegExp.$1))}o=t}return o},e.isFirefox=function(){return navigator.userAgent.indexOf("Firefox")!=-1};var o=-1;e.addEventListener=function(t,n,i,r){if(t.addEventListener)return void 0===r&&(r=!1),"mousewheel"===n&&e.isFirefox()&&(n="DOMMouseScroll"),t.addEventListener(n,i,r),i;if(t.attachEvent){var o=function(){return i.call(t,window.event)};return t.attachEvent("on"+n,o),o}},e.removeEventListener=function(t,n,i,r){t.removeEventListener?(void 0===r&&(r=!1),"mousewheel"===n&&e.isFirefox()&&(n="DOMMouseScroll"),t.removeEventListener(n,i,r)):t.detachEvent&&t.detachEvent("on"+n,i)},e.parsePath=function t(e){var n,i;if(0===e.length)return[];var r=e.match(/^\.(\w+)/);if(r)n=r[1],i=e.substr(n.length+1);else{if("["!==e[0])throw new SyntaxError("Failed to parse path");var o=e.indexOf("]");if(o===-1)throw new SyntaxError("Character ] expected in path");if(1===o)throw new SyntaxError("Index expected after [");var s=e.substring(1,o);"'"===s[0]&&(s='"'+s.substring(1,s.length-1)+'"'),n="*"===s?s:JSON.parse(s),i=e.substr(o+1)}return[n].concat(t(i))},e.improveSchemaError=function(t){if("enum"===t.keyword&&Array.isArray(t.schema)){var e=t.schema;if(e){if(e=e.map(function(t){return(0,_stringify2.default)(t)}),e.length>5){var n=["("+(e.length-5)+" more...)"];e=e.slice(0,5),e.push(n)}t.message="should be equal to one of: "+e.join(", ")}}return"additionalProperties"===t.keyword&&(t.message="should NOT have additional property: "+t.params.additionalProperty),t},e.insideRect=function(t,e,n){var i=void 0!==n?n:0;return e.left-i>=t.left&&e.right+i<=t.right&&e.top-i>=t.top&&e.bottom+i<=t.bottom},e.debounce=function(t,e,n){var i;return function(){var r=this,o=arguments,s=function(){i=null,n||t.apply(r,o)},a=n&&!i;clearTimeout(i),i=setTimeout(s,e),a&&t.apply(r,o)}},e.textDiff=function(t,e){for(var n=e.length,i=0,r=t.length,o=e.length;e.charAt(i)===t.charAt(i)&&i<n;)i++;for(;e.charAt(o-1)===t.charAt(r-1)&&o>i&&r>0;)o--,r--;return{start:i,end:o}}},function(t,e,n){var i=function(){var t={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(t,e,n,i,r,o,s){var a=o.length-1;switch(r){case 1:this.$=t.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(t);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=o[a-1];case 13:this.$={};break;case 14:this.$=o[a-1];break;case 15:this.$=[o[a-2],o[a]];break;case 16:this.$={},this.$[o[a][0]]=o[a][1];break;case 17:this.$=o[a-2],o[a-2][o[a][0]]=o[a][1];break;case 18:this.$=[];break;case 19:this.$=o[a-1];break;case 20:this.$=[o[a]];break;case 21:this.$=o[a-2],o[a-2].push(o[a])}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(t,e){throw new Error(t)},parse:function(t){function e(t){r.length=r.length-2*t,o.length=o.length-t,s.length=s.length-t}function n(){var t;return t=i.lexer.lex()||1,"number"!=typeof t&&(t=i.symbols_[t]||t),t}var i=this,r=[0],o=[null],s=[],a=this.table,l="",c=0,u=0,d=0,h=2,f=1;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var p=this.lexer.yylloc;s.push(p),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var m,g,v,y,b,w,A,x,_,E={};;){if(v=r[r.length-1],this.defaultActions[v]?y=this.defaultActions[v]:(null==m&&(m=n()),y=a[v]&&a[v][m]),"undefined"==typeof y||!y.length||!y[0]){if(!d){_=[];for(w in a[v])this.terminals_[w]&&w>2&&_.push("'"+this.terminals_[w]+"'");var C="";C=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[m]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:p,expected:_})}if(3==d){if(m==f)throw new Error(C||"Parsing halted.");u=this.lexer.yyleng,l=this.lexer.yytext,c=this.lexer.yylineno,p=this.lexer.yylloc,m=n()}for(;;){if(h.toString()in a[v])break;if(0==v)throw new Error(C||"Parsing halted.");e(1),v=r[r.length-1]}g=m,m=h,v=r[r.length-1],y=a[v]&&a[v][h],d=3}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(y[0]){case 1:r.push(m),o.push(this.lexer.yytext),s.push(this.lexer.yylloc),r.push(y[1]),m=null,g?(m=g,g=null):(u=this.lexer.yyleng,l=this.lexer.yytext,c=this.lexer.yylineno,p=this.lexer.yylloc,d>0&&d--);break;case 2:if(A=this.productions_[y[1]][1],E.$=o[o.length-A],E._$={first_line:s[s.length-(A||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(A||1)].first_column,last_column:s[s.length-1].last_column},b=this.performAction.call(E,l,u,c,this.yy,y[1],o,s),"undefined"!=typeof b)return b;A&&(r=r.slice(0,-1*A*2),o=o.slice(0,-1*A),s=s.slice(0,-1*A)),r.push(this.productions_[y[1]][0]),o.push(E.$),s.push(E._$),x=a[r[r.length-2]][r[r.length-1]],r.push(x);break;case 3:return!0}}return!0}},e=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parseError)throw new Error(t);this.yy.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.match+=t,this.matched+=t;var e=t.match(/\n/);return e&&this.yylineno++,this._input=this._input.slice(1),t},unput:function(t){return this._input=t+this._input,this},more:function(){return this._more=!0,this},less:function(t){this._input=this.match.slice(t)+this._input},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,e,n,i,r;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;s<o.length&&(n=this._input.match(this.rules[o[s]]),!n||e&&!(n[0].length>e[0].length)||(e=n,i=s,this.options.flex));s++);return e?(r=e[0].match(/\n.*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,o[i],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t?t:void 0):""===this._input?this.EOF:void this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return"undefined"!=typeof t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)}};return t.options={},t.performAction=function(t,e,n,i){switch(n){case 0:break;case 1:return 6;case 2:return e.yytext=e.yytext.substr(1,e.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},t.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],t.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},t}();return t.lexer=e,t}();e.parser=i,e.parse=i.parse.bind(i)},function(t,e){function n(t,e){var n=this;this.editor=t,this.timeout=void 0,this.delay=200,this.lastText=void 0,this.dom={},this.dom.container=e;var i=document.createElement("table");this.dom.table=i,i.className="jsoneditor-search",e.appendChild(i);var r=document.createElement("tbody");this.dom.tbody=r,i.appendChild(r);var o=document.createElement("tr");r.appendChild(o);var s=document.createElement("td");o.appendChild(s);var a=document.createElement("div");this.dom.results=a,a.className="jsoneditor-results",s.appendChild(a),s=document.createElement("td"),o.appendChild(s);var l=document.createElement("div");this.dom.input=l,l.className="jsoneditor-frame",l.title="Search fields and values",s.appendChild(l);var c=document.createElement("table");l.appendChild(c);var u=document.createElement("tbody");c.appendChild(u),o=document.createElement("tr"),u.appendChild(o);var d=document.createElement("button");d.type="button",d.className="jsoneditor-refresh",s=document.createElement("td"),s.appendChild(d),o.appendChild(s);var h=document.createElement("input");this.dom.search=h,h.oninput=function(t){n._onDelayedSearch(t)},h.onchange=function(t){n._onSearch()},h.onkeydown=function(t){n._onKeyDown(t)},h.onkeyup=function(t){n._onKeyUp(t)},d.onclick=function(t){h.select()},s=document.createElement("td"),s.appendChild(h),o.appendChild(s);var f=document.createElement("button");f.type="button",f.title="Next result (Enter)",f.className="jsoneditor-next",f.onclick=function(){n.next()},s=document.createElement("td"),s.appendChild(f),o.appendChild(s);var p=document.createElement("button");p.type="button",p.title="Previous result (Shift+Enter)",p.className="jsoneditor-previous",p.onclick=function(){n.previous()},s=document.createElement("td"),s.appendChild(p),o.appendChild(s)}n.prototype.next=function(t){if(void 0!=this.results){var e=void 0!=this.resultIndex?this.resultIndex+1:0;e>this.results.length-1&&(e=0),this._setActiveResult(e,t)}},n.prototype.previous=function(t){if(void 0!=this.results){var e=this.results.length-1,n=void 0!=this.resultIndex?this.resultIndex-1:e;n<0&&(n=e),this._setActiveResult(n,t)}},n.prototype._setActiveResult=function(t,e){if(this.activeResult){var n=this.activeResult.node,i=this.activeResult.elem;"field"==i?delete n.searchFieldActive:delete n.searchValueActive,n.updateDom()}if(!this.results||!this.results[t])return this.resultIndex=void 0,void(this.activeResult=void 0);this.resultIndex=t;var r=this.results[this.resultIndex].node,o=this.results[this.resultIndex].elem;"field"==o?r.searchFieldActive=!0:r.searchValueActive=!0,this.activeResult=this.results[this.resultIndex],r.updateDom(),r.scrollTo(function(){e&&r.focus(o)})},n.prototype._clearDelay=function(){void 0!=this.timeout&&(clearTimeout(this.timeout),delete this.timeout)},n.prototype._onDelayedSearch=function(t){this._clearDelay();var e=this;this.timeout=setTimeout(function(t){e._onSearch()},this.delay)},n.prototype._onSearch=function(t){this._clearDelay();var e=this.dom.search.value,n=e.length>0?e:void 0;if(n!=this.lastText||t)if(this.lastText=n,this.results=this.editor.search(n),this._setActiveResult(void 0),void 0!=n){var i=this.results.length;switch(i){case 0:this.dom.results.innerHTML="no results";break;case 1:this.dom.results.innerHTML="1 result";break;default:this.dom.results.innerHTML=i+" results"}}else this.dom.results.innerHTML=""},n.prototype._onKeyDown=function(t){var e=t.which;27==e?(this.dom.search.value="",this._onSearch(),t.preventDefault(),t.stopPropagation()):13==e&&(t.ctrlKey?this._onSearch(!0):t.shiftKey?this.previous():this.next(),t.preventDefault(),t.stopPropagation())},n.prototype._onKeyUp=function(t){var e=t.keyCode;27!=e&&13!=e&&this._onDelayedSearch(t)},n.prototype.clear=function(){this.dom.search.value="",this._onSearch()},n.prototype.destroy=function(){this.editor=null,this.dom.container.removeChild(this.dom.table),this.dom=null,this.results=null,this.activeResult=null,this._clearDelay()},t.exports=n},function(t,e,n){function i(t,e){function n(t,e,r){r.forEach(function(r){if("separator"==r.type){var o=document.createElement("div");o.className="jsoneditor-separator",a=document.createElement("li"),a.appendChild(o),t.appendChild(a)}else{var s={},a=document.createElement("li");t.appendChild(a);var l=document.createElement("button");if(l.type="button",l.className=r.className,s.button=l,r.title&&(l.title=r.title),r.click&&(l.onclick=function(t){t.preventDefault(),i.hide(),r.click()}),a.appendChild(l),r.submenu){var c=document.createElement("div");c.className="jsoneditor-icon",l.appendChild(c),l.appendChild(document.createTextNode(r.text));var u;if(r.click){l.className+=" jsoneditor-default";var d=document.createElement("button");d.type="button",s.buttonExpand=d,d.className="jsoneditor-expand",d.innerHTML='<div class="jsoneditor-expand"></div>',a.appendChild(d),r.submenuTitle&&(d.title=r.submenuTitle),u=d}else{var h=document.createElement("div");h.className="jsoneditor-expand",l.appendChild(h),u=l}u.onclick=function(t){t.preventDefault(),i._onExpandItem(s),u.focus()};var f=[];s.subItems=f;var p=document.createElement("ul");s.ul=p,p.className="jsoneditor-menu",p.style.height="0",a.appendChild(p),n(p,f,r.submenu)}else l.innerHTML='<div class="jsoneditor-icon"></div>'+r.text;e.push(s)}})}this.dom={};var i=this,r=this.dom;this.anchor=void 0,this.items=t,this.eventListeners={},this.selection=void 0,this.onClose=e?e.close:void 0;var o=document.createElement("div");o.className="jsoneditor-contextmenu-root",r.root=o;var s=document.createElement("div");s.className="jsoneditor-contextmenu",r.menu=s,o.appendChild(s);var a=document.createElement("ul");a.className="jsoneditor-menu",s.appendChild(a),r.list=a,r.items=[];var l=document.createElement("button");l.type="button",r.focusButton=l;var c=document.createElement("li");c.style.overflow="hidden",c.style.height="0",c.appendChild(l),a.appendChild(c),n(a,this.dom.items,t),this.maxHeight=0,t.forEach(function(e){var n=24*(t.length+(e.submenu?e.submenu.length:0));i.maxHeight=Math.max(i.maxHeight,n)})}var r=n(54);i.prototype._getVisibleButtons=function(){var t=[],e=this;return this.dom.items.forEach(function(n){t.push(n.button),n.buttonExpand&&t.push(n.buttonExpand),n.subItems&&n==e.expandedItem&&n.subItems.forEach(function(e){t.push(e.button),e.buttonExpand&&t.push(e.buttonExpand)})}),t},i.visibleMenu=void 0,i.prototype.show=function(t,e){this.hide();var n=!0;if(e){var o=t.getBoundingClientRect(),s=e.getBoundingClientRect();o.bottom+this.maxHeight<s.bottom||o.top-this.maxHeight>s.top&&(n=!1)}if(n){var a=t.offsetHeight;this.dom.menu.style.left="0px",this.dom.menu.style.top=a+"px",this.dom.menu.style.bottom=""}else this.dom.menu.style.left="0px",this.dom.menu.style.top="",this.dom.menu.style.bottom="0px";var l=t.parentNode;l.insertBefore(this.dom.root,l.firstChild);var c=this,u=this.dom.list;this.eventListeners.mousedown=r.addEventListener(window,"mousedown",function(t){var e=t.target;e==u||c._isChildOf(e,u)||(c.hide(),t.stopPropagation(),t.preventDefault())}),this.eventListeners.keydown=r.addEventListener(window,"keydown",function(t){c._onKeyDown(t)}),this.selection=r.getSelection(),this.anchor=t,setTimeout(function(){c.dom.focusButton.focus()},0),i.visibleMenu&&i.visibleMenu.hide(),i.visibleMenu=this},i.prototype.hide=function(){this.dom.root.parentNode&&(this.dom.root.parentNode.removeChild(this.dom.root),this.onClose&&this.onClose());for(var t in this.eventListeners)if(this.eventListeners.hasOwnProperty(t)){var e=this.eventListeners[t];e&&r.removeEventListener(window,t,e),delete this.eventListeners[t]}i.visibleMenu==this&&(i.visibleMenu=void 0)},i.prototype._onExpandItem=function(t){var e=this,n=t==this.expandedItem,i=this.expandedItem;if(i&&(i.ul.style.height="0",i.ul.style.padding="",setTimeout(function(){e.expandedItem!=i&&(i.ul.style.display="",r.removeClassName(i.ul.parentNode,"jsoneditor-selected"))},300),this.expandedItem=void 0),!n){var o=t.ul;o.style.display="block";o.clientHeight;setTimeout(function(){e.expandedItem==t&&(o.style.height=24*o.childNodes.length+"px",o.style.padding="5px 10px")},0),r.addClassName(o.parentNode,"jsoneditor-selected"),this.expandedItem=t}},i.prototype._onKeyDown=function(t){var e,n,i,o,s=t.target,a=t.which,l=!1;27==a?(this.selection&&r.setSelection(this.selection),this.anchor&&this.anchor.focus(),this.hide(),l=!0):9==a?t.shiftKey?(e=this._getVisibleButtons(),n=e.indexOf(s),0==n&&(e[e.length-1].focus(),l=!0)):(e=this._getVisibleButtons(),n=e.indexOf(s),n==e.length-1&&(e[0].focus(),l=!0)):37==a?("jsoneditor-expand"==s.className&&(e=this._getVisibleButtons(),n=e.indexOf(s),i=e[n-1],i&&i.focus()),l=!0):38==a?(e=this._getVisibleButtons(),n=e.indexOf(s),i=e[n-1],i&&"jsoneditor-expand"==i.className&&(i=e[n-2]),i||(i=e[e.length-1]),i&&i.focus(),l=!0):39==a?(e=this._getVisibleButtons(),n=e.indexOf(s),o=e[n+1],o&&"jsoneditor-expand"==o.className&&o.focus(),l=!0):40==a&&(e=this._getVisibleButtons(),n=e.indexOf(s),o=e[n+1],o&&"jsoneditor-expand"==o.className&&(o=e[n+2]),o||(o=e[0]),o&&(o.focus(),l=!0),l=!0),l&&(t.stopPropagation(),t.preventDefault())},i.prototype._isChildOf=function(t,e){for(var n=t.parentNode;n;){if(n==e)return!0;n=n.parentNode}return!1},t.exports=i},function(t,e,n){function i(t,e){this.editor=t,this.dom={},this.expanded=!1,e&&e instanceof Object?(this.setField(e.field,e.fieldEditable),this.setValue(e.value,e.type)):(this.setField(""),this.setValue(null)),this._debouncedOnChangeValue=a.debounce(this._onChangeValue.bind(this),i.prototype.DEBOUNCE_INTERVAL),this._debouncedOnChangeField=a.debounce(this._onChangeField.bind(this),i.prototype.DEBOUNCE_INTERVAL)}var r=n(59),o=n(57),s=n(60),a=n(54);i.prototype.DEBOUNCE_INTERVAL=150,i.prototype._updateEditability=function(){if(this.editable={field:!0,value:!0},this.editor&&(this.editable.field="tree"===this.editor.options.mode,this.editable.value="view"!==this.editor.options.mode,("tree"===this.editor.options.mode||"form"===this.editor.options.mode)&&"function"==typeof this.editor.options.onEditable)){var t=this.editor.options.onEditable({field:this.field,value:this.value,path:this.getPath()});"boolean"==typeof t?(this.editable.field=t,this.editable.value=t):("boolean"==typeof t.field&&(this.editable.field=t.field),"boolean"==typeof t.value&&(this.editable.value=t.value))}},i.prototype.getPath=function(){for(var t=this,e=[];t;){var n=t.parent?"array"!=t.parent.type?t.field:t.index:void 0;void 0!==n&&e.unshift(n),t=t.parent}return e},i.prototype.findNode=function(t){for(var e=a.parsePath(t),n=this;n&&e.length>0;){var i=e.shift();if("number"==typeof i){if("array"!==n.type)throw new Error("Cannot get child node at index "+i+": node is no array");n=n.childs[i]}else{if("object"!==n.type)throw new Error("Cannot get child node "+i+": node is no object");n=n.childs.filter(function(t){return t.field===i})[0]}}return n},i.prototype.findParents=function(){for(var t=[],e=this.parent;e;)t.unshift(e),e=e.parent;return t},i.prototype.setError=function(t,e){this.getDom(),this.error=t;var n=this.dom.tdError;if(t){n||(n=document.createElement("td"),this.dom.tdError=n,this.dom.tdValue.parentNode.appendChild(n));var i=document.createElement("div");i.className="jsoneditor-popover jsoneditor-right",i.appendChild(document.createTextNode(t.message));var r=document.createElement("button");for(r.type="button",r.className="jsoneditor-schema-error",r.appendChild(i),r.onmouseover=r.onfocus=function(){for(var t=["right","above","below","left"],e=0;e<t.length;e++){var n=t[e];i.className="jsoneditor-popover jsoneditor-"+n;var r=this.editor.content.getBoundingClientRect(),o=i.getBoundingClientRect(),s=20,l=a.insideRect(r,o,s);if(l)break}}.bind(this),e&&(r.onclick=function(){e.findParents().forEach(function(t){t.expand(!1)}),e.scrollTo(function(){e.focus()})});n.firstChild;)n.removeChild(n.firstChild);n.appendChild(r)}else n&&(this.dom.tdError.parentNode.removeChild(this.dom.tdError),delete this.dom.tdError)},i.prototype.getIndex=function(){return this.parent?this.parent.childs.indexOf(this):-1},i.prototype.setParent=function(t){this.parent=t},i.prototype.setField=function(t,e){this.field=t,this.previousField=t,this.fieldEditable=e===!0},i.prototype.getField=function(){return void 0===this.field&&this._getDomField(),this.field},i.prototype.setValue=function(t,e){var n,r,o=this.childs;if(o)for(;o.length;)this.removeChild(o[0]);if(this.type=this._getType(t),e&&e!=this.type){if("string"!=e||"auto"!=this.type)throw new Error('Type mismatch: cannot cast value of type "'+this.type+' to the specified type "'+e+'"');this.type=e}if("array"==this.type){this.childs=[];for(var s=0,a=t.length;s<a;s++)n=t[s],void 0===n||n instanceof Function||(r=new i(this.editor,{value:n}),this.appendChild(r));this.value=""}else if("object"==this.type){this.childs=[];for(var l in t)t.hasOwnProperty(l)&&(n=t[l],void 0===n||n instanceof Function||(r=new i(this.editor,{field:l,value:n}),this.appendChild(r)));this.value="",this.editor.options.sortObjectKeys===!0&&this.sort("asc")}else this.childs=void 0,this.value=t;this.previousValue=this.value},i.prototype.getValue=function(){if("array"==this.type){var t=[];return this.childs.forEach(function(e){t.push(e.getValue())}),t}if("object"==this.type){var e={};return this.childs.forEach(function(t){e[t.getField()]=t.getValue()}),e}return void 0===this.value&&this._getDomValue(),this.value},i.prototype.getLevel=function(){return this.parent?this.parent.getLevel()+1:0},i.prototype.getNodePath=function(){var t=this.parent?this.parent.getNodePath():[];
|
|
78
|
-
return t.push(this),t},i.prototype.clone=function(){var t=new i(this.editor);if(t.type=this.type,t.field=this.field,t.fieldInnerText=this.fieldInnerText,t.fieldEditable=this.fieldEditable,t.value=this.value,t.valueInnerText=this.valueInnerText,t.expanded=this.expanded,this.childs){var e=[];this.childs.forEach(function(n){var i=n.clone();i.setParent(t),e.push(i)}),t.childs=e}else t.childs=void 0;return t},i.prototype.expand=function(t){this.childs&&(this.expanded=!0,this.dom.expand&&(this.dom.expand.className="jsoneditor-expanded"),this.showChilds(),t!==!1&&this.childs.forEach(function(e){e.expand(t)}))},i.prototype.collapse=function(t){this.childs&&(this.hideChilds(),t!==!1&&this.childs.forEach(function(e){e.collapse(t)}),this.dom.expand&&(this.dom.expand.className="jsoneditor-collapsed"),this.expanded=!1)},i.prototype.showChilds=function(){var t=this.childs;if(t&&this.expanded){var e=this.dom.tr,n=e?e.parentNode:void 0;if(n){var i=this.getAppend(),r=e.nextSibling;r?n.insertBefore(i,r):n.appendChild(i),this.childs.forEach(function(t){n.insertBefore(t.getDom(),i),t.showChilds()})}}},i.prototype.hide=function(){var t=this.dom.tr,e=t?t.parentNode:void 0;e&&e.removeChild(t),this.hideChilds()},i.prototype.hideChilds=function(){var t=this.childs;if(t&&this.expanded){var e=this.getAppend();e.parentNode&&e.parentNode.removeChild(e),this.childs.forEach(function(t){t.hide()})}},i.prototype.appendChild=function(t){if(this._hasChilds()){if(t.setParent(this),t.fieldEditable="object"==this.type,"array"==this.type&&(t.index=this.childs.length),this.childs.push(t),this.expanded){var e=t.getDom(),n=this.getAppend(),i=n?n.parentNode:void 0;n&&i&&i.insertBefore(e,n),t.showChilds()}this.updateDom({updateIndexes:!0}),t.updateDom({recurse:!0})}},i.prototype.moveBefore=function(t,e){if(this._hasChilds()){var n=this.dom.tr?this.dom.tr.parentNode:void 0;if(n){var i=document.createElement("tr");i.style.height=n.clientHeight+"px",n.appendChild(i)}t.parent&&t.parent.removeChild(t),e instanceof l?this.appendChild(t):this.insertBefore(t,e),n&&n.removeChild(i)}},i.prototype.moveTo=function(t,e){if(t.parent==this){var n=this.childs.indexOf(t);n<e&&e++}var i=this.childs[e]||this.append;this.moveBefore(t,i)},i.prototype.insertBefore=function(t,e){if(this._hasChilds()){if(e==this.append)t.setParent(this),t.fieldEditable="object"==this.type,this.childs.push(t);else{var n=this.childs.indexOf(e);if(n==-1)throw new Error("Node not found");t.setParent(this),t.fieldEditable="object"==this.type,this.childs.splice(n,0,t)}if(this.expanded){var i=t.getDom(),r=e.getDom(),o=r?r.parentNode:void 0;r&&o&&o.insertBefore(i,r),t.showChilds()}this.updateDom({updateIndexes:!0}),t.updateDom({recurse:!0})}},i.prototype.insertAfter=function(t,e){if(this._hasChilds()){var n=this.childs.indexOf(e),i=this.childs[n+1];i?this.insertBefore(t,i):this.appendChild(t)}},i.prototype.search=function(t){var e,n=[],i=t?t.toLowerCase():void 0;if(delete this.searchField,delete this.searchValue,void 0!=this.field){var r=String(this.field).toLowerCase();e=r.indexOf(i),e!=-1&&(this.searchField=!0,n.push({node:this,elem:"field"})),this._updateDomField()}if(this._hasChilds()){if(this.childs){var o=[];this.childs.forEach(function(e){o=o.concat(e.search(t))}),n=n.concat(o)}if(void 0!=i){var s=!1;0==o.length?this.collapse(s):this.expand(s)}}else{if(void 0!=this.value){var a=String(this.value).toLowerCase();e=a.indexOf(i),e!=-1&&(this.searchValue=!0,n.push({node:this,elem:"value"}))}this._updateDomValue()}return n},i.prototype.scrollTo=function(t){if(!this.dom.tr||!this.dom.tr.parentNode)for(var e=this.parent,n=!1;e;)e.expand(n),e=e.parent;this.dom.tr&&this.dom.tr.parentNode&&this.editor.scrollTo(this.dom.tr.offsetTop,t)},i.focusElement=void 0,i.prototype.focus=function(t){if(i.focusElement=t,this.dom.tr&&this.dom.tr.parentNode){var e=this.dom;switch(t){case"drag":e.drag?e.drag.focus():e.menu.focus();break;case"menu":e.menu.focus();break;case"expand":this._hasChilds()?e.expand.focus():e.field&&this.fieldEditable?(e.field.focus(),a.selectContentEditable(e.field)):e.value&&!this._hasChilds()?(e.value.focus(),a.selectContentEditable(e.value)):e.menu.focus();break;case"field":e.field&&this.fieldEditable?(e.field.focus(),a.selectContentEditable(e.field)):e.value&&!this._hasChilds()?(e.value.focus(),a.selectContentEditable(e.value)):this._hasChilds()?e.expand.focus():e.menu.focus();break;case"value":default:e.value&&!this._hasChilds()?(e.value.focus(),a.selectContentEditable(e.value)):e.field&&this.fieldEditable?(e.field.focus(),a.selectContentEditable(e.field)):this._hasChilds()?e.expand.focus():e.menu.focus()}}},i.select=function(t){setTimeout(function(){a.selectContentEditable(t)},0)},i.prototype.blur=function(){this._getDomValue(!1),this._getDomField(!1)},i.prototype.containsNode=function(t){if(this==t)return!0;var e=this.childs;if(e)for(var n=0,i=e.length;n<i;n++)if(e[n].containsNode(t))return!0;return!1},i.prototype._move=function(t,e){if(t!=e){if(t.containsNode(this))throw new Error("Cannot move a field into a child of itself");t.parent&&t.parent.removeChild(t);var n=t.clone();t.clearDom(),e?this.insertBefore(n,e):this.appendChild(n)}},i.prototype.removeChild=function(t){if(this.childs){var e=this.childs.indexOf(t);if(e!=-1){t.hide(),delete t.searchField,delete t.searchValue;var n=this.childs.splice(e,1)[0];return n.parent=null,this.updateDom({updateIndexes:!0}),n}}},i.prototype._remove=function(t){this.removeChild(t)},i.prototype.changeType=function(t){var e=this.type;if(e!=t){if("string"!=t&&"auto"!=t||"string"!=e&&"auto"!=e){var n,i=this.dom.tr?this.dom.tr.parentNode:void 0;n=this.expanded?this.getAppend():this.getDom();var r=n&&n.parentNode?n.nextSibling:void 0;this.hide(),this.clearDom(),this.type=t,"object"==t?(this.childs||(this.childs=[]),this.childs.forEach(function(t,e){t.clearDom(),delete t.index,t.fieldEditable=!0,void 0==t.field&&(t.field="")}),"string"!=e&&"auto"!=e||(this.expanded=!0)):"array"==t?(this.childs||(this.childs=[]),this.childs.forEach(function(t,e){t.clearDom(),t.fieldEditable=!1,t.index=e}),"string"!=e&&"auto"!=e||(this.expanded=!0)):this.expanded=!1,i&&(r?i.insertBefore(this.getDom(),r):i.appendChild(this.getDom())),this.showChilds()}else this.type=t;"auto"!=t&&"string"!=t||("string"==t?this.value=String(this.value):this.value=this._stringCast(String(this.value)),this.focus()),this.updateDom({updateIndexes:!0})}},i.prototype._getDomValue=function(t){if(this.dom.value&&"array"!=this.type&&"object"!=this.type&&(this.valueInnerText=a.getInnerText(this.dom.value)),void 0!=this.valueInnerText)try{var e;if("string"==this.type)e=this._unescapeHTML(this.valueInnerText);else{var n=this._unescapeHTML(this.valueInnerText);e=this._stringCast(n)}e!==this.value&&(this.value=e,this._debouncedOnChangeValue())}catch(e){if(this.value=void 0,t!==!0)throw e}},i.prototype._onChangeValue=function(){var t=this.editor.getSelection();if(t.range){var e=a.textDiff(String(this.value),String(this.previousValue));t.range.startOffset=e.start,t.range.endOffset=e.end}var n=this.editor.getSelection();if(n.range){var i=a.textDiff(String(this.previousValue),String(this.value));n.range.startOffset=i.start,n.range.endOffset=i.end}this.editor._onAction("editValue",{node:this,oldValue:this.previousValue,newValue:this.value,oldSelection:t,newSelection:n}),this.previousValue=this.value},i.prototype._onChangeField=function(){var t=this.editor.getSelection();if(t.range){var e=a.textDiff(this.field,this.previousField);t.range.startOffset=e.start,t.range.endOffset=e.end}var n=this.editor.getSelection();if(n.range){var i=a.textDiff(this.previousField,this.field);n.range.startOffset=i.start,n.range.endOffset=i.end}this.editor._onAction("editField",{node:this,oldValue:this.previousField,newValue:this.field,oldSelection:t,newSelection:n}),this.previousField=this.field},i.prototype._updateDomValue=function(){var t=this.dom.value;if(t){var e=["jsoneditor-value"],n=this.value,i="auto"==this.type?a.type(n):this.type,r="string"==i&&a.isUrl(n);e.push("jsoneditor-"+i),r&&e.push("jsoneditor-url");var o=""==String(this.value)&&"array"!=this.type&&"object"!=this.type;if(o&&e.push("jsoneditor-empty"),this.searchValueActive&&e.push("jsoneditor-highlight-active"),this.searchValue&&e.push("jsoneditor-highlight"),t.className=e.join(" "),"array"==i||"object"==i){var s=this.childs?this.childs.length:0;t.title=this.type+" containing "+s+" items"}else r&&this.editable.value?t.title="Ctrl+Click or Ctrl+Enter to open url in new window":t.title="";if("boolean"===i&&this.editable.value?(this.dom.checkbox||(this.dom.checkbox=document.createElement("input"),this.dom.checkbox.type="checkbox",this.dom.tdCheckbox=document.createElement("td"),this.dom.tdCheckbox.className="jsoneditor-tree",this.dom.tdCheckbox.appendChild(this.dom.checkbox),this.dom.tdValue.parentNode.insertBefore(this.dom.tdCheckbox,this.dom.tdValue)),this.dom.checkbox.checked=this.value):this.dom.tdCheckbox&&(this.dom.tdCheckbox.parentNode.removeChild(this.dom.tdCheckbox),delete this.dom.tdCheckbox,delete this.dom.checkbox),this.enum&&this.editable.value){if(!this.dom.select){this.dom.select=document.createElement("select"),this.id=this.field+"_"+(new Date).getUTCMilliseconds(),this.dom.select.id=this.id,this.dom.select.name=this.dom.select.id,this.dom.select.option=document.createElement("option"),this.dom.select.option.value="",this.dom.select.option.innerHTML="--",this.dom.select.appendChild(this.dom.select.option);for(var l=0;l<this.enum.length;l++)this.dom.select.option=document.createElement("option"),this.dom.select.option.value=this.enum[l],this.dom.select.option.innerHTML=this.enum[l],this.dom.select.option.value==this.value&&(this.dom.select.option.selected=!0),this.dom.select.appendChild(this.dom.select.option);this.dom.tdSelect=document.createElement("td"),this.dom.tdSelect.className="jsoneditor-tree",this.dom.tdSelect.appendChild(this.dom.select),this.dom.tdValue.parentNode.insertBefore(this.dom.tdSelect,this.dom.tdValue)}!this.schema||this.schema.hasOwnProperty("oneOf")||this.schema.hasOwnProperty("anyOf")||this.schema.hasOwnProperty("allOf")?delete this.valueFieldHTML:(this.valueFieldHTML=this.dom.tdValue.innerHTML,this.dom.tdValue.style.visibility="hidden",this.dom.tdValue.innerHTML="")}else this.dom.tdSelect&&(this.dom.tdSelect.parentNode.removeChild(this.dom.tdSelect),delete this.dom.tdSelect,delete this.dom.select,this.dom.tdValue.innerHTML=this.valueFieldHTML,this.dom.tdValue.style.visibility="",delete this.valueFieldHTML);a.stripFormatting(t)}},i.prototype._updateDomField=function(){var t=this.dom.field;if(t){var e=""==String(this.field)&&"array"!=this.parent.type;e?a.addClassName(t,"jsoneditor-empty"):a.removeClassName(t,"jsoneditor-empty"),this.searchFieldActive?a.addClassName(t,"jsoneditor-highlight-active"):a.removeClassName(t,"jsoneditor-highlight-active"),this.searchField?a.addClassName(t,"jsoneditor-highlight"):a.removeClassName(t,"jsoneditor-highlight"),a.stripFormatting(t)}},i.prototype._getDomField=function(t){if(this.dom.field&&this.fieldEditable&&(this.fieldInnerText=a.getInnerText(this.dom.field)),void 0!=this.fieldInnerText)try{var e=this._unescapeHTML(this.fieldInnerText);e!==this.field&&(this.field=e,this._debouncedOnChangeField())}catch(e){if(this.field=void 0,t!==!0)throw e}},i.prototype.validate=function(){var t=[];if("object"===this.type){for(var e={},n=[],i=0;i<this.childs.length;i++){var r=this.childs[i];e.hasOwnProperty(r.field)&&n.push(r.field),e[r.field]=!0}n.length>0&&(t=this.childs.filter(function(t){return n.indexOf(t.field)!==-1}).map(function(t){return{node:t,error:{message:'duplicate key "'+t.field+'"'}}}))}if(this.childs)for(var i=0;i<this.childs.length;i++){var o=this.childs[i].validate();o.length>0&&(t=t.concat(o))}return t},i.prototype.clearDom=function(){this.dom={}},i.prototype.getDom=function(){var t=this.dom;if(t.tr)return t.tr;if(this._updateEditability(),t.tr=document.createElement("tr"),t.tr.node=this,"tree"===this.editor.options.mode){var e=document.createElement("td");if(this.editable.field&&this.parent){var n=document.createElement("button");n.type="button",t.drag=n,n.className="jsoneditor-dragarea",n.title="Drag to move this field (Alt+Shift+Arrows)",e.appendChild(n)}t.tr.appendChild(e);var i=document.createElement("td"),r=document.createElement("button");r.type="button",t.menu=r,r.className="jsoneditor-contextmenu",r.title="Click to open the actions menu (Ctrl+M)",i.appendChild(t.menu),t.tr.appendChild(i)}var o=document.createElement("td");return t.tr.appendChild(o),t.tree=this._createDomTree(),o.appendChild(t.tree),this.updateDom({updateIndexes:!0}),t.tr},i.onDragStart=function(t,e){if(!Array.isArray(t))return i.onDragStart([t],e);if(0!==t.length){var n=t[0],r=t[t.length-1],o=i.getNodeFromTarget(e.target),s=r._nextSibling(),l=n.editor,c=a.getAbsoluteTop(o.dom.tr)-a.getAbsoluteTop(n.dom.tr);l.mousemove||(l.mousemove=a.addEventListener(window,"mousemove",function(e){i.onDrag(t,e)})),l.mouseup||(l.mouseup=a.addEventListener(window,"mouseup",function(e){i.onDragEnd(t,e)})),l.highlighter.lock(),l.drag={oldCursor:document.body.style.cursor,oldSelection:l.getSelection(),oldBeforeNode:s,mouseX:e.pageX,offsetY:c,level:n.getLevel()},document.body.style.cursor="move",e.preventDefault()}},i.onDrag=function(t,e){if(!Array.isArray(t))return i.onDrag([t],e);if(0!==t.length){var n,r,o,s,c,u,d,h,f,p,m,g,v,y,b=t[0].editor,w=e.pageY-b.drag.offsetY,A=e.pageX,x=!1,_=t[0];if(n=_.dom.tr,f=a.getAbsoluteTop(n),g=n.offsetHeight,w<f){r=n;do r=r.previousSibling,d=i.getNodeFromTarget(r),p=r?a.getAbsoluteTop(r):0;while(r&&w<p);d&&!d.parent&&(d=void 0),d||(u=n.parentNode.firstChild,r=u?u.nextSibling:void 0,d=i.getNodeFromTarget(r),d==_&&(d=void 0)),d&&(r=d.dom.tr,p=r?a.getAbsoluteTop(r):0,w>p+g&&(d=void 0)),d&&(t.forEach(function(t){d.parent.moveBefore(t,d)}),x=!0)}else{var E=t[t.length-1];if(c=E.expanded&&E.append?E.append.getDom():E.dom.tr,s=c?c.nextSibling:void 0){m=a.getAbsoluteTop(s),o=s;do h=i.getNodeFromTarget(o),o&&(v=o.nextSibling?a.getAbsoluteTop(o.nextSibling):0,y=o?v-m:0,h.parent.childs.length==t.length&&h.parent.childs[t.length-1]==E&&(f+=27)),o=o.nextSibling;while(o&&w>f+y);if(h&&h.parent){var C=A-b.drag.mouseX,k=Math.round(C/24/2),S=b.drag.level+k,F=h.getLevel();for(r=h.dom.tr.previousSibling;F<S&&r;){d=i.getNodeFromTarget(r);var D=t.some(function(t){return t===d||d._isChildOf(t)});if(D);else{if(!(d instanceof l))break;var T=d.parent.childs;if(T.length==t.length&&T[t.length-1]==E)break;h=i.getNodeFromTarget(r),F=h.getLevel()}r=r.previousSibling}c.nextSibling!=h.dom.tr&&(t.forEach(function(t){h.parent.moveBefore(t,h)}),x=!0)}}}x&&(b.drag.mouseX=A,b.drag.level=_.getLevel()),b.startAutoScroll(w),e.preventDefault()}},i.onDragEnd=function(t,e){if(!Array.isArray(t))return i.onDrag([t],e);if(0!==t.length){var n=t[0],r=n.editor,o=n.parent,s=o.childs.indexOf(n),l=o.childs[s+t.length]||o.append;t[0]&&t[0].dom.menu.focus();var c={nodes:t,oldSelection:r.drag.oldSelection,newSelection:r.getSelection(),oldBeforeNode:r.drag.oldBeforeNode,newBeforeNode:l};c.oldBeforeNode!=c.newBeforeNode&&r._onAction("moveNodes",c),document.body.style.cursor=r.drag.oldCursor,r.highlighter.unlock(),t.forEach(function(t){e.target!==t.dom.drag&&e.target!==t.dom.menu&&r.highlighter.unhighlight()}),delete r.drag,r.mousemove&&(a.removeEventListener(window,"mousemove",r.mousemove),delete r.mousemove),r.mouseup&&(a.removeEventListener(window,"mouseup",r.mouseup),delete r.mouseup),r.stopAutoScroll(),e.preventDefault()}},i.prototype._isChildOf=function(t){for(var e=this.parent;e;){if(e==t)return!0;e=e.parent}return!1},i.prototype._createDomField=function(){return document.createElement("div")},i.prototype.setHighlight=function(t){this.dom.tr&&(t?a.addClassName(this.dom.tr,"jsoneditor-highlight"):a.removeClassName(this.dom.tr,"jsoneditor-highlight"),this.append&&this.append.setHighlight(t),this.childs&&this.childs.forEach(function(e){e.setHighlight(t)}))},i.prototype.setSelected=function(t,e){this.selected=t,this.dom.tr&&(t?a.addClassName(this.dom.tr,"jsoneditor-selected"):a.removeClassName(this.dom.tr,"jsoneditor-selected"),e?a.addClassName(this.dom.tr,"jsoneditor-first"):a.removeClassName(this.dom.tr,"jsoneditor-first"),this.append&&this.append.setSelected(t),this.childs&&this.childs.forEach(function(e){e.setSelected(t)}))},i.prototype.updateValue=function(t){this.value=t,this.updateDom()},i.prototype.updateField=function(t){this.field=t,this.updateDom()},i.prototype.updateDom=function(t){var e=this.dom.tree;e&&(e.style.marginLeft=24*this.getLevel()+"px");var n=this.dom.field;if(n){this.fieldEditable?(n.contentEditable=this.editable.field,n.spellcheck=!1,n.className="jsoneditor-field"):n.className="jsoneditor-readonly";var i;i=void 0!=this.index?this.index:void 0!=this.field?this.field:this._hasChilds()?this.type:"",n.innerHTML=this._escapeHTML(i),this._updateSchema()}var r=this.dom.value;if(r){var o=this.childs?this.childs.length:0;"array"==this.type?(r.innerHTML="["+o+"]",a.addClassName(this.dom.tr,"jsoneditor-expandable")):"object"==this.type?(r.innerHTML="{"+o+"}",a.addClassName(this.dom.tr,"jsoneditor-expandable")):(r.innerHTML=this._escapeHTML(this.value),a.removeClassName(this.dom.tr,"jsoneditor-expandable"))}this._updateDomField(),this._updateDomValue(),t&&t.updateIndexes===!0&&this._updateDomIndexes(),t&&t.recurse===!0&&this.childs&&this.childs.forEach(function(e){e.updateDom(t)}),this.append&&this.append.updateDom()},i.prototype._updateSchema=function(){this.editor&&this.editor.options&&(this.schema=i._findSchema(this.editor.options.schema,this.getPath()),this.schema?this.enum=i._findEnum(this.schema):delete this.enum)},i._findEnum=function(t){if(t.enum)return t.enum;var e=t.oneOf||t.anyOf||t.allOf;if(e){var n=e.filter(function(t){return t.enum});if(n.length>0)return n[0].enum}return null},i._findSchema=function(t,e){for(var n=t,i=0;i<e.length&&n;i++){var r=e[i];"string"==typeof r&&n.properties?n=n.properties[r]||null:"number"==typeof r&&n.items&&(n=n.items)}return n},i.prototype._updateDomIndexes=function(){var t=this.dom.value,e=this.childs;t&&e&&("array"==this.type?e.forEach(function(t,e){t.index=e;var n=t.dom.field;n&&(n.innerHTML=e)}):"object"==this.type&&e.forEach(function(t){void 0!=t.index&&(delete t.index,void 0==t.field&&(t.field=""))}))},i.prototype._createDomValue=function(){var t;return"array"==this.type?(t=document.createElement("div"),t.innerHTML="[...]"):"object"==this.type?(t=document.createElement("div"),t.innerHTML="{...}"):!this.editable.value&&a.isUrl(this.value)?(t=document.createElement("a"),t.href=this.value,t.target="_blank",t.innerHTML=this._escapeHTML(this.value)):(t=document.createElement("div"),t.contentEditable=this.editable.value,t.spellcheck=!1,t.innerHTML=this._escapeHTML(this.value)),t},i.prototype._createDomExpandButton=function(){var t=document.createElement("button");return t.type="button",this._hasChilds()?(t.className=this.expanded?"jsoneditor-expanded":"jsoneditor-collapsed",t.title="Click to expand/collapse this field (Ctrl+E). \nCtrl+Click to expand/collapse including all childs."):(t.className="jsoneditor-invisible",t.title=""),t},i.prototype._createDomTree=function(){var t=this.dom,e=document.createElement("table"),n=document.createElement("tbody");e.style.borderCollapse="collapse",e.className="jsoneditor-values",e.appendChild(n);var i=document.createElement("tr");n.appendChild(i);var r=document.createElement("td");r.className="jsoneditor-tree",i.appendChild(r),t.expand=this._createDomExpandButton(),r.appendChild(t.expand),t.tdExpand=r;var o=document.createElement("td");o.className="jsoneditor-tree",i.appendChild(o),t.field=this._createDomField(),o.appendChild(t.field),t.tdField=o;var s=document.createElement("td");s.className="jsoneditor-tree",i.appendChild(s),"object"!=this.type&&"array"!=this.type&&(s.appendChild(document.createTextNode(":")),s.className="jsoneditor-separator"),t.tdSeparator=s;var a=document.createElement("td");return a.className="jsoneditor-tree",i.appendChild(a),t.value=this._createDomValue(),a.appendChild(t.value),t.tdValue=a,e},i.prototype.onEvent=function(t){var e=t.type,n=t.target||t.srcElement,i=this.dom,r=this,o=this._hasChilds();if(n!=i.drag&&n!=i.menu||("mouseover"==e?this.editor.highlighter.highlight(this):"mouseout"==e&&this.editor.highlighter.unhighlight()),"click"==e&&n==i.menu){var s=r.editor.highlighter;s.highlight(r),s.lock(),a.addClassName(i.menu,"jsoneditor-selected"),this.showContextMenu(i.menu,function(){a.removeClassName(i.menu,"jsoneditor-selected"),s.unlock(),s.unhighlight()})}if("click"==e&&(n==i.expand||("view"===r.editor.options.mode||"form"===r.editor.options.mode)&&"DIV"===n.nodeName)&&o){var l=t.ctrlKey;this._onExpand(l)}"change"==e&&n==i.checkbox&&(this.dom.value.innerHTML=!this.value,this._getDomValue()),"change"==e&&n==i.select&&(this.dom.value.innerHTML=i.select.value,this._getDomValue(),this._updateDomValue());var c=i.value;if(n==c)switch(e){case"blur":case"change":this._getDomValue(!0),this._updateDomValue(),this.value&&(c.innerHTML=this._escapeHTML(this.value));break;case"input":this._getDomValue(!0),this._updateDomValue();break;case"keydown":case"mousedown":this.editor.selection=this.editor.getSelection();break;case"click":!t.ctrlKey&&this.editable.value||a.isUrl(this.value)&&window.open(this.value,"_blank");break;case"keyup":this._getDomValue(!0),this._updateDomValue();break;case"cut":case"paste":setTimeout(function(){r._getDomValue(!0),r._updateDomValue()},1)}var u=i.field;if(n==u)switch(e){case"blur":case"change":this._getDomField(!0),this._updateDomField(),this.field&&(u.innerHTML=this._escapeHTML(this.field));break;case"input":this._getDomField(!0),this._updateSchema(),this._updateDomField(),this._updateDomValue();break;case"keydown":case"mousedown":this.editor.selection=this.editor.getSelection();break;case"keyup":this._getDomField(!0),this._updateDomField();break;case"cut":case"paste":setTimeout(function(){r._getDomField(!0),r._updateDomField()},1)}var d=i.tree;if(n==d.parentNode&&"click"==e&&!t.hasMoved){var h=void 0!=t.offsetX?t.offsetX<24*(this.getLevel()+1):t.pageX<a.getAbsoluteLeft(i.tdSeparator);h||o?u&&(a.setEndOfContentEditable(u),u.focus()):c&&!this.enum&&(a.setEndOfContentEditable(c),c.focus())}(n!=i.tdExpand||o)&&n!=i.tdField&&n!=i.tdSeparator||"click"!=e||t.hasMoved||u&&(a.setEndOfContentEditable(u),u.focus()),"keydown"==e&&this.onKeyDown(t)},i.prototype.onKeyDown=function(t){var e,n,r,o,s,c,u,d,h=t.which||t.keyCode,f=t.target||t.srcElement,p=t.ctrlKey,m=t.shiftKey,g=t.altKey,v=!1,y="tree"===this.editor.options.mode,b=this.editor.multiselection.nodes.length>0?this.editor.multiselection.nodes:[this],w=b[0],A=b[b.length-1];if(13==h){if(f==this.dom.value)this.editable.value&&!t.ctrlKey||a.isUrl(this.value)&&(window.open(this.value,"_blank"),v=!0);else if(f==this.dom.expand){var x=this._hasChilds();if(x){var _=t.ctrlKey;this._onExpand(_),f.focus(),v=!0}}}else if(68==h)p&&y&&(i.onDuplicate(b),v=!0);else if(69==h)p&&(this._onExpand(m),f.focus(),v=!0);else if(77==h&&y)p&&(this.showContextMenu(f),v=!0);else if(46==h&&y)p&&(i.onRemove(b),v=!0);else if(45==h&&y)p&&!m?(this._onInsertBefore(),v=!0):p&&m&&(this._onInsertAfter(),v=!0);else if(35==h){if(g){var E=this._lastNode();E&&E.focus(i.focusElement||this._getElementName(f)),v=!0}}else if(36==h){if(g){var C=this._firstNode();C&&C.focus(i.focusElement||this._getElementName(f)),v=!0}}else if(37==h){if(g&&!m){var k=this._previousElement(f);k&&this.focus(this._getElementName(k)),v=!0}else if(g&&m&&y){if(A.expanded){var S=A.getAppend();r=S?S.nextSibling:void 0}else{var F=A.getDom();r=F.nextSibling}r&&(n=i.getNodeFromTarget(r),o=r.nextSibling,$=i.getNodeFromTarget(o),n&&n instanceof l&&1!=A.parent.childs.length&&$&&$.parent&&(s=this.editor.getSelection(),c=A._nextSibling(),b.forEach(function(t){$.parent.moveBefore(t,$)}),this.focus(i.focusElement||this._getElementName(f)),this.editor._onAction("moveNodes",{nodes:b,oldBeforeNode:c,newBeforeNode:$,oldSelection:s,newSelection:this.editor.getSelection()})))}}else if(38==h)g&&!m?(e=this._previousNode(),e&&(this.editor.deselect(!0),e.focus(i.focusElement||this._getElementName(f))),v=!0):!g&&p&&m&&y?(e=this._previousNode(),e&&(d=this.editor.multiselection,d.start=d.start||this,d.end=e,u=this.editor._findTopLevelNodes(d.start,d.end),this.editor.select(u),e.focus("field")),v=!0):g&&m&&y&&(e=w._previousNode(),e&&e.parent&&(s=this.editor.getSelection(),c=A._nextSibling(),b.forEach(function(t){e.parent.moveBefore(t,e)}),this.focus(i.focusElement||this._getElementName(f)),this.editor._onAction("moveNodes",{nodes:b,oldBeforeNode:c,newBeforeNode:e,oldSelection:s,newSelection:this.editor.getSelection()})),v=!0);else if(39==h){if(g&&!m){var D=this._nextElement(f);D&&this.focus(this._getElementName(D)),v=!0}else if(g&&m&&y){F=w.getDom();var T=F.previousSibling;T&&(e=i.getNodeFromTarget(T),e&&e.parent&&e instanceof l&&!e.isVisible()&&(s=this.editor.getSelection(),c=A._nextSibling(),b.forEach(function(t){e.parent.moveBefore(t,e)}),this.focus(i.focusElement||this._getElementName(f)),this.editor._onAction("moveNodes",{nodes:b,oldBeforeNode:c,newBeforeNode:e,oldSelection:s,newSelection:this.editor.getSelection()})))}}else if(40==h)if(g&&!m)n=this._nextNode(),n&&(this.editor.deselect(!0),n.focus(i.focusElement||this._getElementName(f))),v=!0;else if(!g&&p&&m&&y)n=this._nextNode(),n&&(d=this.editor.multiselection,d.start=d.start||this,d.end=n,u=this.editor._findTopLevelNodes(d.start,d.end),this.editor.select(u),n.focus("field")),v=!0;else if(g&&m&&y){n=A.expanded?A.append?A.append._nextNode():void 0:A._nextNode();var $=n&&(n._nextNode()||n.parent.append);$&&$.parent&&(s=this.editor.getSelection(),c=A._nextSibling(),b.forEach(function(t){$.parent.moveBefore(t,$)}),this.focus(i.focusElement||this._getElementName(f)),this.editor._onAction("moveNodes",{nodes:b,oldBeforeNode:c,newBeforeNode:$,oldSelection:s,newSelection:this.editor.getSelection()})),v=!0}v&&(t.preventDefault(),t.stopPropagation())},i.prototype._onExpand=function(t){if(t){var e=this.dom.tr.parentNode,n=e.parentNode,i=n.scrollTop;n.removeChild(e)}this.expanded?this.collapse(t):this.expand(t),t&&(n.appendChild(e),n.scrollTop=i)},i.onRemove=function(t){if(!Array.isArray(t))return i.onRemove([t]);if(t&&t.length>0){var e=t[0],n=e.parent,r=e.editor,o=e.getIndex();r.highlighter.unhighlight();var s=r.getSelection();i.blurNodes(t);var a=r.getSelection();t.forEach(function(t){t.parent._remove(t)}),r._onAction("removeNodes",{nodes:t.slice(0),parent:n,index:o,oldSelection:s,newSelection:a})}},i.onDuplicate=function(t){if(!Array.isArray(t))return i.onDuplicate([t]);if(t&&t.length>0){var e=t[t.length-1],n=e.parent,r=e.editor;r.deselect(r.multiselection.nodes);var o=r.getSelection(),s=e,a=t.map(function(t){var e=t.clone();return n.insertAfter(e,s),s=e,e});1===t.length?a[0].focus():r.select(a);var l=r.getSelection();r._onAction("duplicateNodes",{afterNode:e,nodes:a,parent:n,oldSelection:o,newSelection:l})}},i.prototype._onInsertBefore=function(t,e,n){var r=this.editor.getSelection(),o=new i(this.editor,{field:void 0!=t?t:"",value:void 0!=e?e:"",type:n});o.expand(!0),this.parent.insertBefore(o,this),this.editor.highlighter.unhighlight(),o.focus("field");var s=this.editor.getSelection();this.editor._onAction("insertBeforeNodes",{nodes:[o],beforeNode:this,parent:this.parent,oldSelection:r,newSelection:s})},i.prototype._onInsertAfter=function(t,e,n){var r=this.editor.getSelection(),o=new i(this.editor,{field:void 0!=t?t:"",value:void 0!=e?e:"",type:n});o.expand(!0),this.parent.insertAfter(o,this),this.editor.highlighter.unhighlight(),o.focus("field");var s=this.editor.getSelection();this.editor._onAction("insertAfterNodes",{nodes:[o],afterNode:this,parent:this.parent,oldSelection:r,newSelection:s})},i.prototype._onAppend=function(t,e,n){var r=this.editor.getSelection(),o=new i(this.editor,{field:void 0!=t?t:"",value:void 0!=e?e:"",type:n});o.expand(!0),this.parent.appendChild(o),this.editor.highlighter.unhighlight(),o.focus("field");var s=this.editor.getSelection();this.editor._onAction("appendNodes",{nodes:[o],parent:this.parent,oldSelection:r,newSelection:s})},i.prototype._onChangeType=function(t){var e=this.type;if(t!=e){var n=this.editor.getSelection();this.changeType(t);var i=this.editor.getSelection();this.editor._onAction("changeType",{node:this,oldType:e,newType:t,oldSelection:n,newSelection:i})}},i.prototype.sort=function(t){if(this._hasChilds()){var e="desc"==t?-1:1,n="array"==this.type?"value":"field";this.hideChilds();var i=this.childs,o=this.sortOrder;this.childs=this.childs.concat(),this.childs.sort(function(t,i){return e*r(t[n],i[n])}),this.sortOrder=1==e?"asc":"desc",this.editor._onAction("sort",{node:this,oldChilds:i,oldSort:o,newChilds:this.childs,newSort:this.sortOrder}),this.showChilds()}},i.prototype.getAppend=function(){return this.append||(this.append=new l(this.editor),this.append.setParent(this)),this.append.getDom()},i.getNodeFromTarget=function(t){for(;t;){if(t.node)return t.node;t=t.parentNode}},i.blurNodes=function(t){if(!Array.isArray(t))return void i.blurNodes([t]);var e=t[0],n=e.parent,r=e.getIndex();n.childs[r+t.length]?n.childs[r+t.length].focus():n.childs[r-1]?n.childs[r-1].focus():n.focus()},i.prototype._nextSibling=function(){var t=this.parent.childs.indexOf(this);return this.parent.childs[t+1]||this.parent.append},i.prototype._previousNode=function(){var t=null,e=this.getDom();if(e&&e.parentNode){var n=e;do n=n.previousSibling,t=i.getNodeFromTarget(n);while(n&&t instanceof l&&!t.isVisible())}return t},i.prototype._nextNode=function(){var t=null,e=this.getDom();if(e&&e.parentNode){var n=e;do n=n.nextSibling,t=i.getNodeFromTarget(n);while(n&&t instanceof l&&!t.isVisible())}return t},i.prototype._firstNode=function(){var t=null,e=this.getDom();if(e&&e.parentNode){var n=e.parentNode.firstChild;t=i.getNodeFromTarget(n)}return t},i.prototype._lastNode=function(){var t=null,e=this.getDom();if(e&&e.parentNode){var n=e.parentNode.lastChild;for(t=i.getNodeFromTarget(n);n&&t instanceof l&&!t.isVisible();)n=n.previousSibling,t=i.getNodeFromTarget(n)}return t},i.prototype._previousElement=function(t){var e=this.dom;switch(t){case e.value:if(this.fieldEditable)return e.field;case e.field:if(this._hasChilds())return e.expand;case e.expand:return e.menu;case e.menu:if(e.drag)return e.drag;default:return null}},i.prototype._nextElement=function(t){var e=this.dom;switch(t){case e.drag:return e.menu;case e.menu:if(this._hasChilds())return e.expand;case e.expand:if(this.fieldEditable)return e.field;case e.field:if(!this._hasChilds())return e.value;default:return null}},i.prototype._getElementName=function(t){var e=this.dom;for(var n in e)if(e.hasOwnProperty(n)&&e[n]==t)return n;return null},i.prototype._hasChilds=function(){return"array"==this.type||"object"==this.type},i.TYPE_TITLES={auto:'Field type "auto". The field type is automatically determined from the value and can be a string, number, boolean, or null.',object:'Field type "object". An object contains an unordered set of key/value pairs.',array:'Field type "array". An array contains an ordered collection of values.',string:'Field type "string". Field type is not determined from the value, but always returned as string.'},i.prototype.showContextMenu=function(t,e){var n=this,r=i.TYPE_TITLES,s=[];if(this.editable.value&&s.push({text:"Type",title:"Change the type of this field",className:"jsoneditor-type-"+this.type,submenu:[{text:"Auto",className:"jsoneditor-type-auto"+("auto"==this.type?" jsoneditor-selected":""),title:r.auto,click:function(){n._onChangeType("auto")}},{text:"Array",className:"jsoneditor-type-array"+("array"==this.type?" jsoneditor-selected":""),title:r.array,click:function(){n._onChangeType("array")}},{text:"Object",className:"jsoneditor-type-object"+("object"==this.type?" jsoneditor-selected":""),title:r.object,click:function(){n._onChangeType("object")}},{text:"String",className:"jsoneditor-type-string"+("string"==this.type?" jsoneditor-selected":""),title:r.string,click:function(){n._onChangeType("string");
|
|
79
|
-
}}]}),this._hasChilds()){var a="asc"==this.sortOrder?"desc":"asc";s.push({text:"Sort",title:"Sort the childs of this "+this.type,className:"jsoneditor-sort-"+a,click:function(){n.sort(a)},submenu:[{text:"Ascending",className:"jsoneditor-sort-asc",title:"Sort the childs of this "+this.type+" in ascending order",click:function(){n.sort("asc")}},{text:"Descending",className:"jsoneditor-sort-desc",title:"Sort the childs of this "+this.type+" in descending order",click:function(){n.sort("desc")}}]})}if(this.parent&&this.parent._hasChilds()){s.length&&s.push({type:"separator"});var l=n.parent.childs;n==l[l.length-1]&&s.push({text:"Append",title:"Append a new field with type 'auto' after this field (Ctrl+Shift+Ins)",submenuTitle:"Select the type of the field to be appended",className:"jsoneditor-append",click:function(){n._onAppend("","","auto")},submenu:[{text:"Auto",className:"jsoneditor-type-auto",title:r.auto,click:function(){n._onAppend("","","auto")}},{text:"Array",className:"jsoneditor-type-array",title:r.array,click:function(){n._onAppend("",[])}},{text:"Object",className:"jsoneditor-type-object",title:r.object,click:function(){n._onAppend("",{})}},{text:"String",className:"jsoneditor-type-string",title:r.string,click:function(){n._onAppend("","","string")}}]}),s.push({text:"Insert",title:"Insert a new field with type 'auto' before this field (Ctrl+Ins)",submenuTitle:"Select the type of the field to be inserted",className:"jsoneditor-insert",click:function(){n._onInsertBefore("","","auto")},submenu:[{text:"Auto",className:"jsoneditor-type-auto",title:r.auto,click:function(){n._onInsertBefore("","","auto")}},{text:"Array",className:"jsoneditor-type-array",title:r.array,click:function(){n._onInsertBefore("",[])}},{text:"Object",className:"jsoneditor-type-object",title:r.object,click:function(){n._onInsertBefore("",{})}},{text:"String",className:"jsoneditor-type-string",title:r.string,click:function(){n._onInsertBefore("","","string")}}]}),this.editable.field&&(s.push({text:"Duplicate",title:"Duplicate this field (Ctrl+D)",className:"jsoneditor-duplicate",click:function(){i.onDuplicate(n)}}),s.push({text:"Remove",title:"Remove this field (Ctrl+Del)",className:"jsoneditor-remove",click:function(){i.onRemove(n)}}))}var c=new o(s,{close:e});c.show(t,this.editor.content)},i.prototype._getType=function(t){return t instanceof Array?"array":t instanceof Object?"object":"string"==typeof t&&"string"!=typeof this._stringCast(t)?"string":"auto"},i.prototype._stringCast=function(t){var e=t.toLowerCase(),n=Number(t),i=parseFloat(t);return""==t?"":"null"==e?null:"true"==e||"false"!=e&&(isNaN(n)||isNaN(i)?t:n)},i.prototype._escapeHTML=function(t){if("string"!=typeof t)return String(t);var e=String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/^ /," ").replace(/ $/," "),n=(0,_stringify2.default)(e),i=n.substring(1,n.length-1);return this.editor.options.escapeUnicode===!0&&(i=a.escapeUnicodeChars(i)),i},i.prototype._unescapeHTML=function(t){var e='"'+this._escapeJSON(t)+'"',n=a.parse(e);return n.replace(/</g,"<").replace(/>/g,">").replace(/ |\u00A0/g," ").replace(/&/g,"&")},i.prototype._escapeJSON=function(t){for(var e="",n=0;n<t.length;){var i=t.charAt(n);"\n"==i?e+="\\n":"\\"==i?(e+=i,n++,i=t.charAt(n),""!==i&&'"\\/bfnrtu'.indexOf(i)!=-1||(e+="\\"),e+=i):e+='"'==i?'\\"':i,n++}return e};var l=s(i);t.exports=i},function(t,e){t.exports=function t(e,n){var i,r,o=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,s=/(^[ ]*|[ ]*$)/g,a=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,l=/^0x[0-9a-f]+$/i,c=/^0/,u=function(e){return t.insensitive&&(""+e).toLowerCase()||""+e},d=u(e).replace(s,"")||"",h=u(n).replace(s,"")||"",f=d.replace(o,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=h.replace(o,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(d.match(l),16)||1!==f.length&&d.match(a)&&Date.parse(d),g=parseInt(h.match(l),16)||m&&h.match(a)&&Date.parse(h)||null;if(g){if(m<g)return-1;if(m>g)return 1}for(var v=0,y=Math.max(f.length,p.length);v<y;v++){if(i=!(f[v]||"").match(c)&&parseFloat(f[v])||f[v]||0,r=!(p[v]||"").match(c)&&parseFloat(p[v])||p[v]||0,isNaN(i)!==isNaN(r))return isNaN(i)?1:-1;if(("undefined"==typeof i?"undefined":(0,_typeof3.default)(i))!==("undefined"==typeof r?"undefined":(0,_typeof3.default)(r))&&(i+="",r+=""),i<r)return-1;if(i>r)return 1}return 0}},function(t,e,n){function i(t){function e(t){this.editor=t,this.dom={}}return e.prototype=new t,e.prototype.getDom=function(){var t=this.dom;if(t.tr)return t.tr;this._updateEditability();var e=document.createElement("tr");if(e.node=this,t.tr=e,"tree"===this.editor.options.mode){t.tdDrag=document.createElement("td");var n=document.createElement("td");t.tdMenu=n;var i=document.createElement("button");i.type="button",i.className="jsoneditor-contextmenu",i.title="Click to open the actions menu (Ctrl+M)",t.menu=i,n.appendChild(t.menu)}var r=document.createElement("td"),o=document.createElement("div");return o.innerHTML="(empty)",o.className="jsoneditor-readonly",r.appendChild(o),t.td=r,t.text=o,this.updateDom(),e},e.prototype.updateDom=function(){var t=this.dom,e=t.td;e&&(e.style.paddingLeft=24*this.getLevel()+26+"px");var n=t.text;n&&(n.innerHTML="(empty "+this.parent.type+")");var i=t.tr;this.isVisible()?t.tr.firstChild||(t.tdDrag&&i.appendChild(t.tdDrag),t.tdMenu&&i.appendChild(t.tdMenu),i.appendChild(e)):t.tr.firstChild&&(t.tdDrag&&i.removeChild(t.tdDrag),t.tdMenu&&i.removeChild(t.tdMenu),i.removeChild(e))},e.prototype.isVisible=function(){return 0==this.parent.childs.length},e.prototype.showContextMenu=function(e,n){var i=this,r=t.TYPE_TITLES,s=[{text:"Append",title:"Append a new field with type 'auto' (Ctrl+Shift+Ins)",submenuTitle:"Select the type of the field to be appended",className:"jsoneditor-insert",click:function(){i._onAppend("","","auto")},submenu:[{text:"Auto",className:"jsoneditor-type-auto",title:r.auto,click:function(){i._onAppend("","","auto")}},{text:"Array",className:"jsoneditor-type-array",title:r.array,click:function(){i._onAppend("",[])}},{text:"Object",className:"jsoneditor-type-object",title:r.object,click:function(){i._onAppend("",{})}},{text:"String",className:"jsoneditor-type-string",title:r.string,click:function(){i._onAppend("","","string")}}]}],a=new o(s,{close:n});a.show(e,this.editor.content)},e.prototype.onEvent=function(t){var e=t.type,n=t.target||t.srcElement,i=this.dom,o=i.menu;if(n==o&&("mouseover"==e?this.editor.highlighter.highlight(this.parent):"mouseout"==e&&this.editor.highlighter.unhighlight()),"click"==e&&n==i.menu){var s=this.editor.highlighter;s.highlight(this.parent),s.lock(),r.addClassName(i.menu,"jsoneditor-selected"),this.showContextMenu(i.menu,function(){r.removeClassName(i.menu,"jsoneditor-selected"),s.unlock(),s.unhighlight()})}"keydown"==e&&this.onKeyDown(t)},e}var r=n(54),o=n(57);t.exports=i},function(t,e,n){function i(t,e,n,i){for(var o={code:{text:"Code",title:"Switch to code highlighter",click:function(){i("code")}},form:{text:"Form",title:"Switch to form editor",click:function(){i("form")}},text:{text:"Text",title:"Switch to plain text editor",click:function(){i("text")}},tree:{text:"Tree",title:"Switch to tree editor",click:function(){i("tree")}},view:{text:"View",title:"Switch to tree view",click:function(){i("view")}}},s=[],a=0;a<e.length;a++){var l=e[a],c=o[l];if(!c)throw new Error('Unknown mode "'+l+'"');c.className="jsoneditor-type-modes"+(n==l?" jsoneditor-selected":""),s.push(c)}var u=o[n];if(!u)throw new Error('Unknown mode "'+n+'"');var d=u.text,h=document.createElement("button");h.type="button",h.className="jsoneditor-modes jsoneditor-separator",h.innerHTML=d+" ▾",h.title="Switch editor mode",h.onclick=function(){var t=new r(s);t.show(h)};var f=document.createElement("div");f.className="jsoneditor-modes",f.style.position="relative",f.appendChild(h),t.appendChild(f),this.dom={container:t,box:h,frame:f}}var r=n(57);i.prototype.focus=function(){this.dom.box.focus()},i.prototype.destroy=function(){this.dom&&this.dom.frame&&this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame),this.dom=null},t.exports=i},function(t,e,n){var i;try{i=n(63)}catch(t){}var r=n(61),o=n(54),s={},a=3,l="ace/theme/jsoneditor";s.create=function(t,e){e=e||{},this.options=e,e.indentation?this.indentation=Number(e.indentation):this.indentation=2;var s=e.ace?e.ace:i;this.mode="code"==e.mode?"code":"text","code"==this.mode&&"undefined"==typeof s&&(this.mode="text",console.warn("Failed to load Ace editor, falling back to plain text mode. Please use a JSONEditor bundle including Ace, or pass Ace as via the configuration option `ace`.")),this.theme=e.theme||l,this.theme===l&&window.ace&&n(70);var a=this;this.container=t,this.dom={},this.aceEditor=void 0,this.textarea=void 0,this.validateSchema=null,this._debouncedValidate=o.debounce(this.validate.bind(this),this.DEBOUNCE_INTERVAL),this.width=t.clientWidth,this.height=t.clientHeight,this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-"+this.options.mode,this.frame.onclick=function(t){t.preventDefault()},this.frame.onkeydown=function(t){a._onKeyDown(t)},this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var c=document.createElement("button");c.type="button",c.className="jsoneditor-format",c.title="Format JSON data, with proper indentation and line feeds (Ctrl+\\)",this.menu.appendChild(c),c.onclick=function(){try{a.format(),a._onChange()}catch(t){a._onError(t)}};var u=document.createElement("button");if(u.type="button",u.className="jsoneditor-compact",u.title="Compact JSON data, remove all whitespaces (Ctrl+Shift+\\)",this.menu.appendChild(u),u.onclick=function(){try{a.compact(),a._onChange()}catch(t){a._onError(t)}},this.options&&this.options.modes&&this.options.modes.length&&(this.modeSwitcher=new r(this.menu,this.options.modes,this.options.mode,function(t){a.setMode(t),a.modeSwitcher.focus()})),this.content=document.createElement("div"),this.content.className="jsoneditor-outer",this.frame.appendChild(this.content),this.container.appendChild(this.frame),"code"==this.mode){this.editorDom=document.createElement("div"),this.editorDom.style.height="100%",this.editorDom.style.width="100%",this.content.appendChild(this.editorDom);var d=s.edit(this.editorDom);d.$blockScrolling=1/0,d.setTheme(this.theme),d.setShowPrintMargin(!1),d.setFontSize(13),d.getSession().setMode("ace/mode/json"),d.getSession().setTabSize(this.indentation),d.getSession().setUseSoftTabs(!0),d.getSession().setUseWrapMode(!0),d.commands.bindKey("Ctrl-L",null),d.commands.bindKey("Command-L",null),this.aceEditor=d,this.hasOwnProperty("editor")||Object.defineProperty(this,"editor",{get:function(){return console.warn('Property "editor" has been renamed to "aceEditor".'),a.aceEditor},set:function(t){console.warn('Property "editor" has been renamed to "aceEditor".'),a.aceEditor=t}});var h=document.createElement("a");h.appendChild(document.createTextNode("powered by ace")),h.href="http://ace.ajax.org",h.target="_blank",h.className="jsoneditor-poweredBy",h.onclick=function(){window.open(h.href,h.target)},this.menu.appendChild(h),d.on("change",this._onChange.bind(this))}else{var f=document.createElement("textarea");f.className="jsoneditor-text",f.spellcheck=!1,this.content.appendChild(f),this.textarea=f,null===this.textarea.oninput?this.textarea.oninput=this._onChange.bind(this):this.textarea.onchange=this._onChange.bind(this)}this.setSchema(this.options.schema)},s._onChange=function(){if(this._debouncedValidate(),this.options.onChange)try{this.options.onChange()}catch(t){console.error("Error in onChange callback: ",t)}},s._onKeyDown=function(t){var e=t.which||t.keyCode,n=!1;220==e&&t.ctrlKey&&(t.shiftKey?(this.compact(),this._onChange()):(this.format(),this._onChange()),n=!0),n&&(t.preventDefault(),t.stopPropagation())},s.destroy=function(){this.aceEditor&&(this.aceEditor.destroy(),this.aceEditor=null),this.frame&&this.container&&this.frame.parentNode==this.container&&this.container.removeChild(this.frame),this.modeSwitcher&&(this.modeSwitcher.destroy(),this.modeSwitcher=null),this.textarea=null,this._debouncedValidate=null},s.compact=function(){var t=this.get(),e=(0,_stringify2.default)(t);this.setText(e)},s.format=function(){var t=this.get(),e=(0,_stringify2.default)(t,null,this.indentation);this.setText(e)},s.focus=function(){this.textarea&&this.textarea.focus(),this.aceEditor&&this.aceEditor.focus()},s.resize=function(){if(this.aceEditor){var t=!1;this.aceEditor.resize(t)}},s.set=function(t){this.setText((0,_stringify2.default)(t,null,this.indentation))},s.get=function(){var t,e=this.getText();try{t=o.parse(e)}catch(n){e=o.sanitize(e),t=o.parse(e)}return t},s.getText=function(){return this.textarea?this.textarea.value:this.aceEditor?this.aceEditor.getValue():""},s.setText=function(t){var e;if(e=this.options.escapeUnicode===!0?o.escapeUnicodeChars(t):t,this.textarea&&(this.textarea.value=e),this.aceEditor){var n=this.options.onChange;this.options.onChange=null,this.aceEditor.setValue(e,-1),this.options.onChange=n}this.validate()},s.validate=function(){this.dom.validationErrors&&(this.dom.validationErrors.parentNode.removeChild(this.dom.validationErrors),this.dom.validationErrors=null,this.content.style.marginBottom="",this.content.style.paddingBottom="");var t,e=!1,n=[];try{t=this.get(),e=!0}catch(t){}if(e&&this.validateSchema){var i=this.validateSchema(t);i||(n=this.validateSchema.errors.map(function(t){return o.improveSchemaError(t)}))}if(n.length>0){var r=n.length>a;if(r){n=n.slice(0,a);var s=this.validateSchema.errors.length-a;n.push("("+s+" more errors...)")}var l=document.createElement("div");l.innerHTML='<table class="jsoneditor-text-errors"><tbody>'+n.map(function(t){var e;return e="string"==typeof t?'<td colspan="2"><pre>'+t+"</pre></td>":"<td>"+t.dataPath+"</td><td>"+t.message+"</td>",'<tr><td><button class="jsoneditor-schema-error"></button></td>'+e+"</tr>"}).join("")+"</tbody></table>",this.dom.validationErrors=l,this.frame.appendChild(l);var c=l.clientHeight;this.content.style.marginBottom=-c+"px",this.content.style.paddingBottom=c+"px"}if(this.aceEditor){var u=!1;this.aceEditor.resize(u)}},t.exports=[{mode:"text",mixin:s,data:"text",load:s.format},{mode:"code",mixin:s,data:"text",load:s.format}]},function(t,e,n){var i=n(64);n(67),n(69),t.exports=i},function(t,e,n){!function(){function t(t){var e=n;t&&(n[t]||(n[t]={}),e=n[t]),e.define&&e.define.packaged||(i.original=e.define,e.define=i,e.define.packaged=!0),e.acequire&&e.acequire.packaged||(o.original=e.acequire,e.acequire=o,e.acequire.packaged=!0)}var e="ace",n=function(){return this}();if(n||"undefined"==typeof window||(n=window),e||"undefined"==typeof acequirejs){var i=function t(e,n,i){return"string"!=typeof e?void(t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())):(2==arguments.length&&(i=n),void(t.modules[e]||(t.payloads[e]=i,t.modules[e]=null)))};i.modules={},i.payloads={};var r=function(t,e,n){if("string"==typeof e){var i=a(t,e);if(void 0!=i)return n&&n(),i}else if("[object Array]"===Object.prototype.toString.call(e)){for(var r=[],s=0,l=e.length;s<l;++s){var c=a(t,e[s]);if(void 0==c&&o.original)return;r.push(c)}return n&&n.apply(null,r)||!0}},o=function t(e,n){var i=r("",e,n);return void 0==i&&t.original?t.original.apply(this,arguments):i},s=function t(e,n){if(n.indexOf("!")!==-1){var i=n.split("!");return t(e,i[0])+"!"+t(e,i[1])}if("."==n.charAt(0)){var r=e.split("/").slice(0,-1).join("/");for(n=r+"/"+n;n.indexOf(".")!==-1&&o!=n;){var o=n;n=n.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},a=function(t,e){e=s(t,e);var n=i.modules[e];if(!n){if(n=i.payloads[e],"function"==typeof n){var o={},a={id:e,uri:"",exports:o,packaged:!0},l=function(t,n){return r(e,t,n)},c=n(l,o,a);o=c||a.exports,i.modules[e]=o,delete i.payloads[e]}n=i.modules[e]=o||n}return n};t(e)}}(),ace.define("ace/lib/regexp",["require","exports","module"],function(t,e,n){function i(t){return(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.extended?"x":"")+(t.sticky?"y":"")}function r(t,e,n){if(Array.prototype.indexOf)return t.indexOf(e,n);for(var i=n||0;i<t.length;i++)if(t[i]===e)return i;return-1}var o={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},s=void 0===o.exec.call(/()??/,"")[1],a=function(){var t=/^/g;return o.test.call(t,""),!t.lastIndex}();a&&s||(RegExp.prototype.exec=function(t){var e,n,l=o.exec.apply(this,arguments);if("string"==typeof t&&l){if(!s&&l.length>1&&r(l,"")>-1&&(n=RegExp(this.source,o.replace.call(i(this),"g","")),o.replace.call(t.slice(l.index),n,function(){for(var t=1;t<arguments.length-2;t++)void 0===arguments[t]&&(l[t]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var c=1;c<l.length;c++)e=this._xregexp.captureNames[c-1],e&&(l[e]=l[c]);!a&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}return l},a||(RegExp.prototype.test=function(t){var e=o.exec.call(this,t);return e&&this.global&&!e[0].length&&this.lastIndex>e.index&&this.lastIndex--,!!e}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(t,e,n){function i(){}function r(t){try{return Object.defineProperty(t,"sentinel",{}),"sentinel"in t}catch(t){}}function o(t){return t=+t,t!==t?t=0:0!==t&&t!==1/0&&t!==-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t}Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError("Function.prototype.bind called on incompatible "+e);var n=p.call(arguments,1),r=function i(){if(this instanceof i){var r=e.apply(this,n.concat(p.call(arguments)));return Object(r)===r?r:this}return e.apply(t,n.concat(p.call(arguments)))};return e.prototype&&(i.prototype=e.prototype,r.prototype=new i,i.prototype=null),r});var s,a,l,c,u,d=Function.prototype.call,h=Array.prototype,f=Object.prototype,p=h.slice,m=d.bind(f.toString),g=d.bind(f.hasOwnProperty);if((u=g(f,"__defineGetter__"))&&(s=d.bind(f.__defineGetter__),a=d.bind(f.__defineSetter__),l=d.bind(f.__lookupGetter__),c=d.bind(f.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function t(t){var e=new Array(t+2);return e[0]=e[1]=0,e}var e,n=[];if(n.splice.apply(n,t(20)),n.splice.apply(n,t(26)),e=n.length,n.splice(5,0,"XXX"),e+1==n.length,e+1==n.length)return!0}()){var v=Array.prototype.splice;Array.prototype.splice=function(t,e){return arguments.length?v.apply(this,[void 0===t?0:t,void 0===e?this.length-t:e].concat(p.call(arguments,2))):[]}}else Array.prototype.splice=function(t,e){var n=this.length;t>0?t>n&&(t=n):void 0==t?t=0:t<0&&(t=Math.max(n+t,0)),t+e<n||(e=n-t);var i=this.slice(t,t+e),r=p.call(arguments,2),o=r.length;if(t===n)o&&this.push.apply(this,r);else{var s=Math.min(e,n-t),a=t+s,l=a+o-s,c=n-a,u=n-s;if(l<a)for(var d=0;d<c;++d)this[l+d]=this[a+d];else if(l>a)for(d=c;d--;)this[l+d]=this[a+d];if(o&&t===u)this.length=u,this.push.apply(this,r);else for(this.length=u+o,d=0;d<o;++d)this[t+d]=r[d]}return i};Array.isArray||(Array.isArray=function(t){return"[object Array]"==m(t)});var y=Object("a"),b="a"!=y[0]||!(0 in y);if(Array.prototype.forEach||(Array.prototype.forEach=function(t){var e=P(this),n=b&&"[object String]"==m(this)?this.split(""):e,i=arguments[1],r=-1,o=n.length>>>0;if("[object Function]"!=m(t))throw new TypeError;for(;++r<o;)r in n&&t.call(i,n[r],r,e)}),Array.prototype.map||(Array.prototype.map=function(t){var e=P(this),n=b&&"[object String]"==m(this)?this.split(""):e,i=n.length>>>0,r=Array(i),o=arguments[1];if("[object Function]"!=m(t))throw new TypeError(t+" is not a function");for(var s=0;s<i;s++)s in n&&(r[s]=t.call(o,n[s],s,e));return r}),Array.prototype.filter||(Array.prototype.filter=function(t){var e,n=P(this),i=b&&"[object String]"==m(this)?this.split(""):n,r=i.length>>>0,o=[],s=arguments[1];if("[object Function]"!=m(t))throw new TypeError(t+" is not a function");for(var a=0;a<r;a++)a in i&&(e=i[a],t.call(s,e,a,n)&&o.push(e));return o}),Array.prototype.every||(Array.prototype.every=function(t){var e=P(this),n=b&&"[object String]"==m(this)?this.split(""):e,i=n.length>>>0,r=arguments[1];if("[object Function]"!=m(t))throw new TypeError(t+" is not a function");for(var o=0;o<i;o++)if(o in n&&!t.call(r,n[o],o,e))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(t){var e=P(this),n=b&&"[object String]"==m(this)?this.split(""):e,i=n.length>>>0,r=arguments[1];if("[object Function]"!=m(t))throw new TypeError(t+" is not a function");for(var o=0;o<i;o++)if(o in n&&t.call(r,n[o],o,e))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(t){var e=P(this),n=b&&"[object String]"==m(this)?this.split(""):e,i=n.length>>>0;if("[object Function]"!=m(t))throw new TypeError(t+" is not a function");if(!i&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var r,o=0;if(arguments.length>=2)r=arguments[1];else for(;;){if(o in n){r=n[o++];break}if(++o>=i)throw new TypeError("reduce of empty array with no initial value")}for(;o<i;o++)o in n&&(r=t.call(void 0,r,n[o],o,e));return r}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(t){var e=P(this),n=b&&"[object String]"==m(this)?this.split(""):e,i=n.length>>>0;if("[object Function]"!=m(t))throw new TypeError(t+" is not a function");if(!i&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var r,o=i-1;if(arguments.length>=2)r=arguments[1];else for(;;){if(o in n){r=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do o in this&&(r=t.call(void 0,r,n[o],o,e));while(o--);return r}),Array.prototype.indexOf&&[0,1].indexOf(1,2)==-1||(Array.prototype.indexOf=function(t){var e=b&&"[object String]"==m(this)?this.split(""):P(this),n=e.length>>>0;if(!n)return-1;var i=0;for(arguments.length>1&&(i=o(arguments[1])),i=i>=0?i:Math.max(0,n+i);i<n;i++)if(i in e&&e[i]===t)return i;return-1}),Array.prototype.lastIndexOf&&[0,1].lastIndexOf(0,-3)==-1||(Array.prototype.lastIndexOf=function(t){var e=b&&"[object String]"==m(this)?this.split(""):P(this),n=e.length>>>0;if(!n)return-1;var i=n-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i=i>=0?i:n-Math.abs(i);i>=0;i--)if(i in e&&t===e[i])return i;return-1}),_getPrototypeOf2.default||(Object.getPrototypeOf=function(t){return t.__proto__||(t.constructor?t.constructor.prototype:f)}),!_getOwnPropertyDescriptor2.default){var w="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(t,e){if("object"!=("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&"function"!=typeof t||null===t)throw new TypeError(w+t);if(g(t,e)){var n,i,r;if(n={enumerable:!0,configurable:!0},u){var o=t.__proto__;t.__proto__=f;var i=l(t,e),r=c(t,e);if(t.__proto__=o,i||r)return i&&(n.get=i),r&&(n.set=r),n}return n.value=t[e],n}}}if(_getOwnPropertyNames2.default||(Object.getOwnPropertyNames=function(t){return(0,_keys2.default)(t)}),!_create2.default){var A;A=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var t={};for(var e in t)t[e]=null;return t.constructor=t.hasOwnProperty=t.propertyIsEnumerable=t.isPrototypeOf=t.toLocaleString=t.toString=t.valueOf=t.__proto__=null,t},Object.create=function(t,e){var n;if(null===t)n=A();else{if("object"!=("undefined"==typeof t?"undefined":(0,_typeof3.default)(t)))throw new TypeError("typeof prototype["+("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))+"] != 'object'");var i=function(){};i.prototype=t,n=new i,n.__proto__=t}return void 0!==e&&(0,_defineProperties2.default)(n,e),n}}if(_defineProperty2.default){var x=r({}),_="undefined"==typeof document||r(document.createElement("div"));if(!x||!_)var E=_defineProperty2.default}if(!_defineProperty2.default||E){var C="Property description must be an object: ",k="Object.defineProperty called on non-object: ",S="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(t,e,n){if("object"!=("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&"function"!=typeof t||null===t)throw new TypeError(k+t);if("object"!=("undefined"==typeof n?"undefined":(0,_typeof3.default)(n))&&"function"!=typeof n||null===n)throw new TypeError(C+n);if(E)try{return E.call(Object,t,e,n)}catch(t){}if(g(n,"value"))if(u&&(l(t,e)||c(t,e))){var i=t.__proto__;t.__proto__=f,delete t[e],t[e]=n.value,t.__proto__=i}else t[e]=n.value;else{if(!u)throw new TypeError(S);g(n,"get")&&s(t,e,n.get),g(n,"set")&&a(t,e,n.set)}return t}}_defineProperties2.default||(Object.defineProperties=function(t,e){for(var n in e)g(e,n)&&(0,_defineProperty2.default)(t,n,e[n]);return t}),_seal2.default||(Object.seal=function(t){return t}),_freeze2.default||(Object.freeze=function(t){return t});try{(0,_freeze2.default)(function(){})}catch(t){Object.freeze=function(t){return function(e){return"function"==typeof e?e:t(e)}}(_freeze2.default)}if(_preventExtensions2.default||(Object.preventExtensions=function(t){return t}),_isSealed2.default||(Object.isSealed=function(t){return!1}),_isFrozen2.default||(Object.isFrozen=function(t){return!1}),_isExtensible2.default||(Object.isExtensible=function(t){if(Object(t)===t)throw new TypeError;for(var e="";g(t,e);)e+="?";t[e]=!0;var n=g(t,e);return delete t[e],n}),!_keys2.default){var F=!0,D=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],T=D.length;for(var $ in{toString:null})F=!1;Object.keys=function t(e){if("object"!=("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var n in e)g(e,n)&&t.push(n);if(F)for(var i=0,r=T;i<r;i++){var o=D[i];g(e,o)&&t.push(o)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var B="\t\n\v\f\r \u2028\u2029\ufeff";if(!String.prototype.trim||B.trim()){B="["+B+"]";var M=new RegExp("^"+B+B+"*"),R=new RegExp(B+B+"*$");String.prototype.trim=function(){return String(this).replace(M,"").replace(R,"")}}var P=function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return Object(t)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(t,e,n){t("./regexp"),t("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(t,e,n){var i="http://www.w3.org/1999/xhtml";return e.getDocumentHead=function(t){return t||(t=document),t.head||t.getElementsByTagName("head")[0]||t.documentElement},e.createElement=function(t,e){return document.createElementNS?document.createElementNS(e||i,t):document.createElement(t)},e.hasCssClass=function(t,e){var n=(t.className||"").split(/\s+/g);return n.indexOf(e)!==-1},e.addCssClass=function(t,n){e.hasCssClass(t,n)||(t.className+=" "+n)},e.removeCssClass=function(t,e){for(var n=t.className.split(/\s+/g);;){var i=n.indexOf(e);if(i==-1)break;n.splice(i,1)}t.className=n.join(" ")},e.toggleCssClass=function(t,e){for(var n=t.className.split(/\s+/g),i=!0;;){var r=n.indexOf(e);if(r==-1)break;i=!1,n.splice(r,1)}return i&&n.push(e),t.className=n.join(" "),i},e.setCssClass=function(t,n,i){i?e.addCssClass(t,n):e.removeCssClass(t,n)},e.hasCssString=function(t,e){var n,i=0;if(e=e||document,e.createStyleSheet&&(n=e.styleSheets)){for(;i<n.length;)if(n[i++].owningElement.id===t)return!0}else if(n=e.getElementsByTagName("style"))for(;i<n.length;)if(n[i++].id===t)return!0;return!1},e.importCssString=function(t,n,i){if(i=i||document,n&&e.hasCssString(n,i))return null;var r;n&&(t+="\n/*# sourceURL=ace/css/"+n+" */"),i.createStyleSheet?(r=i.createStyleSheet(),r.cssText=t,n&&(r.owningElement.id=n)):(r=e.createElement("style"),r.appendChild(i.createTextNode(t)),n&&(r.id=n),e.getDocumentHead(i).appendChild(r))},e.importCssStylsheet=function(t,n){if(n.createStyleSheet)n.createStyleSheet(t);else{var i=e.createElement("link");i.rel="stylesheet",i.href=t,e.getDocumentHead(n).appendChild(i)}},e.getInnerWidth=function(t){return parseInt(e.computedStyle(t,"paddingLeft"),10)+parseInt(e.computedStyle(t,"paddingRight"),10)+t.clientWidth},e.getInnerHeight=function(t){return parseInt(e.computedStyle(t,"paddingTop"),10)+parseInt(e.computedStyle(t,"paddingBottom"),10)+t.clientHeight},e.scrollbarWidth=function(t){var n=e.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var i=e.createElement("ace_outer"),r=i.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",i.appendChild(n);var o=t.documentElement;o.appendChild(i);var s=n.offsetWidth;r.overflow="scroll";var a=n.offsetWidth;return s==a&&(a=i.clientWidth),o.removeChild(i),s-a},"undefined"==typeof document?void(e.importCssString=function(){}):(void 0!==window.pageYOffset?(e.getPageScrollTop=function(){return window.pageYOffset},e.getPageScrollLeft=function(){return window.pageXOffset}):(e.getPageScrollTop=function(){return document.body.scrollTop},e.getPageScrollLeft=function(){return document.body.scrollLeft}),window.getComputedStyle?e.computedStyle=function(t,e){return e?(window.getComputedStyle(t,"")||{})[e]||"":window.getComputedStyle(t,"")||{}}:e.computedStyle=function(t,e){return e?t.currentStyle[e]:t.currentStyle},e.setInnerHtml=function(t,e){var n=t.cloneNode(!1);return n.innerHTML=e,t.parentNode.replaceChild(n,t),n},"textContent"in document.documentElement?(e.setInnerText=function(t,e){t.textContent=e},e.getInnerText=function(t){return t.textContent}):(e.setInnerText=function(t,e){t.innerText=e},e.getInnerText=function(t){return t.innerText}),void(e.getParentWindow=function(t){return t.defaultView||t.parentWindow}))}),ace.define("ace/lib/oop",["require","exports","module"],function(t,e,n){e.inherits=function(t,e){t.super_=e,t.prototype=(0,_create2.default)(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},e.mixin=function(t,e){for(var n in e)t[n]=e[n];return t},e.implement=function(t,n){e.mixin(t,n)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(t,e,n){t("./fixoldbrowsers");var i=t("./oop"),r=function(){var t,e,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(e in n.FUNCTION_KEYS)t=n.FUNCTION_KEYS[e].toLowerCase(),n[t]=parseInt(e,10);for(e in n.PRINTABLE_KEYS)t=n.PRINTABLE_KEYS[e].toLowerCase(),n[t]=parseInt(e,10);return i.mixin(n,n.MODIFIER_KEYS),i.mixin(n,n.PRINTABLE_KEYS),i.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var t=["cmd","ctrl","alt","shift"],e=Math.pow(2,t.length);e--;)n.KEY_MODS[e]=t.filter(function(t){return e&n.KEY_MODS[t]}).join("-")+"-";
|
|
80
|
-
}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();i.mixin(e,r),e.keyCodeToString=function(t){var e=r[t];return"string"!=typeof e&&(e=String.fromCharCode(t)),e.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(t,e,n){if(e.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},e.getOS=function(){return e.isMac?e.OS.MAC:e.isLinux?e.OS.LINUX:e.OS.WINDOWS},"object"==("undefined"==typeof navigator?"undefined":(0,_typeof3.default)(navigator))){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),r=navigator.userAgent;e.isWin="win"==i,e.isMac="mac"==i,e.isLinux="linux"==i,e.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),e.isOldIE=e.isIE&&e.isIE<9,e.isGecko=e.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,e.isOldGecko=e.isGecko&&parseInt((r.match(/rv\:(\d+)/)||[])[1],10)<4,e.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),e.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,e.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,e.isAIR=r.indexOf("AdobeAIR")>=0,e.isIPad=r.indexOf("iPad")>=0,e.isTouchPad=r.indexOf("TouchPad")>=0,e.isChromeOS=r.indexOf(" CrOS ")>=0}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(t,e,n){function i(t,e,n){var i=c(e);if(!s.isMac&&a){if(a.OSKey&&(i|=8),a.altGr){if(3==(3&i))return;a.altGr=0}if(18===n||17===n){var r="location"in e?e.location:e.keyLocation;if(17===n&&1===r)1==a[n]&&(l=e.timeStamp);else if(18===n&&3===i&&2===r){var u=e.timeStamp-l;u<50&&(a.altGr=!0)}}}if(n in o.MODIFIER_KEYS&&(n=-1),8&i&&n>=91&&n<=93&&(n=-1),!i&&13===n){var r="location"in e?e.location:e.keyLocation;if(3===r&&(t(e,i,-n),e.defaultPrevented))return}if(s.isChromeOS&&8&i){if(t(e,i,n),e.defaultPrevented)return;i&=-9}return!!(i||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&t(e,i,n)}function r(){a=(0,_create2.default)(null),a.count=0,a.lastT=0}var o=t("./keys"),s=t("./useragent"),a=null,l=0;e.addListener=function(t,e,n){if(t.addEventListener)return t.addEventListener(e,n,!1);if(t.attachEvent){var i=function(){n.call(t,window.event)};n._wrapper=i,t.attachEvent("on"+e,i)}},e.removeListener=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):void(t.detachEvent&&t.detachEvent("on"+e,n._wrapper||n))},e.stopEvent=function(t){return e.stopPropagation(t),e.preventDefault(t),!1},e.stopPropagation=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},e.preventDefault=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},e.getButton=function(t){return"dblclick"==t.type?0:"contextmenu"==t.type||s.isMac&&t.ctrlKey&&!t.altKey&&!t.shiftKey?2:t.preventDefault?t.button:{1:0,2:2,4:1}[t.button]},e.capture=function(t,n,i){function r(t){n&&n(t),i&&i(t),e.removeListener(document,"mousemove",n,!0),e.removeListener(document,"mouseup",r,!0),e.removeListener(document,"dragstart",r,!0)}return e.addListener(document,"mousemove",n,!0),e.addListener(document,"mouseup",r,!0),e.addListener(document,"dragstart",r,!0),r},e.addTouchMoveListener=function(t,n){if("ontouchmove"in t){var i,r;e.addListener(t,"touchstart",function(t){var e=t.changedTouches[0];i=e.clientX,r=e.clientY}),e.addListener(t,"touchmove",function(t){var e=1,o=t.changedTouches[0];t.wheelX=-(o.clientX-i)/e,t.wheelY=-(o.clientY-r)/e,i=o.clientX,r=o.clientY,n(t)})}},e.addMouseWheelListener=function(t,n){"onmousewheel"in t?e.addListener(t,"mousewheel",function(t){var e=8;void 0!==t.wheelDeltaX?(t.wheelX=-t.wheelDeltaX/e,t.wheelY=-t.wheelDeltaY/e):(t.wheelX=0,t.wheelY=-t.wheelDelta/e),n(t)}):"onwheel"in t?e.addListener(t,"wheel",function(t){var e=.35;switch(t.deltaMode){case t.DOM_DELTA_PIXEL:t.wheelX=t.deltaX*e||0,t.wheelY=t.deltaY*e||0;break;case t.DOM_DELTA_LINE:case t.DOM_DELTA_PAGE:t.wheelX=5*(t.deltaX||0),t.wheelY=5*(t.deltaY||0)}n(t)}):e.addListener(t,"DOMMouseScroll",function(t){t.axis&&t.axis==t.HORIZONTAL_AXIS?(t.wheelX=5*(t.detail||0),t.wheelY=0):(t.wheelX=0,t.wheelY=5*(t.detail||0)),n(t)})},e.addMultiMouseDownListener=function(t,n,i,r){function o(t){if(0!==e.getButton(t)?d=0:t.detail>1?(d++,d>4&&(d=1)):d=1,s.isIE){var o=Math.abs(t.clientX-l)>5||Math.abs(t.clientY-c)>5;u&&!o||(d=1),u&&clearTimeout(u),u=setTimeout(function(){u=null},n[d-1]||600),1==d&&(l=t.clientX,c=t.clientY)}if(t._clicks=d,i[r]("mousedown",t),d>4)d=0;else if(d>1)return i[r](h[d],t)}function a(t){d=2,u&&clearTimeout(u),u=setTimeout(function(){u=null},n[d-1]||600),i[r]("mousedown",t),i[r](h[d],t)}var l,c,u,d=0,h={2:"dblclick",3:"tripleclick",4:"quadclick"};Array.isArray(t)||(t=[t]),t.forEach(function(t){e.addListener(t,"mousedown",o),s.isOldIE&&e.addListener(t,"dblclick",a)})};var c=!s.isMac||!s.isOpera||"KeyboardEvent"in window?function(t){return 0|(t.ctrlKey?1:0)|(t.altKey?2:0)|(t.shiftKey?4:0)|(t.metaKey?8:0)}:function(t){return 0|(t.metaKey?1:0)|(t.altKey?2:0)|(t.shiftKey?4:0)|(t.ctrlKey?8:0)};if(e.getModifierString=function(t){return o.KEY_MODS[c(t)]},e.addCommandKeyListener=function(t,n){var o=e.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var l=null;o(t,"keydown",function(t){l=t.keyCode}),o(t,"keypress",function(t){return i(n,t,l)})}else{var c=null;o(t,"keydown",function(t){var e=t.keyCode;a[e]=(a[e]||0)+1,91==e||92==e?a.OSKey=!0:a.OSKey&&t.timeStamp-a.lastT>200&&1==a.count&&r(),1==a[e]&&a.count++,a.lastT=t.timeStamp;var o=i(n,t,e);return c=t.defaultPrevented,o}),o(t,"keypress",function(t){c&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey)&&(e.stopEvent(t),c=null)}),o(t,"keyup",function(t){var e=t.keyCode;a[e]?a.count=Math.max(a.count-1,0):r(),91!=e&&92!=e||(a.OSKey=!1),a[e]=null}),a||(r(),o(window,"focus",r))}},"object"==("undefined"==typeof window?"undefined":(0,_typeof3.default)(window))&&window.postMessage&&!s.isOldIE){var u=1;e.nextTick=function(t,n){n=n||window;var i="zero-timeout-message-"+u;e.addListener(n,"message",function r(o){o.data==i&&(e.stopPropagation(o),e.removeListener(n,"message",r),t())}),n.postMessage(i,"*")}}e.nextFrame="object"==("undefined"==typeof window?"undefined":(0,_typeof3.default)(window))&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),e.nextFrame?e.nextFrame=e.nextFrame.bind(window):e.nextFrame=function(t){setTimeout(t,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(t,e,n){e.last=function(t){return t[t.length-1]},e.stringReverse=function(t){return t.split("").reverse().join("")},e.stringRepeat=function(t,e){for(var n="";e>0;)1&e&&(n+=t),(e>>=1)&&(t+=t);return n};var i=/^\s\s*/,r=/\s\s*$/;e.stringTrimLeft=function(t){return t.replace(i,"")},e.stringTrimRight=function(t){return t.replace(r,"")},e.copyObject=function(t){var e={};for(var n in t)e[n]=t[n];return e},e.copyArray=function(t){for(var e=[],n=0,i=t.length;n<i;n++)t[n]&&"object"==(0,_typeof3.default)(t[n])?e[n]=this.copyObject(t[n]):e[n]=t[n];return e},e.deepCopy=function t(e){if("object"!==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))||!e)return e;var n;if(Array.isArray(e)){n=[];for(var i=0;i<e.length;i++)n[i]=t(e[i]);return n}var r=e.constructor;if(r===RegExp)return e;n=r();for(var i in e)n[i]=t(e[i]);return n},e.arrayToMap=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=1;return e},e.createMap=function(t){var e=(0,_create2.default)(null);for(var n in t)e[n]=t[n];return e},e.arrayRemove=function(t,e){for(var n=0;n<=t.length;n++)e===t[n]&&t.splice(n,1)},e.escapeRegExp=function(t){return t.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},e.escapeHTML=function(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},e.getMatchOffsets=function(t,e){var n=[];return t.replace(e,function(t){n.push({offset:arguments[arguments.length-2],length:t.length})}),n},e.deferredCall=function(t){var e=null,n=function(){e=null,t()},i=function t(i){return t.cancel(),e=setTimeout(n,i||0),t};return i.schedule=i,i.call=function(){return this.cancel(),t(),i},i.cancel=function(){return clearTimeout(e),e=null,i},i.isPending=function(){return e},i},e.delayedCall=function(t,e){var n=null,i=function(){n=null,t()},r=function(t){null==n&&(n=setTimeout(i,t||e))};return r.delay=function(t){n&&clearTimeout(n),n=setTimeout(i,t||e)},r.schedule=r,r.call=function(){this.cancel(),t()},r.cancel=function(){n&&clearTimeout(n),n=null},r.isPending=function(){return n},r}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],function(t,e,n){var i=t("../lib/event"),r=t("../lib/useragent"),o=t("../lib/dom"),s=t("../lib/lang"),a=r.isChrome<18,l=r.isIE,c=function(t,e){function n(t){if(!m){if(m=!0,S)e=0,n=t?0:d.value.length-1;else var e=t?2:1,n=2;try{d.setSelectionRange(e,n)}catch(t){}m=!1}}function c(){m||(d.value=h,r.isWebKit&&w.schedule())}function u(){clearTimeout(I),I=setTimeout(function(){g&&(d.style.cssText=g,g=""),null==e.renderer.$keepTextAreaAtCursor&&(e.renderer.$keepTextAreaAtCursor=!0,e.renderer.$moveTextAreaToCursor())},r.isOldIE?200:0)}var d=o.createElement("textarea");d.className="ace_text-input",r.isTouchPad&&d.setAttribute("x-palm-disable-auto-cap",!0),d.setAttribute("wrap","off"),d.setAttribute("autocorrect","off"),d.setAttribute("autocapitalize","off"),d.setAttribute("spellcheck",!1),d.style.opacity="0",r.isOldIE&&(d.style.top="-1000px"),t.insertBefore(d,t.firstChild);var h="",f=!1,p=!1,m=!1,g="",v=!0;try{var y=document.activeElement===d}catch(t){}i.addListener(d,"blur",function(t){e.onBlur(t),y=!1}),i.addListener(d,"focus",function(t){y=!0,e.onFocus(t),n()}),this.focus=function(){if(g)return d.focus();var t=d.style.top;d.style.position="fixed",d.style.top="0px",d.focus(),setTimeout(function(){d.style.position="","0px"==d.style.top&&(d.style.top=t)},0)},this.blur=function(){d.blur()},this.isFocused=function(){return y};var b=s.delayedCall(function(){y&&n(v)}),w=s.delayedCall(function(){m||(d.value=h,y&&n())});r.isWebKit||e.addEventListener("changeSelection",function(){e.selection.isEmpty()!=v&&(v=!v,b.schedule())}),c(),y&&e.onFocus();var A=function(t){return 0===t.selectionStart&&t.selectionEnd===t.value.length};if(!d.setSelectionRange&&d.createTextRange&&(d.setSelectionRange=function(t,e){var n=this.createTextRange();n.collapse(!0),n.moveStart("character",t),n.moveEnd("character",e),n.select()},A=function(t){try{var e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&e.text==t.value}),r.isOldIE){var x=!1,_=function(t){if(!x){var e=d.value;if(!m&&e&&e!=h){if(t&&e==h[0])return E.schedule();D(e),x=!0,c(),x=!1}}},E=s.delayedCall(_);i.addListener(d,"propertychange",_);var C={13:1,27:1};i.addListener(d,"keyup",function(t){return!m||d.value&&!C[t.keyCode]||setTimeout(j,0),(d.value.charCodeAt(0)||0)<129?E.call():void(m?O():L())}),i.addListener(d,"keydown",function(t){E.schedule(50)})}var k=function(t){f?f=!1:A(d)?(e.selectAll(),n()):S&&n(e.selection.isEmpty())},S=null;this.setInputHandler=function(t){S=t},this.getInputHandler=function(){return S};var F=!1,D=function(t){S&&(t=S(t),S=null),p?(n(),t&&e.onPaste(t),p=!1):t==h.charAt(0)?F?e.execCommand("del",{source:"ace"}):e.execCommand("backspace",{source:"ace"}):(t.substring(0,2)==h?t=t.substr(2):t.charAt(0)==h.charAt(0)?t=t.substr(1):t.charAt(t.length-1)==h.charAt(0)&&(t=t.slice(0,-1)),t.charAt(t.length-1)==h.charAt(0)&&(t=t.slice(0,-1)),t&&e.onTextInput(t)),F&&(F=!1)},T=function(t){if(!m){var e=d.value;D(e),c()}},$=function(t,e){var n=t.clipboardData||window.clipboardData;if(n&&!a){var i=l?"Text":"text/plain";return e?n.setData(i,e)!==!1:n.getData(i)}},B=function(t,r){var o=e.getCopyText();return o?void($(t,o)?(r?e.onCut():e.onCopy(),i.preventDefault(t)):(f=!0,d.value=o,d.select(),setTimeout(function(){f=!1,c(),n(),r?e.onCut():e.onCopy()}))):i.preventDefault(t)},M=function(t){B(t,!0)},R=function(t){B(t,!1)},P=function(t){var o=$(t);"string"==typeof o?(o&&e.onPaste(o,t),r.isIE&&setTimeout(n),i.preventDefault(t)):(d.value="",p=!0)};i.addCommandKeyListener(d,e.onCommandKey.bind(e)),i.addListener(d,"select",k),i.addListener(d,"input",T),i.addListener(d,"cut",M),i.addListener(d,"copy",R),i.addListener(d,"paste",P),"oncut"in d&&"oncopy"in d&&"onpaste"in d||i.addListener(t,"keydown",function(t){if((!r.isMac||t.metaKey)&&t.ctrlKey)switch(t.keyCode){case 67:R(t);break;case 86:P(t);break;case 88:M(t)}});var L=function(t){m||!e.onCompositionStart||e.$readOnly||(m={},e.onCompositionStart(),setTimeout(O,0),e.on("mousedown",j),e.selection.isEmpty()||(e.insert(""),e.session.markUndoGroup(),e.selection.clearSelection()),e.session.markUndoGroup())},O=function(){if(m&&e.onCompositionUpdate&&!e.$readOnly){var t=d.value.replace(/\x01/g,"");if(m.lastValue!==t&&(e.onCompositionUpdate(t),m.lastValue&&e.undo(),m.lastValue=t,m.lastValue)){var n=e.selection.getRange();e.insert(m.lastValue),e.session.markUndoGroup(),m.range=e.selection.getRange(),e.selection.setRange(n),e.selection.clearSelection()}}},j=function t(n){if(e.onCompositionEnd&&!e.$readOnly){var i=m;m=!1;var r=setTimeout(function(){r=null;var t=d.value.replace(/\x01/g,"");m||(t==i.lastValue?c():!i.lastValue&&t&&(c(),D(t)))});S=function(t){return r&&clearTimeout(r),t=t.replace(/\x01/g,""),t==i.lastValue?"":(i.lastValue&&r&&e.undo(),t)},e.onCompositionEnd(),e.removeListener("mousedown",t),"compositionend"==n.type&&i.range&&e.selection.setRange(i.range)}},N=s.delayedCall(O,50);i.addListener(d,"compositionstart",L),r.isGecko?i.addListener(d,"text",function(){N.schedule()}):(i.addListener(d,"keyup",function(){N.schedule()}),i.addListener(d,"keydown",function(){N.schedule()})),i.addListener(d,"compositionend",j),this.getElement=function(){return d},this.setReadOnly=function(t){d.readOnly=t},this.onContextMenu=function(t){F=!0,n(e.selection.isEmpty()),e._emit("nativecontextmenu",{target:e,domEvent:t}),this.moveToMouse(t,!0)},this.moveToMouse=function(t,n){if(n||!r.isOldIE){g||(g=d.style.cssText),d.style.cssText=(n?"z-index:100000;":"")+"height:"+d.style.height+";"+(r.isIE?"opacity:0.1;":"");var s=e.container.getBoundingClientRect(),a=o.computedStyle(e.container),l=s.top+(parseInt(a.borderTopWidth)||0),c=s.left+(parseInt(s.borderLeftWidth)||0),h=s.bottom-l-d.clientHeight-2,f=function(t){d.style.left=t.clientX-c-2+"px",d.style.top=Math.min(t.clientY-l-2,h)+"px"};f(t),"mousedown"==t.type&&(e.renderer.$keepTextAreaAtCursor&&(e.renderer.$keepTextAreaAtCursor=null),clearTimeout(I),r.isWin&&!r.isOldIE&&i.capture(e.container,f,u))}},this.onContextMenuClose=u;var I,H=function(t){e.textInput.onContextMenu(t),u()};i.addListener(d,"mouseup",H),i.addListener(d,"mousedown",function(t){t.preventDefault(),u()}),i.addListener(e.renderer.scroller,"contextmenu",H),i.addListener(d,"contextmenu",H)};e.TextInput=c}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(t,e,n){function i(t){t.$clickSelection=null;var e=t.editor;e.setDefaultHandler("mousedown",this.onMouseDown.bind(t)),e.setDefaultHandler("dblclick",this.onDoubleClick.bind(t)),e.setDefaultHandler("tripleclick",this.onTripleClick.bind(t)),e.setDefaultHandler("quadclick",this.onQuadClick.bind(t)),e.setDefaultHandler("mousewheel",this.onMouseWheel.bind(t)),e.setDefaultHandler("touchmove",this.onTouchMove.bind(t));var n=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];n.forEach(function(e){t[e]=this[e]},this),t.selectByLines=this.extendSelectionBy.bind(t,"getLineRange"),t.selectByWords=this.extendSelectionBy.bind(t,"getWordRange")}function r(t,e,n,i){return Math.sqrt(Math.pow(n-t,2)+Math.pow(i-e,2))}function o(t,e){if(t.start.row==t.end.row)var n=2*e.column-t.start.column-t.end.column;else if(t.start.row!=t.end.row-1||t.start.column||t.end.column)var n=2*e.row-t.start.row-t.end.row;else var n=e.column-4;return n<0?{cursor:t.start,anchor:t.end}:{cursor:t.end,anchor:t.start}}var s=(t("../lib/dom"),t("../lib/event"),t("../lib/useragent"),0);(function(){this.onMouseDown=function(t){var e=t.inSelection(),n=t.getDocumentPosition();this.mousedownEvent=t;var i=this.editor,r=t.getButton();if(0!==r){var o=i.getSelectionRange(),s=o.isEmpty();return i.$blockScrolling++,(s||1==r)&&i.selection.moveToPosition(n),i.$blockScrolling--,void(2==r&&i.textInput.onContextMenu(t.domEvent))}return this.mousedownEvent.time=Date.now(),!e||i.isFocused()||(i.focus(),!this.$focusTimout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(t),this.startSelect(n,t.domEvent._clicks>1),t.preventDefault()):(this.setState("focusWait"),void this.captureMouse(t))},this.startSelect=function(t,e){t=t||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(t):e||n.selection.moveToPosition(t),e||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var t,e=this.editor,n=e.renderer.screenToTextCoordinates(this.x,this.y);if(e.$blockScrolling++,this.$clickSelection){var i=this.$clickSelection.comparePoint(n);if(i==-1)t=this.$clickSelection.end;else if(1==i)t=this.$clickSelection.start;else{var r=o(this.$clickSelection,n);n=r.cursor,t=r.anchor}e.selection.setSelectionAnchor(t.row,t.column)}e.selection.selectToPosition(n),e.$blockScrolling--,e.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(t){var e,n=this.editor,i=n.renderer.screenToTextCoordinates(this.x,this.y),r=n.selection[t](i.row,i.column);if(n.$blockScrolling++,this.$clickSelection){var s=this.$clickSelection.comparePoint(r.start),a=this.$clickSelection.comparePoint(r.end);if(s==-1&&a<=0)e=this.$clickSelection.end,r.end.row==i.row&&r.end.column==i.column||(i=r.start);else if(1==a&&s>=0)e=this.$clickSelection.start,r.start.row==i.row&&r.start.column==i.column||(i=r.end);else if(s==-1&&1==a)i=r.end,e=r.start;else{var l=o(this.$clickSelection,i);i=l.cursor,e=l.anchor}n.selection.setSelectionAnchor(e.row,e.column)}n.selection.selectToPosition(i),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var t=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),e=Date.now();(t>s||e-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(t){var e=t.getDocumentPosition(),n=this.editor,i=n.session,r=i.getBracketRange(e);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(e.row,e.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(t){var e=t.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var i=n.getSelectionRange();i.isMultiLine()&&i.contains(e.row,e.column)?(this.$clickSelection=n.selection.getLineRange(i.start.row),this.$clickSelection.end=n.selection.getLineRange(i.end.row).end):this.$clickSelection=n.selection.getLineRange(e.row),this.select()},this.onQuadClick=function(t){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(t){if(!t.getAccelKey()){t.getShiftKey()&&t.wheelY&&!t.wheelX&&(t.wheelX=t.wheelY,t.wheelY=0);var e=t.domEvent.timeStamp,n=e-(this.$lastScrollTime||0),i=this.editor,r=i.renderer.isScrollableBy(t.wheelX*t.speed,t.wheelY*t.speed);return r||n<200?(this.$lastScrollTime=e,i.renderer.scrollBy(t.wheelX*t.speed,t.wheelY*t.speed),t.stop()):void 0}},this.onTouchMove=function(t){var e=t.domEvent.timeStamp,n=e-(this.$lastScrollTime||0),i=this.editor,r=i.renderer.isScrollableBy(t.wheelX*t.speed,t.wheelY*t.speed);if(r||n<200)return this.$lastScrollTime=e,i.renderer.scrollBy(t.wheelX*t.speed,t.wheelY*t.speed),t.stop()}}).call(i.prototype),e.DefaultHandlers=i}),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(t,e,n){function i(t){this.isOpen=!1,this.$element=null,this.$parentNode=t}var r=(t("./lib/oop"),t("./lib/dom"));(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(t){r.setInnerText(this.getElement(),t)},this.setHtml=function(t){this.getElement().innerHTML=t},this.setPosition=function(t,e){this.getElement().style.left=t+"px",this.getElement().style.top=e+"px"},this.setClassName=function(t){r.addCssClass(this.getElement(),t)},this.show=function(t,e,n){null!=t&&this.setText(t),null!=e&&null!=n&&this.setPosition(e,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth}}).call(i.prototype),e.Tooltip=i}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(t,e,n){function i(t){function e(){var e=d.getDocumentPosition().row,r=l.$annotations[e];if(!r)return n();var o=s.session.getLength();if(e==o){var a=s.renderer.pixelToScreenCoordinates(0,d.y).row,u=d.$pos;if(a>s.session.documentToScreenRow(u.row,u.column))return n()}if(h!=r)if(h=r.text.join("<br/>"),c.setHtml(h),c.show(),s.on("mousewheel",n),t.$tooltipFollowsMouse)i(d);else{var f=d.domEvent.target,p=f.getBoundingClientRect(),m=c.getElement().style;m.left=p.right+"px",m.top=p.bottom+"px"}}function n(){u&&(u=clearTimeout(u)),h&&(c.hide(),h=null,s.removeEventListener("mousewheel",n))}function i(t){c.setPosition(t.x,t.y)}var s=t.editor,l=s.renderer.$gutterLayer,c=new r(s.container);t.editor.setDefaultHandler("guttermousedown",function(e){if(s.isFocused()&&0==e.getButton()){var n=l.getRegion(e);if("foldWidgets"!=n){var i=e.getDocumentPosition().row,r=s.session.selection;if(e.getShiftKey())r.selectTo(i,0);else{if(2==e.domEvent.detail)return s.selectAll(),e.preventDefault();t.$clickSelection=s.selection.getLineRange(i)}return t.setState("selectByLines"),t.captureMouse(e),e.preventDefault()}}});var u,d,h;t.editor.setDefaultHandler("guttermousemove",function(r){var s=r.domEvent.target||r.domEvent.srcElement;return o.hasCssClass(s,"ace_fold-widget")?n():(h&&t.$tooltipFollowsMouse&&i(r),d=r,void(u||(u=setTimeout(function(){u=null,d&&!t.isMousePressed?e():n()},50))))}),a.addListener(s.renderer.$gutter,"mouseout",function(t){d=null,h&&!u&&(u=setTimeout(function(){u=null,n()},50))}),s.on("changeSession",n)}function r(t){l.call(this,t)}var o=t("../lib/dom"),s=t("../lib/oop"),a=t("../lib/event"),l=t("../tooltip").Tooltip;s.inherits(r,l),function(){this.setPosition=function(t,e){var n=window.innerWidth||document.documentElement.clientWidth,i=window.innerHeight||document.documentElement.clientHeight,r=this.getWidth(),o=this.getHeight();t+=15,e+=15,t+r>n&&(t-=t+r-n),e+o>i&&(e-=20+o),l.prototype.setPosition.call(this,t,e)}}.call(r.prototype),e.GutterHandler=i}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,e,n){var i=t("../lib/event"),r=t("../lib/useragent"),o=e.MouseEvent=function(t,e){this.domEvent=t,this.editor=e,this.x=this.clientX=t.clientX,this.y=this.clientY=t.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){i.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){i.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var t=this.editor,e=t.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var n=this.getDocumentPosition();this.$inSelection=e.contains(n.row,n.column)}return this.$inSelection},this.getButton=function(){return i.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=r.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(t,e,n){function i(t){function e(t,e){var n=Date.now(),i=!e||t.row!=e.row,o=!e||t.column!=e.column;if(!F||i||o)g.$blockScrolling+=1,g.moveCursorToPosition(t),g.$blockScrolling-=1,F=n,D={x:w,y:A};else{var s=r(D.x,D.y,w,A);s>u?F=null:n-F>=c&&(g.renderer.scrollCursorIntoView(),F=null)}}function n(t,e){var n=Date.now(),i=g.renderer.layerConfig.lineHeight,r=g.renderer.layerConfig.characterWidth,o=g.renderer.scroller.getBoundingClientRect(),s={x:{left:w-o.left,right:o.right-w},y:{top:A-o.top,bottom:o.bottom-A}},a=Math.min(s.x.left,s.x.right),c=Math.min(s.y.top,s.y.bottom),u={row:t.row,column:t.column};a/r<=2&&(u.column+=s.x.left<s.x.right?-3:2),c/i<=1&&(u.row+=s.y.top<s.y.bottom?-1:1);var d=t.row!=u.row,h=t.column!=u.column,f=!e||t.row!=e.row;d||h&&!f?S?n-S>=l&&g.renderer.scrollCursorIntoView(u):S=n:S=null}function i(){var t=E;E=g.renderer.screenToTextCoordinates(w,A),e(E,t),n(E,t)}function d(){_=g.selection.toOrientedRange(),b=g.session.addMarker(_,"ace_selection",g.getSelectionStyle()),g.clearSelection(),g.isFocused()&&g.renderer.$cursorLayer.setBlinking(!1),clearInterval(x),i(),x=setInterval(i,20),$=0,s.addListener(document,"mousemove",f)}function h(){clearInterval(x),g.session.removeMarker(b),b=null,g.$blockScrolling+=1,g.selection.fromOrientedRange(_),g.$blockScrolling-=1,g.isFocused()&&!k&&g.renderer.$cursorLayer.setBlinking(!g.getReadOnly()),_=null,E=null,$=0,S=null,F=null,s.removeListener(document,"mousemove",f)}function f(){null==B&&(B=setTimeout(function(){null!=B&&b&&h()},20))}function p(t){var e=t.types;return!e||Array.prototype.some.call(e,function(t){return"text/plain"==t||"Text"==t})}function m(t){var e=["copy","copymove","all","uninitialized"],n=["move","copymove","linkmove","all","uninitialized"],i=a.isMac?t.altKey:t.ctrlKey,r="uninitialized";try{r=t.dataTransfer.effectAllowed.toLowerCase()}catch(t){}var o="none";return i&&e.indexOf(r)>=0?o="copy":n.indexOf(r)>=0?o="move":e.indexOf(r)>=0&&(o="copy"),o}var g=t.editor,v=o.createElement("img");v.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",a.isOpera&&(v.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var y=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];y.forEach(function(e){t[e]=this[e]},this),g.addEventListener("mousedown",this.onMouseDown.bind(t));var b,w,A,x,_,E,C,k,S,F,D,T=g.container,$=0;this.onDragStart=function(t){if(this.cancelDrag||!T.draggable){var e=this;return setTimeout(function(){e.startSelect(),e.captureMouse(t)},0),t.preventDefault()}_=g.getSelectionRange();var n=t.dataTransfer;n.effectAllowed=g.getReadOnly()?"copy":"copyMove",a.isOpera&&(g.container.appendChild(v),v.scrollTop=0),n.setDragImage&&n.setDragImage(v,0,0),a.isOpera&&g.container.removeChild(v),n.clearData(),n.setData("Text",g.session.getTextRange()),k=!0,this.setState("drag")},this.onDragEnd=function(t){if(T.draggable=!1,k=!1,this.setState(null),!g.getReadOnly()){var e=t.dataTransfer.dropEffect;C||"move"!=e||g.session.remove(g.getSelectionRange()),g.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(t){if(!g.getReadOnly()&&p(t.dataTransfer))return w=t.clientX,A=t.clientY,b||d(),$++,t.dataTransfer.dropEffect=C=m(t),s.preventDefault(t)},this.onDragOver=function(t){if(!g.getReadOnly()&&p(t.dataTransfer))return w=t.clientX,A=t.clientY,b||(d(),$++),null!==B&&(B=null),t.dataTransfer.dropEffect=C=m(t),s.preventDefault(t)},this.onDragLeave=function(t){if($--,$<=0&&b)return h(),C=null,s.preventDefault(t)},this.onDrop=function(t){if(E){var e=t.dataTransfer;if(k)switch(C){case"move":_=_.contains(E.row,E.column)?{start:E,end:E}:g.moveText(_,E);break;case"copy":_=g.moveText(_,E,!0)}else{var n=e.getData("Text");_={start:E,end:g.session.insert(E,n)},g.focus(),C=null}return h(),s.preventDefault(t)}},s.addListener(T,"dragstart",this.onDragStart.bind(t)),s.addListener(T,"dragend",this.onDragEnd.bind(t)),s.addListener(T,"dragenter",this.onDragEnter.bind(t)),s.addListener(T,"dragover",this.onDragOver.bind(t)),s.addListener(T,"dragleave",this.onDragLeave.bind(t)),s.addListener(T,"drop",this.onDrop.bind(t));var B=null}function r(t,e,n,i){return Math.sqrt(Math.pow(n-t,2)+Math.pow(i-e,2))}var o=t("../lib/dom"),s=t("../lib/event"),a=t("../lib/useragent"),l=200,c=200,u=5;(function(){this.dragWait=function(){var t=Date.now()-this.mousedownEvent.time;t>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var t=this.editor.container;t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(t){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var t=this.editor,e=t.container;e.draggable=!0,t.renderer.$cursorLayer.setBlinking(!1),t.setStyle("ace_dragging");var n=a.isWin?"default":"move";t.renderer.setCursorStyle(n),this.setState("dragReady")},this.onMouseDrag=function(t){var e=this.editor.container;if(a.isIE&&"dragReady"==this.state){var n=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>3&&e.dragDrop()}if("dragWait"===this.state){var n=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>0&&(e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(t){if(this.$dragEnabled){this.mousedownEvent=t;var e=this.editor,n=t.inSelection(),i=t.getButton(),r=t.domEvent.detail||1;if(1===r&&0===i&&n){if(t.editor.inMultiSelectMode&&(t.getAccelKey()||t.getShiftKey()))return;this.mousedownEvent.time=Date.now();var o=t.domEvent.target||t.domEvent.srcElement;if("unselectable"in o&&(o.unselectable="on"),e.getDragDelay()){if(a.isWebKit){this.cancelDrag=!0;var s=e.container;s.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(t,this.onMouseDrag.bind(this)),t.defaultPrevented=!0}}}}).call(i.prototype),e.DragdropHandler=i}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(t,e,n){var i=t("./dom");e.get=function(t,e){var n=new XMLHttpRequest;n.open("GET",t,!0),n.onreadystatechange=function(){4===n.readyState&&e(n.responseText)},n.send(null)},e.loadScript=function(t,e){var n=i.getDocumentHead(),r=document.createElement("script");r.src=t,n.appendChild(r),r.onload=r.onreadystatechange=function(t,n){!n&&r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(r=r.onload=r.onreadystatechange=null,n||e())}},e.qualifyURL=function(t){var e=document.createElement("a");return e.href=t,e.href}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(t,e,n){var i={},r=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(t,e){this._eventRegistry||(this._eventRegistry={}),
|
|
81
|
-
this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[t]||[],i=this._defaultHandlers[t];if(n.length||i){"object"==("undefined"==typeof e?"undefined":(0,_typeof3.default)(e))&&e||(e={}),e.type||(e.type=t),e.stopPropagation||(e.stopPropagation=r),e.preventDefault||(e.preventDefault=o),n=n.slice();for(var s=0;s<n.length&&(n[s](e,this),!e.propagationStopped);s++);return i&&!e.defaultPrevented?i(e,this):void 0}},i._signal=function(t,e){var n=(this._eventRegistry||{})[t];if(n){n=n.slice();for(var i=0;i<n.length;i++)n[i](e,this)}},i.once=function(t,e){var n=this;e&&this.addEventListener(t,function i(){n.removeEventListener(t,i),e.apply(null,arguments)})},i.setDefaultHandler=function(t,e){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[t]){var i=n[t],r=n._disabled_[t];r||(n._disabled_[t]=r=[]),r.push(i);var o=r.indexOf(e);o!=-1&&r.splice(o,1)}n[t]=e},i.removeDefaultHandler=function(t,e){var n=this._defaultHandlers;if(n){var i=n._disabled_[t];if(n[t]==e){n[t];i&&this.setDefaultHandler(t,i.pop())}else if(i){var r=i.indexOf(e);r!=-1&&i.splice(r,1)}}},i.on=i.addEventListener=function(t,e,n){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[t];return i||(i=this._eventRegistry[t]=[]),i.indexOf(e)==-1&&i[n?"unshift":"push"](e),e},i.off=i.removeListener=i.removeEventListener=function(t,e){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[t];if(n){var i=n.indexOf(e);i!==-1&&n.splice(i,1)}},i.removeAllListeners=function(t){this._eventRegistry&&(this._eventRegistry[t]=[])},e.EventEmitter=i}),ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(t,e,n){"no use strict";function i(t){"undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments)}function r(t,e){var n=new Error(t);n.data=e,"object"==("undefined"==typeof console?"undefined":(0,_typeof3.default)(console))&&console.error&&console.error(n),setTimeout(function(){throw n})}var o=t("./oop"),s=t("./event_emitter").EventEmitter,a={setOptions:function(t){(0,_keys2.default)(t).forEach(function(e){this.setOption(e,t[e])},this)},getOptions:function(t){var e={};return t?Array.isArray(t)||(e=t,t=(0,_keys2.default)(e)):t=(0,_keys2.default)(this.$options),t.forEach(function(t){e[t]=this.getOption(t)},this),e},setOption:function(t,e){if(this["$"+t]!==e){var n=this.$options[t];if(!n)return i('misspelled option "'+t+'"');if(n.forwardTo)return this[n.forwardTo]&&this[n.forwardTo].setOption(t,e);n.handlesSet||(this["$"+t]=e),n&&n.set&&n.set.call(this,e)}},getOption:function(t){var e=this.$options[t];return e?e.forwardTo?this[e.forwardTo]&&this[e.forwardTo].getOption(t):e&&e.get?e.get.call(this):this["$"+t]:i('misspelled option "'+t+'"')}},l=function(){this.$defaultOptions={}};(function(){o.implement(this,s),this.defineOptions=function(t,e,n){return t.$options||(this.$defaultOptions[e]=t.$options={}),(0,_keys2.default)(n).forEach(function(e){var i=n[e];"string"==typeof i&&(i={forwardTo:i}),i.name||(i.name=e),t.$options[i.name]=i,"initialValue"in i&&(t["$"+i.name]=i.initialValue)}),o.implement(t,a),this},this.resetOptions=function(t){(0,_keys2.default)(t.$options).forEach(function(e){var n=t.$options[e];"value"in n&&t.setOption(e,n.value)})},this.setDefaultValue=function(t,e,n){var i=this.$defaultOptions[t]||(this.$defaultOptions[t]={});i[e]&&(i.forwardTo?this.setDefaultValue(i.forwardTo,e,n):i[e].value=n)},this.setDefaultValues=function(t,e){(0,_keys2.default)(e).forEach(function(n){this.setDefaultValue(t,n,e[n])},this)},this.warn=i,this.reportError=r}).call(l.prototype),e.AppConfig=l}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/app_config"],function(t,e,i){"no use strict";function r(r){if(c&&c.document){u.packaged=r||t.packaged||i.packaged||c.define&&n(65).packaged;for(var s={},a="",l=document.currentScript||document._currentScript,d=l&&l.ownerDocument||document,h=d.getElementsByTagName("script"),f=0;f<h.length;f++){var p=h[f],m=p.src||p.getAttribute("src");if(m){for(var g=p.attributes,v=0,y=g.length;v<y;v++){var b=g[v];0===b.name.indexOf("data-ace-")&&(s[o(b.name.replace(/^data-ace-/,""))]=b.value)}var w=m.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);w&&(a=w[1])}}a&&(s.base=s.base||a,s.packaged=!0),s.basePath=s.base,s.workerPath=s.workerPath||s.base,s.modePath=s.modePath||s.base,s.themePath=s.themePath||s.base,delete s.base;for(var A in s)"undefined"!=typeof s[A]&&e.set(A,s[A])}}function o(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}var s=t("./lib/lang"),a=(t("./lib/oop"),t("./lib/net")),l=t("./lib/app_config").AppConfig;i.exports=e=new l;var c=function(){return this||"undefined"!=typeof window&&window}(),u={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};e.get=function(t){if(!u.hasOwnProperty(t))throw new Error("Unknown config key: "+t);return u[t]},e.set=function(t,e){if(!u.hasOwnProperty(t))throw new Error("Unknown config key: "+t);u[t]=e},e.all=function(){return s.copyObject(u)},e.moduleUrl=function(t,e){if(u.$moduleUrls[t])return u.$moduleUrls[t];var n=t.split("/");e=e||n[n.length-2]||"";var i="snippets"==e?"/":"-",r=n[n.length-1];if("worker"==e&&"-"==i){var o=new RegExp("^"+e+"[\\-_]|[\\-_]"+e+"$","g");r=r.replace(o,"")}(!r||r==e)&&n.length>1&&(r=n[n.length-2]);var s=u[e+"Path"];return null==s?s=u.basePath:"/"==i&&(e=i=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+e+i+r+this.get("suffix")},e.setModuleUrl=function(t,e){return u.$moduleUrls[t]=e},e.$loading={},e.loadModule=function(n,i){var r,o;Array.isArray(n)&&(o=n[0],n=n[1]);try{r=t(n)}catch(t){}if(r&&!e.$loading[n])return i&&i(r);if(e.$loading[n]||(e.$loading[n]=[]),e.$loading[n].push(i),!(e.$loading[n].length>1)){var s=function(){t([n],function(t){e._emit("load.module",{name:n,module:t});var i=e.$loading[n];e.$loading[n]=null,i.forEach(function(e){e&&e(t)})})};return e.get("packaged")?void a.loadScript(e.moduleUrl(n,o),s):s()}},r(!0),e.init=r}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(t,e,n){var i=t("../lib/event"),r=t("../lib/useragent"),o=t("./default_handlers").DefaultHandlers,s=t("./default_gutter_handler").GutterHandler,a=t("./mouse_event").MouseEvent,l=t("./dragdrop_handler").DragdropHandler,c=t("../config"),u=function(t){var e=this;this.editor=t,new o(this),new s(this),new l(this);var n=function(e){var n=!document.hasFocus||!document.hasFocus()||!t.isFocused()&&document.activeElement==(t.textInput&&t.textInput.getElement());n&&window.focus(),t.focus()},a=t.renderer.getMouseEventTarget();i.addListener(a,"click",this.onMouseEvent.bind(this,"click")),i.addListener(a,"mousemove",this.onMouseMove.bind(this,"mousemove")),i.addMultiMouseDownListener([a,t.renderer.scrollBarV&&t.renderer.scrollBarV.inner,t.renderer.scrollBarH&&t.renderer.scrollBarH.inner,t.textInput&&t.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),i.addMouseWheelListener(t.container,this.onMouseWheel.bind(this,"mousewheel")),i.addTouchMoveListener(t.container,this.onTouchMove.bind(this,"touchmove"));var c=t.renderer.$gutter;i.addListener(c,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),i.addListener(c,"click",this.onMouseEvent.bind(this,"gutterclick")),i.addListener(c,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),i.addListener(c,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),i.addListener(a,"mousedown",n),i.addListener(c,"mousedown",n),r.isIE&&t.renderer.scrollBarV&&(i.addListener(t.renderer.scrollBarV.element,"mousedown",n),i.addListener(t.renderer.scrollBarH.element,"mousedown",n)),t.on("mousemove",function(n){if(!e.state&&!e.$dragDelay&&e.$dragEnabled){var i=t.renderer.screenToTextCoordinates(n.x,n.y),r=t.session.selection.getRange(),o=t.renderer;!r.isEmpty()&&r.insideStart(i.row,i.column)?o.setCursorStyle("default"):o.setCursorStyle("")}})};(function(){this.onMouseEvent=function(t,e){this.editor._emit(t,new a(e,this.editor))},this.onMouseMove=function(t,e){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(t,new a(e,this.editor))},this.onMouseWheel=function(t,e){var n=new a(e,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=e.wheelX,n.wheelY=e.wheelY,this.editor._emit(t,n)},this.onTouchMove=function(t,e){var n=new a(e,this.editor);n.speed=1,n.wheelX=e.wheelX,n.wheelY=e.wheelY,this.editor._emit(t,n)},this.setState=function(t){this.state=t},this.captureMouse=function(t,e){this.x=t.x,this.y=t.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var o=this,s=function(t){if(t){if(r.isWebKit&&!t.which&&o.releaseMouse)return o.releaseMouse();o.x=t.clientX,o.y=t.clientY,e&&e(t),o.mouseEvent=new a(t,o.editor),o.$mouseMoved=!0}},l=function(t){clearInterval(u),c(),o[o.state+"End"]&&o[o.state+"End"](t),o.state="",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,t&&o.onMouseEvent("mouseup",t)},c=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(r.isOldIE&&"dblclick"==t.domEvent.type)return setTimeout(function(){l(t)});o.$onCaptureMouseMove=s,o.releaseMouse=i.capture(this.editor.container,s,l);var u=setInterval(c,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var t=function(e){e&&e.domEvent&&"contextmenu"!=e.domEvent.type||(this.editor.off("nativecontextmenu",t),e&&e.domEvent&&i.stopEvent(e.domEvent))}.bind(this);setTimeout(t,10),this.editor.on("nativecontextmenu",t)}}).call(u.prototype),c.defineOptions(u.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:r.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),e.MouseHandler=u}),ace.define("ace/mouse/fold_handler",["require","exports","module"],function(t,e,n){function i(t){t.on("click",function(e){var n=e.getDocumentPosition(),i=t.session,r=i.getFoldAt(n.row,n.column,1);r&&(e.getAccelKey()?i.removeFold(r):i.expandFold(r),e.stop())}),t.on("gutterclick",function(e){var n=t.renderer.$gutterLayer.getRegion(e);if("foldWidgets"==n){var i=e.getDocumentPosition().row,r=t.session;r.foldWidgets&&r.foldWidgets[i]&&t.session.onFoldWidgetClick(i,e),t.isFocused()||t.focus(),e.stop()}}),t.on("gutterdblclick",function(e){var n=t.renderer.$gutterLayer.getRegion(e);if("foldWidgets"==n){var i=e.getDocumentPosition().row,r=t.session,o=r.getParentFoldRangeData(i,!0),s=o.range||o.firstRange;if(s){i=s.start.row;var a=r.getFoldAt(i,r.getLine(i).length,1);a?r.removeFold(a):(r.addFold("...",s),t.renderer.scrollCursorIntoView({row:s.start.row,column:0}))}e.stop()}})}e.FoldHandler=i}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(t,e,n){var i=t("../lib/keys"),r=t("../lib/event"),o=function(t){this.$editor=t,this.$data={editor:t},this.$handlers=[],this.setDefaultHandler(t.commands)};(function(){this.setDefaultHandler=function(t){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=t,this.addKeyboardHandler(t,0)},this.setKeyboardHandler=function(t){var e=this.$handlers;if(e[e.length-1]!=t){for(;e[e.length-1]&&e[e.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(e[e.length-1]);this.addKeyboardHandler(t,1)}},this.addKeyboardHandler=function(t,e){if(t){"function"!=typeof t||t.handleKeyboard||(t.handleKeyboard=t);var n=this.$handlers.indexOf(t);n!=-1&&this.$handlers.splice(n,1),void 0==e?this.$handlers.push(t):this.$handlers.splice(e,0,t),n==-1&&t.attach&&t.attach(this.$editor)}},this.removeKeyboardHandler=function(t){var e=this.$handlers.indexOf(t);return e!=-1&&(this.$handlers.splice(e,1),t.detach&&t.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var t=this.$data,e=t.editor;return this.$handlers.map(function(n){return n.getStatusText&&n.getStatusText(e,t)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(t,e,n,i){for(var o,s=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&(o=this.$handlers[l].handleKeyboard(this.$data,t,e,n,i),!(o&&o.command&&(s="null"==o.command||a.exec(o.command,this.$editor,o.args,i),s&&i&&t!=-1&&1!=o.passEvent&&1!=o.command.passEvent&&r.stopEvent(i),s))););return s||t!=-1||(o={command:"insertstring"},s=a.exec("insertstring",this.$editor,e)),s&&this.$editor._signal("keyboardActivity",o),s},this.onCommandKey=function(t,e,n){var r=i.keyCodeToString(n);this.$callKeyboardHandlers(e,r,n,t)},this.onTextInput=function(t){this.$callKeyboardHandlers(-1,t)}}).call(o.prototype),e.KeyBinding=o}),ace.define("ace/range",["require","exports","module"],function(t,e,n){var i=function(t,e){return t.row-e.row||t.column-e.column},r=function(t,e,n,i){this.start={row:t,column:e},this.end={row:n,column:i}};(function(){this.isEqual=function(t){return this.start.row===t.start.row&&this.end.row===t.end.row&&this.start.column===t.start.column&&this.end.column===t.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(t,e){return 0==this.compare(t,e)},this.compareRange=function(t){var e,n=t.end,i=t.start;return e=this.compare(n.row,n.column),1==e?(e=this.compare(i.row,i.column),1==e?2:0==e?1:0):e==-1?-2:(e=this.compare(i.row,i.column),e==-1?-1:1==e?42:0)},this.comparePoint=function(t){return this.compare(t.row,t.column)},this.containsRange=function(t){return 0==this.comparePoint(t.start)&&0==this.comparePoint(t.end)},this.intersects=function(t){var e=this.compareRange(t);return e==-1||0==e||1==e},this.isEnd=function(t,e){return this.end.row==t&&this.end.column==e},this.isStart=function(t,e){return this.start.row==t&&this.start.column==e},this.setStart=function(t,e){"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))?(this.start.column=t.column,this.start.row=t.row):(this.start.row=t,this.start.column=e)},this.setEnd=function(t,e){"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))?(this.end.column=t.column,this.end.row=t.row):(this.end.row=t,this.end.column=e)},this.inside=function(t,e){return 0==this.compare(t,e)&&(!this.isEnd(t,e)&&!this.isStart(t,e))},this.insideStart=function(t,e){return 0==this.compare(t,e)&&!this.isEnd(t,e)},this.insideEnd=function(t,e){return 0==this.compare(t,e)&&!this.isStart(t,e)},this.compare=function(t,e){return this.isMultiLine()||t!==this.start.row?t<this.start.row?-1:t>this.end.row?1:this.start.row===t?e>=this.start.column?0:-1:this.end.row===t?e<=this.end.column?0:1:0:e<this.start.column?-1:e>this.end.column?1:0},this.compareStart=function(t,e){return this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},this.compareEnd=function(t,e){return this.end.row==t&&this.end.column==e?1:this.compare(t,e)},this.compareInside=function(t,e){return this.end.row==t&&this.end.column==e?1:this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},this.clipRows=function(t,e){if(this.end.row>e)var n={row:e+1,column:0};else if(this.end.row<t)var n={row:t,column:0};if(this.start.row>e)var i={row:e+1,column:0};else if(this.start.row<t)var i={row:t,column:0};return r.fromPoints(i||this.start,n||this.end)},this.extend=function(t,e){var n=this.compare(t,e);if(0==n)return this;if(n==-1)var i={row:t,column:e};else var o={row:t,column:e};return r.fromPoints(i||this.start,o||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 r.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new r(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new r(this.start.row,0,this.end.row,0)},this.toScreenRange=function(t){var e=t.documentToScreenPosition(this.start),n=t.documentToScreenPosition(this.end);return new r(e.row,e.column,n.row,n.column)},this.moveBy=function(t,e){this.start.row+=t,this.start.column+=e,this.end.row+=t,this.end.column+=e}}).call(r.prototype),r.fromPoints=function(t,e){return new r(t.row,t.column,e.row,e.column)},r.comparePoints=i,r.comparePoints=function(t,e){return t.row-e.row||t.column-e.column},e.Range=r}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(t,e,n){var i=t("./lib/oop"),r=t("./lib/lang"),o=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,a=function(t){this.session=t,this.doc=t.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var e=this;this.lead.on("change",function(t){e._emit("changeCursor"),e.$isEmpty||e._emit("changeSelection"),e.$keepDesiredColumnOnChange||t.old.column==t.value.column||(e.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){e.$isEmpty||e._emit("changeSelection")})};(function(){i.implement(this,o),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.isEmpty()&&this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(t,e){this.anchor.setPosition(t,e),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(t){if(this.$isEmpty)return void this.moveCursorTo(this.lead.row,this.lead.column+t);var e=this.getSelectionAnchor(),n=this.getSelectionLead(),i=this.isBackwards();i&&0===e.column||this.setSelectionAnchor(e.row,e.column+t),(i||0!==n.column)&&this.$moveSelection(function(){this.moveCursorTo(n.row,n.column+t)})},this.isBackwards=function(){var t=this.anchor,e=this.lead;return t.row>e.row||t.row==e.row&&t.column>e.column},this.getRange=function(){var t=this.anchor,e=this.lead;return this.isEmpty()?s.fromPoints(e,e):this.isBackwards()?s.fromPoints(e,t):s.fromPoints(t,e)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var t=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(t,this.doc.getLine(t).length)},this.setRange=this.setSelectionRange=function(t,e){e?(this.setSelectionAnchor(t.end.row,t.end.column),this.selectTo(t.start.row,t.start.column)):(this.setSelectionAnchor(t.start.row,t.start.column),this.selectTo(t.end.row,t.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(t){var e=this.lead;this.$isEmpty&&this.setSelectionAnchor(e.row,e.column),t.call(this)},this.selectTo=function(t,e){this.$moveSelection(function(){this.moveCursorTo(t,e)})},this.selectToPosition=function(t){this.$moveSelection(function(){this.moveCursorToPosition(t)})},this.moveTo=function(t,e){this.clearSelection(),this.moveCursorTo(t,e)},this.moveToPosition=function(t){this.clearSelection(),this.moveCursorToPosition(t)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(t,e){if("undefined"==typeof e){var n=t||this.lead;t=n.row,e=n.column}return this.session.getWordRange(t,e)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var t=this.getCursor(),e=this.session.getAWordRange(t.row,t.column);this.setSelectionRange(e)},this.getLineRange=function(t,e){var n,i="number"==typeof t?t:this.lead.row,r=this.session.getFoldLine(i);return r?(i=r.start.row,n=r.end.row):n=i,e===!0?new s(i,0,n,this.session.getLine(n).length):new s(i,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var t,e=this.lead.getPosition();if(t=this.session.getFoldAt(e.row,e.column,-1))this.moveCursorTo(t.start.row,t.start.column);else if(0===e.column)e.row>0&&this.moveCursorTo(e.row-1,this.doc.getLine(e.row-1).length);else{var n=this.session.getTabSize();this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(e.column-n,e.column).split(" ").length-1==n?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var t,e=this.lead.getPosition();if(t=this.session.getFoldAt(e.row,e.column,1))this.moveCursorTo(t.end.row,t.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var n=this.session.getTabSize(),e=this.lead;this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(e.column,e.column+n).split(" ").length-1==n?this.moveCursorBy(0,n):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var t=this.lead.row,e=this.lead.column,n=this.session.documentToScreenRow(t,e),i=this.session.screenToDocumentPosition(n,0),r=this.session.getDisplayLine(t,null,i.row,i.column),o=r.match(/^\s*/);o[0].length==e||this.session.$useEmacsStyleLineStart||(i.column+=o[0].length),this.moveCursorToPosition(i)},this.moveCursorLineEnd=function(){var t=this.lead,e=this.session.getDocumentLastRowColumnPosition(t.row,t.column);if(this.lead.column==e.column){var n=this.session.getLine(e.row);if(e.column==n.length){var i=n.search(/\s+$/);i>0&&(e.column=i)}}this.moveCursorTo(e.row,e.column)},this.moveCursorFileEnd=function(){var t=this.doc.getLength()-1,e=this.doc.getLine(t).length;this.moveCursorTo(t,e)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var t,e=this.lead.row,n=this.lead.column,i=this.doc.getLine(e),r=i.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(e,n,1);return o?void this.moveCursorTo(o.end.row,o.end.column):((t=this.session.nonTokenRe.exec(r))&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=i.substring(n)),n>=i.length?(this.moveCursorTo(e,i.length),this.moveCursorRight(),void(e<this.doc.getLength()-1&&this.moveCursorWordRight())):((t=this.session.tokenRe.exec(r))&&(n+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),void this.moveCursorTo(e,n)))},this.moveCursorLongWordLeft=function(){var t,e=this.lead.row,n=this.lead.column;if(t=this.session.getFoldAt(e,n,-1))return void this.moveCursorTo(t.start.row,t.start.column);var i=this.session.getFoldStringAt(e,n,-1);null==i&&(i=this.doc.getLine(e).substring(0,n));var o,s=r.stringReverse(i);return this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,(o=this.session.nonTokenRe.exec(s))&&(n-=this.session.nonTokenRe.lastIndex,s=s.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),n<=0?(this.moveCursorTo(e,0),this.moveCursorLeft(),void(e>0&&this.moveCursorWordLeft())):((o=this.session.tokenRe.exec(s))&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),void this.moveCursorTo(e,n))},this.$shortWordEndIndex=function(t){var e,n,i=0,r=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,e=this.session.tokenRe.exec(t))i=this.session.tokenRe.lastIndex;else{for(;(n=t[i])&&r.test(n);)i++;if(i<1)for(o.lastIndex=0;(n=t[i])&&!o.test(n);)if(o.lastIndex=0,i++,r.test(n)){if(i>2){i--;break}for(;(n=t[i])&&r.test(n);)i++;if(i>2)break}}return o.lastIndex=0,i},this.moveCursorShortWordRight=function(){var t=this.lead.row,e=this.lead.column,n=this.doc.getLine(t),i=n.substring(e),r=this.session.getFoldAt(t,e,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(e==n.length){var o=this.doc.getLength();do t++,i=this.doc.getLine(t);while(t<o&&/^\s*$/.test(i));/^\s+/.test(i)||(i=""),e=0}var s=this.$shortWordEndIndex(i);this.moveCursorTo(t,e+s)},this.moveCursorShortWordLeft=function(){var t,e=this.lead.row,n=this.lead.column;if(t=this.session.getFoldAt(e,n,-1))return this.moveCursorTo(t.start.row,t.start.column);var i=this.session.getLine(e).substring(0,n);if(0===n){do e--,i=this.doc.getLine(e);while(e>0&&/^\s*$/.test(i));n=i.length,/\s+$/.test(i)||(i="")}var o=r.stringReverse(i),s=this.$shortWordEndIndex(o);return this.moveCursorTo(e,n-s)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(t,e){var n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===e&&(this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var i=this.session.screenToDocumentPosition(n.row+t,n.column);0!==t&&0===e&&i.row===this.lead.row&&i.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[i.row]&&(i.row>0||t>0)&&i.row++,this.moveCursorTo(i.row,i.column+e,0===e)},this.moveCursorToPosition=function(t){this.moveCursorTo(t.row,t.column)},this.moveCursorTo=function(t,e,n){var i=this.session.getFoldAt(t,e,1);i&&(t=i.start.row,e=i.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(t,e),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(t,e,n){var i=this.session.screenToDocumentPosition(t,e);this.moveCursorTo(i.row,i.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(t){this.setSelectionRange(t,t.cursor==t.start),this.$desiredColumn=t.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(t){var e=this.getRange();return t?(t.start.column=e.start.column,t.start.row=e.start.row,t.end.column=e.end.column,t.end.row=e.end.row):t=e,t.cursor=this.isBackwards()?t.start:t.end,t.desiredColumn=this.$desiredColumn,t},this.getRangeOfMovements=function(t){var e=this.getCursor();try{t(this);var n=this.getCursor();return s.fromPoints(e,n)}catch(t){return s.fromPoints(e,e)}finally{this.moveCursorToPosition(e)}},this.toJSON=function(){if(this.rangeCount)var t=this.ranges.map(function(t){var e=t.clone();return e.isBackwards=t.cursor==t.start,e});else{var t=this.getRange();t.isBackwards=this.isBackwards()}return t},this.fromJSON=function(t){if(void 0==t.start){if(this.rangeList){this.toSingleRange(t[0]);for(var e=t.length;e--;){var n=s.fromPoints(t[e].start,t[e].end);t[e].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}t=t[0]}this.rangeList&&this.toSingleRange(t),this.setSelectionRange(t,t.isBackwards)},this.isEqual=function(t){if((t.length||this.rangeCount)&&t.length!=this.rangeCount)return!1;if(!t.length||!this.ranges)return this.getRange().isEqual(t);for(var e=this.ranges.length;e--;)if(!this.ranges[e].isEqual(t[e]))return!1;return!0}}).call(a.prototype),e.Selection=a}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(t,e,n){var i=t("./config"),r=2e3,o=function(t){this.states=t,this.regExps={},this.matchMappings={};for(var e in this.states){for(var n=this.states[e],i=[],r=0,o=this.matchMappings[e]={defaultToken:"text"},s="g",a=[],l=0;l<n.length;l++){var c=n[l];if(c.defaultToken&&(o.defaultToken=c.defaultToken),c.caseInsensitive&&(s="gi"),null!=c.regex){c.regex instanceof RegExp&&(c.regex=c.regex.toString().slice(1,-1));var u=c.regex,d=new RegExp("(?:("+u+")|(.))").exec("a").length-2;Array.isArray(c.token)?1==c.token.length||1==d?c.token=c.token[0]:d-1!=c.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:c,groupCount:d-1}),c.token=c.token[0]):(c.tokenArray=c.token,c.token=null,c.onMatch=this.$arrayTokens):"function"!=typeof c.token||c.onMatch||(d>1?c.onMatch=this.$applyToken:c.onMatch=c.token),d>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,function(t,e){return"\\"+(parseInt(e,10)+r+1)}):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),o[r]=l,r+=d,i.push(u),c.onMatch||(c.onMatch=null)}}i.length||(o[0]=0,i.push("$")),a.forEach(function(t){t.splitRegex=this.createSplitterRegexp(t.regex,s)},this),this.regExps[e]=new RegExp("("+i.join(")|(")+")|($)",s)}};(function(){this.$setMaxTokenCount=function(t){r=0|t},this.$applyToken=function(t){var e=this.splitRegex.exec(t).slice(1),n=this.token.apply(this,e);if("string"==typeof n)return[{type:n,value:t}];for(var i=[],r=0,o=n.length;r<o;r++)e[r]&&(i[i.length]={type:n[r],value:e[r]});return i},this.$arrayTokens=function(t){if(!t)return[];var e=this.splitRegex.exec(t);if(!e)return"text";for(var n=[],i=this.tokenArray,r=0,o=i.length;r<o;r++)e[r+1]&&(n[n.length]={type:i[r],value:e[r+1]});return n},this.removeCapturingGroups=function(t){var e=t.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(t,e){return e?"(?:":t});return e},this.createSplitterRegexp=function(t,e){if(t.indexOf("(?=")!=-1){var n=0,i=!1,r={};t.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(t,e,o,s,a,l){return i?i="]"!=a:a?i=!0:s?(n==r.stack&&(r.end=l+1,r.stack=-1),n--):o&&(n++,1!=o.length&&(r.stack=n,r.start=l)),t}),null!=r.end&&/^\)*$/.test(t.substr(r.end))&&(t=t.substring(0,r.start)+t.substr(r.end))}return"^"!=t.charAt(0)&&(t="^"+t),"$"!=t.charAt(t.length-1)&&(t+="$"),new RegExp(t,(e||"").replace("g",""))},this.getLineTokens=function(t,e){if(e&&"string"!=typeof e){var n=e.slice(0);e=n[0],"#tmp"===e&&(n.shift(),e=n.shift())}else var n=[];var i=e||"start",o=this.states[i];o||(i="start",o=this.states[i]);var s=this.matchMappings[i],a=this.regExps[i];a.lastIndex=0;for(var l,c=[],u=0,d=0,h={type:null,value:""};l=a.exec(t);){var f=s.defaultToken,p=null,m=l[0],g=a.lastIndex;if(g-m.length>u){var v=t.substring(u,g-m.length);h.type==f?h.value+=v:(h.type&&c.push(h),h={type:f,value:v})}for(var y=0;y<l.length-2;y++)if(void 0!==l[y+1]){p=o[s[y]],f=p.onMatch?p.onMatch(m,i,n):p.token,p.next&&(i="string"==typeof p.next?p.next:p.next(i,n),o=this.states[i],o||(this.reportError("state doesn't exist",i),i="start",o=this.states[i]),s=this.matchMappings[i],u=g,a=this.regExps[i],a.lastIndex=g);break}if(m)if("string"==typeof f)p&&p.merge===!1||h.type!==f?(h.type&&c.push(h),h={type:f,value:m}):h.value+=m;else if(f){h.type&&c.push(h),h={type:null,value:""};for(var y=0;y<f.length;y++)c.push(f[y])}if(u==t.length)break;if(u=g,d++>r){for(d>2*t.length&&this.reportError("infinite loop with in ace tokenizer",{startState:e,line:t});u<t.length;)h.type&&c.push(h),h={value:t.substring(u,u+=2e3),type:"overflow"};i="start",n=[];break}}return h.type&&c.push(h),n.length>1&&n[0]!==i&&n.unshift("#tmp",i),{tokens:c,state:n.length?n:i}},this.reportError=i.reportError}).call(o.prototype),e.Tokenizer=o}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(t,e,n){var i=t("../lib/lang"),r=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(t,e){if(e)for(var n in t){for(var i=t[n],r=0;r<i.length;r++){var o=i[r];(o.next||o.onMatch)&&("string"==typeof o.next&&0!==o.next.indexOf(e)&&(o.next=e+o.next),o.nextState&&0!==o.nextState.indexOf(e)&&(o.nextState=e+o.nextState));
|
|
82
|
-
}this.$rules[e+n]=i}else for(var n in t)this.$rules[n]=t[n]},this.getRules=function(){return this.$rules},this.embedRules=function(t,e,n,r,o){var s="function"==typeof t?(new t).getRules():t;if(r)for(var a=0;a<r.length;a++)r[a]=e+r[a];else{r=[];for(var l in s)r.push(e+l)}if(this.addRules(s,e),n)for(var c=Array.prototype[o?"push":"unshift"],a=0;a<r.length;a++)c.apply(this.$rules[r[a]],i.deepCopy(n));this.$embeds||(this.$embeds=[]),this.$embeds.push(e)},this.getEmbeds=function(){return this.$embeds};var t=function(t,e){return("start"!=t||e.length)&&e.unshift(this.nextState,t),this.nextState},e=function(t,e){return e.shift(),e.shift()||"start"};this.normalizeRules=function(){function n(o){var s=r[o];s.processed=!0;for(var a=0;a<s.length;a++){var l=s[a];!l.regex&&l.start&&(l.regex=l.start,l.next||(l.next=[]),l.next.push({defaultToken:l.token},{token:l.token+".end",regex:l.end||l.start,next:"pop"}),l.token=l.token+".start",l.push=!0);var c=l.next||l.push;if(c&&Array.isArray(c)){var u=l.stateName;u||(u=l.token,"string"!=typeof u&&(u=u[0]||""),r[u]&&(u+=i++)),r[u]=c,l.next=u,n(u)}else"pop"==c&&(l.next=e);if(l.push&&(l.nextState=l.next||l.push,l.next=t,delete l.push),l.rules)for(var d in l.rules)r[d]?r[d].push&&r[d].push.apply(r[d],l.rules[d]):r[d]=l.rules[d];if(l.include||"string"==typeof l)var h=l.include||l,f=r[h];else Array.isArray(l)&&(f=l);if(f){var p=[a,1].concat(f);l.noEscape&&(p=p.filter(function(t){return!t.next})),s.splice.apply(s,p),a--,f=null}l.keywordMap&&(l.token=this.createKeywordMapper(l.keywordMap,l.defaultToken||"text",l.caseInsensitive),delete l.defaultToken)}}var i=0,r=this.$rules;(0,_keys2.default)(r).forEach(n,this)},this.createKeywordMapper=function(t,e,n,i){var r=(0,_create2.default)(null);return(0,_keys2.default)(t).forEach(function(e){var o=t[e];n&&(o=o.toLowerCase());for(var s=o.split(i||"|"),a=s.length;a--;)r[s[a]]=e}),(0,_getPrototypeOf2.default)(r)&&(r.__proto__=null),this.$keywordList=(0,_keys2.default)(r),t=null,n?function(t){return r[t.toLowerCase()]||e}:function(t){return r[t]||e}},this.getKeywords=function(){return this.$keywords}}).call(r.prototype),e.TextHighlightRules=r}),ace.define("ace/mode/behaviour",["require","exports","module"],function(t,e,n){var i=function(){this.$behaviours={}};(function(){this.add=function(t,e,n){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[t]:this.$behaviours[t]={}}this.$behaviours[t][e]=n},this.addBehaviours=function(t){for(var e in t)for(var n in t[e])this.add(e,n,t[e][n])},this.remove=function(t){this.$behaviours&&this.$behaviours[t]&&delete this.$behaviours[t]},this.inherit=function(t,e){if("function"==typeof t)var n=(new t).getBehaviours(e);else var n=t.getBehaviours(e);this.addBehaviours(n)},this.getBehaviours=function(t){if(t){for(var e={},n=0;n<t.length;n++)this.$behaviours[t[n]]&&(e[t[n]]=this.$behaviours[t[n]]);return e}return this.$behaviours}}).call(i.prototype),e.Behaviour=i}),ace.define("ace/unicode",["require","exports","module"],function(t,e,n){function i(t){var n=/\w{4}/g;for(var i in t)e.packages[i]=t[i].replace(n,"\\u$&")}e.packages={},i({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})}),ace.define("ace/token_iterator",["require","exports","module"],function(t,e,n){var i=function(t,e,n){this.$session=t,this.$row=e,this.$rowTokens=t.getTokens(e);var i=t.getTokenAt(e,n);this.$tokenIndex=i?i.index:-1};(function(){this.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){this.$tokenIndex+=1;for(var t;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,t||(t=this.$session.getLength()),this.$row>=t)return this.$row=t-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var t=this.$rowTokens,e=this.$tokenIndex,n=t[e].start;if(void 0!==n)return n;for(n=0;e>0;)e-=1,n+=t[e].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}}}).call(i.prototype),e.TokenIterator=i}),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(t,e,n){var i=t("../tokenizer").Tokenizer,r=t("./text_highlight_rules").TextHighlightRules,o=t("./behaviour").Behaviour,s=t("../unicode"),a=t("../lib/lang"),l=t("../token_iterator").TokenIterator,c=t("../range").Range,u=function(){this.HighlightRules=r,this.$behaviour=new o};(function(){this.tokenRe=new RegExp("^["+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules,this.$tokenizer=new i(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(t,e,n,i){function r(t){for(var e=n;e<=i;e++)t(o.getLine(e),e)}var o=e.doc,s=!0,l=!0,c=1/0,u=e.getTabSize(),d=!1;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart))var h=this.lineCommentStart.map(a.escapeRegExp).join("|"),f=this.lineCommentStart[0];else var h=a.escapeRegExp(this.lineCommentStart),f=this.lineCommentStart;h=new RegExp("^(\\s*)(?:"+h+") ?"),d=e.getUseSoftTabs();var p=function(t,e){var n=t.match(h);if(n){var i=n[1].length,r=n[0].length;y(t,i,r)||" "!=n[0][r-1]||r--,o.removeInLine(e,i,r)}},m=f+" ",g=function(t,e){s&&!/\S/.test(t)||(y(t,c,c)?o.insertInLine({row:e,column:c},m):o.insertInLine({row:e,column:c},f))},v=function(t,e){return h.test(t)},y=function(t,e,n){for(var i=0;e--&&" "==t.charAt(e);)i++;if(i%u!=0)return!1;for(var i=0;" "==t.charAt(n++);)i++;return u>2?i%u!=u-1:i%u==0}}else{if(!this.blockComment)return!1;var f=this.blockComment.start,b=this.blockComment.end,h=new RegExp("^(\\s*)(?:"+a.escapeRegExp(f)+")"),w=new RegExp("(?:"+a.escapeRegExp(b)+")\\s*$"),g=function(t,e){v(t,e)||s&&!/\S/.test(t)||(o.insertInLine({row:e,column:t.length},b),o.insertInLine({row:e,column:c},f))},p=function(t,e){var n;(n=t.match(w))&&o.removeInLine(e,t.length-n[0].length,t.length),(n=t.match(h))&&o.removeInLine(e,n[1].length,n[0].length);
|
|
83
|
-
},v=function(t,n){if(h.test(t))return!0;for(var i=e.getTokens(n),r=0;r<i.length;r++)if("comment"===i[r].type)return!0}}var A=1/0;r(function(t,e){var n=t.search(/\S/);n!==-1?(n<c&&(c=n),l&&!v(t,e)&&(l=!1)):A>t.length&&(A=t.length)}),c==1/0&&(c=A,s=!1,l=!1),d&&c%u!=0&&(c=Math.floor(c/u)*u),r(l?p:g)},this.toggleBlockComment=function(t,e,n,i){var r=this.blockComment;if(r){!r.start&&r[0]&&(r=r[0]);var o,s,a=new l(e,i.row,i.column),u=a.getCurrentToken(),d=(e.selection,e.selection.toOrientedRange());if(u&&/comment/.test(u.type)){for(var h,f;u&&/comment/.test(u.type);){var p=u.value.indexOf(r.start);if(p!=-1){var m=a.getCurrentTokenRow(),g=a.getCurrentTokenColumn()+p;h=new c(m,g,m,g+r.start.length);break}u=a.stepBackward()}for(var a=new l(e,i.row,i.column),u=a.getCurrentToken();u&&/comment/.test(u.type);){var p=u.value.indexOf(r.end);if(p!=-1){var m=a.getCurrentTokenRow(),g=a.getCurrentTokenColumn()+p;f=new c(m,g,m,g+r.end.length);break}u=a.stepForward()}f&&e.remove(f),h&&(e.remove(h),o=h.start.row,s=-r.start.length)}else s=r.start.length,o=n.start.row,e.insert(n.end,r.end),e.insert(n.start,r.start);d.start.row==o&&(d.start.column+=s),d.end.row==o&&(d.end.column+=s),e.selection.fromOrientedRange(d)}},this.getNextLineIndent=function(t,e,n){return this.$getIndent(e)},this.checkOutdent=function(t,e,n){return!1},this.autoOutdent=function(t,e,n){},this.$getIndent=function(t){return t.match(/^\s*/)[0]},this.createWorker=function(t){return null},this.createModeDelegates=function(t){this.$embeds=[],this.$modes={};for(var e in t)t[e]&&(this.$embeds.push(e),this.$modes[e]=new t[e]);for(var n=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],e=0;e<n.length;e++)!function(t){var i=n[e],r=t[i];t[n[e]]=function(){return this.$delegator(i,arguments,r)}}(this)},this.$delegator=function(t,e,n){var i=e[0];"string"!=typeof i&&(i=i[0]);for(var r=0;r<this.$embeds.length;r++)if(this.$modes[this.$embeds[r]]){var o=i.split(this.$embeds[r]);if(!o[0]&&o[1]){e[0]=o[1];var s=this.$modes[this.$embeds[r]];return s[t].apply(s,e)}}var a=n.apply(this,e);return n?a:void 0},this.transformAction=function(t,e,n,i,r){if(this.$behaviour){var o=this.$behaviour.getBehaviours();for(var s in o)if(o[s][e]){var a=o[s][e].apply(this,arguments);if(a)return a}}},this.getKeywords=function(t){if(!this.completionKeywords){var e=this.$tokenizer.rules,n=[];for(var i in e)for(var r=e[i],o=0,s=r.length;o<s;o++)if("string"==typeof r[o].token)/keyword|support|storage/.test(r[o].token)&&n.push(r[o].regex);else if("object"===(0,_typeof3.default)(r[o].token))for(var a=0,l=r[o].token.length;a<l;a++)if(/keyword|support|storage/.test(r[o].token[a])){var i=r[o].regex.match(/\(.+?\)/g)[a];n.push(i.substr(1,i.length-2))}this.completionKeywords=n}return t?n.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(t,e,n,i){var r=this.$keywordList||this.$createKeywordList();return r.map(function(t){return{name:t,value:t,score:0,meta:"keyword"}})},this.$id="ace/mode/text"}).call(u.prototype),e.Mode=u}),ace.define("ace/apply_delta",["require","exports","module"],function(t,e,n){e.applyDelta=function(t,e,n){var i=e.start.row,r=e.start.column,o=t[i]||"";switch(e.action){case"insert":var s=e.lines;if(1===s.length)t[i]=o.substring(0,r)+e.lines[0]+o.substring(r);else{var a=[i,1].concat(e.lines);t.splice.apply(t,a),t[i]=o.substring(0,r)+t[i],t[i+e.lines.length-1]+=o.substring(r)}break;case"remove":var l=e.end.column,c=e.end.row;i===c?t[i]=o.substring(0,r)+o.substring(l):t.splice(i,c-i+1,o.substring(0,r)+t[c].substring(l))}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(t,e,n){var i=t("./lib/oop"),r=t("./lib/event_emitter").EventEmitter,o=e.Anchor=function(t,e,n){this.$onChange=this.onChange.bind(this),this.attach(t),"undefined"==typeof n?this.setPosition(e.row,e.column):this.setPosition(e,n)};(function(){function t(t,e,n){var i=n?t.column<=e.column:t.column<e.column;return t.row<e.row||t.row==e.row&&i}function e(e,n,i){var r="insert"==e.action,o=(r?1:-1)*(e.end.row-e.start.row),s=(r?1:-1)*(e.end.column-e.start.column),a=e.start,l=r?a:e.end;return t(n,a,i)?{row:n.row,column:n.column}:t(l,n,!i)?{row:n.row+o,column:n.column+(n.row==l.row?s:0)}:{row:a.row,column:a.column}}i.implement(this,r),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row||t.start.row>this.row)){var n=e(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(t,e,n){var i;if(i=n?{row:t,column:e}:this.$clipPositionToDocument(t,e),this.row!=i.row||this.column!=i.column){var r={row:this.row,column:this.column};this.row=i.row,this.column=i.column,this._signal("change",{old:r,value:i})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(t,e){var n={};return t>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):t<0?(n.row=0,n.column=0):(n.row=t,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,e))),e<0&&(n.column=0),n}}).call(o.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(t,e,n){var i=t("./lib/oop"),r=t("./apply_delta").applyDelta,o=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,a=t("./anchor").Anchor,l=function(t){this.$lines=[""],0===t.length?this.$lines=[""]:Array.isArray(t)?this.insertMergedLines({row:0,column:0},t):this.insert({row:0,column:0},t)};(function(){i.implement(this,o),this.setValue=function(t){var e=this.getLength()-1;this.remove(new s(0,0,e,this.getLine(e).length)),this.insert({row:0,column:0},t)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(t,e){return new a(this,t,e)},0==="aaa".split(/a/).length?this.$split=function(t){return t.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(t){return t.split(/\r\n|\r|\n/)},this.$detectNewLine=function(t){var e=t.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=e?e[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(t){this.$newLineMode!==t&&(this.$newLineMode=t,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(t){return"\r\n"==t||"\r"==t||"\n"==t},this.getLine=function(t){return this.$lines[t]||""},this.getLines=function(t,e){return this.$lines.slice(t,e+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(t){return this.getLinesForRange(t).join(this.getNewLineCharacter())},this.getLinesForRange=function(t){var e;if(t.start.row===t.end.row)e=[this.getLine(t.start.row).substring(t.start.column,t.end.column)];else{e=this.getLines(t.start.row,t.end.row),e[0]=(e[0]||"").substring(t.start.column);var n=e.length-1;t.end.row-t.start.row==n&&(e[n]=e[n].substring(0,t.end.column))}return e},this.insertLines=function(t,e){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(t,e)},this.removeLines=function(t,e){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(t,e)},this.insertNewLine=function(t){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(t,["",""])},this.insert=function(t,e){return this.getLength()<=1&&this.$detectNewLine(e),this.insertMergedLines(t,this.$split(e))},this.insertInLine=function(t,e){var n=this.clippedPos(t.row,t.column),i=this.pos(t.row,t.column+e.length);return this.applyDelta({start:n,end:i,action:"insert",lines:[e]},!0),this.clonePos(i)},this.clippedPos=function(t,e){var n=this.getLength();void 0===t?t=n:t<0?t=0:t>=n&&(t=n-1,e=void 0);var i=this.getLine(t);return void 0==e&&(e=i.length),e=Math.min(Math.max(e,0),i.length),{row:t,column:e}},this.clonePos=function(t){return{row:t.row,column:t.column}},this.pos=function(t,e){return{row:t,column:e}},this.$clipPosition=function(t){var e=this.getLength();return t.row>=e?(t.row=Math.max(0,e-1),t.column=this.getLine(e-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},this.insertFullLines=function(t,e){t=Math.min(Math.max(t,0),this.getLength());var n=0;t<this.getLength()?(e=e.concat([""]),n=0):(e=[""].concat(e),t--,n=this.$lines[t].length),this.insertMergedLines({row:t,column:n},e)},this.insertMergedLines=function(t,e){var n=this.clippedPos(t.row,t.column),i={row:n.row+e.length-1,column:(1==e.length?n.column:0)+e[e.length-1].length};return this.applyDelta({start:n,end:i,action:"insert",lines:e}),this.clonePos(i)},this.remove=function(t){var e=this.clippedPos(t.start.row,t.start.column),n=this.clippedPos(t.end.row,t.end.column);return this.applyDelta({start:e,end:n,action:"remove",lines:this.getLinesForRange({start:e,end:n})}),this.clonePos(e)},this.removeInLine=function(t,e,n){var i=this.clippedPos(t,e),r=this.clippedPos(t,n);return this.applyDelta({start:i,end:r,action:"remove",lines:this.getLinesForRange({start:i,end:r})},!0),this.clonePos(i)},this.removeFullLines=function(t,e){t=Math.min(Math.max(0,t),this.getLength()-1),e=Math.min(Math.max(0,e),this.getLength()-1);var n=e==this.getLength()-1&&t>0,i=e<this.getLength()-1,r=n?t-1:t,o=n?this.getLine(r).length:0,a=i?e+1:e,l=i?0:this.getLine(a).length,c=new s(r,o,a,l),u=this.$lines.slice(t,e+1);return this.applyDelta({start:c.start,end:c.end,action:"remove",lines:this.getLinesForRange(c)}),u},this.removeNewLine=function(t){t<this.getLength()-1&&t>=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},this.replace=function(t,e){if(t instanceof s||(t=s.fromPoints(t.start,t.end)),0===e.length&&t.isEmpty())return t.start;if(e==this.getTextRange(t))return t.end;this.remove(t);var n;return n=e?this.insert(t.start,e):t.start},this.applyDeltas=function(t){for(var e=0;e<t.length;e++)this.applyDelta(t[e])},this.revertDeltas=function(t){for(var e=t.length-1;e>=0;e--)this.revertDelta(t[e])},this.applyDelta=function(t,e){var n="insert"==t.action;(n?t.lines.length<=1&&!t.lines[0]:!s.comparePoints(t.start,t.end))||(n&&t.lines.length>2e4&&this.$splitAndapplyLargeDelta(t,2e4),r(this.$lines,t,e),this._signal("change",t))},this.$splitAndapplyLargeDelta=function(t,e){for(var n=t.lines,i=n.length,r=t.start.row,o=t.start.column,s=0,a=0;;){s=a,a+=e-1;var l=n.slice(s,a);if(a>i){t.lines=l,t.start.row=r+s,t.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(r+s,o),end:this.pos(r+a,o=0),action:t.action,lines:l},!0)}},this.revertDelta=function(t){this.applyDelta({start:this.clonePos(t.start),end:this.clonePos(t.end),action:"insert"==t.action?"remove":"insert",lines:t.lines.slice()})},this.indexToPosition=function(t,e){for(var n=this.$lines||this.getAllLines(),i=this.getNewLineCharacter().length,r=e||0,o=n.length;r<o;r++)if(t-=n[r].length+i,t<0)return{row:r,column:t+n[r].length+i};return{row:o-1,column:n[o-1].length}},this.positionToIndex=function(t,e){for(var n=this.$lines||this.getAllLines(),i=this.getNewLineCharacter().length,r=0,o=Math.min(t.row,n.length),s=e||0;s<o;++s)r+=n[s].length+i;return r+t.column}}).call(l.prototype),e.Document=l}),ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(t,e,n){var i=t("./lib/oop"),r=t("./lib/event_emitter").EventEmitter,o=function(t,e){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=t;var n=this;this.$worker=function(){if(n.running){for(var t=new Date,e=n.currentLine,i=-1,r=n.doc,o=e;n.lines[e];)e++;var s=r.getLength(),a=0;for(n.running=!1;e<s;){n.$tokenizeRow(e),i=e;do e++;while(n.lines[e]);if(a++,a%5===0&&new Date-t>20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=e,o<=i&&n.fireUpdateEvent(o,i)}}};(function(){i.implement(this,r),this.setTokenizer=function(t){this.tokenizer=t,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(t){this.doc=t,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(t,e){var n={first:t,last:e};this._signal("update",{data:n})},this.start=function(t){this.currentLine=Math.min(t||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(t){var e=t.start.row,n=t.end.row-e;if(0===n)this.lines[e]=null;else if("remove"==t.action)this.lines.splice(e,n+1,null),this.states.splice(e,n+1,null);else{var i=Array(n+1);i.unshift(e,1),this.lines.splice.apply(this.lines,i),this.states.splice.apply(this.states,i)}this.currentLine=Math.min(e,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(t){return this.lines[t]||this.$tokenizeRow(t)},this.getState=function(t){return this.currentLine==t&&this.$tokenizeRow(t),this.states[t]||"start"},this.$tokenizeRow=function(t){var e=this.doc.getLine(t),n=this.states[t-1],i=this.tokenizer.getLineTokens(e,n,t);return this.states[t]+""!=i.state+""?(this.states[t]=i.state,this.lines[t+1]=null,this.currentLine>t+1&&(this.currentLine=t+1)):this.currentLine==t&&(this.currentLine=t+1),this.lines[t]=i.tokens}}).call(o.prototype),e.BackgroundTokenizer=o}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(t,e,n){var i=t("./lib/lang"),r=(t("./lib/oop"),t("./range").Range),o=function(t,e,n){this.setRegexp(t),this.clazz=e,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(t){this.regExp+""!=t+""&&(this.regExp=t,this.cache=[])},this.update=function(t,e,n,o){if(this.regExp)for(var s=o.firstRow,a=o.lastRow,l=s;l<=a;l++){var c=this.cache[l];null==c&&(c=i.getMatchOffsets(n.getLine(l),this.regExp),c.length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map(function(t){return new r(l,t.offset,l,t.offset+t.length)}),this.cache[l]=c.length?c:"");for(var u=c.length;u--;)e.drawSingleLineMarker(t,c[u].toScreenRange(n),this.clazz,o)}}}).call(o.prototype),e.SearchHighlight=o}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(t,e,n){function i(t,e){this.foldData=t,Array.isArray(e)?this.folds=e:e=this.folds=[e];var n=e[e.length-1];this.range=new r(e[0].start.row,e[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(t){t.setFoldLine(this)},this)}var r=t("../range").Range;(function(){this.shiftRow=function(t){this.start.row+=t,this.end.row+=t,this.folds.forEach(function(e){e.start.row+=t,e.end.row+=t})},this.addFold=function(t){if(t.sameRow){if(t.start.row<this.startRow||t.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(t),this.folds.sort(function(t,e){return-t.range.compareEnd(e.start.row,e.start.column)}),this.range.compareEnd(t.start.row,t.start.column)>0?(this.end.row=t.end.row,this.end.column=t.end.column):this.range.compareStart(t.end.row,t.end.column)<0&&(this.start.row=t.start.row,this.start.column=t.start.column)}else if(t.start.row==this.end.row)this.folds.push(t),this.end.row=t.end.row,this.end.column=t.end.column;else{if(t.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(t),this.start.row=t.start.row,this.start.column=t.start.column}t.foldLine=this},this.containsRow=function(t){return t>=this.start.row&&t<=this.end.row},this.walk=function(t,e,n){var i,r,o,s=0,a=this.folds,l=!0;null==e&&(e=this.end.row,n=this.end.column);for(var c=0;c<a.length;c++){if(i=a[c],r=i.range.compareStart(e,n),r==-1)return void t(null,e,n,s,l);if(o=t(null,i.start.row,i.start.column,s,l),o=!o&&t(i.placeholder,i.start.row,i.start.column,s),o||0===r)return;l=!i.sameRow,s=i.end.column}t(null,e,n,s,l)},this.getNextFoldTo=function(t,e){for(var n,i,r=0;r<this.folds.length;r++){if(n=this.folds[r],i=n.range.compareEnd(t,e),i==-1)return{fold:n,kind:"after"};if(0===i)return{fold:n,kind:"inside"}}return null},this.addRemoveChars=function(t,e,n){var i,r,o=this.getNextFoldTo(t,e);if(o)if(i=o.fold,"inside"==o.kind&&i.start.column!=e&&i.start.row!=t)window.console&&window.console.log(t,e,i);else if(i.start.row==t){r=this.folds;var s=r.indexOf(i);for(0===s&&(this.start.column+=n),s;s<r.length;s++){if(i=r[s],i.start.column+=n,!i.sameRow)return;i.end.column+=n}this.end.column+=n}},this.split=function(t,e){var n=this.getNextFoldTo(t,e);if(!n||"inside"==n.kind)return null;var r=n.fold,o=this.folds,s=this.foldData,a=o.indexOf(r),l=o[a-1];this.end.row=l.end.row,this.end.column=l.end.column,o=o.splice(a,o.length-a);var c=new i(s,o);return s.splice(s.indexOf(this)+1,0,c),c},this.merge=function(t){for(var e=t.folds,n=0;n<e.length;n++)this.addFold(e[n]);var i=this.foldData;i.splice(i.indexOf(t),1)},this.toString=function(){var t=[this.range.toString()+": ["];return this.folds.forEach(function(e){t.push(" "+e.toString())}),t.push("]"),t.join("\n")},this.idxToPosition=function(t){for(var e=0,n=0;n<this.folds.length;n++){var i=this.folds[n];if(t-=i.start.column-e,t<0)return{row:i.start.row,column:i.start.column+t};if(t-=i.placeholder.length,t<0)return i.start;e=i.end.column}return{row:this.end.row,column:this.end.column+t}}}).call(i.prototype),e.FoldLine=i}),ace.define("ace/range_list",["require","exports","module","ace/range"],function(t,e,n){var i=t("./range").Range,r=i.comparePoints,o=function(){this.ranges=[]};(function(){this.comparePoints=r,this.pointIndex=function(t,e,n){for(var i=this.ranges,o=n||0;o<i.length;o++){var s=i[o],a=r(t,s.end);if(!(a>0)){var l=r(t,s.start);return 0===a?e&&0!==l?-o-2:o:l>0||0===l&&!e?o:-o-1}}return-o-1},this.add=function(t){var e=!t.isEmpty(),n=this.pointIndex(t.start,e);n<0&&(n=-n-1);var i=this.pointIndex(t.end,e,n);return i<0?i=-i-1:i++,this.ranges.splice(n,i-n,t)},this.addList=function(t){for(var e=[],n=t.length;n--;)e.push.apply(e,this.add(t[n]));return e},this.substractPoint=function(t){var e=this.pointIndex(t);if(e>=0)return this.ranges.splice(e,1)},this.merge=function(){var t=[],e=this.ranges;e=e.sort(function(t,e){return r(t.start,e.start)});for(var n,i=e[0],o=1;o<e.length;o++){n=i,i=e[o];var s=r(n.end,i.start);s<0||(0!=s||n.isEmpty()||i.isEmpty())&&(r(n.end,i.end)<0&&(n.end.row=i.end.row,n.end.column=i.end.column),e.splice(o,1),t.push(i),i=n,o--)}return this.ranges=e,t},this.contains=function(t,e){return this.pointIndex({row:t,column:e})>=0},this.containsPoint=function(t){return this.pointIndex(t)>=0},this.rangeAtPoint=function(t){var e=this.pointIndex(t);if(e>=0)return this.ranges[e]},this.clipRows=function(t,e){var n=this.ranges;if(n[0].start.row>e||n[n.length-1].start.row<t)return[];var i=this.pointIndex({row:t,column:0});i<0&&(i=-i-1);var r=this.pointIndex({row:e,column:0},i);r<0&&(r=-r-1);for(var o=[],s=i;s<r;s++)o.push(n[s]);return o},this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},this.attach=function(t){this.session&&this.detach(),this.session=t,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},this.detach=function(){this.session&&(this.session.removeListener("change",this.onChange),this.session=null)},this.$onChange=function(t){if("insert"==t.action)var e=t.start,n=t.end;else var n=t.start,e=t.end;for(var i=e.row,r=n.row,o=r-i,s=-e.column+n.column,a=this.ranges,l=0,c=a.length;l<c;l++){var u=a[l];if(!(u.end.row<i)){if(u.start.row>i)break;if(u.start.row==i&&u.start.column>=e.column&&(u.start.column==e.column&&this.$insertRight||(u.start.column+=s,u.start.row+=o)),u.end.row==i&&u.end.column>=e.column){if(u.end.column==e.column&&this.$insertRight)continue;u.end.column==e.column&&s>0&&l<c-1&&u.end.column>u.start.column&&u.end.column==a[l+1].start.column&&(u.end.column-=s),u.end.column+=s,u.end.row+=o}}}if(0!=o&&l<c)for(;l<c;l++){var u=a[l];u.start.row+=o,u.end.row+=o}}}).call(o.prototype),e.RangeList=o}),ace.define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],function(t,e,n){function i(t,e){t.row-=e.row,0==t.row&&(t.column-=e.column)}function r(t,e){i(t.start,e),i(t.end,e)}function o(t,e){0==t.row&&(t.column+=e.column),t.row+=e.row}function s(t,e){o(t.start,e),o(t.end,e)}var a=(t("../range").Range,t("../range_list").RangeList),l=t("../lib/oop"),c=e.Fold=function(t,e){this.foldLine=null,this.placeholder=e,this.range=t,this.start=t.start,this.end=t.end,this.sameRow=t.start.row==t.end.row,this.subFolds=this.ranges=[]};l.inherits(c,a),function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},this.setFoldLine=function(t){this.foldLine=t,this.subFolds.forEach(function(e){e.setFoldLine(t)})},this.clone=function(){var t=this.range.clone(),e=new c(t,this.placeholder);return this.subFolds.forEach(function(t){e.subFolds.push(t.clone())}),e.collapseChildren=this.collapseChildren,e},this.addSubFold=function(t){if(!this.range.isEqual(t)){if(!this.range.containsRange(t))throw new Error("A fold can't intersect already existing fold"+t.range+this.range);r(t,this.start);for(var e=t.start.row,n=t.start.column,i=0,o=-1;i<this.subFolds.length&&(o=this.subFolds[i].range.compare(e,n),1==o);i++);var s=this.subFolds[i];if(0==o)return s.addSubFold(t);for(var e=t.range.end.row,n=t.range.end.column,a=i,o=-1;a<this.subFolds.length&&(o=this.subFolds[a].range.compare(e,n),1==o);a++);this.subFolds[a];if(0==o)throw new Error("A fold can't intersect already existing fold"+t.range+this.range);this.subFolds.splice(i,a-i,t);return t.setFoldLine(this.foldLine),t}},this.restoreRange=function(t){return s(t,this.start)}}.call(c.prototype)}),ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],function(t,e,n){function i(){this.getFoldAt=function(t,e,n){var i=this.getFoldLine(t);if(!i)return null;for(var r=i.folds,o=0;o<r.length;o++){var s=r[o];if(s.range.contains(t,e)){if(1==n&&s.range.isEnd(t,e))continue;if(n==-1&&s.range.isStart(t,e))continue;return s}}},this.getFoldsInRange=function(t){var e=t.start,n=t.end,i=this.$foldData,r=[];e.column+=1,n.column-=1;for(var o=0;o<i.length;o++){var s=i[o].range.compareRange(t);if(2!=s){if(s==-2)break;for(var a=i[o].folds,l=0;l<a.length;l++){var c=a[l];if(s=c.range.compareRange(t),s==-2)break;if(2!=s){if(42==s)break;r.push(c)}}}}return e.column-=1,n.column+=1,r},this.getFoldsInRangeList=function(t){if(Array.isArray(t)){var e=[];t.forEach(function(t){e=e.concat(this.getFoldsInRange(t))},this)}else var e=this.getFoldsInRange(t);return e},this.getAllFolds=function(){for(var t=[],e=this.$foldData,n=0;n<e.length;n++)for(var i=0;i<e[n].folds.length;i++)t.push(e[n].folds[i]);return t},this.getFoldStringAt=function(t,e,n,i){if(i=i||this.getFoldLine(t),!i)return null;for(var r,o,s={end:{column:0}},a=0;a<i.folds.length;a++){o=i.folds[a];var l=o.range.compareEnd(t,e);if(l==-1){r=this.getLine(o.start.row).substring(s.end.column,o.start.column);break}if(0===l)return null;s=o}return r||(r=this.getLine(o.start.row).substring(s.end.column)),n==-1?r.substring(0,e-s.end.column):1==n?r.substring(e-s.end.column):r},this.getFoldLine=function(t,e){var n=this.$foldData,i=0;for(e&&(i=n.indexOf(e)),i==-1&&(i=0),i;i<n.length;i++){var r=n[i];if(r.start.row<=t&&r.end.row>=t)return r;if(r.end.row>t)return null}return null},this.getNextFoldLine=function(t,e){var n=this.$foldData,i=0;for(e&&(i=n.indexOf(e)),i==-1&&(i=0),i;i<n.length;i++){var r=n[i];if(r.end.row>=t)return r}return null},this.getFoldedRowCount=function(t,e){for(var n=this.$foldData,i=e-t+1,r=0;r<n.length;r++){var o=n[r],s=o.end.row,a=o.start.row;if(s>=e){a<e&&(a>=t?i-=e-a:i=0);break}s>=t&&(i-=a>=t?s-a:s-t+1)}return i},this.$addFoldLine=function(t){return this.$foldData.push(t),this.$foldData.sort(function(t,e){return t.start.row-e.start.row}),t},this.addFold=function(t,e){var n,i=this.$foldData,r=!1;t instanceof s?n=t:(n=new s(e,t),n.collapseChildren=e.collapseChildren),this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column;if(!(a<c||a==c&&l<=u-2))throw new Error("The range has to be at least 2 characters width");var d=this.getFoldAt(a,l,1),h=this.getFoldAt(c,u,-1);if(d&&h==d)return d.addSubFold(n);d&&!d.range.isStart(a,l)&&this.removeFold(d),h&&!h.range.isEnd(c,u)&&this.removeFold(h);var f=this.getFoldsInRange(n.range);f.length>0&&(this.removeFolds(f),f.forEach(function(t){n.addSubFold(t)}));for(var p=0;p<i.length;p++){var m=i[p];if(c==m.start.row){m.addFold(n),r=!0;break}if(a==m.end.row){if(m.addFold(n),r=!0,!n.sameRow){var g=i[p+1];if(g&&g.start.row==c){m.merge(g);break}}break}if(c<=m.start.row)break}return r||(m=this.$addFoldLine(new o(this.$foldData,n))),this.$useWrapMode?this.$updateWrapData(m.start.row,m.start.row):this.$updateRowLengthCache(m.start.row,m.start.row),this.$modified=!0,this._signal("changeFold",{data:n,action:"add"}),n},this.addFolds=function(t){t.forEach(function(t){this.addFold(t)},this)},this.removeFold=function(t){var e=t.foldLine,n=e.start.row,i=e.end.row,r=this.$foldData,o=e.folds;if(1==o.length)r.splice(r.indexOf(e),1);else if(e.range.isEnd(t.end.row,t.end.column))o.pop(),e.end.row=o[o.length-1].end.row,e.end.column=o[o.length-1].end.column;else if(e.range.isStart(t.start.row,t.start.column))o.shift(),e.start.row=o[0].start.row,e.start.column=o[0].start.column;else if(t.sameRow)o.splice(o.indexOf(t),1);else{var s=e.split(t.start.row,t.start.column);o=s.folds,o.shift(),s.start.row=o[0].start.row,s.start.column=o[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(n,i):this.$updateRowLengthCache(n,i)),this.$modified=!0,this._signal("changeFold",{data:t,action:"remove"})},this.removeFolds=function(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n]);e.forEach(function(t){this.removeFold(t)},this),this.$modified=!0},this.expandFold=function(t){this.removeFold(t),t.subFolds.forEach(function(e){t.restoreRange(e),this.addFold(e)},this),t.collapseChildren>0&&this.foldAll(t.start.row+1,t.end.row,t.collapseChildren-1),t.subFolds=[]},this.expandFolds=function(t){t.forEach(function(t){this.expandFold(t)},this)},this.unfold=function(t,e){var n,i;if(null==t?(n=new r(0,0,this.getLength(),0),e=!0):n="number"==typeof t?new r(t,0,t,this.getLine(t).length):"row"in t?r.fromPoints(t,t):t,i=this.getFoldsInRangeList(n),e)this.removeFolds(i);else for(var o=i;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(i.length)return i},this.isRowFolded=function(t,e){return!!this.getFoldLine(t,e)},this.getRowFoldEnd=function(t,e){var n=this.getFoldLine(t,e);return n?n.end.row:t},this.getRowFoldStart=function(t,e){var n=this.getFoldLine(t,e);return n?n.start.row:t},this.getFoldDisplayLine=function(t,e,n,i,r){null==i&&(i=t.start.row),null==r&&(r=0),null==e&&(e=t.end.row),null==n&&(n=this.getLine(e).length);var o=this.doc,s="";return t.walk(function(t,e,n,a){if(!(e<i)){if(e==i){if(n<r)return;a=Math.max(r,a)}s+=null!=t?t:o.getLine(e).substring(a,n)}},e,n),s},this.getDisplayLine=function(t,e,n,i){var r=this.getFoldLine(t);if(r)return this.getFoldDisplayLine(r,t,e,n,i);var o;return o=this.doc.getLine(t),o.substring(i||0,e||o.length)},this.$cloneFoldData=function(){var t=[];return t=this.$foldData.map(function(e){var n=e.folds.map(function(t){return t.clone()});return new o(t,n)})},this.toggleFold=function(t){var e,n,i=this.selection,r=i.getRange();if(r.isEmpty()){var o=r.start;if(e=this.getFoldAt(o.row,o.column))return void this.expandFold(e);(n=this.findMatchingBracket(o))?1==r.comparePoint(n)?r.end=n:(r.start=n,r.start.column++,r.end.column--):(n=this.findMatchingBracket({row:o.row,column:o.column+1}))?(1==r.comparePoint(n)?r.end=n:r.start=n,r.start.column++):r=this.getCommentFoldRange(o.row,o.column)||r}else{var s=this.getFoldsInRange(r);if(t&&s.length)return void this.expandFolds(s);1==s.length&&(e=s[0])}if(e||(e=this.getFoldAt(r.start.row,r.start.column)),e&&e.range.toString()==r.toString())return void this.expandFold(e);var a="...";if(!r.isMultiLine()){if(a=this.getTextRange(r),a.length<4)return;a=a.trim().substring(0,2)+".."}this.addFold(a,r)},this.getCommentFoldRange=function(t,e,n){var i=new a(this,t,e),o=i.getCurrentToken();if(o&&/^comment|string/.test(o.type)){var s=new r,l=new RegExp(o.type.replace(/\..*/,"\\."));if(1!=n){do o=i.stepBackward();while(o&&l.test(o.type));i.stepForward()}if(s.start.row=i.getCurrentTokenRow(),s.start.column=i.getCurrentTokenColumn()+2,i=new a(this,t,e),n!=-1){do o=i.stepForward();while(o&&l.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return s.end.row=i.getCurrentTokenRow(),s.end.column=i.getCurrentTokenColumn()+o.value.length-2,s}},this.foldAll=function(t,e,n){void 0==n&&(n=1e5);var i=this.foldWidgets;if(i){e=e||this.getLength(),t=t||0;for(var r=t;r<e;r++)if(null==i[r]&&(i[r]=this.getFoldWidget(r)),"start"==i[r]){var o=this.getFoldWidgetRange(r);if(o&&o.isMultiLine()&&o.end.row<=e&&o.start.row>=t){r=o.end.row;try{var s=this.addFold("...",o);s&&(s.collapseChildren=n)}catch(t){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(t){if(!this.$foldStyles[t])throw new Error("invalid fold style: "+t+"["+(0,_keys2.default)(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=t){this.$foldStyle=t,"manual"==t&&this.unfold();var e=this.$foldMode;this.$setFolding(null),this.$setFolding(e)}},this.$setFolding=function(t){if(this.$foldMode!=t){if(this.$foldMode=t,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),!t||"manual"==this.$foldStyle)return void(this.foldWidgets=null);this.foldWidgets=[],this.getFoldWidget=t.getFoldWidget.bind(t,this,this.$foldStyle),this.getFoldWidgetRange=t.getFoldWidgetRange.bind(t,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)}},this.getParentFoldRangeData=function(t,e){var n=this.foldWidgets;if(!n||e&&n[t])return{};for(var i,r=t-1;r>=0;){var o=n[r];if(null==o&&(o=n[r]=this.getFoldWidget(r)),"start"==o){var s=this.getFoldWidgetRange(r);if(i||(i=s),s&&s.end.row>=t)break}r--}return{range:r!==-1&&s,firstRange:i}},this.onFoldWidgetClick=function(t,e){e=e.domEvent;var n={children:e.shiftKey,all:e.ctrlKey||e.metaKey,siblings:e.altKey},i=this.$toggleFoldWidget(t,n);if(!i){var r=e.target||e.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(t,e){if(this.getFoldWidget){var n=this.getFoldWidget(t),i=this.getLine(t),r="end"===n?-1:1,o=this.getFoldAt(t,r===-1?0:i.length,r);if(o)return void(e.children||e.all?this.removeFold(o):this.expandFold(o));var s=this.getFoldWidgetRange(t,!0);if(s&&!s.isMultiLine()&&(o=this.getFoldAt(s.start.row,s.start.column,1),
|
|
84
|
-
o&&s.isEqual(o.range)))return void this.removeFold(o);if(e.siblings){var a=this.getParentFoldRangeData(t);if(a.range)var l=a.range.start.row+1,c=a.range.end.row;this.foldAll(l,c,e.all?1e4:0)}else e.children?(c=s?s.end.row:this.getLength(),this.foldAll(t+1,c,e.all?1e4:0)):s&&(e.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(t){var e=this.selection.getCursor().row;e=this.getRowFoldStart(e);var n=this.$toggleFoldWidget(e,{});if(!n){var i=this.getParentFoldRangeData(e,!0);if(n=i.range||i.firstRange){e=n.start.row;var r=this.getFoldAt(e,this.getLine(e).length,1);r?this.removeFold(r):this.addFold("...",n)}}},this.updateFoldWidgets=function(t){var e=t.start.row,n=t.end.row-e;if(0===n)this.foldWidgets[e]=null;else if("remove"==t.action)this.foldWidgets.splice(e,n+1,null);else{var i=Array(n+1);i.unshift(e,1),this.foldWidgets.splice.apply(this.foldWidgets,i)}},this.tokenizerUpdateFoldWidgets=function(t){var e=t.data;e.first!=e.last&&this.foldWidgets.length>e.first&&this.foldWidgets.splice(e.first,this.foldWidgets.length)}}var r=t("../range").Range,o=t("./fold_line").FoldLine,s=t("./fold").Fold,a=t("../token_iterator").TokenIterator;e.Folding=i}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(t,e,n){function i(){this.findMatchingBracket=function(t,e){if(0==t.column)return null;var n=e||this.getLine(t.row).charAt(t.column-1);if(""==n)return null;var i=n.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],t):this.$findOpeningBracket(i[2],t):null},this.getBracketRange=function(t){var e,n=this.getLine(t.row),i=!0,r=n.charAt(t.column-1),s=r&&r.match(/([\(\[\{])|([\)\]\}])/);if(s||(r=n.charAt(t.column),t={row:t.row,column:t.column+1},s=r&&r.match(/([\(\[\{])|([\)\]\}])/),i=!1),!s)return null;if(s[1]){var a=this.$findClosingBracket(s[1],t);if(!a)return null;e=o.fromPoints(t,a),i||(e.end.column++,e.start.column--),e.cursor=e.end}else{var a=this.$findOpeningBracket(s[2],t);if(!a)return null;e=o.fromPoints(a,t),i||(e.start.column++,e.end.column--),e.cursor=e.start}return e},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(t,e,n){var i=this.$brackets[t],o=1,s=new r(this,e.row,e.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=e.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;l>=0;){var u=c.charAt(l);if(u==i){if(o-=1,0==o)return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else u==t&&(o+=1);l-=1}do a=s.stepBackward();while(a&&!n.test(a.type));if(null==a)break;c=a.value,l=c.length-1}return null}},this.$findClosingBracket=function(t,e,n){var i=this.$brackets[t],o=1,s=new r(this,e.row,e.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=e.column-s.getCurrentTokenColumn();;){for(var c=a.value,u=c.length;l<u;){var d=c.charAt(l);if(d==i){if(o-=1,0==o)return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else d==t&&(o+=1);l+=1}do a=s.stepForward();while(a&&!n.test(a.type));if(null==a)break;l=0}return null}}}var r=t("../token_iterator").TokenIterator,o=t("../range").Range;e.BracketMatch=i}),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],function(t,e,n){var i=t("./lib/oop"),r=t("./lib/lang"),o=t("./config"),s=t("./lib/event_emitter").EventEmitter,a=t("./selection").Selection,l=t("./mode/text").Mode,c=t("./range").Range,u=t("./document").Document,d=t("./background_tokenizer").BackgroundTokenizer,h=t("./search_highlight").SearchHighlight,f=function(t,e){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.$foldData.toString=function(){return this.join("\n")},this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&t.getLine||(t=new u(t)),this.setDocument(t),this.selection=new a(this),o.resetOptions(this),this.setMode(e),o._signal("session",this)};(function(){function t(t){return!(t<4352)&&(t>=4352&&t<=4447||t>=4515&&t<=4519||t>=4602&&t<=4607||t>=9001&&t<=9002||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12283||t>=12288&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12589||t>=12593&&t<=12686||t>=12688&&t<=12730||t>=12736&&t<=12771||t>=12784&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=13054||t>=13056&&t<=19903||t>=19968&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=55216&&t<=55238||t>=55243&&t<=55291||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=65281&&t<=65376||t>=65504&&t<=65510)}i.implement(this,s),this.setDocument=function(t){this.doc&&this.doc.removeListener("change",this.$onChange),this.doc=t,t.on("change",this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(t){if(!t)return this.$docRowCache=[],void(this.$screenRowCache=[]);var e=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,t)+1;e>n&&(this.$docRowCache.splice(n,e),this.$screenRowCache.splice(n,e))},this.$getRowCacheIndex=function(t,e){for(var n=0,i=t.length-1;n<=i;){var r=n+i>>1,o=t[r];if(e>o)n=r+1;else{if(!(e<o))return r;i=r-1}}return n-1},this.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.bgTokenizer&&this.bgTokenizer.start(0)},this.onChangeFold=function(t){var e=t.data;this.$resetRowCache(e.start.row)},this.onChange=function(t){this.$modified=!0,this.$resetRowCache(t.start.row);var e=this.$updateInternalDataOnChange(t);this.$fromUndo||!this.$undoManager||t.ignore||(this.$deltasDoc.push(t),e&&0!=e.length&&this.$deltasFold.push({action:"removeFolds",folds:e}),this.$informUndoManager.schedule()),this.bgTokenizer&&this.bgTokenizer.$updateOnChange(t),this._signal("change",t)},this.setValue=function(t){this.doc.setValue(t),this.selection.moveTo(0,0),this.$resetRowCache(0),this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},this.getValue=this.toString=function(){return this.doc.getValue()},this.getSelection=function(){return this.selection},this.getState=function(t){return this.bgTokenizer.getState(t)},this.getTokens=function(t){return this.bgTokenizer.getTokens(t)},this.getTokenAt=function(t,e){var n,i=this.bgTokenizer.getTokens(t),r=0;if(null==e)o=i.length-1,r=this.getLine(t).length;else for(var o=0;o<i.length&&(r+=i[o].value.length,!(r>=e));o++);return(n=i[o])?(n.index=o,n.start=r-n.value.length,n):null},this.setUndoManager=function(t){if(this.$undoManager=t,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),t){var e=this;this.$syncInformUndoManager=function(){e.$informUndoManager.cancel(),e.$deltasFold.length&&(e.$deltas.push({group:"fold",deltas:e.$deltasFold}),e.$deltasFold=[]),e.$deltasDoc.length&&(e.$deltas.push({group:"doc",deltas:e.$deltasDoc}),e.$deltasDoc=[]),e.$deltas.length>0&&t.execute({action:"aceupdate",args:[e.$deltas,e],merge:e.mergeUndoDeltas}),e.mergeUndoDeltas=!1,e.$deltas=[]},this.$informUndoManager=r.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?r.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(t){this.setOption("useSoftTabs",t)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(t){this.setOption("tabSize",t)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(t){return this.$useSoftTabs&&t.column%this.$tabSize===0},this.$overwrite=!1,this.setOverwrite=function(t){this.setOption("overwrite",t)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(t,e){this.$decorations[t]||(this.$decorations[t]=""),this.$decorations[t]+=" "+e,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(t,e){this.$decorations[t]=(this.$decorations[t]||"").replace(" "+e,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(t){this.$breakpoints=[];for(var e=0;e<t.length;e++)this.$breakpoints[t[e]]="ace_breakpoint";this._signal("changeBreakpoint",{})},this.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},this.setBreakpoint=function(t,e){void 0===e&&(e="ace_breakpoint"),e?this.$breakpoints[t]=e:delete this.$breakpoints[t],this._signal("changeBreakpoint",{})},this.clearBreakpoint=function(t){delete this.$breakpoints[t],this._signal("changeBreakpoint",{})},this.addMarker=function(t,e,n,i){var r=this.$markerId++,o={range:t,type:n||"line",renderer:"function"==typeof n?n:null,clazz:e,inFront:!!i,id:r};return i?(this.$frontMarkers[r]=o,this._signal("changeFrontMarker")):(this.$backMarkers[r]=o,this._signal("changeBackMarker")),r},this.addDynamicMarker=function(t,e){if(t.update){var n=this.$markerId++;return t.id=n,t.inFront=!!e,e?(this.$frontMarkers[n]=t,this._signal("changeFrontMarker")):(this.$backMarkers[n]=t,this._signal("changeBackMarker")),t}},this.removeMarker=function(t){var e=this.$frontMarkers[t]||this.$backMarkers[t];if(e){var n=e.inFront?this.$frontMarkers:this.$backMarkers;e&&(delete n[t],this._signal(e.inFront?"changeFrontMarker":"changeBackMarker"))}},this.getMarkers=function(t){return t?this.$frontMarkers:this.$backMarkers},this.highlight=function(t){if(!this.$searchHighlight){var e=new h(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(e)}this.$searchHighlight.setRegexp(t)},this.highlightLines=function(t,e,n,i){"number"!=typeof e&&(n=e,e=t),n||(n="ace_step");var r=new c(t,0,e,1/0);return r.id=this.addMarker(r,n,"fullLine",i),r},this.setAnnotations=function(t){this.$annotations=t,this._signal("changeAnnotation",{})},this.getAnnotations=function(){return this.$annotations||[]},this.clearAnnotations=function(){this.setAnnotations([])},this.$detectNewLine=function(t){var e=t.match(/^.*?(\r?\n)/m);e?this.$autoNewLine=e[1]:this.$autoNewLine="\n"},this.getWordRange=function(t,e){var n=this.getLine(t),i=!1;if(e>0&&(i=!!n.charAt(e-1).match(this.tokenRe)),i||(i=!!n.charAt(e).match(this.tokenRe)),i)var r=this.tokenRe;else if(/^\s+$/.test(n.slice(e-1,e+1)))var r=/\s/;else var r=this.nonTokenRe;var o=e;if(o>0){do o--;while(o>=0&&n.charAt(o).match(r));o++}for(var s=e;s<n.length&&n.charAt(s).match(r);)s++;return new c(t,o,t,s)},this.getAWordRange=function(t,e){for(var n=this.getWordRange(t,e),i=this.getLine(n.end.row);i.charAt(n.end.column).match(/[ \t]/);)n.end.column+=1;return n},this.setNewLineMode=function(t){this.doc.setNewLineMode(t)},this.getNewLineMode=function(){return this.doc.getNewLineMode()},this.setUseWorker=function(t){this.setOption("useWorker",t)},this.getUseWorker=function(){return this.$useWorker},this.onReloadTokenizer=function(t){var e=t.data;this.bgTokenizer.start(e.first),this._signal("tokenizerUpdate",t)},this.$modes={},this.$mode=null,this.$modeId=null,this.setMode=function(t,e){if(t&&"object"===("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))){if(t.getTokenizer)return this.$onChangeMode(t);var n=t,i=n.path}else i=t||"ace/mode/text";return this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new l),this.$modes[i]&&!n?(this.$onChangeMode(this.$modes[i]),void(e&&e())):(this.$modeId=i,o.loadModule(["mode",i],function(t){return this.$modeId!==i?e&&e():(this.$modes[i]&&!n?this.$onChangeMode(this.$modes[i]):t&&t.Mode&&(t=new t.Mode(n),n||(this.$modes[i]=t,t.$id=i),this.$onChangeMode(t)),void(e&&e()))}.bind(this)),void(this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)))},this.$onChangeMode=function(t,e){if(e||(this.$modeId=t.$id),this.$mode!==t){this.$mode=t,this.$stopWorker(),this.$useWorker&&this.$startWorker();var n=t.getTokenizer();if(void 0!==n.addEventListener){var i=this.onReloadTokenizer.bind(this);n.addEventListener("update",i)}if(this.bgTokenizer)this.bgTokenizer.setTokenizer(n);else{this.bgTokenizer=new d(n);var r=this;this.bgTokenizer.addEventListener("update",function(t){r._signal("tokenizerUpdate",t)})}this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=t.tokenRe,this.nonTokenRe=t.nonTokenRe,e||(t.attachToSession&&t.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(t.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode"))}},this.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},this.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(t){o.warn("Could not load worker",t),this.$worker=null}},this.getMode=function(){return this.$mode},this.$scrollTop=0,this.setScrollTop=function(t){this.$scrollTop===t||isNaN(t)||(this.$scrollTop=t,this._signal("changeScrollTop",t))},this.getScrollTop=function(){return this.$scrollTop},this.$scrollLeft=0,this.setScrollLeft=function(t){this.$scrollLeft===t||isNaN(t)||(this.$scrollLeft=t,this._signal("changeScrollLeft",t))},this.getScrollLeft=function(){return this.$scrollLeft},this.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},this.getLineWidgetMaxWidth=function(){if(null!=this.lineWidgetsWidth)return this.lineWidgetsWidth;var t=0;return this.lineWidgets.forEach(function(e){e&&e.screenWidth>t&&(t=e.screenWidth)}),this.lineWidgetWidth=t},this.$computeWidth=function(t){if(this.$modified||t){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var e=this.doc.getAllLines(),n=this.$rowLengthCache,i=0,r=0,o=this.$foldData[r],s=o?o.start.row:1/0,a=e.length,l=0;l<a;l++){if(l>s){if(l=o.end.row+1,l>=a)break;o=this.$foldData[r++],s=o?o.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(e[l])[0]),n[l]>i&&(i=n[l])}this.screenWidth=i}},this.getLine=function(t){return this.doc.getLine(t)},this.getLines=function(t,e){return this.doc.getLines(t,e)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(t){return this.doc.getTextRange(t||this.selection.getRange())},this.insert=function(t,e){return this.doc.insert(t,e)},this.remove=function(t){return this.doc.remove(t)},this.removeFullLines=function(t,e){return this.doc.removeFullLines(t,e)},this.undoChanges=function(t,e){if(t.length){this.$fromUndo=!0;for(var n=null,i=t.length-1;i!=-1;i--){var r=t[i];"doc"==r.group?(this.doc.revertDeltas(r.deltas),n=this.$getUndoSelection(r.deltas,!0,n)):r.deltas.forEach(function(t){this.addFolds(t.folds)},this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!e&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(t,e){if(t.length){this.$fromUndo=!0;for(var n=null,i=0;i<t.length;i++){var r=t[i];"doc"==r.group&&(this.doc.applyDeltas(r.deltas),n=this.$getUndoSelection(r.deltas,!1,n))}return this.$fromUndo=!1,n&&this.$undoSelect&&!e&&this.selection.setSelectionRange(n),n}},this.setUndoSelect=function(t){this.$undoSelect=t},this.$getUndoSelection=function(t,e,n){function i(t){return e?"insert"!==t.action:"insert"===t.action}var r,o,s=t[0],a=!1;i(s)?(r=c.fromPoints(s.start,s.end),a=!0):(r=c.fromPoints(s.start,s.start),a=!1);for(var l=1;l<t.length;l++)s=t[l],i(s)?(o=s.start,r.compare(o.row,o.column)==-1&&r.setStart(o),o=s.end,1==r.compare(o.row,o.column)&&r.setEnd(o),a=!0):(o=s.start,r.compare(o.row,o.column)==-1&&(r=c.fromPoints(s.start,s.start)),a=!1);if(null!=n){0===c.comparePoints(n.start,r.start)&&(n.start.column+=r.end.column-r.start.column,n.end.column+=r.end.column-r.start.column);var u=n.compareRange(r);1==u?r.setStart(n.start):u==-1&&r.setEnd(n.end)}return r},this.replace=function(t,e){return this.doc.replace(t,e)},this.moveText=function(t,e,n){var i=this.getTextRange(t),r=this.getFoldsInRange(t),o=c.fromPoints(e,e);if(!n){this.remove(t);var s=t.start.row-t.end.row,a=s?-t.end.column:t.start.column-t.end.column;a&&(o.start.row==t.end.row&&o.start.column>t.end.column&&(o.start.column+=a),o.end.row==t.end.row&&o.end.column>t.end.column&&(o.end.column+=a)),s&&o.start.row>=t.end.row&&(o.start.row+=s,o.end.row+=s)}if(o.end=this.insert(o.start,i),r.length){var l=t.start,u=o.start,s=u.row-l.row,a=u.column-l.column;this.addFolds(r.map(function(t){return t=t.clone(),t.start.row==l.row&&(t.start.column+=a),t.end.row==l.row&&(t.end.column+=a),t.start.row+=s,t.end.row+=s,t}))}return o},this.indentRows=function(t,e,n){n=n.replace(/\t/g,this.getTabString());for(var i=t;i<=e;i++)this.doc.insertInLine({row:i,column:0},n)},this.outdentRows=function(t){for(var e=t.collapseRows(),n=new c(0,0,0,0),i=this.getTabSize(),r=e.start.row;r<=e.end.row;++r){var o=this.getLine(r);n.start.row=r,n.end.row=r;for(var s=0;s<i&&" "==o.charAt(s);++s);s<i&&"\t"==o.charAt(s)?(n.start.column=s,n.end.column=s+1):(n.start.column=0,n.end.column=s),this.remove(n)}},this.$moveLines=function(t,e,n){if(t=this.getRowFoldStart(t),e=this.getRowFoldEnd(e),n<0){var i=this.getRowFoldStart(t+n);if(i<0)return 0;var r=i-t}else if(n>0){var i=this.getRowFoldEnd(e+n);if(i>this.doc.getLength()-1)return 0;var r=i-e}else{t=this.$clipRowToDocument(t),e=this.$clipRowToDocument(e);var r=e-t+1}var o=new c(t,0,e,Number.MAX_VALUE),s=this.getFoldsInRange(o).map(function(t){return t=t.clone(),t.start.row+=r,t.end.row+=r,t}),a=0==n?this.doc.getLines(t,e):this.doc.removeFullLines(t,e);return this.doc.insertFullLines(t+r,a),s.length&&this.addFolds(s),r},this.moveLinesUp=function(t,e){return this.$moveLines(t,e,-1)},this.moveLinesDown=function(t,e){return this.$moveLines(t,e,1)},this.duplicateLines=function(t,e){return this.$moveLines(t,e,0)},this.$clipRowToDocument=function(t){return Math.max(0,Math.min(t,this.doc.getLength()-1))},this.$clipColumnToRow=function(t,e){return e<0?0:Math.min(this.doc.getLine(t).length,e)},this.$clipPositionToDocument=function(t,e){if(e=Math.max(0,e),t<0)t=0,e=0;else{var n=this.doc.getLength();t>=n?(t=n-1,e=this.doc.getLine(n-1).length):e=Math.min(this.doc.getLine(t).length,e)}return{row:t,column:e}},this.$clipRangeToDocument=function(t){t.start.row<0?(t.start.row=0,t.start.column=0):t.start.column=this.$clipColumnToRow(t.start.row,t.start.column);var e=this.doc.getLength()-1;return t.end.row>e?(t.end.row=e,t.end.column=this.doc.getLine(e).length):t.end.column=this.$clipColumnToRow(t.end.row,t.end.column),t},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(t){if(t!=this.$useWrapMode){if(this.$useWrapMode=t,this.$modified=!0,this.$resetRowCache(0),t){var e=this.getLength();this.$wrapData=Array(e),this.$updateWrapData(0,e-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(t,e){this.$wrapLimitRange.min===t&&this.$wrapLimitRange.max===e||(this.$wrapLimitRange={min:t,max:e},this.$modified=!0,this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(t,e){var n=this.$wrapLimitRange;n.max<0&&(n={min:e,max:e});var i=this.$constrainWrapLimit(t,n.min,n.max);return i!=this.$wrapLimit&&i>1&&(this.$wrapLimit=i,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(t,e,n){return e&&(t=Math.max(e,t)),n&&(t=Math.min(n,t)),t},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(t){this.setWrapLimitRange(t,t)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(t){var e=this.$useWrapMode,n=t.action,i=t.start,r=t.end,o=i.row,s=r.row,a=s-o,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[e?"$wrapData":"$rowLengthCache"].splice(o,a);var c=this.$foldData;l=this.getFoldsInRange(t),this.removeFolds(l);var u=this.getFoldLine(r.row),d=0;if(u){u.addRemoveChars(r.row,r.column,i.column-r.column),u.shiftRow(-a);var h=this.getFoldLine(o);h&&h!==u&&(h.merge(u),u=h),d=c.indexOf(u)+1}for(d;d<c.length;d++){var u=c[d];u.start.row>=r.row&&u.shiftRow(-a)}s=o}else{var f=Array(a);f.unshift(o,0);var p=e?this.$wrapData:this.$rowLengthCache;p.splice.apply(p,f);var c=this.$foldData,u=this.getFoldLine(o),d=0;if(u){var m=u.range.compareInside(i.row,i.column);0==m?(u=u.split(i.row,i.column),u&&(u.shiftRow(a),u.addRemoveChars(s,0,r.column-i.column))):m==-1&&(u.addRemoveChars(o,0,r.column-i.column),u.shiftRow(a)),d=c.indexOf(u)+1}for(d;d<c.length;d++){var u=c[d];u.start.row>=o&&u.shiftRow(a)}}else{a=Math.abs(t.start.column-t.end.column),"remove"===n&&(l=this.getFoldsInRange(t),this.removeFolds(l),a=-a);var u=this.getFoldLine(o);u&&u.addRemoveChars(o,i.column,a)}return e&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,e?this.$updateWrapData(o,s):this.$updateRowLengthCache(o,s),l},this.$updateRowLengthCache=function(t,e,n){this.$rowLengthCache[t]=null,this.$rowLengthCache[e]=null},this.$updateWrapData=function(t,e){var n,i,r=this.doc.getAllLines(),o=this.getTabSize(),s=this.$wrapData,l=this.$wrapLimit,c=t;for(e=Math.min(e,r.length-1);c<=e;)i=this.getFoldLine(c,i),i?(n=[],i.walk(function(t,e,i,o){var s;if(null!=t){s=this.$getDisplayTokens(t,n.length),s[0]=a;for(var l=1;l<s.length;l++)s[l]=u}else s=this.$getDisplayTokens(r[e].substring(o,i),n.length);n=n.concat(s)}.bind(this),i.end.row,r[i.end.row].length+1),s[i.start.row]=this.$computeWrapSplits(n,l,o),c=i.end.row+1):(n=this.$getDisplayTokens(r[c]),s[c]=this.$computeWrapSplits(n,l,o),c++)};var e=1,n=2,a=3,u=4,f=9,p=10,m=11,g=12;this.$computeWrapSplits=function(t,e,i){function r(){var e=0;if(0===y)return e;if(v)for(var n=0;n<t.length;n++){var r=t[n];if(r==p)e+=1;else{if(r!=m){if(r==g)continue;break}e+=i}}return h&&v!==!1&&(e+=i),Math.min(e,y)}function o(e){var n=t.slice(c,e),i=n.length;n.join("").replace(/12/g,function(){i-=1}).replace(/2/g,function(){i-=1}),s.length||(b=r(),s.indent=b),d+=i,s.push(d),c=e}if(0==t.length)return[];for(var s=[],l=t.length,c=0,d=0,h=this.$wrapAsCode,v=this.$indentedSoftWrap,y=e<=Math.max(2*i,8)||v===!1?0:Math.floor(e/2),b=0;l-c>e-b;){var w=c+e-b;if(t[w-1]>=p&&t[w]>=p)o(w);else if(t[w]!=a&&t[w]!=u){for(var A=Math.max(w-(e-(e>>2)),c-1);w>A&&t[w]<a;)w--;if(h){for(;w>A&&t[w]<a;)w--;for(;w>A&&t[w]==f;)w--}else for(;w>A&&t[w]<p;)w--;w>A?o(++w):(w=c+e,t[w]==n&&w--,o(w-b))}else{for(w;w!=c-1&&t[w]!=a;w--);if(w>c){o(w);continue}for(w=c+e;w<t.length&&t[w]==u;w++);if(w==t.length)break;o(w)}}return s},this.$getDisplayTokens=function(i,r){var o,s=[];r=r||0;for(var a=0;a<i.length;a++){var l=i.charCodeAt(a);if(9==l){o=this.getScreenTabSize(s.length+r),s.push(m);for(var c=1;c<o;c++)s.push(g)}else 32==l?s.push(p):l>39&&l<48||l>57&&l<64?s.push(f):l>=4352&&t(l)?s.push(e,n):s.push(e)}return s},this.$getStringScreenWidth=function(e,n,i){if(0==n)return[0,0];null==n&&(n=1/0),i=i||0;var r,o;for(o=0;o<e.length&&(r=e.charCodeAt(o),i+=9==r?this.getScreenTabSize(i):r>=4352&&t(r)?2:1,!(i>n));o++);return[i,o]},this.lineWidgets=null,this.getRowLength=function(t){if(this.lineWidgets)var e=this.lineWidgets[t]&&this.lineWidgets[t].rowCount||0;else e=0;return this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1+e:1+e},this.getRowLineCount=function(t){return this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1:1},this.getRowWrapIndent=function(t){if(this.$useWrapMode){var e=this.screenToDocumentPosition(t,Number.MAX_VALUE),n=this.$wrapData[e.row];return n.length&&n[0]<e.column?n.indent:0}return 0},this.getScreenLastRowColumn=function(t){var e=this.screenToDocumentPosition(t,Number.MAX_VALUE);return this.documentToScreenColumn(e.row,e.column)},this.getDocumentLastRowColumn=function(t,e){var n=this.documentToScreenRow(t,e);return this.getScreenLastRowColumn(n)},this.getDocumentLastRowColumnPosition=function(t,e){var n=this.documentToScreenRow(t,e);return this.screenToDocumentPosition(n,Number.MAX_VALUE/10)},this.getRowSplitData=function(t){return this.$useWrapMode?this.$wrapData[t]:void 0},this.getScreenTabSize=function(t){return this.$tabSize-t%this.$tabSize},this.screenToDocumentRow=function(t,e){return this.screenToDocumentPosition(t,e).row},this.screenToDocumentColumn=function(t,e){return this.screenToDocumentPosition(t,e).column},this.screenToDocumentPosition=function(t,e){if(t<0)return{row:0,column:0};var n,i,r=0,o=0,s=0,a=0,l=this.$screenRowCache,c=this.$getRowCacheIndex(l,t),u=l.length;if(u&&c>=0)var s=l[c],r=this.$docRowCache[c],d=t>l[u-1];else var d=!u;for(var h=this.getLength()-1,f=this.getNextFoldLine(r),p=f?f.start.row:1/0;s<=t&&(a=this.getRowLength(r),!(s+a>t||r>=h));)s+=a,r++,r>p&&(r=f.end.row+1,f=this.getNextFoldLine(r,f),p=f?f.start.row:1/0),d&&(this.$docRowCache.push(r),this.$screenRowCache.push(s));if(f&&f.start.row<=r)n=this.getFoldDisplayLine(f),r=f.start.row;else{if(s+a<=t||r>h)return{row:h,column:this.getLine(h).length};n=this.getLine(r),f=null}var m=0;if(this.$useWrapMode){var g=this.$wrapData[r];if(g){var v=Math.floor(t-s);i=g[v],v>0&&g.length&&(m=g.indent,o=g[v-1]||g[g.length-1],n=n.substring(o))}}return o+=this.$getStringScreenWidth(n,e-m)[1],this.$useWrapMode&&o>=i&&(o=i-1),f?f.idxToPosition(o):{row:r,column:o}},this.documentToScreenPosition=function(t,e){if("undefined"==typeof e)var n=this.$clipPositionToDocument(t.row,t.column);else n=this.$clipPositionToDocument(t,e);t=n.row,e=n.column;var i=0,r=null,o=null;o=this.getFoldAt(t,e,1),o&&(t=o.start.row,e=o.start.column);var s,a=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,t),u=l.length;if(u&&c>=0)var a=l[c],i=this.$screenRowCache[c],d=t>l[u-1];else var d=!u;for(var h=this.getNextFoldLine(a),f=h?h.start.row:1/0;a<t;){if(a>=f){if(s=h.end.row+1,s>t)break;h=this.getNextFoldLine(s,h),f=h?h.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,d&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var p="";h&&a>=f?(p=this.getFoldDisplayLine(h,t,e),r=h.start.row):(p=this.getLine(t).substring(0,e),r=t);var m=0;if(this.$useWrapMode){var g=this.$wrapData[r];if(g){for(var v=0;p.length>=g[v];)i++,v++;p=p.substring(g[v-1]||0,p.length),m=v>0?g.indent:0}}return{row:i,column:m+this.$getStringScreenWidth(p)[0]}},this.documentToScreenColumn=function(t,e){return this.documentToScreenPosition(t,e).column},this.documentToScreenRow=function(t,e){return this.documentToScreenPosition(t,e).row},this.getScreenLength=function(){var t=0,e=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,i=0,r=0,e=this.$foldData[r++],o=e?e.start.row:1/0;i<n;){var s=this.$wrapData[i];t+=s?s.length+1:1,i++,i>o&&(i=e.end.row+1,e=this.$foldData[r++],o=e?e.start.row:1/0)}else{t=this.getLength();for(var a=this.$foldData,r=0;r<a.length;r++)e=a[r],t-=e.end.row-e.start.row}return this.lineWidgets&&(t+=this.$getWidgetScreenLength()),t},this.$setFontMetrics=function(t){this.$enableVarChar&&(this.$getStringScreenWidth=function(e,n,i){if(0===n)return[0,0];n||(n=1/0),i=i||0;var r,o;for(o=0;o<e.length&&(r=e.charAt(o),i+="\t"===r?this.getScreenTabSize(i):t.getCharacterWidth(r),!(i>n));o++);return[i,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()}}).call(f.prototype),t("./edit_session/folding").Folding.call(f.prototype),t("./edit_session/bracket_match").BracketMatch.call(f.prototype),o.defineOptions(f.prototype,"session",{wrap:{set:function(t){if(t&&"off"!=t?"free"==t?t=!0:"printMargin"==t?t=-1:"string"==typeof t&&(t=parseInt(t,10)||!1):t=!1,this.$wrap!=t)if(this.$wrap=t,t){var e="number"==typeof t?t:null;this.setWrapLimitRange(e,e),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(t){t="auto"==t?"text"!=this.$mode.type:"text"!=t,t!=this.$wrapAsCode&&(this.$wrapAsCode=t,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(t){this.$useWorker=t,this.$stopWorker(),t&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(t){isNaN(t)||this.$tabSize===t||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=t,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},overwrite:{set:function(t){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(t){this.doc.setNewLineMode(t)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(t){this.setMode(t)},get:function(){return this.$modeId}}}),e.EditSession=f}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(t,e,n){var i=t("./lib/lang"),r=t("./lib/oop"),o=t("./range").Range,s=function(){this.$options={}};(function(){this.set=function(t){return r.mixin(this.$options,t),this},this.getOptions=function(){return i.copyObject(this.$options)},this.setOptions=function(t){this.$options=t},this.find=function(t){var e=this.$options,n=this.$matchIterator(t,e);if(!n)return!1;var i=null;return n.forEach(function(t,n,r){if(t.start)i=t;else{var s=t.offset+(r||0);if(i=new o(n,s,n,s+t.length),!t.length&&e.start&&e.start.start&&0!=e.skipCurrent&&i.isEqual(e.start))return i=null,!1}return!0}),i},this.findAll=function(t){var e=this.$options;if(!e.needle)return[];this.$assembleRegExp(e);var n=e.range,r=n?t.getLines(n.start.row,n.end.row):t.doc.getAllLines(),s=[],a=e.re;if(e.$isMultiLine){var l,c=a.length,u=r.length-c;t:for(var d=a.offset||0;d<=u;d++){for(var h=0;h<c;h++)if(r[d+h].search(a[h])==-1)continue t;var f=r[d],p=r[d+c-1],m=f.length-f.match(a[0])[0].length,g=p.match(a[c-1])[0].length;l&&l.end.row===d&&l.end.column>m||(s.push(l=new o(d,m,d+c-1,g)),c>2&&(d=d+c-2))}}else for(var v=0;v<r.length;v++)for(var y=i.getMatchOffsets(r[v],a),h=0;h<y.length;h++){var b=y[h];s.push(new o(v,b.offset,v,b.offset+b.length))}if(n){for(var w=n.start.column,A=n.start.column,v=0,h=s.length-1;v<h&&s[v].start.column<w&&s[v].start.row==n.start.row;)v++;for(;v<h&&s[h].end.column>A&&s[h].end.row==n.end.row;)h--;for(s=s.slice(v,h+1),v=0,h=s.length;v<h;v++)s[v].start.row+=n.start.row,s[v].end.row+=n.start.row}return s},this.replace=function(t,e){var n=this.$options,i=this.$assembleRegExp(n);if(n.$isMultiLine)return e;if(i){var r=i.exec(t);if(!r||r[0].length!=t.length)return null;if(e=t.replace(i,e),n.preserveCase){e=e.split("");for(var o=Math.min(t.length,t.length);o--;){var s=t[o];s&&s.toLowerCase()!=s?e[o]=e[o].toUpperCase():e[o]=e[o].toLowerCase()}e=e.join("")}return e}},this.$matchIterator=function(t,e){var n=this.$assembleRegExp(e);if(!n)return!1;var r;if(e.$isMultiLine)var s=n.length,a=function(e,i,a){var l=e.search(n[0]);if(l!=-1){for(var c=1;c<s;c++)if(e=t.getLine(i+c),e.search(n[c])==-1)return;var u=e.match(n[s-1])[0].length,d=new o(i,l,i+s-1,u);return 1==n.offset?(d.start.row--,d.start.column=Number.MAX_VALUE):a&&(d.start.column+=a),
|
|
85
|
-
!!r(d)||void 0}};else if(e.backwards)var a=function(t,e,o){for(var s=i.getMatchOffsets(t,n),a=s.length-1;a>=0;a--)if(r(s[a],e,o))return!0};else var a=function(t,e,o){for(var s=i.getMatchOffsets(t,n),a=0;a<s.length;a++)if(r(s[a],e,o))return!0};var l=this.$lineIterator(t,e);return{forEach:function(t){r=t,l.forEach(a)}}},this.$assembleRegExp=function(t,e){if(t.needle instanceof RegExp)return t.re=t.needle;var n=t.needle;if(!t.needle)return t.re=!1;t.regExp||(n=i.escapeRegExp(n)),t.wholeWord&&(n="\\b"+n+"\\b");var r=t.caseSensitive?"gm":"gmi";if(t.$isMultiLine=!e&&/[\n\r]/.test(n),t.$isMultiLine)return t.re=this.$assembleMultilineRegExp(n,r);try{var o=new RegExp(n,r)}catch(t){o=!1}return t.re=o},this.$assembleMultilineRegExp=function(t,e){for(var n=t.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),i=[],r=0;r<n.length;r++)try{i.push(new RegExp(n[r],e))}catch(t){return!1}return""==n[0]?(i.shift(),i.offset=1):i.offset=0,i},this.$lineIterator=function(t,e){var n=1==e.backwards,i=0!=e.skipCurrent,r=e.range,o=e.start;o||(o=r?r[n?"end":"start"]:t.selection.getRange()),o.start&&(o=o[i!=n?"end":"start"]);var s=r?r.start.row:0,a=r?r.end.row:t.getLength()-1,l=n?function(n){var i=o.row,r=t.getLine(i).substring(0,o.column);if(!n(r,i)){for(i--;i>=s;i--)if(n(t.getLine(i),i))return;if(0!=e.wrap)for(i=a,s=o.row;i>=s;i--)if(n(t.getLine(i),i))return}}:function(n){var i=o.row,r=t.getLine(i).substr(o.column);if(!n(r,i,o.column)){for(i+=1;i<=a;i++)if(n(t.getLine(i),i))return;if(0!=e.wrap)for(i=s,a=o.row;i<=a;i++)if(n(t.getLine(i),i))return}};return{forEach:l}}}).call(s.prototype),e.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(t,e,n){function i(t,e){this.platform=e||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=!0}function r(t,e){i.call(this,t,e),this.$singleCommand=!1}var o=t("../lib/keys"),s=t("../lib/useragent"),a=o.KEY_MODS;r.prototype=i.prototype,function(){function t(t){return"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&t.bindKey&&t.bindKey.position||0}this.addCommand=function(t){this.commands[t.name]&&this.removeCommand(t),this.commands[t.name]=t,t.bindKey&&this._buildKeyHash(t)},this.removeCommand=function(t,e){var n=t&&("string"==typeof t?t:t.name);t=this.commands[n],e||delete this.commands[n];var i=this.commandKeyBinding;for(var r in i){var o=i[r];if(o==t)delete i[r];else if(Array.isArray(o)){var s=o.indexOf(t);s!=-1&&(o.splice(s,1),1==o.length&&(i[r]=o[0]))}}},this.bindKey=function(t,e,n){if("object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&t&&(void 0==n&&(n=t.position),t=t[this.platform]),t)return"function"==typeof e?this.addCommand({exec:e,bindKey:t,name:e.name||t}):void t.split("|").forEach(function(t){var i="";if(t.indexOf(" ")!=-1){var r=t.split(/\s+/);t=r.pop(),r.forEach(function(t){var e=this.parseKeys(t),n=a[e.hashId]+e.key;i+=(i?" ":"")+n,this._addCommandToBinding(i,"chainKeys")},this),i+=" "}var o=this.parseKeys(t),s=a[o.hashId]+o.key;this._addCommandToBinding(i+s,e,n)},this)},this._addCommandToBinding=function(e,n,i){var r,o=this.commandKeyBinding;if(n)if(!o[e]||this.$singleCommand)o[e]=n;else{Array.isArray(o[e])?(r=o[e].indexOf(n))!=-1&&o[e].splice(r,1):o[e]=[o[e]],"number"!=typeof i&&(i=i||n.isDefault?-100:t(n));var s=o[e];for(r=0;r<s.length;r++){var a=s[r],l=t(a);if(l>i)break}s.splice(r,0,n)}else delete o[e]},this.addCommands=function(t){t&&(0,_keys2.default)(t).forEach(function(e){var n=t[e];if(n){if("string"==typeof n)return this.bindKey(n,e);"function"==typeof n&&(n={exec:n}),"object"===("undefined"==typeof n?"undefined":(0,_typeof3.default)(n))&&(n.name||(n.name=e),this.addCommand(n))}},this)},this.removeCommands=function(t){(0,_keys2.default)(t).forEach(function(e){this.removeCommand(t[e])},this)},this.bindKeys=function(t){(0,_keys2.default)(t).forEach(function(e){this.bindKey(e,t[e])},this)},this._buildKeyHash=function(t){this.bindKey(t.bindKey,t)},this.parseKeys=function(t){var e=t.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(t){return t}),n=e.pop(),i=o[n];if(o.FUNCTION_KEYS[i])n=o.FUNCTION_KEYS[i].toLowerCase();else{if(!e.length)return{key:n,hashId:-1};if(1==e.length&&"shift"==e[0])return{key:n.toUpperCase(),hashId:-1}}for(var r=0,s=e.length;s--;){var a=o.KEY_MODS[e[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+e[s]+" in "+t),!1;r|=a}return{key:n,hashId:r}},this.findKeyCommand=function(t,e){var n=a[t]+e;return this.commandKeyBinding[n]},this.handleKeyboard=function(t,e,n,i){if(!(i<0)){var r=a[e]+n,o=this.commandKeyBinding[r];return t.$keyChain&&(t.$keyChain+=" "+r,o=this.commandKeyBinding[t.$keyChain]||o),!o||"chainKeys"!=o&&"chainKeys"!=o[o.length-1]?(t.$keyChain&&(e&&4!=e||1!=n.length?(e==-1||i>0)&&(t.$keyChain=""):t.$keyChain=t.$keyChain.slice(0,-r.length-1)),{command:o}):(t.$keyChain=t.$keyChain||r,{command:"null"})}},this.getStatusText=function(t,e){return e.$keyChain||""}}.call(i.prototype),e.HashHandler=i,e.MultiHashHandler=r}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(t,e,n){var i=t("../lib/oop"),r=t("../keyboard/hash_handler").MultiHashHandler,o=t("../lib/event_emitter").EventEmitter,s=function(t,e){r.call(this,e,t),this.byName=this.commands,this.setDefaultHandler("exec",function(t){return t.command.exec(t.editor,t.args||{})})};i.inherits(s,r),function(){i.implement(this,o),this.exec=function(t,e,n){if(Array.isArray(t)){for(var i=t.length;i--;)if(this.exec(t[i],e,n))return!0;return!1}if("string"==typeof t&&(t=this.commands[t]),!t)return!1;if(e&&e.$readOnly&&!t.readOnly)return!1;var r={editor:e,command:t,args:n};return r.returnValue=this._emit("exec",r),this._signal("afterExec",r),r.returnValue!==!1},this.toggleRecording=function(t){if(!this.$inReplay)return t&&t._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(t){this.macro.push([t.command,t.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(t){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(t);try{this.$inReplay=!0,this.macro.forEach(function(e){"string"==typeof e?this.exec(e,t):this.exec(e[0],t,e[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(t){return t.map(function(t){return"string"!=typeof t[0]&&(t[0]=t[0].name),t[1]||(t=t[0]),t})}}.call(s.prototype),e.CommandManager=s}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(t,e,n){function i(t,e){return{win:t,mac:e}}var r=t("../lib/lang"),o=t("../config"),s=t("../range").Range;e.commands=[{name:"showSettingsMenu",bindKey:i("Ctrl-,","Command-,"),exec:function(t){o.loadModule("ace/ext/settings_menu",function(e){e.init(t),t.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",bindKey:i("Alt-E","Ctrl-E"),exec:function(t){o.loadModule("ace/ext/error_marker",function(e){e.showErrorMarker(t,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:i("Alt-Shift-E","Ctrl-Shift-E"),exec:function(t){o.loadModule("ace/ext/error_marker",function(e){e.showErrorMarker(t,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:i("Ctrl-A","Command-A"),exec:function(t){t.selectAll()},readOnly:!0},{name:"centerselection",bindKey:i(null,"Ctrl-L"),exec:function(t){t.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:i("Ctrl-L","Command-L"),exec:function(t){var e=parseInt(prompt("Enter line number:"),10);isNaN(e)||t.gotoLine(e)},readOnly:!0},{name:"fold",bindKey:i("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(t){t.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:i("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(t){t.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:i("F2","F2"),exec:function(t){t.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:i("Alt-F2","Alt-F2"),exec:function(t){t.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:i(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:i("Alt-0","Command-Option-0"),exec:function(t){t.session.foldAll(),t.session.unfold(t.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:i("Alt-Shift-0","Command-Option-Shift-0"),exec:function(t){t.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:i("Ctrl-K","Command-G"),exec:function(t){t.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:i("Ctrl-Shift-K","Command-Shift-G"),exec:function(t){t.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:i("Alt-K","Ctrl-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:i("Alt-Shift-K","Ctrl-Shift-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findPrevious()},readOnly:!0},{name:"find",bindKey:i("Ctrl-F","Command-F"),exec:function(t){o.loadModule("ace/ext/searchbox",function(e){e.Search(t)})},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(t){t.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:i("Ctrl-Shift-Home","Command-Shift-Up"),exec:function(t){t.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:i("Ctrl-Home","Command-Home|Command-Up"),exec:function(t){t.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:i("Shift-Up","Shift-Up"),exec:function(t){t.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:i("Up","Up|Ctrl-P"),exec:function(t,e){t.navigateUp(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:i("Ctrl-Shift-End","Command-Shift-Down"),exec:function(t){t.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:i("Ctrl-End","Command-End|Command-Down"),exec:function(t){t.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:i("Shift-Down","Shift-Down"),exec:function(t){t.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:i("Down","Down|Ctrl-N"),exec:function(t,e){t.navigateDown(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:i("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(t){t.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:i("Ctrl-Left","Option-Left"),exec:function(t){t.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:i("Alt-Shift-Left","Command-Shift-Left"),exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:i("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(t){t.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:i("Shift-Left","Shift-Left"),exec:function(t){t.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:i("Left","Left|Ctrl-B"),exec:function(t,e){t.navigateLeft(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:i("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(t){t.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:i("Ctrl-Right","Option-Right"),exec:function(t){t.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:i("Alt-Shift-Right","Command-Shift-Right"),exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:i("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(t){t.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:i("Shift-Right","Shift-Right"),exec:function(t){t.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:i("Right","Right|Ctrl-F"),exec:function(t,e){t.navigateRight(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(t){t.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:i(null,"Option-PageDown"),exec:function(t){t.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:i("PageDown","PageDown|Ctrl-V"),exec:function(t){t.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(t){t.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:i(null,"Option-PageUp"),exec:function(t){t.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(t){t.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:i("Ctrl-Up",null),exec:function(t){t.renderer.scrollBy(0,-2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:i("Ctrl-Down",null),exec:function(t){t.renderer.scrollBy(0,2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:i("Ctrl-Alt-E","Command-Option-E"),exec:function(t){t.commands.toggleRecording(t)},readOnly:!0},{name:"replaymacro",bindKey:i("Ctrl-Shift-E","Command-Shift-E"),exec:function(t){t.commands.replay(t)},readOnly:!0},{name:"jumptomatching",bindKey:i("Ctrl-P","Ctrl-P"),exec:function(t){t.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:i("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(t){t.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:i("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(t){t.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:i(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(t){},readOnly:!0},{name:"cut",exec:function(t){var e=t.getSelectionRange();t._emit("cut",e),t.selection.isEmpty()||(t.session.remove(e),t.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(t,e){t.$handlePaste(e)},scrollIntoView:"cursor"},{name:"removeline",bindKey:i("Ctrl-D","Command-D"),exec:function(t){t.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:i("Ctrl-Shift-D","Command-Shift-D"),exec:function(t){t.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:i("Ctrl-Alt-S","Command-Alt-S"),exec:function(t){t.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:i("Ctrl-/","Command-/"),exec:function(t){t.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:i("Ctrl-Shift-/","Command-Shift-/"),exec:function(t){t.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:i("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(t){t.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:i("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(t){t.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:i("Ctrl-H","Command-Option-F"),exec:function(t){o.loadModule("ace/ext/searchbox",function(e){e.Search(t,!0)})}},{name:"undo",bindKey:i("Ctrl-Z","Command-Z"),exec:function(t){t.undo()}},{name:"redo",bindKey:i("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(t){t.redo()}},{name:"copylinesup",bindKey:i("Alt-Shift-Up","Command-Option-Up"),exec:function(t){t.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:i("Alt-Up","Option-Up"),exec:function(t){t.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:i("Alt-Shift-Down","Command-Option-Down"),exec:function(t){t.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:i("Alt-Down","Option-Down"),exec:function(t){t.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:i("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(t){t.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:i("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(t){t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:i("Shift-Delete",null),exec:function(t){return!!t.selection.isEmpty()&&void t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:i("Alt-Backspace","Command-Backspace"),exec:function(t){t.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:i("Alt-Delete","Ctrl-K"),exec:function(t){t.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:i("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(t){t.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:i("Ctrl-Delete","Alt-Delete"),exec:function(t){t.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:i("Shift-Tab","Shift-Tab"),exec:function(t){t.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:i("Tab","Tab"),exec:function(t){t.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:i("Ctrl-[","Ctrl-["),exec:function(t){t.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:i("Ctrl-]","Ctrl-]"),exec:function(t){t.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(t,e){t.insert(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(t,e){t.insert(r.stringRepeat(e.text||"",e.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:i(null,"Ctrl-O"),exec:function(t){t.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:i("Ctrl-T","Ctrl-T"),exec:function(t){t.transposeLetters()},multiSelectAction:function(t){t.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:i("Ctrl-U","Ctrl-U"),exec:function(t){t.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:i("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(t){t.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:i("Ctrl-Shift-L","Command-Shift-L"),exec:function(t){var e=t.selection.getRange();e.start.column=e.end.column=0,e.end.row++,t.selection.setRange(e,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:i(null,null),exec:function(t){for(var e=t.selection.isBackwards(),n=e?t.selection.getSelectionLead():t.selection.getSelectionAnchor(),i=e?t.selection.getSelectionAnchor():t.selection.getSelectionLead(),o=t.session.doc.getLine(n.row).length,a=t.session.doc.getTextRange(t.selection.getRange()),l=a.replace(/\n\s*/," ").length,c=t.session.doc.getLine(n.row),u=n.row+1;u<=i.row+1;u++){var d=r.stringTrimLeft(r.stringTrimRight(t.session.doc.getLine(u)));0!==d.length&&(d=" "+d),c+=d}i.row+1<t.session.doc.getLength()-1&&(c+=t.session.doc.getNewLineCharacter()),t.clearSelection(),t.session.doc.replace(new s(n.row,0,i.row+2,0),c),l>0?(t.selection.moveCursorTo(n.row,n.column),t.selection.selectTo(n.row,n.column+l)):(o=t.session.doc.getLine(n.row).length>o?o+1:o,t.selection.moveCursorTo(n.row,o))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:i(null,null),exec:function(t){var e=t.session.doc.getLength()-1,n=t.session.doc.getLine(e).length,i=t.selection.rangeList.ranges,r=[];i.length<1&&(i=[t.selection.getRange()]);for(var o=0;o<i.length;o++)o==i.length-1&&(i[o].end.row===e&&i[o].end.column===n||r.push(new s(i[o].end.row,i[o].end.column,e,n))),0===o?0===i[o].start.row&&0===i[o].start.column||r.push(new s(0,0,i[o].start.row,i[o].start.column)):r.push(new s(i[o-1].end.row,i[o-1].end.column,i[o].start.row,i[o].start.column));t.exitMultiSelectMode(),t.clearSelection();for(var o=0;o<r.length;o++)t.selection.addRange(r[o],!1)},readOnly:!0,scrollIntoView:"none"}]}),ace.define("ace/editor",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config","ace/token_iterator"],function(t,e,n){t("./lib/fixoldbrowsers");var i=t("./lib/oop"),r=t("./lib/dom"),o=t("./lib/lang"),s=t("./lib/useragent"),a=t("./keyboard/textinput").TextInput,l=t("./mouse/mouse_handler").MouseHandler,c=t("./mouse/fold_handler").FoldHandler,u=t("./keyboard/keybinding").KeyBinding,d=t("./edit_session").EditSession,h=t("./search").Search,f=t("./range").Range,p=t("./lib/event_emitter").EventEmitter,m=t("./commands/command_manager").CommandManager,g=t("./commands/default_commands").commands,v=t("./config"),y=t("./token_iterator").TokenIterator,b=function(t,e){var n=t.getContainerElement();this.container=n,this.renderer=t,this.commands=new m(s.isMac?"mac":"win",g),this.textInput=new a(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.keyBinding=new u(this),this.$mouseHandler=new l(this),new c(this),this.$blockScrolling=0,this.$search=(new h).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=o.delayedCall(function(){this._signal("input",{}),this.session&&this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(t,e){e._$emitInputEvent.schedule(31)}),this.setSession(e||new d("")),v.resetOptions(this),v._signal("editor",this)};(function(){i.implement(this,p),this.$initOperationListeners=function(){this.selections=[],this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=o.delayedCall(this.endOperation.bind(this)),this.on("change",function(){this.curOp||this.startOperation(),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||this.startOperation(),this.curOp.selectionChanged=!0}.bind(this),!0)},this.curOp=null,this.prevOp={},this.startOperation=function(t){if(this.curOp){if(!t||this.curOp.command)return;this.prevOp=this.curOp}t||(this.previousCommand=null,t={}),this.$opResetTimer.schedule(),this.curOp={command:t.command||{},args:t.args,scrollTop:this.renderer.scrollTop},this.curOp.command.name&&void 0!==this.curOp.command.scrollIntoView&&this.$blockScrolling++},this.endOperation=function(t){if(this.curOp){if(t&&t.returnValue===!1)return this.curOp=null;this._signal("beforeEndOperation");var e=this.curOp.command;e.name&&this.$blockScrolling>0&&this.$blockScrolling--;var n=e&&e.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var i=this.selection.getRange(),r=this.renderer.layerConfig;(i.start.row>=r.lastRow||i.end.row<=r.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(t){if(this.$mergeUndoDeltas){var e=this.prevOp,n=this.$mergeableCommands,i=e.command&&t.command.name==e.command.name;if("insertstring"==t.command.name){var r=t.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),i=i&&this.mergeNextCommand&&(!/\s/.test(r)||/\s/.test(e.args)),this.mergeNextCommand=!0}else i=i&&n.indexOf(t.command.name)!==-1;"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(i=!1),i?this.session.mergeUndoDeltas=!0:n.indexOf(t.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(t,e){if(t&&"string"==typeof t){this.$keybindingId=t;var n=this;v.loadModule(["keybinding",t],function(i){n.$keybindingId==t&&n.keyBinding.setKeyboardHandler(i&&i.handler),e&&e()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(t),e&&e()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(t){if(this.session!=t){this.curOp&&this.endOperation(),this.curOp={};var e=this.session;if(e){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=t,t?(this.$onDocumentChange=this.onDocumentChange.bind(this),t.on("change",this.$onDocumentChange),this.renderer.setSession(t),this.$onChangeMode=this.onChangeMode.bind(this),t.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),t.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),t.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),t.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),t.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),t.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=t.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(t)),this._signal("changeSession",{session:t,oldSession:e}),this.curOp=null,e&&e._signal("changeEditor",{oldEditor:this}),t&&t._signal("changeEditor",{editor:this})}},this.getSession=function(){return this.session},this.setValue=function(t,e){return this.session.doc.setValue(t),e?1==e?this.navigateFileEnd():e==-1&&this.navigateFileStart():this.selectAll(),t},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(t){this.renderer.onResize(t)},this.setTheme=function(t,e){this.renderer.setTheme(t,e)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(t){this.renderer.setStyle(t)},this.unsetStyle=function(t){this.renderer.unsetStyle(t)},this.getFontSize=function(){return this.getOption("fontSize")||r.computedStyle(this.container,"fontSize")},this.setFontSize=function(t){this.setOption("fontSize",t)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var t=this;this.$highlightPending=!0,setTimeout(function(){t.$highlightPending=!1;var e=t.session;if(e&&e.bgTokenizer){var n=e.findMatchingBracket(t.getCursorPosition());if(n)var i=new f(n.row,n.column,n.row,n.column+1);else if(e.$mode.getMatching)var i=e.$mode.getMatching(t.session);i&&(e.$bracketHighlight=e.addMarker(i,"ace_bracket","text"))}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var t=this;this.$highlightTagPending=!0,setTimeout(function(){t.$highlightTagPending=!1;var e=t.session;if(e&&e.bgTokenizer){var n=t.getCursorPosition(),i=new y(t.session,n.row,n.column),r=i.getCurrentToken();if(!r||!/\b(?:tag-open|tag-name)/.test(r.type))return e.removeMarker(e.$tagHighlight),void(e.$tagHighlight=null);if(r.type.indexOf("tag-open")==-1||(r=i.stepForward())){var o=r.value,s=0,a=i.stepBackward();if("<"==a.value){do a=r,r=i.stepForward(),r&&r.value===o&&r.type.indexOf("tag-name")!==-1&&("<"===a.value?s++:"</"===a.value&&s--);while(r&&s>=0)}else{do r=a,a=i.stepBackward(),r&&r.value===o&&r.type.indexOf("tag-name")!==-1&&("<"===a.value?s++:"</"===a.value&&s--);while(a&&s<=0);i.stepForward()}if(!r)return e.removeMarker(e.$tagHighlight),void(e.$tagHighlight=null);var l=i.getCurrentTokenRow(),c=i.getCurrentTokenColumn(),u=new f(l,c,l,c+r.value.length);e.$tagHighlight&&0!==u.compareRange(e.$backMarkers[e.$tagHighlight].range)&&(e.removeMarker(e.$tagHighlight),
|
|
86
|
-
e.$tagHighlight=null),u&&!e.$tagHighlight&&(e.$tagHighlight=e.addMarker(u,"ace_bracket","text"))}}},50)}},this.focus=function(){var t=this;setTimeout(function(){t.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(t){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",t))},this.onBlur=function(t){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",t))},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(t){var e=this.session.$useWrapMode,n=t.start.row==t.end.row?t.end.row:1/0;this.renderer.updateLines(t.start.row,n,e),this._signal("change",t),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(t){var e=t.data;this.renderer.updateLines(e.first,e.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||(v.warn("Automatically scrolling cursor into view after selection change","this will be disabled in the next version","set editor.$blockScrolling = Infinity to disable this message"),this.renderer.scrollCursorIntoView()),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine(),this._signal("changeSelection")},this.$updateHighlightActiveLine=function(){var t,e=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(t=this.getCursorPosition()),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(t=!1)),e.$highlightLineMarker&&!t)e.removeMarker(e.$highlightLineMarker.id),e.$highlightLineMarker=null;else if(!e.$highlightLineMarker&&t){var n=new f(t.row,t.column,t.row,1/0);n.id=e.addMarker(n,"ace_active-line","screenLine"),e.$highlightLineMarker=n}else t&&(e.$highlightLineMarker.start.row=t.row,e.$highlightLineMarker.end.row=t.row,e.$highlightLineMarker.start.column=t.column,e._signal("changeBackMarker"))},this.onSelectionChange=function(t){var e=this.session;if(e.$selectionMarker&&e.removeMarker(e.$selectionMarker),e.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),i=this.getSelectionStyle();e.$selectionMarker=e.addMarker(n,"ace_selection",i)}var r=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(r),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var t=this.session,e=this.getSelectionRange();if(!e.isEmpty()&&!e.isMultiLine()){var n=e.start.column-1,i=e.end.column+1,r=t.getLine(e.start.row),o=r.length,s=r.substring(Math.max(n,0),Math.min(i,o));if(!(n>=0&&/^[\w\d]/.test(s)||i<=o&&/[\w\d]$/.test(s))&&(s=r.substring(e.start.column,e.end.column),/^[\w\d]+$/.test(s))){var a=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:s});return a}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(t){this.renderer.updateText(),this._emit("changeMode",t)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var t=this.getSelectedText();return this._signal("copy",t),t},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(t,e){var n={text:t,event:e};this.commands.exec("paste",this,n)},this.$handlePaste=function(t){"string"==typeof t&&(t={text:t}),this._signal("paste",t);var e=t.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(e);else{var n=e.split(/\r\n|\r|\n/),i=this.selection.rangeList.ranges;if(n.length>i.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,e);for(var r=i.length;r--;){var o=i[r];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,n[r])}}},this.execCommand=function(t,e){return this.commands.exec(t,this,e)},this.insert=function(t,e){var n=this.session,i=n.getMode(),r=this.getCursorPosition();if(this.getBehavioursEnabled()&&!e){var o=i.transformAction(n.getState(r.row),"insertion",this,n,t);o&&(t!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),t=o.text)}if("\t"==t&&(t=this.session.getTabString()),this.selection.isEmpty()){if(this.session.getOverwrite()){var s=new f.fromPoints(r,r);s.end.column+=t.length,this.session.remove(s)}}else{var s=this.getSelectionRange();r=this.session.remove(s),this.clearSelection()}if("\n"==t||"\r\n"==t){var a=n.getLine(r.row);if(r.column>a.search(/\S|$/)){var l=a.substr(r.column).search(/\S|$/);n.doc.removeInLine(r.row,r.column,r.column+l)}}this.clearSelection();var c=r.column,u=n.getState(r.row),a=n.getLine(r.row),d=i.checkOutdent(u,a,t);n.insert(r,t);if(o&&o.selection&&(2==o.selection.length?this.selection.setSelectionRange(new f(r.row,c+o.selection[0],r.row,c+o.selection[1])):this.selection.setSelectionRange(new f(r.row+o.selection[0],o.selection[1],r.row+o.selection[2],o.selection[3]))),n.getDocument().isNewLine(t)){var h=i.getNextLineIndent(u,a.slice(0,r.column),n.getTabString());n.insert({row:r.row+1,column:0},h)}d&&i.autoOutdent(u,n,r.row)},this.onTextInput=function(t){this.keyBinding.onTextInput(t)},this.onCommandKey=function(t,e,n){this.keyBinding.onCommandKey(t,e,n)},this.setOverwrite=function(t){this.session.setOverwrite(t)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(t){this.setOption("scrollSpeed",t)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(t){this.setOption("dragDelay",t)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(t){this.setOption("selectionStyle",t)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(t){this.setOption("highlightActiveLine",t)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(t){this.setOption("highlightGutterLine",t)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(t){this.setOption("highlightSelectedWord",t)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(t){this.renderer.setAnimatedScroll(t)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(t){this.renderer.setShowInvisibles(t)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(t){this.renderer.setDisplayIndentGuides(t)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(t){this.renderer.setShowPrintMargin(t)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(t){this.renderer.setPrintMarginColumn(t)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(t){this.setOption("readOnly",t)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(t){this.setOption("behavioursEnabled",t)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(t){this.setOption("wrapBehavioursEnabled",t)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(t){this.setOption("showFoldWidgets",t)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(t){this.setOption("fadeFoldWidgets",t)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(t){this.selection.isEmpty()&&("left"==t?this.selection.selectLeft():this.selection.selectRight());var e=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,i=n.getState(e.start.row),r=n.getMode().transformAction(i,"deletion",this,n,e);if(0===e.end.column){var o=n.getTextRange(e);if("\n"==o[o.length-1]){var s=n.getLine(e.end.row);/^\s+$/.test(s)&&(e.end.column=s.length)}}r&&(e=r)}this.session.remove(e),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var t=this.getSelectionRange();t.start.column==t.end.column&&t.start.row==t.end.row&&(t.end.column=0,t.end.row++),this.session.remove(t),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var t=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(t)},this.transposeLetters=function(){if(this.selection.isEmpty()){var t=this.getCursorPosition(),e=t.column;if(0!==e){var n,i,r=this.session.getLine(t.row);e<r.length?(n=r.charAt(e)+r.charAt(e-1),i=new f(t.row,e-1,t.row,e+1)):(n=r.charAt(e-1)+r.charAt(e-2),i=new f(t.row,e-2,t.row,e)),this.session.replace(i,n)}}},this.toLowerCase=function(){var t=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var e=this.getSelectionRange(),n=this.session.getTextRange(e);this.session.replace(e,n.toLowerCase()),this.selection.setSelectionRange(t)},this.toUpperCase=function(){var t=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var e=this.getSelectionRange(),n=this.session.getTextRange(e);this.session.replace(e,n.toUpperCase()),this.selection.setSelectionRange(t)},this.indent=function(){var t=this.session,e=this.getSelectionRange();if(e.start.row<e.end.row){var n=this.$getSelectedRows();return void t.indentRows(n.first,n.last,"\t")}if(e.start.column<e.end.column){var i=t.getTextRange(e);if(!/^\s+$/.test(i)){var n=this.$getSelectedRows();return void t.indentRows(n.first,n.last,"\t")}}var r=t.getLine(e.start.row),s=e.start,a=t.getTabSize(),l=t.documentToScreenColumn(s.row,s.column);if(this.session.getUseSoftTabs())var c=a-l%a,u=o.stringRepeat(" ",c);else{for(var c=l%a;" "==r[e.start.column]&&c;)e.start.column--,c--;this.selection.setSelectionRange(e),u="\t"}return this.insert(u)},this.blockIndent=function(){var t=this.$getSelectedRows();this.session.indentRows(t.first,t.last,"\t")},this.blockOutdent=function(){var t=this.session.getSelection();this.session.outdentRows(t.getRange())},this.sortLines=function(){var t=this.$getSelectedRows(),e=this.session,n=[];for(r=t.first;r<=t.last;r++)n.push(e.getLine(r));n.sort(function(t,e){return t.toLowerCase()<e.toLowerCase()?-1:t.toLowerCase()>e.toLowerCase()?1:0});for(var i=new f(0,0,0,0),r=t.first;r<=t.last;r++){var o=e.getLine(r);i.start.row=r,i.end.row=r,i.end.column=o.length,e.replace(i,n[r-t.first])}},this.toggleCommentLines=function(){var t=this.session.getState(this.getCursorPosition().row),e=this.$getSelectedRows();this.session.getMode().toggleCommentLines(t,this.session,e.first,e.last)},this.toggleBlockComment=function(){var t=this.getCursorPosition(),e=this.session.getState(t.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(e,this.session,n,t)},this.getNumberAt=function(t,e){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var i=this.session.getLine(t);n.lastIndex<e;){var r=n.exec(i);if(r.index<=e&&r.index+r[0].length>=e){var o={value:r[0],start:r.index,end:r.index+r[0].length};return o}}return null},this.modifyNumber=function(t){var e=this.selection.getCursor().row,n=this.selection.getCursor().column,i=new f(e,n-1,e,n),r=this.session.getTextRange(i);if(!isNaN(parseFloat(r))&&isFinite(r)){var o=this.getNumberAt(e,n);if(o){var s=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-s,l=parseFloat(o.value);l*=Math.pow(10,a),t*=s!==o.end&&n<s?Math.pow(10,o.end-n-1):Math.pow(10,o.end-n),l+=t,l/=Math.pow(10,a);var c=l.toFixed(a),u=new f(e,o.start,e,o.end);this.session.replace(u,c),this.moveCursorTo(e,Math.max(o.start+1,n+c.length-o.value.length))}}},this.removeLines=function(){var t=this.$getSelectedRows();this.session.removeFullLines(t.first,t.last),this.clearSelection()},this.duplicateSelection=function(){var t=this.selection,e=this.session,n=t.getRange(),i=t.isBackwards();if(n.isEmpty()){var r=n.start.row;e.duplicateLines(r,r)}else{var o=i?n.start:n.end,s=e.insert(o,e.getTextRange(n),!1);n.start=o,n.end=s,t.setSelectionRange(n,i)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(t,e,n){return this.session.moveText(t,e,n)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(t,e){var n,i,r=this.selection;if(!r.inMultiSelectMode||this.inVirtualSelectionMode){var o=r.toOrientedRange();n=this.$getSelectedRows(o),i=this.session.$moveLines(n.first,n.last,e?0:t),e&&t==-1&&(i=0),o.moveBy(i,0),r.fromOrientedRange(o)}else{var s=r.rangeList.ranges;r.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,l=0,c=s.length,u=0;u<c;u++){var d=u;s[u].moveBy(a,0),n=this.$getSelectedRows(s[u]);for(var h=n.first,f=n.last;++u<c;){l&&s[u].moveBy(l,0);var p=this.$getSelectedRows(s[u]);if(e&&p.first!=f)break;if(!e&&p.first>f+1)break;f=p.last}for(u--,a=this.session.$moveLines(h,f,e?0:t),e&&t==-1&&(d=u+1);d<=u;)s[d].moveBy(a,0),d++;e||(a=0),l+=a}r.fromOrientedRange(r.ranges[0]),r.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(t){return t=(t||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(t.start.row),last:this.session.getRowFoldEnd(t.end.row)}},this.onCompositionStart=function(t){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(t){this.renderer.setCompositionText(t)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(t){return t>=this.getFirstVisibleRow()&&t<=this.getLastVisibleRow()},this.isRowFullyVisible=function(t){return t>=this.renderer.getFirstFullyVisibleRow()&&t<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(t,e){var n=this.renderer,i=this.renderer.layerConfig,r=t*Math.floor(i.height/i.lineHeight);this.$blockScrolling++,e===!0?this.selection.$moveSelection(function(){this.moveCursorBy(r,0)}):e===!1&&(this.selection.moveCursorBy(r,0),this.selection.clearSelection()),this.$blockScrolling--;var o=n.scrollTop;n.scrollBy(0,r*i.lineHeight),null!=e&&n.scrollCursorIntoView(null,.5),n.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(t){this.renderer.scrollToRow(t)},this.scrollToLine=function(t,e,n,i){this.renderer.scrollToLine(t,e,n,i)},this.centerSelection=function(){var t=this.getSelectionRange(),e={row:Math.floor(t.start.row+(t.end.row-t.start.row)/2),column:Math.floor(t.start.column+(t.end.column-t.start.column)/2)};this.renderer.alignCursor(e,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(t,e){this.selection.moveCursorTo(t,e)},this.moveCursorToPosition=function(t){this.selection.moveCursorToPosition(t)},this.jumpToMatching=function(t,e){var n=this.getCursorPosition(),i=new y(this.session,n.row,n.column),r=i.getCurrentToken(),o=r||i.stepForward();if(o){var s,a,l=!1,c={},u=n.column-o.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;u<o.value.length&&!l;u++)if(d[o.value[u]])switch(a=d[o.value[u]]+"."+o.type.replace("rparen","lparen"),isNaN(c[a])&&(c[a]=0),o.value[u]){case"(":case"[":case"{":c[a]++;break;case")":case"]":case"}":c[a]--,c[a]===-1&&(s="bracket",l=!0)}}else o&&o.type.indexOf("tag-name")!==-1&&(isNaN(c[o.value])&&(c[o.value]=0),"<"===r.value?c[o.value]++:"</"===r.value&&c[o.value]--,c[o.value]===-1&&(s="tag",l=!0));l||(r=o,o=i.stepForward(),u=0)}while(o&&!l);if(s){var h,p;if("bracket"===s)h=this.session.getBracketRange(n),h||(h=new f(i.getCurrentTokenRow(),i.getCurrentTokenColumn()+u-1,i.getCurrentTokenRow(),i.getCurrentTokenColumn()+u-1),p=h.start,(e||p.row===n.row&&Math.abs(p.column-n.column)<2)&&(h=this.session.getBracketRange(p)));else if("tag"===s){if(!o||o.type.indexOf("tag-name")===-1)return;var m=o.value;if(h=new f(i.getCurrentTokenRow(),i.getCurrentTokenColumn()-2,i.getCurrentTokenRow(),i.getCurrentTokenColumn()-2),0===h.compare(n.row,n.column)){l=!1;do o=r,r=i.stepBackward(),r&&(r.type.indexOf("tag-close")!==-1&&h.setEnd(i.getCurrentTokenRow(),i.getCurrentTokenColumn()+1),o.value===m&&o.type.indexOf("tag-name")!==-1&&("<"===r.value?c[m]++:"</"===r.value&&c[m]--,0===c[m]&&(l=!0)));while(r&&!l)}o&&o.type.indexOf("tag-name")&&(p=h.start,p.row==n.row&&Math.abs(p.column-n.column)<2&&(p=h.end))}p=h&&h.cursor||p,p&&(t?h&&e?this.selection.setRange(h):h&&h.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(p.row,p.column):this.selection.moveTo(p.row,p.column))}}},this.gotoLine=function(t,e,n){this.selection.clearSelection(),this.session.unfold({row:t-1,column:e||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(t-1,e||0),this.$blockScrolling-=1,this.isRowFullyVisible(t-1)||this.scrollToLine(t-1,!0,n)},this.navigateTo=function(t,e){this.selection.moveTo(t,e)},this.navigateUp=function(t){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var e=this.selection.anchor.getPosition();return this.moveCursorToPosition(e)}this.selection.clearSelection(),this.selection.moveCursorBy(-t||-1,0)},this.navigateDown=function(t){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var e=this.selection.anchor.getPosition();return this.moveCursorToPosition(e)}this.selection.clearSelection(),this.selection.moveCursorBy(t||1,0)},this.navigateLeft=function(t){if(this.selection.isEmpty())for(t=t||1;t--;)this.selection.moveCursorLeft();else{var e=this.getSelectionRange().start;this.moveCursorToPosition(e)}this.clearSelection()},this.navigateRight=function(t){if(this.selection.isEmpty())for(t=t||1;t--;)this.selection.moveCursorRight();else{var e=this.getSelectionRange().end;this.moveCursorToPosition(e)}this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},this.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(t,e){e&&this.$search.set(e);var n=this.$search.find(this.session),i=0;return n?(this.$tryReplace(n,t)&&(i=1),null!==n&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end)),i):i},this.replaceAll=function(t,e){e&&this.$search.set(e);var n=this.$search.findAll(this.session),i=0;if(!n.length)return i;this.$blockScrolling+=1;var r=this.getSelectionRange();this.selection.moveTo(0,0);for(var o=n.length-1;o>=0;--o)this.$tryReplace(n[o],t)&&i++;return this.selection.setSelectionRange(r),this.$blockScrolling-=1,i},this.$tryReplace=function(t,e){var n=this.session.getTextRange(t);return e=this.$search.replace(n,e),null!==e?(t.end=this.session.replace(t,e),t):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(t,e,n){e||(e={}),"string"==typeof t||t instanceof RegExp?e.needle=t:"object"==("undefined"==typeof t?"undefined":(0,_typeof3.default)(t))&&i.mixin(e,t);var r=this.selection.getRange();null==e.needle&&(t=this.session.getTextRange(r)||this.$search.$options.needle,t||(r=this.session.getWordRange(r.start.row,r.start.column),t=this.session.getTextRange(r)),this.$search.set({needle:t})),this.$search.set(e),e.start||this.$search.set({start:r});var o=this.$search.find(this.session);return e.preventScroll?o:o?(this.revealRange(o,n),o):(e.backwards?r.start=r.end:r.end=r.start,void this.selection.setRange(r))},this.findNext=function(t,e){this.find({skipCurrent:!0,backwards:!1},t,e)},this.findPrevious=function(t,e){this.find(t,{skipCurrent:!0,backwards:!0},e)},this.revealRange=function(t,e){this.$blockScrolling+=1,this.session.unfold(t),this.selection.setSelectionRange(t),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(t.start,t.end,.5),e!==!1&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(t){if(t){var e,n=this,i=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var r=this.$scrollAnchor;r.style.cssText="position:absolute",this.container.insertBefore(r,this.container.firstChild);var o=this.on("changeSelection",function(){i=!0}),s=this.renderer.on("beforeRender",function(){i&&(e=n.renderer.container.getBoundingClientRect())}),a=this.renderer.on("afterRender",function(){if(i&&e&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var t=n.renderer,o=t.$cursorLayer.$pixelPos,s=t.layerConfig,a=o.top-s.offset;i=o.top>=0&&a+e.top<0||!(o.top<s.height&&o.top+e.top+s.lineHeight>window.innerHeight)&&null,null!=i&&(r.style.top=a+"px",r.style.left=o.left+"px",r.style.height=s.lineHeight+"px",r.scrollIntoView(i)),i=e=null}});this.setAutoScrollEditorIntoView=function(t){t||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},this.$resetCursorStyle=function(){var t=this.$cursorStyle||"ace",e=this.renderer.$cursorLayer;e&&(e.setSmoothBlinking(/smooth/.test(t)),e.isBlinking=!this.$readOnly&&"wide"!=t,r.setCssClass(e.element,"ace_slim-cursors",/slim/.test(t)))}}).call(b.prototype),v.defineOptions(b.prototype,"editor",{selectionStyle:{set:function(t){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:t})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(t){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(t){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(t){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(t){this.setAutoScrollEditorIntoView(t)}},keyboardHandler:{set:function(t){this.setKeyboardHandler(t)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),e.Editor=b}),ace.define("ace/undomanager",["require","exports","module"],function(t,e,n){var i=function(){this.reset()};(function(){function t(t){return{action:t.action,start:t.start,end:t.end,lines:1==t.lines.length?null:t.lines,text:1==t.lines.length?t.lines[0]:null}}function e(t){return{action:t.action,start:t.start,end:t.end,lines:t.lines||[t.text]}}function n(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++){for(var r=t[i],o={group:r.group,deltas:new Array(r.length)},s=0;s<r.deltas.length;s++){var a=r.deltas[s];o.deltas[s]=e(a)}n[i]=o}return n}this.execute=function(t){var e=t.args[0];this.$doc=t.args[1],t.merge&&this.hasUndo()&&(this.dirtyCounter--,e=this.$undoStack.pop().concat(e)),this.$undoStack.push(e),this.$redoStack=[],this.dirtyCounter<0&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(t){var e=this.$undoStack.pop(),n=null;return e&&(n=this.$doc.undoChanges(e,t),this.$redoStack.push(e),this.dirtyCounter--),n},this.redo=function(t){var e=this.$redoStack.pop(),n=null;return e&&(n=this.$doc.redoChanges(this.$deserializeDeltas(e),t),this.$undoStack.push(e),this.dirtyCounter++),n},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return this.$undoStack.length>0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(e){return n(e,t)},this.$deserializeDeltas=function(t){return n(t,e)}}).call(i.prototype),e.UndoManager=i}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(t,e,n){var i=t("../lib/dom"),r=t("../lib/oop"),o=t("../lib/lang"),s=t("../lib/event_emitter").EventEmitter,a=function(t){this.element=i.createElement("div"),this.element.className="ace_layer ace_gutter-layer",t.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){r.implement(this,s),this.setSession=function(t){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=t,t&&t.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(t,e){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(t,e)},this.removeGutterDecoration=function(t,e){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(t,e)},this.setAnnotations=function(t){this.$annotations=[];for(var e=0;e<t.length;e++){var n=t[e],i=n.row,r=this.$annotations[i];r||(r=this.$annotations[i]={text:[]});var s=n.text;s=s?o.escapeHTML(s):n.html||"",r.text.indexOf(s)===-1&&r.text.push(s);var a=n.type;"error"==a?r.className=" ace_error":"warning"==a&&" ace_error"!=r.className?r.className=" ace_warning":"info"!=a||r.className||(r.className=" ace_info")}},this.$updateAnnotations=function(t){if(this.$annotations.length){var e=t.start.row,n=t.end.row-e;if(0===n);else if("remove"==t.action)this.$annotations.splice(e,n+1,null);else{var i=new Array(n+1);i.unshift(e,1),this.$annotations.splice.apply(this.$annotations,i)}}},this.update=function(t){for(var e=this.session,n=t.firstRow,r=Math.min(t.lastRow+t.gutterOffset,e.getLength()-1),o=e.getNextFoldLine(n),s=o?o.start.row:1/0,a=this.$showFoldWidgets&&e.foldWidgets,l=e.$breakpoints,c=e.$decorations,u=e.$firstLineNumber,d=0,h=e.gutterRenderer||this.$renderer,f=null,p=-1,m=n;;){if(m>s&&(m=o.end.row+1,o=e.getNextFoldLine(m,o),s=o?o.start.row:1/0),m>r){for(;this.$cells.length>p+1;)f=this.$cells.pop(),this.element.removeChild(f.element);break}f=this.$cells[++p],f||(f={element:null,textNode:null,foldWidget:null},f.element=i.createElement("div"),f.textNode=document.createTextNode(""),f.element.appendChild(f.textNode),this.element.appendChild(f.element),this.$cells[p]=f);var g="ace_gutter-cell ";l[m]&&(g+=l[m]),c[m]&&(g+=c[m]),this.$annotations[m]&&(g+=this.$annotations[m].className),f.element.className!=g&&(f.element.className=g);var v=e.getRowLength(m)*t.lineHeight+"px";if(v!=f.element.style.height&&(f.element.style.height=v),a){var y=a[m];null==y&&(y=a[m]=e.getFoldWidget(m))}if(y){f.foldWidget||(f.foldWidget=i.createElement("span"),f.element.appendChild(f.foldWidget));var g="ace_fold-widget ace_"+y;g+="start"==y&&m==s&&m<o.end.row?" ace_closed":" ace_open",f.foldWidget.className!=g&&(f.foldWidget.className=g);var v=t.lineHeight+"px";f.foldWidget.style.height!=v&&(f.foldWidget.style.height=v)}else f.foldWidget&&(f.element.removeChild(f.foldWidget),f.foldWidget=null);var b=d=h?h.getText(e,m):m+u;b!=f.textNode.data&&(f.textNode.data=b),m++}this.element.style.height=t.minHeight+"px",(this.$fixedWidth||e.$useWrapMode)&&(d=e.getLength()+u);var w=h?h.getWidth(e,d,t):d.toString().length*t.characterWidth,A=this.$padding||this.$computePadding();w+=A.left+A.right,w===this.gutterWidth||isNaN(w)||(this.gutterWidth=w,this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._emit("changeGutterWidth",w))},this.$fixedWidth=!1,this.$showLineNumbers=!0,this.$renderer="",this.setShowLineNumbers=function(t){this.$renderer=!t&&{getWidth:function(){return""},getText:function(){return""}}},this.getShowLineNumbers=function(){return this.$showLineNumbers},this.$showFoldWidgets=!0,this.setShowFoldWidgets=function(t){t?i.addCssClass(this.element,"ace_folding-enabled"):i.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=t,this.$padding=null},this.getShowFoldWidgets=function(){return this.$showFoldWidgets},this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var t=i.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=parseInt(t.paddingLeft)+1||0,this.$padding.right=parseInt(t.paddingRight)||0,
|
|
87
|
-
this.$padding},this.getRegion=function(t){var e=this.$padding||this.$computePadding(),n=this.element.getBoundingClientRect();return t.x<e.left+n.left?"markers":this.$showFoldWidgets&&t.x>n.right-e.right?"foldWidgets":void 0}}).call(a.prototype),e.Gutter=a}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(t,e,n){var i=t("../range").Range,r=t("../lib/dom"),o=function(t){this.element=r.createElement("div"),this.element.className="ace_layer ace_marker-layer",t.appendChild(this.element)};(function(){function t(t,e,n,i){return(t?1:0)|(e?2:0)|(n?4:0)|(i?8:0)}this.$padding=0,this.setPadding=function(t){this.$padding=t},this.setSession=function(t){this.session=t},this.setMarkers=function(t){this.markers=t},this.update=function(t){var t=t||this.config;if(t){this.config=t;var e=[];for(var n in this.markers){var i=this.markers[n];if(i.range){var r=i.range.clipRows(t.firstRow,t.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),i.renderer){var o=this.$getTop(r.start.row,t),s=this.$padding+r.start.column*t.characterWidth;i.renderer(e,r,s,o,t)}else"fullLine"==i.type?this.drawFullLineMarker(e,r,i.clazz,t):"screenLine"==i.type?this.drawScreenLineMarker(e,r,i.clazz,t):r.isMultiLine()?"text"==i.type?this.drawTextMarker(e,r,i.clazz,t):this.drawMultiLineMarker(e,r,i.clazz,t):this.drawSingleLineMarker(e,r,i.clazz+" ace_start ace_br15",t)}else i.update(e,this,this.session,t)}this.element.innerHTML=e.join("")}},this.$getTop=function(t,e){return(t-e.firstRowScreen)*e.lineHeight},this.drawTextMarker=function(e,n,r,o,s){for(var a=this.session,l=n.start.row,c=n.end.row,u=l,d=0,h=0,f=a.getScreenLastRowColumn(u),p=new i(u,n.start.column,u,h);u<=c;u++)p.start.row=p.end.row=u,p.start.column=u==l?n.start.column:a.getRowWrapIndent(u),p.end.column=f,d=h,h=f,f=u+1<c?a.getScreenLastRowColumn(u+1):u==c?0:n.end.column,this.drawSingleLineMarker(e,p,r+(u==l?" ace_start":"")+" ace_br"+t(u==l||u==l+1&&n.start.column,d<h,h>f,u==c),o,u==c?0:1,s)},this.drawMultiLineMarker=function(t,e,n,i,r){var o=this.$padding,s=i.lineHeight,a=this.$getTop(e.start.row,i),l=o+e.start.column*i.characterWidth;r=r||"",t.push("<div class='",n," ace_br1 ace_start' style='","height:",s,"px;","right:0;","top:",a,"px;","left:",l,"px;",r,"'></div>"),a=this.$getTop(e.end.row,i);var c=e.end.column*i.characterWidth;if(t.push("<div class='",n," ace_br12' style='","height:",s,"px;","width:",c,"px;","top:",a,"px;","left:",o,"px;",r,"'></div>"),s=(e.end.row-e.start.row-1)*i.lineHeight,!(s<=0)){a=this.$getTop(e.start.row+1,i);var u=(e.start.column?1:0)|(e.end.column?0:8);t.push("<div class='",n,u?" ace_br"+u:"","' style='","height:",s,"px;","right:0;","top:",a,"px;","left:",o,"px;",r,"'></div>")}},this.drawSingleLineMarker=function(t,e,n,i,r,o){var s=i.lineHeight,a=(e.end.column+(r||0)-e.start.column)*i.characterWidth,l=this.$getTop(e.start.row,i),c=this.$padding+e.start.column*i.characterWidth;t.push("<div class='",n,"' style='","height:",s,"px;","width:",a,"px;","top:",l,"px;","left:",c,"px;",o||"","'></div>")},this.drawFullLineMarker=function(t,e,n,i,r){var o=this.$getTop(e.start.row,i),s=i.lineHeight;e.start.row!=e.end.row&&(s+=this.$getTop(e.end.row,i)-o),t.push("<div class='",n,"' style='","height:",s,"px;","top:",o,"px;","left:0;right:0;",r||"","'></div>")},this.drawScreenLineMarker=function(t,e,n,i,r){var o=this.$getTop(e.start.row,i),s=i.lineHeight;t.push("<div class='",n,"' style='","height:",s,"px;","top:",o,"px;","left:0;right:0;",r||"","'></div>")}}).call(o.prototype),e.Marker=o}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(t,e,n){var i=t("../lib/oop"),r=t("../lib/dom"),o=t("../lib/lang"),s=(t("../lib/useragent"),t("../lib/event_emitter").EventEmitter),a=function(t){this.element=r.createElement("div"),this.element.className="ace_layer ace_text-layer",t.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){i.implement(this,s),this.EOF_CHAR="¶",this.EOL_CHAR_LF="¬",this.EOL_CHAR_CRLF="¤",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="—",this.SPACE_CHAR="·",this.$padding=0,this.$updateEolChar=function(){var t="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},this.setPadding=function(t){this.$padding=t,this.element.style.padding="0 "+t+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(t){this.$fontMetrics=t,this.$fontMetrics.on("changeCharacterSize",function(t){this._signal("changeCharacterSize",t)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(t){this.session=t,t&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(t){return this.showInvisibles!=t&&(this.showInvisibles=t,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(t){return this.displayIndentGuides!=t&&(this.displayIndentGuides=t,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var t=this.session.getTabSize();this.tabSize=t;for(var e=this.$tabStrings=[0],n=1;n<t+1;n++)this.showInvisibles?e.push("<span class='ace_invisible ace_invisible_tab'>"+o.stringRepeat(this.TAB_CHAR,n)+"</span>"):e.push(o.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var i="ace_indent-guide",r="",s="";if(this.showInvisibles){i+=" ace_invisible",r=" ace_invisible_space",s=" ace_invisible_tab";var a=o.stringRepeat(this.SPACE_CHAR,this.tabSize),l=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else var a=o.stringRepeat(" ",this.tabSize),l=a;this.$tabStrings[" "]="<span class='"+i+r+"'>"+a+"</span>",this.$tabStrings["\t"]="<span class='"+i+s+"'>"+l+"</span>"}},this.updateLines=function(t,e,n){this.config.lastRow==t.lastRow&&this.config.firstRow==t.firstRow||this.scrollLines(t),this.config=t;for(var i=Math.max(e,t.firstRow),r=Math.min(n,t.lastRow),o=this.element.childNodes,s=0,a=t.firstRow;a<i;a++){var l=this.session.getFoldLine(a);if(l){if(l.containsRow(i)){i=l.start.row;break}a=l.end.row}s++}for(var a=i,l=this.session.getNextFoldLine(a),c=l?l.start.row:1/0;;){if(a>c&&(a=l.end.row+1,l=this.session.getNextFoldLine(a,l),c=l?l.start.row:1/0),a>r)break;var u=o[s++];if(u){var d=[];this.$renderLine(d,a,!this.$useLineGroups(),a==c&&l),u.style.height=t.lineHeight*this.session.getRowLength(a)+"px",u.innerHTML=d.join("")}a++}},this.scrollLines=function(t){var e=this.config;if(this.config=t,!e||e.lastRow<t.firstRow)return this.update(t);if(t.lastRow<e.firstRow)return this.update(t);var n=this.element;if(e.firstRow<t.firstRow)for(var i=this.session.getFoldedRowCount(e.firstRow,t.firstRow-1);i>0;i--)n.removeChild(n.firstChild);if(e.lastRow>t.lastRow)for(var i=this.session.getFoldedRowCount(t.lastRow+1,e.lastRow);i>0;i--)n.removeChild(n.lastChild);if(t.firstRow<e.firstRow){var r=this.$renderLinesFragment(t,t.firstRow,e.firstRow-1);n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r)}if(t.lastRow>e.lastRow){var r=this.$renderLinesFragment(t,e.lastRow+1,t.lastRow);n.appendChild(r)}},this.$renderLinesFragment=function(t,e,n){for(var i=this.element.ownerDocument.createDocumentFragment(),o=e,s=this.session.getNextFoldLine(o),a=s?s.start.row:1/0;;){if(o>a&&(o=s.end.row+1,s=this.session.getNextFoldLine(o,s),a=s?s.start.row:1/0),o>n)break;var l=r.createElement("div"),c=[];if(this.$renderLine(c,o,!1,o==a&&s),l.innerHTML=c.join(""),this.$useLineGroups())l.className="ace_line_group",i.appendChild(l),l.style.height=t.lineHeight*this.session.getRowLength(o)+"px";else for(;l.firstChild;)i.appendChild(l.firstChild);o++}return i},this.update=function(t){this.config=t;for(var e=[],n=t.firstRow,i=t.lastRow,r=n,o=this.session.getNextFoldLine(r),s=o?o.start.row:1/0;;){if(r>s&&(r=o.end.row+1,o=this.session.getNextFoldLine(r,o),s=o?o.start.row:1/0),r>i)break;this.$useLineGroups()&&e.push("<div class='ace_line_group' style='height:",t.lineHeight*this.session.getRowLength(r),"px'>"),this.$renderLine(e,r,!1,r==s&&o),this.$useLineGroups()&&e.push("</div>"),r++}this.element.innerHTML=e.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(t,e,n,i){var r=this,s=/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]/g,a=function(t,n,i,s,a){if(n)return r.showInvisibles?"<span class='ace_invisible ace_invisible_space'>"+o.stringRepeat(r.SPACE_CHAR,t.length)+"</span>":t;if("&"==t)return"&";if("<"==t)return"<";if(">"==t)return">";if("\t"==t){var l=r.session.getScreenTabSize(e+s);return e+=l-1,r.$tabStrings[l]}if(" "==t){var c=r.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",u=r.showInvisibles?r.SPACE_CHAR:"";return e+=1,"<span class='"+c+"' style='width:"+2*r.config.characterWidth+"px'>"+u+"</span>"}return i?"<span class='ace_invisible ace_invisible_space ace_invalid'>"+r.SPACE_CHAR+"</span>":(e+=1,"<span class='ace_cjk' style='width:"+2*r.config.characterWidth+"px'>"+t+"</span>")},l=i.replace(s,a);if(this.$textToken[n.type])t.push(l);else{var c="ace_"+n.type.replace(/\./g," ace_"),u="";"fold"==n.type&&(u=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),t.push("<span class='",c,"'",u,">",l,"</span>")}return e+i.length},this.renderIndentGuide=function(t,e,n){var i=e.search(this.$indentGuideRe);return i<=0||i>=n?e:" "==e[0]?(i-=i%this.tabSize,t.push(o.stringRepeat(this.$tabStrings[" "],i/this.tabSize)),e.substr(i)):"\t"==e[0]?(t.push(o.stringRepeat(this.$tabStrings["\t"],i)),e.substr(i)):e},this.$renderWrappedLine=function(t,e,n,i){for(var r=0,s=0,a=n[0],l=0,c=0;c<e.length;c++){var u=e[c],d=u.value;if(0==c&&this.displayIndentGuides){if(r=d.length,d=this.renderIndentGuide(t,d,a),!d)continue;r-=d.length}if(r+d.length<a)l=this.$renderToken(t,l,u,d),r+=d.length;else{for(;r+d.length>=a;)l=this.$renderToken(t,l,u,d.substring(0,a-r)),d=d.substring(a-r),r=a,i||t.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>"),t.push(o.stringRepeat(" ",n.indent)),s++,l=0,a=n[s]||Number.MAX_VALUE;0!=d.length&&(r+=d.length,l=this.$renderToken(t,l,u,d))}}},this.$renderSimpleLine=function(t,e){var n=0,i=e[0],r=i.value;this.displayIndentGuides&&(r=this.renderIndentGuide(t,r)),r&&(n=this.$renderToken(t,n,i,r));for(var o=1;o<e.length;o++)i=e[o],r=i.value,n=this.$renderToken(t,n,i,r)},this.$renderLine=function(t,e,n,i){if(i||0==i||(i=this.session.getFoldLine(e)),i)var r=this.$getFoldLineTokens(e,i);else var r=this.session.getTokens(e);if(n||t.push("<div class='ace_line' style='height:",this.config.lineHeight*(this.$useLineGroups()?1:this.session.getRowLength(e)),"px'>"),r.length){var o=this.session.getRowSplitData(e);o&&o.length?this.$renderWrappedLine(t,r,o,n):this.$renderSimpleLine(t,r)}this.showInvisibles&&(i&&(e=i.end.row),t.push("<span class='ace_invisible ace_invisible_eol'>",e==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")),n||t.push("</div>")},this.$getFoldLineTokens=function(t,e){function n(t,e,n){for(var i=0,o=0;o+t[i].value.length<e;)if(o+=t[i].value.length,i++,i==t.length)return;if(o!=e){var s=t[i].value.substring(e-o);s.length>n-e&&(s=s.substring(0,n-e)),r.push({type:t[i].type,value:s}),o=e+s.length,i+=1}for(;o<n&&i<t.length;){var s=t[i].value;s.length+o>n?r.push({type:t[i].type,value:s.substring(0,n-o)}):r.push(t[i]),o+=s.length,i+=1}}var i=this.session,r=[],o=i.getTokens(t);return e.walk(function(t,e,s,a,l){null!=t?r.push({type:"fold",value:t}):(l&&(o=i.getTokens(e)),o.length&&n(o,a,s))},e.end.row,this.session.getLine(e.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(a.prototype),e.Text=a}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(t,e,n){var i,r=t("../lib/dom"),o=function(t){this.element=r.createElement("div"),this.element.className="ace_layer ace_cursor-layer",t.appendChild(this.element),void 0===i&&(i=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),r.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(i?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(t){for(var e=this.cursors,n=e.length;n--;)e[n].style.visibility=t?"":"hidden"},this.$updateOpacity=function(t){for(var e=this.cursors,n=e.length;n--;)e[n].style.opacity=t?"":"0"},this.$padding=0,this.setPadding=function(t){this.$padding=t},this.setSession=function(t){this.session=t},this.setBlinking=function(t){t!=this.isBlinking&&(this.isBlinking=t,this.restartTimer())},this.setBlinkInterval=function(t){t!=this.blinkInterval&&(this.blinkInterval=t,this.restartTimer())},this.setSmoothBlinking=function(t){t==this.smoothBlinking||i||(this.smoothBlinking=t,r.setCssClass(this.element,"ace_smooth-blinking",t),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var t=r.createElement("div");return t.className="ace_cursor",this.element.appendChild(t),this.cursors.push(t),t},this.removeCursor=function(){if(this.cursors.length>1){var t=this.cursors.pop();return t.parentNode.removeChild(t),t}},this.hideCursor=function(){this.isVisible=!1,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,r.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var t=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&r.removeCssClass(this.element,"ace_smooth-blinking"),t(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout(function(){r.addCssClass(this.element,"ace_smooth-blinking")}.bind(this));var e=function(){this.timeoutId=setTimeout(function(){t(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){t(!0),e()},this.blinkInterval),e()}},this.getPixelPosition=function(t,e){if(!this.config||!this.session)return{left:0,top:0};t||(t=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(t),i=this.$padding+n.column*this.config.characterWidth,r=(n.row-(e?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:i,top:r}},this.update=function(t){this.config=t;var e=this.session.$selectionMarkers,n=0,i=0;void 0!==e&&0!==e.length||(e=[{cursor:null}]);for(var n=0,r=e.length;n<r;n++){var o=this.getPixelPosition(e[n].cursor,!0);if(!((o.top>t.height+t.offset||o.top<0)&&n>1)){var s=(this.cursors[i++]||this.addCursor()).style;this.drawCursor?this.drawCursor(s,o,t,e[n],this.session):(s.left=o.left+"px",s.top=o.top+"px",s.width=t.characterWidth+"px",s.height=t.lineHeight+"px")}}for(;this.cursors.length>i;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(t){t!=this.overwrite&&(this.overwrite=t,t?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),e.Cursor=o}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(t,e,n){var i=t("./lib/oop"),r=t("./lib/dom"),o=t("./lib/event"),s=t("./lib/event_emitter").EventEmitter,a=function(t){this.element=r.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=r.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),t.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){i.implement(this,s),this.setVisible=function(t){this.element.style.display=t?"":"none",this.isVisible=t}}).call(a.prototype);var l=function(t,e){a.call(this,t),this.scrollTop=0,e.$scrollbarWidth=this.width=r.scrollbarWidth(t.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px"};i.inherits(l,a),function(){this.classSuffix="-v",this.onScroll=function(){this.skipEvent||(this.scrollTop=this.element.scrollTop,this._emit("scroll",{data:this.scrollTop})),this.skipEvent=!1},this.getWidth=function(){return this.isVisible?this.width:0},this.setHeight=function(t){this.element.style.height=t+"px"},this.setInnerHeight=function(t){this.inner.style.height=t+"px"},this.setScrollHeight=function(t){this.inner.style.height=t+"px"},this.setScrollTop=function(t){this.scrollTop!=t&&(this.skipEvent=!0,this.scrollTop=this.element.scrollTop=t)}}.call(l.prototype);var c=function(t,e){a.call(this,t),this.scrollLeft=0,this.height=e.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};i.inherits(c,a),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(t){this.element.style.width=t+"px"},this.setInnerWidth=function(t){this.inner.style.width=t+"px"},this.setScrollWidth=function(t){this.inner.style.width=t+"px"},this.setScrollLeft=function(t){this.scrollLeft!=t&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=t)}}.call(c.prototype),e.ScrollBar=l,e.ScrollBarV=l,e.ScrollBarH=c,e.VScrollBar=l,e.HScrollBar=c}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(t,e,n){var i=t("./lib/event"),r=function(t,e){this.onRender=t,this.pending=!1,this.changes=0,this.window=e||window};(function(){this.schedule=function(t){if(this.changes=this.changes|t,!this.pending&&this.changes){this.pending=!0;var e=this;i.nextFrame(function(){e.pending=!1;for(var t;t=e.changes;)e.changes=0,e.onRender(t)},this.window)}}}).call(r.prototype),e.RenderLoop=r}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(t,e,n){var i=t("../lib/oop"),r=t("../lib/dom"),o=t("../lib/lang"),s=t("../lib/useragent"),a=t("../lib/event_emitter").EventEmitter,l=0,c=e.FontMetrics=function(t){this.el=r.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),t.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){i.implement(this,a),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var t=r.createElement("div");this.$setMeasureNodeStyles(t.style),t.style.width="0.2px",document.documentElement.appendChild(t);var e=t.getBoundingClientRect().width;l=e>0&&e<1?50:100,t.parentNode.removeChild(t)},this.$setMeasureNodeStyles=function(t,e){t.width=t.height="auto",t.left=t.top="0px",t.visibility="hidden",t.position="absolute",t.whiteSpace="pre",s.isIE<8?t["font-family"]="inherit":t.font="inherit",t.overflow=e?"hidden":"visible"},this.checkForSizeChanges=function(){var t=this.$measureSizes();if(t&&(this.$characterSize.width!==t.width||this.$characterSize.height!==t.height)){this.$measureNode.style.fontWeight="bold";var e=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=t,this.charSizes=(0,_create2.default)(null),this.allowBoldFonts=e&&e.width===t.width&&e.height===t.height,this._emit("changeCharacterSize",{data:t})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var t=this;return this.$pollSizeChangesTimer=setInterval(function(){t.checkForSizeChanges()},500)},this.setPolling=function(t){t?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var t=null;try{t=this.$measureNode.getBoundingClientRect()}catch(e){t={width:0,height:0}}var e={height:t.height,width:t.width/l}}else var e={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===e.width||0===e.height?null:e},this.$measureCharWidth=function(t){this.$main.innerHTML=o.stringRepeat(t,l);var e=this.$main.getBoundingClientRect();return e.width/l},this.getCharacterWidth=function(t){var e=this.charSizes[t];return void 0===e&&(e=this.charSizes[t]=this.$measureCharWidth(t)/this.$characterSize.width),e},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(c.prototype)}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],function(t,e,n){var i=t("./lib/oop"),r=t("./lib/dom"),o=t("./config"),s=t("./lib/useragent"),a=t("./layer/gutter").Gutter,l=t("./layer/marker").Marker,c=t("./layer/text").Text,u=t("./layer/cursor").Cursor,d=t("./scrollbar").HScrollBar,h=t("./scrollbar").VScrollBar,f=t("./renderloop").RenderLoop,p=t("./layer/font_metrics").FontMetrics,m=t("./lib/event_emitter").EventEmitter,g='.ace_editor {\t\tposition: relative;\t\toverflow: hidden;\t\tfont: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;\t\tdirection: ltr;\t\t}\t\t.ace_scroller {\t\tposition: absolute;\t\toverflow: hidden;\t\ttop: 0;\t\tbottom: 0;\t\tbackground-color: inherit;\t\t-ms-user-select: none;\t\t-moz-user-select: none;\t\t-webkit-user-select: none;\t\tuser-select: none;\t\tcursor: text;\t\t}\t\t.ace_content {\t\tposition: absolute;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tmin-width: 100%;\t\t}\t\t.ace_dragging .ace_scroller:before{\t\tposition: absolute;\t\ttop: 0;\t\tleft: 0;\t\tright: 0;\t\tbottom: 0;\t\tcontent: \'\';\t\tbackground: rgba(250, 250, 250, 0.01);\t\tz-index: 1000;\t\t}\t\t.ace_dragging.ace_dark .ace_scroller:before{\t\tbackground: rgba(0, 0, 0, 0.01);\t\t}\t\t.ace_selecting, .ace_selecting * {\t\tcursor: text !important;\t\t}\t\t.ace_gutter {\t\tposition: absolute;\t\toverflow : hidden;\t\twidth: auto;\t\ttop: 0;\t\tbottom: 0;\t\tleft: 0;\t\tcursor: default;\t\tz-index: 4;\t\t-ms-user-select: none;\t\t-moz-user-select: none;\t\t-webkit-user-select: none;\t\tuser-select: none;\t\t}\t\t.ace_gutter-active-line {\t\tposition: absolute;\t\tleft: 0;\t\tright: 0;\t\t}\t\t.ace_scroller.ace_scroll-left {\t\tbox-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\t\t}\t\t.ace_gutter-cell {\t\tpadding-left: 19px;\t\tpadding-right: 6px;\t\tbackground-repeat: no-repeat;\t\t}\t\t.ace_gutter-cell.ace_error {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\t\tbackground-repeat: no-repeat;\t\tbackground-position: 2px center;\t\t}\t\t.ace_gutter-cell.ace_warning {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\t\tbackground-position: 2px center;\t\t}\t\t.ace_gutter-cell.ace_info {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\t\tbackground-position: 2px center;\t\t}\t\t.ace_dark .ace_gutter-cell.ace_info {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\t\t}\t\t.ace_scrollbar {\t\tposition: absolute;\t\tright: 0;\t\tbottom: 0;\t\tz-index: 6;\t\t}\t\t.ace_scrollbar-inner {\t\tposition: absolute;\t\tcursor: text;\t\tleft: 0;\t\ttop: 0;\t\t}\t\t.ace_scrollbar-v{\t\toverflow-x: hidden;\t\toverflow-y: scroll;\t\ttop: 0;\t\t}\t\t.ace_scrollbar-h {\t\toverflow-x: scroll;\t\toverflow-y: hidden;\t\tleft: 0;\t\t}\t\t.ace_print-margin {\t\tposition: absolute;\t\theight: 100%;\t\t}\t\t.ace_text-input {\t\tposition: absolute;\t\tz-index: 0;\t\twidth: 0.5em;\t\theight: 1em;\t\topacity: 0;\t\tbackground: transparent;\t\t-moz-appearance: none;\t\tappearance: none;\t\tborder: none;\t\tresize: none;\t\toutline: none;\t\toverflow: hidden;\t\tfont: inherit;\t\tpadding: 0 1px;\t\tmargin: 0 -1px;\t\ttext-indent: -1em;\t\t-ms-user-select: text;\t\t-moz-user-select: text;\t\t-webkit-user-select: text;\t\tuser-select: text;\t\twhite-space: pre!important;\t\t}\t\t.ace_text-input.ace_composition {\t\tbackground: inherit;\t\tcolor: inherit;\t\tz-index: 1000;\t\topacity: 1;\t\ttext-indent: 0;\t\t}\t\t.ace_layer {\t\tz-index: 1;\t\tposition: absolute;\t\toverflow: hidden;\t\tword-wrap: normal;\t\twhite-space: pre;\t\theight: 100%;\t\twidth: 100%;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tpointer-events: none;\t\t}\t\t.ace_gutter-layer {\t\tposition: relative;\t\twidth: auto;\t\ttext-align: right;\t\tpointer-events: auto;\t\t}\t\t.ace_text-layer {\t\tfont: inherit !important;\t\t}\t\t.ace_cjk {\t\tdisplay: inline-block;\t\ttext-align: center;\t\t}\t\t.ace_cursor-layer {\t\tz-index: 4;\t\t}\t\t.ace_cursor {\t\tz-index: 4;\t\tposition: absolute;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tborder-left: 2px solid;\t\ttransform: translatez(0);\t\t}\t\t.ace_slim-cursors .ace_cursor {\t\tborder-left-width: 1px;\t\t}\t\t.ace_overwrite-cursors .ace_cursor {\t\tborder-left-width: 0;\t\tborder-bottom: 1px solid;\t\t}\t\t.ace_hidden-cursors .ace_cursor {\t\topacity: 0.2;\t\t}\t\t.ace_smooth-blinking .ace_cursor {\t\t-webkit-transition: opacity 0.18s;\t\ttransition: opacity 0.18s;\t\t}\t\t.ace_editor.ace_multiselect .ace_cursor {\t\tborder-left-width: 1px;\t\t}\t\t.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\t\tposition: absolute;\t\tz-index: 3;\t\t}\t\t.ace_marker-layer .ace_selection {\t\tposition: absolute;\t\tz-index: 5;\t\t}\t\t.ace_marker-layer .ace_bracket {\t\tposition: absolute;\t\tz-index: 6;\t\t}\t\t.ace_marker-layer .ace_active-line {\t\tposition: absolute;\t\tz-index: 2;\t\t}\t\t.ace_marker-layer .ace_selected-word {\t\tposition: absolute;\t\tz-index: 4;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\t}\t\t.ace_line .ace_fold {\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tdisplay: inline-block;\t\theight: 11px;\t\tmargin-top: -2px;\t\tvertical-align: middle;\t\tbackground-image:\t\turl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\t\turl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\t\tbackground-repeat: no-repeat, repeat-x;\t\tbackground-position: center center, top left;\t\tcolor: transparent;\t\tborder: 1px solid black;\t\tborder-radius: 2px;\t\tcursor: pointer;\t\tpointer-events: auto;\t\t}\t\t.ace_dark .ace_fold {\t\t}\t\t.ace_fold:hover{\t\tbackground-image:\t\turl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\t\turl("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\t\t}\t\t.ace_tooltip {\t\tbackground-color: #FFF;\t\tbackground-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));\t\tbackground-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));\t\tborder: 1px solid gray;\t\tborder-radius: 1px;\t\tbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\t\tcolor: black;\t\tmax-width: 100%;\t\tpadding: 3px 4px;\t\tposition: fixed;\t\tz-index: 999999;\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tcursor: default;\t\twhite-space: pre;\t\tword-wrap: break-word;\t\tline-height: normal;\t\tfont-style: normal;\t\tfont-weight: normal;\t\tletter-spacing: normal;\t\tpointer-events: none;\t\t}\t\t.ace_folding-enabled > .ace_gutter-cell {\t\tpadding-right: 13px;\t\t}\t\t.ace_fold-widget {\t\t-moz-box-sizing: border-box;\t\t-webkit-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tmargin: 0 -12px 0 1px;\t\tdisplay: none;\t\twidth: 11px;\t\tvertical-align: top;\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\t\tbackground-repeat: no-repeat;\t\tbackground-position: center;\t\tborder-radius: 3px;\t\tborder: 1px solid transparent;\t\tcursor: pointer;\t\t}\t\t.ace_folding-enabled .ace_fold-widget {\t\tdisplay: inline-block; \t\t}\t\t.ace_fold-widget.ace_end {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\t\t}\t\t.ace_fold-widget.ace_closed {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\t\t}\t\t.ace_fold-widget:hover {\t\tborder: 1px solid rgba(0, 0, 0, 0.3);\t\tbackground-color: rgba(255, 255, 255, 0.2);\t\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\t\t}\t\t.ace_fold-widget:active {\t\tborder: 1px solid rgba(0, 0, 0, 0.4);\t\tbackground-color: rgba(0, 0, 0, 0.05);\t\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\t\t}\t\t.ace_dark .ace_fold-widget {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\t\t}\t\t.ace_dark .ace_fold-widget.ace_end {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\t\t}\t\t.ace_dark .ace_fold-widget.ace_closed {\t\tbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\t\t}\t\t.ace_dark .ace_fold-widget:hover {\t\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\t\tbackground-color: rgba(255, 255, 255, 0.1);\t\t}\t\t.ace_dark .ace_fold-widget:active {\t\tbox-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\t\t}\t\t.ace_fold-widget.ace_invalid {\t\tbackground-color: #FFB4B4;\t\tborder-color: #DE5555;\t\t}\t\t.ace_fade-fold-widgets .ace_fold-widget {\t\t-webkit-transition: opacity 0.4s ease 0.05s;\t\ttransition: opacity 0.4s ease 0.05s;\t\topacity: 0;\t\t}\t\t.ace_fade-fold-widgets:hover .ace_fold-widget {\t\t-webkit-transition: opacity 0.05s ease 0.05s;\t\ttransition: opacity 0.05s ease 0.05s;\t\topacity:1;\t\t}\t\t.ace_underline {\t\ttext-decoration: underline;\t\t}\t\t.ace_bold {\t\tfont-weight: bold;\t\t}\t\t.ace_nobold .ace_bold {\t\tfont-weight: normal;\t\t}\t\t.ace_italic {\t\tfont-style: italic;\t\t}\t\t.ace_error-marker {\t\tbackground-color: rgba(255, 0, 0,0.2);\t\tposition: absolute;\t\tz-index: 9;\t\t}\t\t.ace_highlight-marker {\t\tbackground-color: rgba(255, 255, 0,0.2);\t\tposition: absolute;\t\tz-index: 8;\t\t}\t\t.ace_br1 {border-top-left-radius : 3px;}\t\t.ace_br2 {border-top-right-radius : 3px;}\t\t.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\t\t.ace_br4 {border-bottom-right-radius: 3px;}\t\t.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\t\t.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\t\t.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\t\t.ace_br8 {border-bottom-left-radius : 3px;}\t\t.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\t\t.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\t\t.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\t\t';
|
|
88
|
-
r.importCssString(g,"ace_editor.css");var v=function(t,e){var n=this;this.container=t||r.createElement("div"),this.$keepTextAreaAtCursor=!s.isOldIE,r.addCssClass(this.container,"ace_editor"),this.setTheme(e),this.$gutter=r.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.scroller=r.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=r.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var i=this.$textLayer=new c(this.content);this.canvas=i.element,this.$markerFront=new l(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new h(this.container,this),this.scrollBarH=new d(this.container,this),this.scrollBarV.addEventListener("scroll",function(t){n.$scrollAnimation||n.session.setScrollTop(t.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(t){n.$scrollAnimation||n.session.setScrollLeft(t.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new p(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",function(t){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",t)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,i.implement(this,m),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(t){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=t,t&&this.scrollMargin.top&&t.getScrollTop()<=0&&t.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(t),this.$markerBack.setSession(t),this.$markerFront.setSession(t),this.$gutterLayer.setSession(t),this.$textLayer.setSession(t),t&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(t,e,n){if(void 0===e&&(e=1/0),this.$changedLines?(this.$changedLines.firstRow>t&&(this.$changedLines.firstRow=t),this.$changedLines.lastRow<e&&(this.$changedLines.lastRow=e)):this.$changedLines={firstRow:t,lastRow:e},this.$changedLines.lastRow<this.layerConfig.firstRow){if(!n)return;this.$changedLines.lastRow=this.layerConfig.lastRow}this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar()},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(t){t?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(t,e,n,i){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=t?1:0;var r=this.container;i||(i=r.clientHeight||r.scrollHeight),n||(n=r.clientWidth||r.scrollWidth);var o=this.$updateCachedSize(t,e,n,i);if(!this.$size.scrollerHeight||!n&&!i)return this.resizing=0;t&&(this.$gutterLayer.$padding=null),t?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(t,e,n,i){i-=this.$extraHeight||0;var r=0,o=this.$size,s={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return i&&(t||o.height!=i)&&(o.height=i,r|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",r|=this.CHANGE_SCROLL),n&&(t||o.width!=n)&&(r|=this.CHANGE_SIZE,o.width=n,null==e&&(e=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=e,this.scrollBarH.element.style.left=this.scroller.style.left=e+"px",o.scrollerWidth=Math.max(0,n-e-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||t)&&(r|=this.CHANGE_FULL)),o.$dirty=!n||!i,r&&this._signal("resize",s),r},this.onGutterResize=function(){var t=this.$showGutter?this.$gutter.offsetWidth:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var t=this.$size.scrollerWidth-2*this.$padding,e=Math.floor(t/this.characterWidth);return this.session.adjustWrapLimit(e,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(t){this.setOption("animatedScroll",t)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(t){this.setOption("showInvisibles",t)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(t){this.setOption("displayIndentGuides",t)},this.setShowPrintMargin=function(t){this.setOption("showPrintMargin",t)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(t){this.setOption("printMarginColumn",t)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(t){return this.setOption("showGutter",t)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(t){this.setOption("fadeFoldWidgets",t)},this.setHighlightGutterLine=function(t){this.setOption("highlightGutterLine",t)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var t=this.$cursorLayer.$pixelPos,e=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,t=this.$cursorLayer.getPixelPosition(n,!0),e*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=t.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=e+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var t=r.createElement("div");t.className="ace_layer ace_print-margin-layer",this.$printMarginEl=r.createElement("div"),this.$printMarginEl.className="ace_print-margin",t.appendChild(this.$printMarginEl),this.content.insertBefore(t,this.content.firstChild)}var e=this.$printMarginEl.style;e.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",e.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var t=this.layerConfig,e=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left;e-=t.offset;var i=this.textarea.style,r=this.lineHeight;if(e<0||e>t.height-r)return void(i.top=i.left="0");var o=this.characterWidth;if(this.$composition){var s=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(s)[0]+2,r+=2}n-=this.scrollLeft,n>this.$size.scrollerWidth-o&&(n=this.$size.scrollerWidth-o),n+=this.gutterWidth,i.height=r+"px",i.width=o+"px",i.left=Math.min(n,this.$size.scrollerWidth-o)+"px",i.top=Math.min(e,this.$size.height-r)+"px"}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var t=this.layerConfig,e=t.lastRow,n=this.session.documentToScreenRow(e,0)*t.lineHeight;return n-this.session.getScrollTop()>t.height-t.lineHeight?e-1:e},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(t){this.$padding=t,this.$textLayer.setPadding(t),this.$cursorLayer.setPadding(t),this.$markerFront.setPadding(t),this.$markerBack.setPadding(t),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(t,e,n,i){var r=this.scrollMargin;r.top=0|t,r.bottom=0|e,r.right=0|i,r.left=0|n,r.v=r.top+r.bottom,r.h=r.left+r.right,r.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-r.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(t){this.setOption("hScrollBarAlwaysVisible",t)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(t){this.setOption("vScrollBarAlwaysVisible",t)},this.$updateScrollBarV=function(){var t=this.layerConfig.maxHeight,e=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(t-=(e-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>t-e&&(t=this.scrollTop+e,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(t+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(t,e){if(this.$changes&&(t|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!t&&!e)return void(this.$changes|=t);if(this.$size.$dirty)return this.$changes|=t,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender");var n=this.layerConfig;if(t&this.CHANGE_FULL||t&this.CHANGE_SIZE||t&this.CHANGE_TEXT||t&this.CHANGE_LINES||t&this.CHANGE_SCROLL||t&this.CHANGE_H_SCROLL){if(t|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var i=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;i>0&&(this.scrollTop=i,t|=this.CHANGE_SCROLL,t|=this.$computeLayerConfig())}n=this.layerConfig,this.$updateScrollBarV(),t&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+"px",this.content.style.marginTop=-n.offset+"px",this.content.style.width=n.width+2*this.$padding+"px",this.content.style.height=n.minHeight+"px"}return t&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),t&this.CHANGE_FULL?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender")):t&this.CHANGE_SCROLL?(t&this.CHANGE_TEXT||t&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender")):(t&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):t&this.CHANGE_LINES?(this.$updateLines()||t&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(t&this.CHANGE_TEXT||t&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),t&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),t&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),t&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),void this._signal("afterRender"))},this.$autosize=function(){var t=this.session.getScreenLength()*this.lineHeight,e=this.$maxLines*this.lineHeight,n=Math.max((this.$minLines||1)*this.lineHeight,Math.min(e,t))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight());var i=t>e;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||i!=this.$vScroll){i!=this.$vScroll&&(this.$vScroll=i,this.scrollBarV.setVisible(i));var r=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var t=this.session,e=this.$size,n=e.height<=2*this.lineHeight,i=this.session.getScreenLength(),r=i*this.lineHeight,o=this.$getLongestLine(),s=!n&&(this.$hScrollBarAlwaysVisible||e.scrollerWidth-o-2*this.$padding<0),a=this.$horizScroll!==s;a&&(this.$horizScroll=s,this.scrollBarH.setVisible(s));var l=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var c=this.scrollTop%this.lineHeight,u=e.scrollerHeight+this.lineHeight,d=!this.$maxLines&&this.$scrollPastEnd?(e.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=d;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,r-e.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,o+2*this.$padding-e.scrollerWidth+h.right)));var f=!n&&(this.$vScrollBarAlwaysVisible||e.scrollerHeight-r+d<0||this.scrollTop>h.top),p=l!==f;p&&(this.$vScroll=f,this.scrollBarV.setVisible(f));var m,g,v=Math.ceil(u/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-c)/this.lineHeight)),b=y+v,w=this.lineHeight;y=t.screenToDocumentRow(y,0);var A=t.getFoldLine(y);A&&(y=A.start.row),m=t.documentToScreenRow(y,0),g=t.getRowLength(y)*w,b=Math.min(t.screenToDocumentRow(b,0),t.getLength()-1),u=e.scrollerHeight+t.getRowLength(b)*w+g,c=this.scrollTop-m*w;var x=0;return this.layerConfig.width!=o&&(x=this.CHANGE_H_SCROLL),(a||p)&&(x=this.$updateCachedSize(!0,this.gutterWidth,e.width,e.height),this._signal("scrollbarVisibilityChanged"),p&&(o=this.$getLongestLine())),this.layerConfig={width:o,padding:this.$padding,firstRow:y,firstRowScreen:m,lastRow:b,lineHeight:w,characterWidth:this.characterWidth,minHeight:u,maxHeight:r,offset:c,gutterOffset:Math.max(0,Math.ceil((c+e.height-e.scrollerHeight)/w)),height:this.$size.scrollerHeight},x},this.$updateLines=function(){var t=this.$changedLines.firstRow,e=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(t>n.lastRow+1||e<n.firstRow))return e===1/0?(this.$showGutter&&this.$gutterLayer.update(n),void this.$textLayer.update(n)):(this.$textLayer.updateLines(n,t,e),!0)},this.$getLongestLine=function(){var t=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(t+=1),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(t*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(t,e){this.$gutterLayer.addGutterDecoration(t,e)},this.removeGutterDecoration=function(t,e){this.$gutterLayer.removeGutterDecoration(t,e)},this.updateBreakpoints=function(t){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(t){this.$gutterLayer.setAnnotations(t),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(t,e,n){this.scrollCursorIntoView(t,n),this.scrollCursorIntoView(e,n)},this.scrollCursorIntoView=function(t,e,n){if(0!==this.$size.scrollerHeight){var i=this.$cursorLayer.getPixelPosition(t),r=i.left,o=i.top,s=n&&n.top||0,a=n&&n.bottom||0,l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+s>o?(e&&l+s>o+this.lineHeight&&(o-=e*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-a<o+this.lineHeight&&(e&&l+this.$size.scrollerHeight-a<o-this.lineHeight&&(o+=e*this.$size.scrollerHeight),this.session.setScrollTop(o+this.lineHeight-this.$size.scrollerHeight));var c=this.scrollLeft;c>r?(r<this.$padding+2*this.layerConfig.characterWidth&&(r=-this.scrollMargin.left),this.session.setScrollLeft(r)):c+this.$size.scrollerWidth<r+this.characterWidth?this.session.setScrollLeft(Math.round(r+this.characterWidth-this.$size.scrollerWidth)):c<=this.$padding&&r-c<this.characterWidth&&this.session.setScrollLeft(0)}},this.getScrollTop=function(){return this.session.getScrollTop()},this.getScrollLeft=function(){return this.session.getScrollLeft()},this.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},this.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},this.scrollToRow=function(t){this.session.setScrollTop(t*this.lineHeight)},this.alignCursor=function(t,e){"number"==typeof t&&(t={row:t,column:0});var n=this.$cursorLayer.getPixelPosition(t),i=this.$size.scrollerHeight-this.lineHeight,r=n.top-i*(e||0);return this.session.setScrollTop(r),r},this.STEPS=8,this.$calcSteps=function(t,e){var n=0,i=this.STEPS,r=[],o=function(t,e,n){return n*(Math.pow(t-1,3)+1)+e};for(n=0;n<i;++n)r.push(o(n/this.STEPS,t,e-t));return r},this.scrollToLine=function(t,e,n,i){var r=this.$cursorLayer.getPixelPosition({row:t,column:0}),o=r.top;e&&(o-=this.$size.scrollerHeight/2);var s=this.scrollTop;this.session.setScrollTop(o),n!==!1&&this.animateScrolling(s,i)},this.animateScrolling=function(t,e){var n=this.scrollTop;if(this.$animatedScroll){var i=this;if(t!=n){if(this.$scrollAnimation){var r=this.$scrollAnimation.steps;if(r.length&&(t=r[0],t==n))return}var o=i.$calcSteps(t,n);this.$scrollAnimation={from:t,to:n,steps:o},clearInterval(this.$timer),i.session.setScrollTop(o.shift()),i.session.$scrollTop=n,this.$timer=setInterval(function(){o.length?(i.session.setScrollTop(o.shift()),i.session.$scrollTop=n):null!=n?(i.session.$scrollTop=-1,i.session.setScrollTop(n),n=null):(i.$timer=clearInterval(i.$timer),i.$scrollAnimation=null,e&&e())},10)}}},this.scrollToY=function(t){this.scrollTop!==t&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=t)},this.scrollToX=function(t){this.scrollLeft!==t&&(this.scrollLeft=t),this.$loop.schedule(this.CHANGE_H_SCROLL)},this.scrollTo=function(t,e){this.session.setScrollTop(e),this.session.setScrollLeft(e)},this.scrollBy=function(t,e){e&&this.session.setScrollTop(this.session.getScrollTop()+e),t&&this.session.setScrollLeft(this.session.getScrollLeft()+t)},this.isScrollableBy=function(t,e){return e<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||(e>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||(t<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||(t>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0)))},this.pixelToScreenCoordinates=function(t,e){var n=this.scroller.getBoundingClientRect(),i=(t+this.scrollLeft-n.left-this.$padding)/this.characterWidth,r=Math.floor((e+this.scrollTop-n.top)/this.lineHeight),o=Math.round(i);return{row:r,column:o,side:i-o>0?1:-1}},this.screenToTextCoordinates=function(t,e){var n=this.scroller.getBoundingClientRect(),i=Math.round((t+this.scrollLeft-n.left-this.$padding)/this.characterWidth),r=(e+this.scrollTop-n.top)/this.lineHeight;return this.session.screenToDocumentPosition(r,Math.max(i,0))},this.textToScreenCoordinates=function(t,e){var n=this.scroller.getBoundingClientRect(),i=this.session.documentToScreenPosition(t,e),r=this.$padding+Math.round(i.column*this.characterWidth),o=i.row*this.lineHeight;return{pageX:n.left+r-this.scrollLeft,pageY:n.top+o-this.scrollTop}},this.visualizeFocus=function(){r.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){r.removeCssClass(this.container,"ace_focus")},this.showComposition=function(t){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,r.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(t){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(r.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(t,e){function n(n){if(i.$themeId!=t)return e&&e();if(n.cssClass){r.importCssString(n.cssText,n.cssClass,i.container.ownerDocument),i.theme&&r.removeCssClass(i.container,i.theme.cssClass);var o="padding"in n?n.padding:"padding"in(i.theme||{})?4:i.$padding;i.$padding&&o!=i.$padding&&i.setPadding(o),i.$theme=n.cssClass,i.theme=n,r.addCssClass(i.container,n.cssClass),r.setCssClass(i.container,"ace_dark",n.isDark),i.$size&&(i.$size.width=0,i.$updateSizeAsync()),i._dispatchEvent("themeLoaded",{theme:n}),e&&e()}}var i=this;if(this.$themeId=t,i._dispatchEvent("themeChange",{theme:t}),t&&"string"!=typeof t)n(t);else{var s=t||this.$options.theme.initialValue;o.loadModule(["theme",s],n)}},this.getTheme=function(){return this.$themeId},this.setStyle=function(t,e){r.setCssClass(this.container,t,e!==!1)},this.unsetStyle=function(t){r.removeCssClass(this.container,t)},this.setCursorStyle=function(t){this.scroller.style.cursor!=t&&(this.scroller.style.cursor=t)},this.setMouseCursor=function(t){this.scroller.style.cursor=t},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(v.prototype),o.defineOptions(v.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(t){this.$textLayer.setShowInvisibles(t)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(t){"number"==typeof t&&(this.$printMarginColumn=t),this.$showPrintMargin=!!t,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(t){this.$gutter.style.display=t?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(t){r.setCssClass(this.$gutter,"ace_fade-fold-widgets",t)},initialValue:!1},showFoldWidgets:{set:function(t){this.$gutterLayer.setShowFoldWidgets(t)},initialValue:!0},showLineNumbers:{set:function(t){this.$gutterLayer.setShowLineNumbers(t),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(t){this.$textLayer.setDisplayIndentGuides(t)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(t){return this.$gutterLineHighlight?(this.$gutterLineHighlight.style.display=t?"":"none",void(this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight())):(this.$gutterLineHighlight=r.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight))},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(t){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(t){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(t){"number"==typeof t&&(t+="px"),this.container.style.fontSize=t,this.updateFontSize()},initialValue:12},fontFamily:{set:function(t){this.container.style.fontFamily=t,this.updateFontSize()}},maxLines:{set:function(t){this.updateFull()}},minLines:{set:function(t){this.updateFull()}},scrollPastEnd:{set:function(t){t=+t||0,this.$scrollPastEnd!=t&&(this.$scrollPastEnd=t,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(t){this.$gutterLayer.$fixedWidth=!!t,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(t){this.setTheme(t)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),e.VirtualRenderer=v}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(t,e,i){var r=t("../lib/oop"),o=t("../lib/net"),s=t("../lib/event_emitter").EventEmitter,a=t("../config"),l=function(e,i,r,o){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),t.nameToUrl&&!t.toUrl&&(t.toUrl=t.nameToUrl),a.get("packaged")||!t.toUrl)o=o||a.moduleUrl(i.id,"worker");else{var s=this.$normalizePath;o=o||s(t.toUrl("ace/worker/worker.js",null,"_"));var l={};e.forEach(function(e){l[e]=s(t.toUrl(e,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}try{var c=i.src,u=n(66),d=new u([c],{type:"application/javascript"}),h=(window.URL||window.webkitURL).createObjectURL(d);this.$worker=new Worker(h)}catch(t){if(!(t instanceof window.DOMException))throw t;var d=this.$workerBlob(o),f=window.URL||window.webkitURL,p=f.createObjectURL(d);this.$worker=new Worker(p),f.revokeObjectURL(p)}this.$worker.postMessage({init:!0,tlns:l,module:i.id,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){r.implement(this,s),this.onMessage=function(t){var e=t.data;switch(e.type){case"event":this._signal(e.name,{data:e.data});break;case"call":var n=this.callbacks[e.id];n&&(n(e.data),delete this.callbacks[e.id]);break;case"error":this.reportError(e.data);break;case"log":window.console&&console.log&&console.log.apply(console,e.data)}},this.reportError=function(t){window.console&&console.error&&console.error(t)},this.$normalizePath=function(t){return o.qualifyURL(t)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(t,e){this.$worker.postMessage({command:t,args:e})},this.call=function(t,e,n){if(n){var i=this.callbackId++;this.callbacks[i]=n,e.push(i)}this.send(t,e)},this.emit=function(t,e){try{this.$worker.postMessage({event:t,data:{data:e.data}})}catch(t){console.error(t.stack)}},this.attachToDocument=function(t){this.$doc&&this.terminate(),this.$doc=t,this.call("setValue",[t.getValue()]),t.on("change",this.changeListener)},this.changeListener=function(t){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==t.action?this.deltaQueue.push(t.start,t.lines):this.deltaQueue.push(t.start,t.end)},this.$sendDeltaQueue=function(){var t=this.deltaQueue;t&&(this.deltaQueue=null,t.length>50&&t.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:t}))},this.$workerBlob=function(t){var e="importScripts('"+o.qualifyURL(t)+"');";try{return new Blob([e],{type:"application/javascript"})}catch(t){var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,i=new n;return i.append(e),i.getBlob("application/javascript")}}}).call(l.prototype);var c=function(t,e,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var i=null,r=!1,o=(0,_create2.default)(s),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(t){l.messageBuffer.push(t),i&&(r?setTimeout(c):c())},this.setEmitSync=function(t){r=t};var c=function(){var t=l.messageBuffer.shift();t.command?i[t.command].apply(i,t.args):t.event&&o._signal(t.event,t.data)};o.postMessage=function(t){l.onMessage({data:t})},o.callback=function(t,e){this.postMessage({type:"call",id:e,data:t})},o.emit=function(t,e){this.postMessage({type:"event",name:t,data:e})},a.loadModule(["worker",e],function(t){for(i=new t[n](o);l.messageBuffer.length;)c()})};c.prototype=l.prototype,e.UIWorkerClient=c,e.WorkerClient=l}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(t,e,n){var i=t("./range").Range,r=t("./lib/event_emitter").EventEmitter,o=t("./lib/oop"),s=function(t,e,n,i,r,o){var s=this;this.length=e,this.session=t,this.doc=t.getDocument(),this.mainClass=r,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=i,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=n;var a=t.getUndoManager().$undoStack||t.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),t.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,r),this.setup=function(){var t=this,e=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=e.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=n.addMarker(new i(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var i=e.createAnchor(n.row,n.column);i.$insertRight=!0,i.detach(),t.others.push(i)}),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var t=this.session,e=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=t.addMarker(new i(n.row,n.column,n.row,n.column+e.length),e.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var t=0;t<this.others.length;t++)this.session.removeMarker(this.others[t].markerId)}},this.onUpdate=function(t){if(this.$updating)return this.updateAnchors(t);
|
|
89
|
-
var e=t;if(e.start.row===e.end.row&&e.start.row===this.pos.row){this.$updating=!0;var n="insert"===t.action?e.end.column-e.start.column:e.start.column-e.end.column,r=e.start.column>=this.pos.column&&e.start.column<=this.pos.column+this.length+1,o=e.start.column-this.pos.column;if(this.updateAnchors(t),r&&(this.length+=n),r&&!this.session.$fromUndo)if("insert"===t.action)for(var s=this.others.length-1;s>=0;s--){var a=this.others[s],l={row:a.row,column:a.column+o};this.doc.insertMergedLines(l,t.lines)}else if("remove"===t.action)for(var s=this.others.length-1;s>=0;s--){var a=this.others[s],l={row:a.row,column:a.column+o};this.doc.remove(new i(l.row,l.column,l.row,l.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(t){this.pos.onChange(t);for(var e=this.others.length;e--;)this.others[e].onChange(t);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var t=this,e=this.session,n=function(n,r){e.removeMarker(n.markerId),n.markerId=e.addMarker(new i(n.row,n.column,n.row,n.column+t.length),r,null,!1)};n(this.pos,this.mainClass);for(var r=this.others.length;r--;)n(this.others[r],this.othersClass)}},this.onCursorChange=function(t){if(!this.$updating&&this.session){var e=this.session.selection.getCursor();e.row===this.pos.row&&e.column>=this.pos.column&&e.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",t)):(this.hideOtherMarkers(),this._emit("cursorLeave",t))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(this.$undoStackDepth!==-1){for(var t=this.session.getUndoManager(),e=(t.$undoStack||t.$undostack).length-this.$undoStackDepth,n=0;n<e;n++)t.undo(!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}}}).call(s.prototype),e.PlaceHolder=s}),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,e,n){function i(t,e){return t.row==e.row&&t.column==e.column}function r(t){var e=t.domEvent,n=e.altKey,r=e.shiftKey,a=e.ctrlKey,l=t.getAccelKey(),c=t.getButton();if(a&&s.isMac&&(c=e.button),t.editor.inMultiSelectMode&&2==c)return void t.editor.textInput.onContextMenu(t.domEvent);if(!a&&!n&&!l)return void(0===c&&t.editor.inMultiSelectMode&&t.editor.exitMultiSelectMode());if(0===c){var u,d=t.editor,h=d.selection,f=d.inMultiSelectMode,p=t.getDocumentPosition(),m=h.getCursor(),g=t.inSelection()||h.isEmpty()&&i(p,m),v=t.x,y=t.y,b=function(t){v=t.clientX,y=t.clientY},w=d.session,A=d.renderer.pixelToScreenCoordinates(v,y),x=A;if(d.$mouseHandler.$enableJumpToDef)a&&n||l&&n?u=r?"block":"add":n&&d.$blockSelectEnabled&&(u="block");else if(l&&!n){if(u="add",!f&&r)return}else n&&d.$blockSelectEnabled&&(u="block");if(u&&s.isMac&&e.ctrlKey&&d.$mouseHandler.cancelContextMenu(),"add"==u){if(!f&&g)return;if(!f){var _=h.toOrientedRange();d.addSelectionMarker(_)}var E=h.rangeList.rangeAtPoint(p);d.$blockScrolling++,d.inVirtualSelectionMode=!0,r&&(E=null,_=h.ranges[0]||_,d.removeSelectionMarker(_)),d.once("mouseup",function(){var t=h.toOrientedRange();E&&t.isEmpty()&&i(E.cursor,t.cursor)?h.substractPoint(t.cursor):(r?h.substractPoint(_.cursor):_&&(d.removeSelectionMarker(_),h.addRange(_)),h.addRange(t)),d.$blockScrolling--,d.inVirtualSelectionMode=!1})}else if("block"==u){t.stop(),d.inVirtualSelectionMode=!0;var C,k=[],S=function(){var t=d.renderer.pixelToScreenCoordinates(v,y),e=w.screenToDocumentPosition(t.row,t.column);i(x,t)&&i(e,h.lead)||(x=t,d.$blockScrolling++,d.selection.moveToPosition(e),d.renderer.scrollCursorIntoView(),d.removeSelectionMarkers(k),k=h.rectangularRangeBlock(x,A),d.$mouseHandler.$clickSelection&&1==k.length&&k[0].isEmpty()&&(k[0]=d.$mouseHandler.$clickSelection.clone()),k.forEach(d.addSelectionMarker,d),d.updateSelectionMarkers(),d.$blockScrolling--)};d.$blockScrolling++,f&&!l?h.toSingleRange():!f&&l&&(C=h.toOrientedRange(),d.addSelectionMarker(C)),r?A=w.documentToScreenPosition(h.lead):h.moveToPosition(p),d.$blockScrolling--,x={row:-1,column:-1};var F=function(t){clearInterval(T),d.removeSelectionMarkers(k),k.length||(k=[h.toOrientedRange()]),d.$blockScrolling++,C&&(d.removeSelectionMarker(C),h.toSingleRange(C));for(var e=0;e<k.length;e++)h.addRange(k[e]);d.inVirtualSelectionMode=!1,d.$mouseHandler.$clickSelection=null,d.$blockScrolling--},D=S;o.capture(d.container,b,F);var T=setInterval(function(){D()},20);return t.preventDefault()}}}var o=t("../lib/event"),s=t("../lib/useragent");e.onMouseDown=r}),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(t,e,n){e.defaultCommands=[{name:"addCursorAbove",exec:function(t){t.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",exec:function(t){t.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",exec:function(t){t.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",exec:function(t){t.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",exec:function(t){t.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",exec:function(t){t.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",exec:function(t){t.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",exec:function(t){t.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"splitIntoLines",exec:function(t){t.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"alignCursors",exec:function(t){t.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",exec:function(t){t.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],e.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(t){t.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(t){return t&&t.inMultiSelectMode}}];var i=t("../keyboard/hash_handler").HashHandler;e.keyboardHandler=new i(e.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(t,e,n){function i(t,e,n){return m.$options.wrap=!0,m.$options.needle=e,m.$options.backwards=n==-1,m.find(t)}function r(t,e){return t.row==e.row&&t.column==e.column}function o(t){t.$multiselectOnSessionChange||(t.$onAddRange=t.$onAddRange.bind(t),t.$onRemoveRange=t.$onRemoveRange.bind(t),t.$onMultiSelect=t.$onMultiSelect.bind(t),t.$onSingleSelect=t.$onSingleSelect.bind(t),t.$multiselectOnSessionChange=e.onSessionChange.bind(t),t.$checkMultiselectChange=t.$checkMultiselectChange.bind(t),t.$multiselectOnSessionChange(t),t.on("changeSession",t.$multiselectOnSessionChange),t.on("mousedown",u),t.commands.addCommands(f.defaultCommands),s(t))}function s(t){function e(e){i&&(t.renderer.setMouseCursor(""),i=!1)}var n=t.textInput.getElement(),i=!1;d.addListener(n,"keydown",function(n){var r=18==n.keyCode&&!(n.ctrlKey||n.shiftKey||n.metaKey);t.$blockSelectEnabled&&r?i||(t.renderer.setMouseCursor("crosshair"),i=!0):i&&e()}),d.addListener(n,"keyup",e),d.addListener(n,"blur",e)}var a=t("./range_list").RangeList,l=t("./range").Range,c=t("./selection").Selection,u=t("./mouse/multi_select_handler").onMouseDown,d=t("./lib/event"),h=t("./lib/lang"),f=t("./commands/multi_select_commands");e.commands=f.defaultCommands.concat(f.multiSelectCommands);var p=t("./search").Search,m=new p,g=t("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(g.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(t,e){if(t){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(t),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),e||this.fromOrientedRange(t);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}t.cursor||(t.cursor=t.end);var i=this.rangeList.add(t);return this.$onAddRange(t),i.length&&this.$onRemoveRange(i),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),e||this.fromOrientedRange(t)}},this.toSingleRange=function(t){t=t||this.ranges[0];var e=this.rangeList.removeAll();e.length&&this.$onRemoveRange(e),t&&this.fromOrientedRange(t)},this.substractPoint=function(t){var e=this.rangeList.substractPoint(t);if(e)return this.$onRemoveRange(e),e[0]},this.mergeOverlappingRanges=function(){var t=this.rangeList.merge();t.length?this.$onRemoveRange(t):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(t){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(t),this._signal("addRange",{range:t})},this.$onRemoveRange=function(t){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var e=this.rangeList.ranges.pop();t.push(e),this.rangeCount=0}for(var n=t.length;n--;){var i=this.ranges.indexOf(t[n]);this.ranges.splice(i,1)}this._signal("removeRange",{ranges:t}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),e=e||this.ranges[0],e&&!e.isEqual(this.getRange())&&this.fromOrientedRange(e)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new a,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var t=this.rangeList.ranges,e=t[t.length-1],n=l.fromPoints(t[0].start,e.end);this.toSingleRange(),this.setSelectionRange(n,e.cursor==e.start)}else{var n=this.getRange(),i=this.isBackwards(),r=n.start.row,o=n.end.row;if(r==o){if(i)var s=n.end,a=n.start;else var s=n.start,a=n.end;return this.addRange(l.fromPoints(a,a)),void this.addRange(l.fromPoints(s,s))}var c=[],u=this.getLineRange(r,!0);u.start.column=n.start.column,c.push(u);for(var d=r+1;d<o;d++)c.push(this.getLineRange(d,!0));u=this.getLineRange(o,!0),u.end.column=n.end.column,c.push(u),c.forEach(this.addRange,this)}},this.toggleBlockSelection=function(){if(this.rangeCount>1){var t=this.rangeList.ranges,e=t[t.length-1],n=l.fromPoints(t[0].start,e.end);this.toSingleRange(),this.setSelectionRange(n,e.cursor==e.start)}else{var i=this.session.documentToScreenPosition(this.selectionLead),r=this.session.documentToScreenPosition(this.selectionAnchor),o=this.rectangularRangeBlock(i,r);o.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(t,e,n){var i=[],o=t.column<e.column;if(o)var s=t.column,a=e.column;else var s=e.column,a=t.column;var c=t.row<e.row;if(c)var u=t.row,d=e.row;else var u=e.row,d=t.row;s<0&&(s=0),u<0&&(u=0),u==d&&(n=!0);for(var h=u;h<=d;h++){var f=l.fromPoints(this.session.screenToDocumentPosition(h,s),this.session.screenToDocumentPosition(h,a));if(f.isEmpty()){if(p&&r(f.end,p))break;var p=f.end}f.cursor=o?f.start:f.end,i.push(f)}if(c&&i.reverse(),!n){for(var m=i.length-1;i[m].isEmpty()&&m>0;)m--;if(m>0)for(var g=0;i[g].isEmpty();)g++;for(var v=m;v>=g;v--)i[v].isEmpty()&&i.splice(v,1)}return i}}.call(c.prototype);var v=t("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(t){t.cursor||(t.cursor=t.end);var e=this.getSelectionStyle();return t.marker=this.session.addMarker(t,"ace_selection",e),this.session.$selectionMarkers.push(t),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,t},this.removeSelectionMarker=function(t){if(t.marker){this.session.removeMarker(t.marker);var e=this.session.$selectionMarkers.indexOf(t);e!=-1&&this.session.$selectionMarkers.splice(e,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(t){for(var e=this.session.$selectionMarkers,n=t.length;n--;){var i=t[n];if(i.marker){this.session.removeMarker(i.marker);var r=e.indexOf(i);r!=-1&&e.splice(r,1)}}this.session.selectionMarkerCount=e.length},this.$onAddRange=function(t){this.addSelectionMarker(t.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(t){this.removeSelectionMarkers(t.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(t){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(f.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(t){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(f.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(t){var e=t.command,n=t.editor;if(n.multiSelect){if(e.multiSelectAction)"forEach"==e.multiSelectAction?i=n.forEachSelection(e,t.args):"forEachLine"==e.multiSelectAction?i=n.forEachSelection(e,t.args,!0):"single"==e.multiSelectAction?(n.exitMultiSelectMode(),i=e.exec(n,t.args||{})):i=e.multiSelectAction(n,t.args||{});else{var i=e.exec(n,t.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return i}},this.forEachSelection=function(t,e,n){if(!this.inVirtualSelectionMode){var i,r=n&&n.keepOrder,o=1==n||n&&n.$byLines,s=this.session,a=this.selection,l=a.rangeList,u=(r?a:l).ranges;if(!u.length)return t.exec?t.exec(this,e||{}):t(this,e||{});var d=a._eventRegistry;a._eventRegistry={};var h=new c(s);this.inVirtualSelectionMode=!0;for(var f=u.length;f--;){if(o)for(;f>0&&u[f].start.row==u[f-1].end.row;)f--;h.fromOrientedRange(u[f]),h.index=f,this.selection=s.selection=h;var p=t.exec?t.exec(this,e||{}):t(this,e||{});i||void 0===p||(i=p),h.toOrientedRange(u[f])}h.detach(),this.selection=s.selection=a,this.inVirtualSelectionMode=!1,a._eventRegistry=d,a.mergeOverlappingRanges();var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),i}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var t="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var e=this.multiSelect.rangeList.ranges,n=[],i=0;i<e.length;i++)n.push(this.session.getTextRange(e[i]));var r=this.session.getDocument().getNewLineCharacter();t=n.join(r),t.length==(n.length-1)*r.length&&(t="")}else this.selection.isEmpty()||(t=this.session.getTextRange(this.getSelectionRange()));return t},this.$checkMultiselectChange=function(t,e){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var n=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&e==this.multiSelect.anchor)return;var i=e==this.multiSelect.anchor?n.cursor==n.start?n.end:n.start:n.cursor;i.row==e.row&&this.session.$clipPositionToDocument(i.row,i.column).column==e.column||this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange())}},this.findAll=function(t,e,n){if(e=e||{},e.needle=t||e.needle,void 0==e.needle){var i=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();e.needle=this.session.getTextRange(i)}this.$search.set(e);var r=this.$search.findAll(this.session);if(!r.length)return 0;this.$blockScrolling+=1;var o=this.multiSelect;n||o.toSingleRange(r[0]);for(var s=r.length;s--;)o.addRange(r[s],!0);return i&&o.rangeList.rangeAtPoint(i.start)&&o.addRange(i,!0),this.$blockScrolling-=1,r.length},this.selectMoreLines=function(t,e){var n=this.selection.toOrientedRange(),i=n.cursor==n.end,r=this.session.documentToScreenPosition(n.cursor);this.selection.$desiredColumn&&(r.column=this.selection.$desiredColumn);var o=this.session.screenToDocumentPosition(r.row+t,r.column);if(n.isEmpty())var s=o;else var a=this.session.documentToScreenPosition(i?n.end:n.start),s=this.session.screenToDocumentPosition(a.row+t,a.column);if(i){var c=l.fromPoints(o,s);c.cursor=c.start}else{var c=l.fromPoints(s,o);c.cursor=c.end}if(c.desiredColumn=r.column,this.selection.inMultiSelectMode){if(e)var u=n.cursor}else this.selection.addRange(n);this.selection.addRange(c),u&&this.selection.substractPoint(u)},this.transposeSelections=function(t){for(var e=this.session,n=e.multiSelect,i=n.ranges,r=i.length;r--;){var o=i[r];if(o.isEmpty()){var s=e.getWordRange(o.start.row,o.start.column);o.start.row=s.start.row,o.start.column=s.start.column,o.end.row=s.end.row,o.end.column=s.end.column}}n.mergeOverlappingRanges();for(var a=[],r=i.length;r--;){var o=i[r];a.unshift(e.getTextRange(o))}t<0?a.unshift(a.pop()):a.push(a.shift());for(var r=i.length;r--;){var o=i[r],s=o.clone();e.replace(o,a[r]),o.start.row=s.start.row,o.start.column=s.start.column}},this.selectMore=function(t,e,n){var r=this.session,o=r.multiSelect,s=o.toOrientedRange();if(!s.isEmpty()||(s=r.getWordRange(s.start.row,s.start.column),s.cursor=t==-1?s.start:s.end,this.multiSelect.addRange(s),!n)){var a=r.getTextRange(s),l=i(r,a,t);l&&(l.cursor=t==-1?l.start:l.end,this.$blockScrolling+=1,this.session.unfold(l),this.multiSelect.addRange(l),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,.5)),e&&this.multiSelect.substractPoint(s.cursor)}},this.alignCursors=function(){var t=this.session,e=t.multiSelect,n=e.ranges,i=-1,r=n.filter(function(t){return t.cursor.row==i||void(i=t.cursor.row)});if(n.length&&r.length!=n.length-1){r.forEach(function(t){e.substractPoint(t.cursor)});var o=0,s=1/0,a=n.map(function(e){var n=e.cursor,i=t.getLine(n.row),r=i.substr(n.column).search(/\S/g);return r==-1&&(r=0),n.column>o&&(o=n.column),r<s&&(s=r),r});n.forEach(function(e,n){var i=e.cursor,r=o-i.column,c=a[n]-s;r>c?t.insert(i,h.stringRepeat(" ",r-c)):t.remove(new l(i.row,i.column,i.row,i.column-r+c)),e.start.column=e.end.column=o,e.start.row=e.end.row=i.row,e.cursor=e.end}),e.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var c=this.selection.getRange(),u=c.start.row,d=c.end.row,f=u==d;if(f){var p,m=this.session.getLength();do p=this.session.getLine(d);while(/[=:]/.test(p)&&++d<m);do p=this.session.getLine(u);while(/[=:]/.test(p)&&--u>0);u<0&&(u=0),d>=m&&(d=m-1)}var g=this.session.removeFullLines(u,d);g=this.$reAlignText(g,f),this.session.insert({row:u,column:0},g.join("\n")+"\n"),f||(c.start.column=0,c.end.column=g[g.length-1].length),this.selection.setRange(c)}},this.$reAlignText=function(t,e){function n(t){return h.stringRepeat(" ",t)}function i(t){return t[2]?n(s)+t[2]+n(a-t[2].length+l)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}function r(t){return t[2]?n(s+a-t[2].length)+t[2]+n(l," ")+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}function o(t){return t[2]?n(s)+t[2]+n(l)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}var s,a,l,c=!0,u=!0;return t.map(function(t){var e=t.match(/(\s*)(.*?)(\s*)([=:].*)/);return e?null==s?(s=e[1].length,a=e[2].length,l=e[3].length,e):(s+a+l!=e[1].length+e[2].length+e[3].length&&(u=!1),s!=e[1].length&&(c=!1),s>e[1].length&&(s=e[1].length),a<e[2].length&&(a=e[2].length),l>e[3].length&&(l=e[3].length),e):[t]}).map(e?i:c?u?r:i:o)}}).call(v.prototype),e.onSessionChange=function(t){var e=t.session;e&&!e.multiSelect&&(e.$selectionMarkers=[],e.selection.$initRangeList(),e.multiSelect=e.selection),this.multiSelect=e&&e.multiSelect;var n=t.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),e&&(e.multiSelect.on("addRange",this.$onAddRange),e.multiSelect.on("removeRange",this.$onRemoveRange),e.multiSelect.on("multiSelect",this.$onMultiSelect),e.multiSelect.on("singleSelect",this.$onSingleSelect),e.multiSelect.lead.on("change",this.$checkMultiselectChange),e.multiSelect.anchor.on("change",this.$checkMultiselectChange)),e&&this.inMultiSelectMode!=e.selection.inMultiSelectMode&&(e.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},e.MultiSelect=o,t("./config").defineOptions(v.prototype,"editor",{enableMultiselect:{set:function(t){o(this),t?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",u)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",u))},value:!0},enableBlockSelect:{set:function(t){this.$blockSelectEnabled=t},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(t,e,n){var i=t("../../range").Range,r=e.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(t,e,n){var i=t.getLine(n);return this.foldingStartMarker.test(i)?"start":"markbeginend"==e&&this.foldingStopMarker&&this.foldingStopMarker.test(i)?"end":""},this.getFoldWidgetRange=function(t,e,n){return null},this.indentationBlock=function(t,e,n){var r=/\S/,o=t.getLine(e),s=o.search(r);if(s!=-1){for(var a=n||o.length,l=t.getLength(),c=e,u=e;++e<l;){var d=t.getLine(e).search(r);if(d!=-1){if(d<=s)break;u=e}}if(u>c){var h=t.getLine(u).length;return new i(c,a,u,h)}}},this.openingBracketBlock=function(t,e,n,r,o){var s={row:n,column:r+1},a=t.$findClosingBracket(e,s,o);if(a){var l=t.foldWidgets[a.row];return null==l&&(l=t.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=t.getLine(a.row).length),i.fromPoints(s,a)}},this.closingBracketBlock=function(t,e,n,r,o){var s={row:n,column:r},a=t.$findOpeningBracket(e,s);if(a)return a.column++,s.column--,i.fromPoints(a,s)}}).call(r.prototype)}),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(t,e,n){e.isDark=!1,e.cssClass="ace-tm",e.cssText='.ace-tm .ace_gutter {\t\tbackground: #f0f0f0;\t\tcolor: #333;\t\t}\t\t.ace-tm .ace_print-margin {\t\twidth: 1px;\t\tbackground: #e8e8e8;\t\t}\t\t.ace-tm .ace_fold {\t\tbackground-color: #6B72E6;\t\t}\t\t.ace-tm {\t\tbackground-color: #FFFFFF;\t\tcolor: black;\t\t}\t\t.ace-tm .ace_cursor {\t\tcolor: black;\t\t}\t\t.ace-tm .ace_invisible {\t\tcolor: rgb(191, 191, 191);\t\t}\t\t.ace-tm .ace_storage,\t\t.ace-tm .ace_keyword {\t\tcolor: blue;\t\t}\t\t.ace-tm .ace_constant {\t\tcolor: rgb(197, 6, 11);\t\t}\t\t.ace-tm .ace_constant.ace_buildin {\t\tcolor: rgb(88, 72, 246);\t\t}\t\t.ace-tm .ace_constant.ace_language {\t\tcolor: rgb(88, 92, 246);\t\t}\t\t.ace-tm .ace_constant.ace_library {\t\tcolor: rgb(6, 150, 14);\t\t}\t\t.ace-tm .ace_invalid {\t\tbackground-color: rgba(255, 0, 0, 0.1);\t\tcolor: red;\t\t}\t\t.ace-tm .ace_support.ace_function {\t\tcolor: rgb(60, 76, 114);\t\t}\t\t.ace-tm .ace_support.ace_constant {\t\tcolor: rgb(6, 150, 14);\t\t}\t\t.ace-tm .ace_support.ace_type,\t\t.ace-tm .ace_support.ace_class {\t\tcolor: rgb(109, 121, 222);\t\t}\t\t.ace-tm .ace_keyword.ace_operator {\t\tcolor: rgb(104, 118, 135);\t\t}\t\t.ace-tm .ace_string {\t\tcolor: rgb(3, 106, 7);\t\t}\t\t.ace-tm .ace_comment {\t\tcolor: rgb(76, 136, 107);\t\t}\t\t.ace-tm .ace_comment.ace_doc {\t\tcolor: rgb(0, 102, 255);\t\t}\t\t.ace-tm .ace_comment.ace_doc.ace_tag {\t\tcolor: rgb(128, 159, 191);\t\t}\t\t.ace-tm .ace_constant.ace_numeric {\t\tcolor: rgb(0, 0, 205);\t\t}\t\t.ace-tm .ace_variable {\t\tcolor: rgb(49, 132, 149);\t\t}\t\t.ace-tm .ace_xml-pe {\t\tcolor: rgb(104, 104, 91);\t\t}\t\t.ace-tm .ace_entity.ace_name.ace_function {\t\tcolor: #0000A2;\t\t}\t\t.ace-tm .ace_heading {\t\tcolor: rgb(12, 7, 255);\t\t}\t\t.ace-tm .ace_list {\t\tcolor:rgb(185, 6, 144);\t\t}\t\t.ace-tm .ace_meta.ace_tag {\t\tcolor:rgb(0, 22, 142);\t\t}\t\t.ace-tm .ace_string.ace_regex {\t\tcolor: rgb(255, 0, 0)\t\t}\t\t.ace-tm .ace_marker-layer .ace_selection {\t\tbackground: rgb(181, 213, 255);\t\t}\t\t.ace-tm.ace_multiselect .ace_selection.ace_start {\t\tbox-shadow: 0 0 3px 0px white;\t\t}\t\t.ace-tm .ace_marker-layer .ace_step {\t\tbackground: rgb(252, 255, 0);\t\t}\t\t.ace-tm .ace_marker-layer .ace_stack {\t\tbackground: rgb(164, 229, 101);\t\t}\t\t.ace-tm .ace_marker-layer .ace_bracket {\t\tmargin: -1px 0 0 -1px;\t\tborder: 1px solid rgb(192, 192, 192);\t\t}\t\t.ace-tm .ace_marker-layer .ace_active-line {\t\tbackground: rgba(0, 0, 0, 0.07);\t\t}\t\t.ace-tm .ace_gutter-active-line {\t\tbackground-color : #dcdcdc;\t\t}\t\t.ace-tm .ace_marker-layer .ace_selected-word {\t\tbackground: rgb(250, 250, 255);\t\tborder: 1px solid rgb(200, 200, 250);\t\t}\t\t.ace-tm .ace_indent-guide {\t\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;\t\t}\t\t';var i=t("../lib/dom");i.importCssString(e.cssText,e.cssClass)}),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],function(t,e,n){function i(t){this.session=t,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}var r=(t("./lib/oop"),t("./lib/dom"));t("./range").Range;(function(){this.getRowLength=function(t){var e;return e=this.lineWidgets?this.lineWidgets[t]&&this.lineWidgets[t].rowCount||0:0,this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1+e:1+e},this.$getWidgetScreenLength=function(){var t=0;return this.lineWidgets.forEach(function(e){e&&e.rowCount&&!e.hidden&&(t+=e.rowCount)}),t},this.$onChangeEditor=function(t){this.attach(t.editor)},this.attach=function(t){t&&t.widgetManager&&t.widgetManager!=this&&t.widgetManager.detach(),this.editor!=t&&(this.detach(),this.editor=t,t&&(t.widgetManager=this,t.renderer.on("beforeRender",this.measureWidgets),t.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(t){var e=this.editor;if(e){this.editor=null,e.widgetManager=null,e.renderer.off("beforeRender",this.measureWidgets),e.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach(function(t){t&&t.el&&t.el.parentNode&&(t._inDocument=!1,t.el.parentNode.removeChild(t.el))})}},this.updateOnFold=function(t,e){var n=e.lineWidgets;if(n&&t.action){for(var i=t.data,r=i.start.row,o=i.end.row,s="add"==t.action,a=r+1;a<o;a++)n[a]&&(n[a].hidden=s);n[o]&&(s?n[r]?n[o].hidden=s:n[r]=n[o]:(n[r]==n[o]&&(n[r]=void 0),n[o].hidden=s))}},this.updateOnChange=function(t){var e=this.session.lineWidgets;if(e){var n=t.start.row,i=t.end.row-n;if(0===i);else if("remove"==t.action){var r=e.splice(n+1,i);r.forEach(function(t){t&&this.removeLineWidget(t)},this),this.$updateRows()}else{var o=new Array(i);o.unshift(n,0),e.splice.apply(e,o),this.$updateRows()}}},this.$updateRows=function(){var t=this.session.lineWidgets;if(t){var e=!0;t.forEach(function(t,n){if(t)for(e=!1,t.row=n;t.$oldWidget;)t.$oldWidget.row=n,t=t.$oldWidget}),e&&(this.session.lineWidgets=null)}},this.addLineWidget=function(t){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var e=this.session.lineWidgets[t.row];e&&(t.$oldWidget=e,e.el&&e.el.parentNode&&(e.el.parentNode.removeChild(e.el),e._inDocument=!1)),this.session.lineWidgets[t.row]=t,t.session=this.session;var n=this.editor.renderer;t.html&&!t.el&&(t.el=r.createElement("div"),t.el.innerHTML=t.html),t.el&&(r.addCssClass(t.el,"ace_lineWidgetContainer"),t.el.style.position="absolute",t.el.style.zIndex=5,n.container.appendChild(t.el),t._inDocument=!0),t.coverGutter||(t.el.style.zIndex=3),t.pixelHeight||(t.pixelHeight=t.el.offsetHeight),null==t.rowCount&&(t.rowCount=t.pixelHeight/n.layerConfig.lineHeight);var i=this.session.getFoldAt(t.row,0);if(t.$fold=i,i){var o=this.session.lineWidgets;t.row!=i.end.row||o[i.start.row]?t.hidden=!0:o[i.start.row]=t}return this.session._emit("changeFold",{data:{start:{row:t.row}}}),this.$updateRows(),this.renderWidgets(null,n),this.onWidgetChanged(t),t},this.removeLineWidget=function(t){if(t._inDocument=!1,t.session=null,t.el&&t.el.parentNode&&t.el.parentNode.removeChild(t.el),t.editor&&t.editor.destroy)try{t.editor.destroy()}catch(t){}if(this.session.lineWidgets){var e=this.session.lineWidgets[t.row];if(e==t)this.session.lineWidgets[t.row]=t.$oldWidget,t.$oldWidget&&this.onWidgetChanged(t.$oldWidget);else for(;e;){if(e.$oldWidget==t){e.$oldWidget=t.$oldWidget;break}e=e.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:t.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(t){for(var e=this.session.lineWidgets,n=e&&e[t],i=[];n;)i.push(n),n=n.$oldWidget;return i},this.onWidgetChanged=function(t){this.session._changedWidgets.push(t),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(t,e){var n=this.session._changedWidgets,i=e.layerConfig;if(n&&n.length){for(var r=1/0,o=0;o<n.length;o++){var s=n[o];if(s&&s.el&&s.session==this.session){if(!s._inDocument){if(this.session.lineWidgets[s.row]!=s)continue;s._inDocument=!0,e.container.appendChild(s.el)}s.h=s.el.offsetHeight,s.fixedWidth||(s.w=s.el.offsetWidth,s.screenWidth=Math.ceil(s.w/i.characterWidth));var a=s.h/i.lineHeight;s.coverLine&&(a-=this.session.getRowLineCount(s.row),a<0&&(a=0)),s.rowCount!=a&&(s.rowCount=a,s.row<r&&(r=s.row))}}r!=1/0&&(this.session._emit("changeFold",{data:{start:{row:r}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},this.renderWidgets=function(t,e){var n=e.layerConfig,i=this.session.lineWidgets;if(i){for(var r=Math.min(this.firstRow,n.firstRow),o=Math.max(this.lastRow,n.lastRow,i.length);r>0&&!i[r];)r--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,e.$cursorLayer.config=n;for(var s=r;s<=o;s++){var a=i[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,e.container.appendChild(a.el));var l=e.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var c=a.coverGutter?0:e.gutterWidth;a.fixedWidth||(c-=e.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.fixedWidth?a.el.style.right=e.scrollBar.getWidth()+"px":a.el.style.right=""}}}}}).call(i.prototype),e.LineWidgets=i}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(t,e,n){function i(t,e,n){for(var i=0,r=t.length-1;i<=r;){var o=i+r>>1,s=n(e,t[o]);if(s>0)i=o+1;else{if(!(s<0))return o;r=o-1}}return-(i+1)}function r(t,e,n){var r=t.getAnnotations().sort(a.comparePoints);
|
|
90
|
-
if(r.length){var o=i(r,{row:e,column:-1},a.comparePoints);o<0&&(o=-o-1),o>=r.length?o=n>0?0:r.length-1:0===o&&n<0&&(o=r.length-1);var s=r[o];if(s&&n){if(s.row===e){do s=r[o+=n];while(s&&s.row===e);if(!s)return r.slice()}var l=[];e=s.row;do l[n<0?"unshift":"push"](s),s=r[o+=n];while(s&&s.row==e);return l.length&&l}}}var o=t("../line_widgets").LineWidgets,s=t("../lib/dom"),a=t("../range").Range;e.showErrorMarker=function(t,e){var n=t.session;n.widgetManager||(n.widgetManager=new o(n),n.widgetManager.attach(t));var i=t.getCursorPosition(),a=i.row,l=n.widgetManager.getWidgetsAtRow(a).filter(function(t){return"errorMarker"==t.type})[0];l?l.destroy():a-=e;var c,u=r(n,a,e);if(u){var d=u[0];i.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,i.row=d.row,c=t.renderer.$gutterLayer.$annotations[i.row]}else{if(l)return;c={text:["Looks good!"],className:"ace_ok"}}t.session.unfold(i.row),t.selection.moveToPosition(i);var h={row:i.row,fixedWidth:!0,coverGutter:!0,el:s.createElement("div"),type:"errorMarker"},f=h.el.appendChild(s.createElement("div")),p=h.el.appendChild(s.createElement("div"));p.className="error_widget_arrow "+c.className;var m=t.renderer.$cursorLayer.getPixelPosition(i).left;p.style.left=m+t.renderer.gutterWidth-5+"px",h.el.className="error_widget_wrapper",f.className="error_widget "+c.className,f.innerHTML=c.text.join("<br>"),f.appendChild(s.createElement("div"));var g=function(t,e,n){if(0===e&&("esc"===n||"return"===n))return h.destroy(),{command:"null"}};h.destroy=function(){t.$mouseHandler.isMousePressed||(t.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(h),t.off("changeSelection",h.destroy),t.off("changeSession",h.destroy),t.off("mouseup",h.destroy),t.off("change",h.destroy))},t.keyBinding.addKeyboardHandler(g),t.on("changeSelection",h.destroy),t.on("changeSession",h.destroy),t.on("mouseup",h.destroy),t.on("change",h.destroy),t.session.widgetManager.addLineWidget(h),h.el.onmousedown=t.focus.bind(t),t.renderer.scrollCursorIntoView(null,.5,{bottom:h.el.offsetHeight})},s.importCssString("\t\t .error_widget_wrapper {\t\t background: inherit;\t\t color: inherit;\t\t border:none\t\t }\t\t .error_widget {\t\t border-top: solid 2px;\t\t border-bottom: solid 2px;\t\t margin: 5px 0;\t\t padding: 10px 40px;\t\t white-space: pre-wrap;\t\t }\t\t .error_widget.ace_error, .error_widget_arrow.ace_error{\t\t border-color: #ff5a5a\t\t }\t\t .error_widget.ace_warning, .error_widget_arrow.ace_warning{\t\t border-color: #F1D817\t\t }\t\t .error_widget.ace_info, .error_widget_arrow.ace_info{\t\t border-color: #5a5a5a\t\t }\t\t .error_widget.ace_ok, .error_widget_arrow.ace_ok{\t\t border-color: #5aaa5a\t\t }\t\t .error_widget_arrow {\t\t position: absolute;\t\t border: solid 5px;\t\t border-top-color: transparent!important;\t\t border-right-color: transparent!important;\t\t border-left-color: transparent!important;\t\t top: -5px;\t\t }\t\t","")}),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(t,e,n){t("./lib/fixoldbrowsers");var i=t("./lib/dom"),r=t("./lib/event"),o=t("./editor").Editor,s=t("./edit_session").EditSession,a=t("./undomanager").UndoManager,l=t("./virtual_renderer").VirtualRenderer;t("./worker/worker_client"),t("./keyboard/hash_handler"),t("./placeholder"),t("./multi_select"),t("./mode/folding/fold_mode"),t("./theme/textmate"),t("./ext/error_marker"),e.config=t("./config"),e.acequire=t,e.edit=function(t){if("string"==typeof t){var n=t;if(t=document.getElementById(n),!t)throw new Error("ace.edit can't find div #"+n)}if(t&&t.env&&t.env.editor instanceof o)return t.env.editor;var s="";if(t&&/input|textarea/i.test(t.tagName)){var a=t;s=a.value,t=i.createElement("pre"),a.parentNode.replaceChild(t,a)}else t&&(s=i.getInnerText(t),t.innerHTML="");var c=e.createEditSession(s),u=new o(new l(t));u.setSession(c);var d={document:c,editor:u,onResize:u.resize.bind(u,null)};return a&&(d.textarea=a),r.addListener(window,"resize",d.onResize),u.on("destroy",function(){r.removeListener(window,"resize",d.onResize),d.editor.container.env=null}),u.container.env=u.env=d,u},e.createEditSession=function(t,e){var n=new s(t,e);return n.setUndoManager(new a),n},e.EditSession=s,e.UndoManager=a,e.version="1.2.3"}),function(){ace.acequire(["ace/ace"],function(t){t&&t.config.init(!0),window.ace||(window.ace=t);for(var e in t)t.hasOwnProperty(e)&&(window.ace[e]=t[e])})}(),t.exports=window.ace.acequire("ace/ace")},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e){(function(e){function n(){if(e.Blob)try{return new Blob(["asdf"],{type:"text/plain"}),Blob}catch(t){}var t=e.WebKitBlobBuilder||e.MozBlobBuilder||e.MSBlobBuilder;return function(e,n){var i=new t,r=n.endings,o=n.type;if(r)for(var s=0,a=e.length;s<a;++s)i.append(e[s],r);else for(var s=0,a=e.length;s<a;++s)i.append(e[s]);return o?i.getBlob(o):i.getBlob()}}t.exports=n()}).call(e,function(){return this}())},function(t,e,n){ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,e,n){var i=t("../lib/oop"),r=t("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"invalid.illegal",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"invalid.illegal",regex:"\\/\\/.*$"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:'"',next:"start"},{token:"string",regex:"",next:"start"}]}};i.inherits(o,r),e.JsonHighlightRules=o}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(t,e,n){var i=t("../range").Range,r=function(){};(function(){this.checkOutdent=function(t,e){return!!/^\s+$/.test(t)&&/^\s*\}/.test(e)},this.autoOutdent=function(t,e){var n=t.getLine(e),r=n.match(/^(\s*\})/);if(!r)return 0;var o=r[1].length,s=t.findMatchingBracket({row:e,column:o});if(!s||s.row==e)return 0;var a=this.$getIndent(t.getLine(s.row));t.replace(new i(e,0,e,o-1),a)},this.$getIndent=function(t){return t.match(/^\s*/)[0]}}).call(r.prototype),e.MatchingBraceOutdent=r}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(t,e,n){var i,r=t("../../lib/oop"),o=t("../behaviour").Behaviour,s=t("../../token_iterator").TokenIterator,a=t("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],u={},d=function(t){var e=-1;return t.multiSelect&&(e=t.selection.index,u.rangeCount!=t.multiSelect.rangeCount&&(u={rangeCount:t.multiSelect.rangeCount})),u[e]?i=u[e]:void(i=u[e]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""})},h=function(t,e,n,i){var r=t.end.row-t.start.row;return{text:n+e+i,selection:[0,t.start.column+1,r,t.end.column+(r?0:1)]}},f=function t(){this.add("braces","insertion",function(e,n,r,o,s){var l=r.getCursorPosition(),c=o.doc.getLine(l.row);if("{"==s){d(r);var u=r.getSelectionRange(),f=o.doc.getTextRange(u);if(""!==f&&"{"!==f&&r.getWrapBehavioursEnabled())return h(u,f,"{","}");if(t.isSaneInsertion(r,o))return/[\]\}\)]/.test(c[l.column])||r.inMultiSelectMode?(t.recordAutoInsert(r,o,"}"),{text:"{}",selection:[1,1]}):(t.recordMaybeInsert(r,o,"{"),{text:"{",selection:[1,1]})}else if("}"==s){d(r);var p=c.substring(l.column,l.column+1);if("}"==p){var m=o.$findOpeningBracket("}",{column:l.column+1,row:l.row});if(null!==m&&t.isAutoInsertedClosing(l,c,s))return t.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else{if("\n"==s||"\r\n"==s){d(r);var g="";t.isMaybeInsertedClosing(l,c)&&(g=a.stringRepeat("}",i.maybeInsertedBrackets),t.clearMaybeInsertedClosing());var p=c.substring(l.column,l.column+1);if("}"===p){var v=o.findMatchingBracket({row:l.row,column:l.column+1},"}");if(!v)return null;var y=this.$getIndent(o.getLine(v.row))}else{if(!g)return void t.clearMaybeInsertedClosing();var y=this.$getIndent(c)}var b=y+o.getTabString();return{text:"\n"+b+"\n"+y+g,selection:[1,b.length,1,b.length]}}t.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(t,e,n,r,o){var s=r.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==s){d(n);var a=r.doc.getLine(o.start.row),l=a.substring(o.end.column,o.end.column+1);if("}"==l)return o.end.column++,o;i.maybeInsertedBrackets--}}),this.add("parens","insertion",function(e,n,i,r,o){if("("==o){d(i);var s=i.getSelectionRange(),a=r.doc.getTextRange(s);if(""!==a&&i.getWrapBehavioursEnabled())return h(s,a,"(",")");if(t.isSaneInsertion(i,r))return t.recordAutoInsert(i,r,")"),{text:"()",selection:[1,1]}}else if(")"==o){d(i);var l=i.getCursorPosition(),c=r.doc.getLine(l.row),u=c.substring(l.column,l.column+1);if(")"==u){var f=r.$findOpeningBracket(")",{column:l.column+1,row:l.row});if(null!==f&&t.isAutoInsertedClosing(l,c,o))return t.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(t,e,n,i,r){var o=i.doc.getTextRange(r);if(!r.isMultiLine()&&"("==o){d(n);var s=i.doc.getLine(r.start.row),a=s.substring(r.start.column+1,r.start.column+2);if(")"==a)return r.end.column++,r}}),this.add("brackets","insertion",function(e,n,i,r,o){if("["==o){d(i);var s=i.getSelectionRange(),a=r.doc.getTextRange(s);if(""!==a&&i.getWrapBehavioursEnabled())return h(s,a,"[","]");if(t.isSaneInsertion(i,r))return t.recordAutoInsert(i,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==o){d(i);var l=i.getCursorPosition(),c=r.doc.getLine(l.row),u=c.substring(l.column,l.column+1);if("]"==u){var f=r.$findOpeningBracket("]",{column:l.column+1,row:l.row});if(null!==f&&t.isAutoInsertedClosing(l,c,o))return t.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(t,e,n,i,r){var o=i.doc.getTextRange(r);if(!r.isMultiLine()&&"["==o){d(n);var s=i.doc.getLine(r.start.row),a=s.substring(r.start.column+1,r.start.column+2);if("]"==a)return r.end.column++,r}}),this.add("string_dquotes","insertion",function(t,e,n,i,r){if('"'==r||"'"==r){d(n);var o=r,s=n.getSelectionRange(),a=i.doc.getTextRange(s);if(""!==a&&"'"!==a&&'"'!=a&&n.getWrapBehavioursEnabled())return h(s,a,o,o);if(!a){var l=n.getCursorPosition(),c=i.doc.getLine(l.row),u=c.substring(l.column-1,l.column),f=c.substring(l.column,l.column+1),p=i.getTokenAt(l.row,l.column),m=i.getTokenAt(l.row,l.column+1);if("\\"==u&&p&&/escape/.test(p.type))return null;var g,v=p&&/string|escape/.test(p.type),y=!m||/string|escape/.test(m.type);if(f==o)g=v!==y;else{if(v&&!y)return null;if(v&&y)return null;var b=i.$mode.tokenRe;b.lastIndex=0;var w=b.test(u);b.lastIndex=0;var A=b.test(u);if(w||A)return null;if(f&&!/[\s;,.})\]\\]/.test(f))return null;g=!0}return{text:g?o+o:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(t,e,n,i,r){var o=i.doc.getTextRange(r);if(!r.isMultiLine()&&('"'==o||"'"==o)){d(n);var s=i.doc.getLine(r.start.row),a=s.substring(r.start.column+1,r.start.column+2);if(a==o)return r.end.column++,r}})};f.isSaneInsertion=function(t,e){var n=t.getCursorPosition(),i=new s(e,n.row,n.column);if(!this.$matchTokenType(i.getCurrentToken()||"text",l)){var r=new s(e,n.row,n.column+1);if(!this.$matchTokenType(r.getCurrentToken()||"text",l))return!1}return i.stepForward(),i.getCurrentTokenRow()!==n.row||this.$matchTokenType(i.getCurrentToken()||"text",c)},f.$matchTokenType=function(t,e){return e.indexOf(t.type||t)>-1},f.recordAutoInsert=function(t,e,n){var r=t.getCursorPosition(),o=e.doc.getLine(r.row);this.isAutoInsertedClosing(r,o,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=r.row,i.autoInsertedLineEnd=n+o.substr(r.column),i.autoInsertedBrackets++},f.recordMaybeInsert=function(t,e,n){var r=t.getCursorPosition(),o=e.doc.getLine(r.row);this.isMaybeInsertedClosing(r,o)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=r.row,i.maybeInsertedLineStart=o.substr(0,r.column)+n,i.maybeInsertedLineEnd=o.substr(r.column),i.maybeInsertedBrackets++},f.isAutoInsertedClosing=function(t,e,n){return i.autoInsertedBrackets>0&&t.row===i.autoInsertedRow&&n===i.autoInsertedLineEnd[0]&&e.substr(t.column)===i.autoInsertedLineEnd},f.isMaybeInsertedClosing=function(t,e){return i.maybeInsertedBrackets>0&&t.row===i.maybeInsertedRow&&e.substr(t.column)===i.maybeInsertedLineEnd&&e.substr(0,t.column)==i.maybeInsertedLineStart},f.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},f.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},r.inherits(f,o),e.CstyleBehaviour=f}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(t,e,n){var i=t("../../lib/oop"),r=t("../../range").Range,o=t("./fold_mode").FoldMode,s=e.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};i.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(t,e,n){var i=t.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var r=this._getFoldWidgetBase(t,e,n);return!r&&this.startRegionRe.test(i)?"start":r},this.getFoldWidgetRange=function(t,e,n,i){var r=t.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(t,r,n);var o=r.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.openingBracketBlock(t,o[1],n,s);var a=t.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(i?a=this.getSectionRange(t,n):"all"!=e&&(a=null)),a}if("markbegin"!==e){var o=r.match(this.foldingStopMarker);if(o){var s=o.index+o[0].length;return o[1]?this.closingBracketBlock(t,o[1],n,s):t.getCommentFoldRange(n,s,-1)}}},this.getSectionRange=function(t,e){var n=t.getLine(e),i=n.search(/\S/),o=e,s=n.length;e+=1;for(var a=e,l=t.getLength();++e<l;){n=t.getLine(e);var c=n.search(/\S/);if(c!==-1){if(i>c)break;var u=this.getFoldWidgetRange(t,"all",e);if(u){if(u.start.row<=o)break;if(u.isMultiLine())e=u.end.row;else if(i==c)break}a=e}}return new r(o,s,a,t.getLine(a).length)},this.getCommentRegionBlock=function(t,e,n){for(var i=e.search(/\s*$/),o=t.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++n<o;){e=t.getLine(n);var c=a.exec(e);if(c&&(c[1]?l--:l++,!l))break}var u=n;if(u>s)return new r(s,i,u,e.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(t,e,i){var r=t("../lib/oop"),o=t("./text").Mode,s=t("./json_highlight_rules").JsonHighlightRules,a=t("./matching_brace_outdent").MatchingBraceOutdent,l=t("./behaviour/cstyle").CstyleBehaviour,c=t("./folding/cstyle").FoldMode,u=t("../worker/worker_client").WorkerClient,d=function(){this.HighlightRules=s,this.$outdent=new a,this.$behaviour=new l,this.foldingRules=new c};r.inherits(d,o),function(){this.getNextLineIndent=function(t,e,n){var i=this.$getIndent(e);if("start"==t){var r=e.match(/^.*[\{\(\[]\s*$/);r&&(i+=n)}return i},this.checkOutdent=function(t,e,n){return this.$outdent.checkOutdent(e,n)},this.autoOutdent=function(t,e,n){this.$outdent.autoOutdent(e,n)},this.createWorker=function(t){var e=new u(["ace"],n(68),"JsonWorker");return e.attachToDocument(t.getDocument()),e.on("annotate",function(e){t.setAnnotations(e.data)}),e.on("terminate",function(){t.clearAnnotations()}),e},this.$id="ace/mode/json"}.call(d.prototype),e.Mode=d})},function(t,e){t.exports.id="ace/mode/json_worker",t.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\v\\f\\r \\u2028\\u2029\ufeff";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)}});';
|
|
91
|
-
},function(t,e){ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/keyboard/hash_handler","ace/lib/keys"],function(t,e,n){var i=t("../lib/dom"),r=t("../lib/lang"),o=t("../lib/event"),s="\t\t.ace_search {\t\tbackground-color: #ddd;\t\tborder: 1px solid #cbcbcb;\t\tborder-top: 0 none;\t\tmax-width: 325px;\t\toverflow: hidden;\t\tmargin: 0;\t\tpadding: 4px;\t\tpadding-right: 6px;\t\tpadding-bottom: 0;\t\tposition: absolute;\t\ttop: 0px;\t\tz-index: 99;\t\twhite-space: normal;\t\t}\t\t.ace_search.left {\t\tborder-left: 0 none;\t\tborder-radius: 0px 0px 5px 0px;\t\tleft: 0;\t\t}\t\t.ace_search.right {\t\tborder-radius: 0px 0px 0px 5px;\t\tborder-right: 0 none;\t\tright: 0;\t\t}\t\t.ace_search_form, .ace_replace_form {\t\tborder-radius: 3px;\t\tborder: 1px solid #cbcbcb;\t\tfloat: left;\t\tmargin-bottom: 4px;\t\toverflow: hidden;\t\t}\t\t.ace_search_form.ace_nomatch {\t\toutline: 1px solid red;\t\t}\t\t.ace_search_field {\t\tbackground-color: white;\t\tborder-right: 1px solid #cbcbcb;\t\tborder: 0 none;\t\t-webkit-box-sizing: border-box;\t\t-moz-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tfloat: left;\t\theight: 22px;\t\toutline: 0;\t\tpadding: 0 7px;\t\twidth: 214px;\t\tmargin: 0;\t\t}\t\t.ace_searchbtn,\t\t.ace_replacebtn {\t\tbackground: #fff;\t\tborder: 0 none;\t\tborder-left: 1px solid #dcdcdc;\t\tcursor: pointer;\t\tfloat: left;\t\theight: 22px;\t\tmargin: 0;\t\tposition: relative;\t\t}\t\t.ace_searchbtn:last-child,\t\t.ace_replacebtn:last-child {\t\tborder-top-right-radius: 3px;\t\tborder-bottom-right-radius: 3px;\t\t}\t\t.ace_searchbtn:disabled {\t\tbackground: none;\t\tcursor: default;\t\t}\t\t.ace_searchbtn {\t\tbackground-position: 50% 50%;\t\tbackground-repeat: no-repeat;\t\twidth: 27px;\t\t}\t\t.ace_searchbtn.prev {\t\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiSU1NZUAC/6E0I0yACYskCpsJiySKIiY0SUZk40FyTEgCjGgKwTRAgAEAQJUIPCE+qfkAAAAASUVORK5CYII=); \t\t}\t\t.ace_searchbtn.next {\t\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiTE1NZQCC/0DMyIAKwGJMUAYDEo3M/s+EpvM/mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=); \t\t}\t\t.ace_searchbtn_close {\t\tbackground: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;\t\tborder-radius: 50%;\t\tborder: 0 none;\t\tcolor: #656565;\t\tcursor: pointer;\t\tfloat: right;\t\tfont: 16px/16px Arial;\t\theight: 14px;\t\tmargin: 5px 1px 9px 5px;\t\tpadding: 0;\t\ttext-align: center;\t\twidth: 14px;\t\t}\t\t.ace_searchbtn_close:hover {\t\tbackground-color: #656565;\t\tbackground-position: 50% 100%;\t\tcolor: white;\t\t}\t\t.ace_replacebtn.prev {\t\twidth: 54px\t\t}\t\t.ace_replacebtn.next {\t\twidth: 27px\t\t}\t\t.ace_button {\t\tmargin-left: 2px;\t\tcursor: pointer;\t\t-webkit-user-select: none;\t\t-moz-user-select: none;\t\t-o-user-select: none;\t\t-ms-user-select: none;\t\tuser-select: none;\t\toverflow: hidden;\t\topacity: 0.7;\t\tborder: 1px solid rgba(100,100,100,0.23);\t\tpadding: 1px;\t\t-moz-box-sizing: border-box;\t\tbox-sizing: border-box;\t\tcolor: black;\t\t}\t\t.ace_button:hover {\t\tbackground-color: #eee;\t\topacity:1;\t\t}\t\t.ace_button:active {\t\tbackground-color: #ddd;\t\t}\t\t.ace_button.checked {\t\tborder-color: #3399ff;\t\topacity:1;\t\t}\t\t.ace_search_options{\t\tmargin-bottom: 3px;\t\ttext-align: right;\t\t-webkit-user-select: none;\t\t-moz-user-select: none;\t\t-o-user-select: none;\t\t-ms-user-select: none;\t\tuser-select: none;\t\t}",a=t("../keyboard/hash_handler").HashHandler,l=t("../lib/keys");i.importCssString(s,"ace_searchbox");var c='<div class="ace_search right">\t\t <button type="button" action="hide" class="ace_searchbtn_close"></button>\t\t <div class="ace_search_form">\t\t <input class="ace_search_field" placeholder="Search for" spellcheck="false"></input>\t\t <button type="button" action="findNext" class="ace_searchbtn next"></button>\t\t <button type="button" action="findPrev" class="ace_searchbtn prev"></button>\t\t <button type="button" action="findAll" class="ace_searchbtn" title="Alt-Enter">All</button>\t\t </div>\t\t <div class="ace_replace_form">\t\t <input class="ace_search_field" placeholder="Replace with" spellcheck="false"></input>\t\t <button type="button" action="replaceAndFindNext" class="ace_replacebtn">Replace</button>\t\t <button type="button" action="replaceAll" class="ace_replacebtn">All</button>\t\t </div>\t\t <div class="ace_search_options">\t\t <span action="toggleRegexpMode" class="ace_button" title="RegExp Search">.*</span>\t\t <span action="toggleCaseSensitive" class="ace_button" title="CaseSensitive Search">Aa</span>\t\t <span action="toggleWholeWords" class="ace_button" title="Whole Word Search">\\b</span>\t\t </div>\t\t</div>'.replace(/>\s+/g,">"),u=function(t,e,n){var r=i.createElement("div");r.innerHTML=c,this.element=r.firstChild,this.$init(),this.setEditor(t)};(function(){this.setEditor=function(t){t.searchBox=this,t.container.appendChild(this.element),this.editor=t},this.$initElements=function(t){this.searchBox=t.querySelector(".ace_search_form"),this.replaceBox=t.querySelector(".ace_replace_form"),this.searchOptions=t.querySelector(".ace_search_options"),this.regExpOption=t.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=t.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=t.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field")},this.$init=function(){var t=this.element;this.$initElements(t);var e=this;o.addListener(t,"mousedown",function(t){setTimeout(function(){e.activeInput.focus()},0),o.stopPropagation(t)}),o.addListener(t,"click",function(t){var n=t.target||t.srcElement,i=n.getAttribute("action");i&&e[i]?e[i]():e.$searchBarKb.commands[i]&&e.$searchBarKb.commands[i].exec(e),o.stopPropagation(t)}),o.addCommandKeyListener(t,function(t,n,i){var r=l.keyCodeToString(i),s=e.$searchBarKb.findKeyCommand(n,r);s&&s.exec&&(s.exec(e),o.stopEvent(t))}),this.$onChange=r.delayedCall(function(){e.find(!1,!1)}),o.addListener(this.searchInput,"input",function(){e.$onChange.schedule(20)}),o.addListener(this.searchInput,"focus",function(){e.activeInput=e.searchInput,e.searchInput.value&&e.highlight()}),o.addListener(this.replaceInput,"focus",function(){e.activeInput=e.replaceInput,e.searchInput.value&&e.highlight()})},this.$closeSearchBarKb=new a([{bindKey:"Esc",name:"closeSearchBar",exec:function(t){t.searchBox.hide()}}]),this.$searchBarKb=new a,this.$searchBarKb.bindKeys({"Ctrl-f|Command-f":function(t){var e=t.isReplace=!t.isReplace;t.replaceBox.style.display=e?"":"none",t.searchInput.focus()},"Ctrl-H|Command-Option-F":function(t){t.replaceBox.style.display="",t.replaceInput.focus()},"Ctrl-G|Command-G":function(t){t.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(t){t.findPrev()},esc:function(t){setTimeout(function(){t.hide()})},Return:function(t){t.activeInput==t.replaceInput&&t.replace(),t.findNext()},"Shift-Return":function(t){t.activeInput==t.replaceInput&&t.replace(),t.findPrev()},"Alt-Return":function(t){t.activeInput==t.replaceInput&&t.replaceAll(),t.findAll()},Tab:function(t){(t.activeInput==t.replaceInput?t.searchInput:t.replaceInput).focus()}}),this.$searchBarKb.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(t){t.regExpOption.checked=!t.regExpOption.checked,t.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(t){t.caseSensitiveOption.checked=!t.caseSensitiveOption.checked,t.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(t){t.wholeWordOption.checked=!t.wholeWordOption.checked,t.$syncOptions()}}]),this.$syncOptions=function(){i.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),i.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),i.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked),this.find(!1,!1)},this.highlight=function(t){this.editor.session.highlight(t||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},this.find=function(t,e,n){var r=this.editor.find(this.searchInput.value,{skipCurrent:t,backwards:e,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:n}),o=!r&&this.searchInput.value;i.setCssClass(this.searchBox,"ace_nomatch",o),this.editor._emit("findSearchBox",{match:!o}),this.highlight()},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var t=this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked}),e=!t&&this.searchInput.value;i.setCssClass(this.searchBox,"ace_nomatch",e),this.editor._emit("findSearchBox",{match:!e}),this.highlight(),this.hide()},this.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},this.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},this.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},this.hide=function(){this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},this.show=function(t,e){this.element.style.display="",this.replaceBox.style.display=e?"":"none",this.isReplace=e,t&&(this.searchInput.value=t),this.find(!1,!1,!0),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb)},this.isFocused=function(){var t=document.activeElement;return t==this.searchInput||t==this.replaceInput}}).call(u.prototype),e.SearchBox=u,e.Search=function(t,e){var n=t.searchBox||new u(t);n.show(t.session.getTextRange(),e)}}),function(){ace.acequire(["ace/ext/searchbox"],function(){})}()},function(t,e){ace.define("ace/theme/jsoneditor",["require","exports","module","ace/lib/dom"],function(t,e,n){e.isDark=!1,e.cssClass="ace-jsoneditor",e.cssText='.ace-jsoneditor .ace_gutter {\t\tbackground: #ebebeb;\t\tcolor: #333\t\t}\t\t\t\t.ace-jsoneditor.ace_editor {\t\tfont-family: droid sans mono, consolas, monospace, courier new, courier, sans-serif;\t\tline-height: 1.3;\t\t}\t\t.ace-jsoneditor .ace_print-margin {\t\twidth: 1px;\t\tbackground: #e8e8e8\t\t}\t\t.ace-jsoneditor .ace_scroller {\t\tbackground-color: #FFFFFF\t\t}\t\t.ace-jsoneditor .ace_text-layer {\t\tcolor: gray\t\t}\t\t.ace-jsoneditor .ace_variable {\t\tcolor: #1a1a1a\t\t}\t\t.ace-jsoneditor .ace_cursor {\t\tborder-left: 2px solid #000000\t\t}\t\t.ace-jsoneditor .ace_overwrite-cursors .ace_cursor {\t\tborder-left: 0px;\t\tborder-bottom: 1px solid #000000\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_selection {\t\tbackground: lightgray\t\t}\t\t.ace-jsoneditor.ace_multiselect .ace_selection.ace_start {\t\tbox-shadow: 0 0 3px 0px #FFFFFF;\t\tborder-radius: 2px\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_step {\t\tbackground: rgb(255, 255, 0)\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_bracket {\t\tmargin: -1px 0 0 -1px;\t\tborder: 1px solid #BFBFBF\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_active-line {\t\tbackground: #FFFBD1\t\t}\t\t.ace-jsoneditor .ace_gutter-active-line {\t\tbackground-color : #dcdcdc\t\t}\t\t.ace-jsoneditor .ace_marker-layer .ace_selected-word {\t\tborder: 1px solid lightgray\t\t}\t\t.ace-jsoneditor .ace_invisible {\t\tcolor: #BFBFBF\t\t}\t\t.ace-jsoneditor .ace_keyword,\t\t.ace-jsoneditor .ace_meta,\t\t.ace-jsoneditor .ace_support.ace_constant.ace_property-value {\t\tcolor: #AF956F\t\t}\t\t.ace-jsoneditor .ace_keyword.ace_operator {\t\tcolor: #484848\t\t}\t\t.ace-jsoneditor .ace_keyword.ace_other.ace_unit {\t\tcolor: #96DC5F\t\t}\t\t.ace-jsoneditor .ace_constant.ace_language {\t\tcolor: darkorange\t\t}\t\t.ace-jsoneditor .ace_constant.ace_numeric {\t\tcolor: red\t\t}\t\t.ace-jsoneditor .ace_constant.ace_character.ace_entity {\t\tcolor: #BF78CC\t\t}\t\t.ace-jsoneditor .ace_invalid {\t\tcolor: #FFFFFF;\t\tbackground-color: #FF002A;\t\t}\t\t.ace-jsoneditor .ace_fold {\t\tbackground-color: #AF956F;\t\tborder-color: #000000\t\t}\t\t.ace-jsoneditor .ace_storage,\t\t.ace-jsoneditor .ace_support.ace_class,\t\t.ace-jsoneditor .ace_support.ace_function,\t\t.ace-jsoneditor .ace_support.ace_other,\t\t.ace-jsoneditor .ace_support.ace_type {\t\tcolor: #C52727\t\t}\t\t.ace-jsoneditor .ace_string {\t\tcolor: green\t\t}\t\t.ace-jsoneditor .ace_comment {\t\tcolor: #BCC8BA\t\t}\t\t.ace-jsoneditor .ace_entity.ace_name.ace_tag,\t\t.ace-jsoneditor .ace_entity.ace_other.ace_attribute-name {\t\tcolor: #606060\t\t}\t\t.ace-jsoneditor .ace_markup.ace_underline {\t\ttext-decoration: underline\t\t}\t\t.ace-jsoneditor .ace_indent-guide {\t\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y\t\t}';var i=t("../lib/dom");i.importCssString(e.cssText,e.cssClass)})}])})}).call(exports,__webpack_require__(97)(module))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(57);Object.defineProperty(e,"alert",{enumerable:!0,get:function(){return i.alert}});var r=n(134);Object.defineProperty(e,"carousel",{enumerable:!0,get:function(){return r.carousel}});var o=n(139);Object.defineProperty(e,"slider",{enumerable:!0,get:function(){return o.slider}});var s=n(132);Object.defineProperty(e,"accordion",{enumerable:!0,get:function(){return s.accordion}});var a=n(611);Object.defineProperty(e,"affix",{enumerable:!0,get:function(){return a.affix}});var l=n(133);Object.defineProperty(e,"aside",{enumerable:!0,get:function(){return l.aside}});var c=n(617);Object.defineProperty(e,"checkboxGroup",{enumerable:!0,get:function(){return c.checkboxGroup}});var u=n(616);Object.defineProperty(e,"checkboxBtn",{enumerable:!0,get:function(){return u.checkboxBtn}});var d=n(135);Object.defineProperty(e,"datepicker",{enumerable:!0,get:function(){return d.datepicker}});var h=n(136);Object.defineProperty(e,"dropdown",{enumerable:!0,get:function(){return h.dropdown}});var f=n(80);Object.defineProperty(e,"modal",{enumerable:!0,get:function(){return f.modal}});var p=n(614);Object.defineProperty(e,"option",{enumerable:!0,get:function(){return p.option}});var m=n(137);Object.defineProperty(e,"panel",{enumerable:!0,get:function(){return m.panel}});var g=n(138);Object.defineProperty(e,"popover",{enumerable:!0,get:function(){return g.popover}});var v=n(615);Object.defineProperty(e,"progressbar",{enumerable:!0,get:function(){return v.progressbar}});var y=n(618);Object.defineProperty(e,"radioBtn",{enumerable:!0,get:function(){return y.radioBtn}});var b=n(619);Object.defineProperty(e,"radioGroup",{enumerable:!0,get:function(){return b.radioGroup}});var w=n(81);Object.defineProperty(e,"select",{enumerable:!0,get:function(){return w.select}});var A=n(141);Object.defineProperty(e,"tab",{enumerable:!0,get:function(){return A.tab}});var x=n(142);Object.defineProperty(e,"tabset",{enumerable:!0,get:function(){return x.tabset}});var _=n(143);Object.defineProperty(e,"tooltip",{enumerable:!0,get:function(){return _.tooltip}});var E=n(144);Object.defineProperty(e,"typeahead",{enumerable:!0,get:function(){return E.typeahead}});var C=n(613);Object.defineProperty(e,"navbar",{enumerable:!0,get:function(){return C.navbar}});var k=n(140);Object.defineProperty(e,"spinner",{enumerable:!0,get:function(){return k.spinner}})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t){return t instanceof window.Node}function o(t){return t instanceof window.NodeList||t instanceof k||t instanceof window.HTMLCollection||t instanceof Array}function s(t){return t=t.trim(),t.length?t.replace(/\s+/," ").split(" "):[]}function a(t){return t.length?t.join(" "):""}function l(t,e){var n=[];return A.forEach.call(t,function(i){if(r(i))~n.indexOf(i)||n.push(i);else if(o(i))for(var s in i)n.push(i[s]);else if(null!==i)return t.get=S.get,t.set=S.set,t.call=S.call,t.owner=e,t}),u(n,e)}function c(t){var e=this;S[t]||(F[t]instanceof Function?S[t]=function(){for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=[],s=!0;for(var a in S){var c=S[a];c&&c[t]instanceof Function?(c=c[t].apply(c,i),o.push(c),s&&void 0!==c&&(s=!1)):o.push(void 0)}return s?e:l(o,e)}:(0,h.default)(S,t,{get:function(){var e=[];return this.each(function(n){null!==n&&(n=n[t]),e.push(n)}),l(e,this)},set:function(e){this.each(function(n){n&&t in n&&(n[t]=e)})}}))}function u(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return new k(e)}Object.defineProperty(e,"__esModule",{value:!0});var d=n(49),h=i(d),f=n(99),p=i(f),m=n(98),g=i(m),v=n(14),y=i(v),b=n(15),w=i(b),A=Array.prototype,x=new Error("Passed arguments must be of Node"),_=void 0,E=[],C=[],k=function(){function t(e){(0,y.default)(this,t);var n=e;if(e[0]===window?n=[window]:"string"==typeof e[0]?(n=(e[1]||document).querySelectorAll(e[0]),e[1]&&(this.owner=e[1])):0 in e&&!r(e[0])&&e[0]&&"length"in e[0]&&(n=e[0],e[1]&&(this.owner=e[1])),n){for(var i in n)this[i]=n[i];this.length=n.length}else this.length=0}return(0,w.default)(t,[{key:"concat",value:function(){function t(n){A.forEach.call(n,function(n){r(n)?~e.indexOf(n)||e.push(n):o(n)&&t(n)})}for(var e=A.slice.call(this),n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];return A.forEach.call(i,function(n){if(r(n))~e.indexOf(n)||e.push(n);else{if(!o(n))throw Error("Concat arguments must be of a Node, NodeList, HTMLCollection, or Array of (Node, NodeList, HTMLCollection, Array)");t(n)}}),u(e,this)}},{key:"delete",value:function(){var t=l(this).filter(function(t){return t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t),document.body.contains(t)});return t.length&&console.warn("NodeList: Some nodes could not be deleted."),t}},{key:"each",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return A.forEach.apply(this,e),this}},{key:"filter",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return u(A.filter.apply(this,e),this)}},{key:"find",value:function(t){var e=[];return l(this).forEach(function(n){A.push.apply(e,n.querySelectorAll(t))}),l(e,this.owner)}},{key:"findChildren",value:function(t){var e=this;return t?this.find(t).filter(function(t){return e.includes(t.parentElement)}):l(this.map(function(t){return t.children}))}},{key:"forEach",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return A.forEach.apply(this,e),this}},{key:"includes",value:function(t,e){return~this.indexOf(t,e)}},{key:"map",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=A.map.apply(this,e);return i.some(function(t){return r(t)||o(t)})?l(i,this):i}},{key:"parent",value:function(){return l(this.map(function(t){return t.parentNode}),this)}},{key:"pop",value:function t(e){"number"!=typeof e&&(e=1);for(var n=[],t=A.pop.bind(this);e--;)n.push(t());return u(n,this)}},{key:"push",value:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return A.forEach.call(n,function(e){if(!r(e))throw x;~t.indexOf(e)||A.push.call(t,e)}),this}},{key:"shift",value:function(t){"number"!=typeof t&&(t=1);for(var e=[];t--;)e.push(A.shift.call(this));return 1==e.length?e[0]:u(e,this)}},{key:"slice",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return u(A.slice.apply(this,e),this)}},{key:"splice",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var i=2,o=e.length;i<o;i++)if(!r(e[i]))throw x;return A.splice.apply(this,e),this}},{key:"unshift",value:function t(){for(var e=this,t=A.unshift.bind(this),n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return A.forEach.call(i,function(n){if(!r(n))throw x;~e.indexOf(n)||t(n)}),this}},{key:"addClass",value:function(t){return this.toggleClass(t,!0)}},{key:"removeClass",value:function(t){return this.toggleClass(t,!1)}},{key:"toggleClass",value:function(t,e){var n=void 0===e||null===e?"toggle":e?"add":"remove";return"string"==typeof t&&(t=s(t)),this.each(function(e){var i=s(e.className);t.forEach(function(t){var e=~i.indexOf(t);e||"remove"===n||i.push(t),e&&"add"!==n&&(i=i.filter(function(e){return e!==t}))}),i=a(i),i?e.className=i:e.removeAttribute("class")}),this}},{key:"get",value:function(t){var e=[];return this.each(function(n){null!==n&&(n=n[t]),e.push(n)}),l(e,this)}},{key:"set",value:function(t,e){return t.constructor===Object?this.each(function(e){if(e)for(var n in t)n in e&&(e[n]=t[n])}):this.each(function(n){t in n&&(n[t]=e)}),this}},{key:"call",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=A.shift.call(e),r=[],o=!0;return this.each(function(t){t&&t[i]instanceof Function?(t=t[i].apply(t,e),r.push(t),o&&void 0!==t&&(o=!1)):r.push(void 0)}),o?this:l(r,this)}},{key:"item",value:function(t){return u([this[t]],this)}},{key:"on",value:function(t,e,n){if("string"==typeof t&&(t=s(t)),!this||!this.length)return this;if(void 0===n&&(n=e,e=null),!n)return this;var i=n;return n=e?function(t){var n=u(e,this);n.length&&n.some(function(e){var n=e.contains(t.target);return n&&i.call(e,t,e),n})}:function(t){i.apply(this,[t,this])},this.each(function(e){t.forEach(function(t){(e===window||r(e))&&(e.addEventListener(t,n,!1),C.push({el:e,event:t,callback:n}))})}),this}},{key:"off",value:function(t,e){return t instanceof Function&&(e=t,t=null),t=t instanceof Array?t:"string"==typeof t?s(t):null,this.each(function(n){C=C.filter(function(i){return!!(!i||i.el!==n||e&&e!==i.callback||t&&!~t.indexOf(i.event))||(i.el.removeEventListener(i.event,i.callback),!1)})}),this}},{key:"onBlur",value:function(t){return this&&this.length&&t?(this.each(function(e){E.push({el:e,callback:t})}),_||(_=function(t){E.forEach(function(e){var n=e.el.contains(t.target)||e.el===t.target;n||e.callback.call(e.el,t,e.el)})},document.addEventListener("click",_,!1),document.addEventListener("touchstart",_,!1)),this):this}},{key:"offBlur",value:function(t){return this.each(function(e){E=E.filter(function(n){return!(n&&n.el===e&&(!t||n.callback===t))&&e})}),this}},{key:"asArray",get:function(){return A.slice.call(this)}}]),t}(),S=k.prototype;(0,g.default)(A).forEach(function(t){"join"!==t&&"copyWithin"!==t&&"fill"!==t&&void 0===S[t]&&(S[t]=A[t])}),window.Symbol&&p.default&&(S[p.default]=S.values=A[p.default]);var F=document.createElement("div");for(var D in F)c(D);window.NL=u,e.default=u},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState&&200===n.status){var t=JSON.parse(n.responseText);e&&e(t)}},n.open("GET",t),n.setRequestHeader("Accept","application/json"),n.send()}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var t=document.createElement("p");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.visibility="hidden",e.style.width="200px",e.style.height="150px",e.style.overflow="hidden",e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;return n===i&&(i=e.clientWidth),document.body.removeChild(e),n-i}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(90),o=i(r);e.default={props:{},ready:function(){},methods:{timeout:function(){o.default.timeout(null,1e3)}},computed:{isTest:function(){return o.default.isTest}},watch:{}}},function(t,e,n){"use strict";function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),s=r(o),a=n(168),l=i(a);e.default={title:"地图",props:{outerlinedata:{type:Object,default:{}},singlepoint:{type:Object,default:{}},points:{type:Object,default:{url:"rs/sql/getAllCurrentPosition",data:{subcompany:"%"}}},curuser:{type:Object,default:{}},ispause:!1,maxheight:"",maxwidth:"",showBox:{type:Boolean,default:!1},showPanel:{type:Boolean,default:!1}},data:function(){return{path:"rs/WX/searchMarker",rate:1,postData:[],map:null,position:null,startmaker:null,stmarker:{},endmarker:{},repairmanData:[],placeSearch:null,driving:null,parameters:[],R:3,searchNearByData:"西安银行",markerType:[],markerData:[],localRows:[],rows:[],lineData:this.outerlinedata,stopstart:!0,timeoutHandle:window.setInterval(this.timemet,12e4),modalshow:!1}},methods:{startAnimation:function(){this.startmarker.moveAlong(this.lineData,2e3)},pauseAnimation:function(){this.startmarker.pauseMove(),this.ispause=!0},resumeAnimation:function(){this.ispause=!1,this.startmarker.resumeMove()},speedUp:function(){this.rate=this.rate/2,this.startmarker.moveAlong(this.lineData,2e3/this.rate)},speedDown:function(){this.rate=2*this.rate,this.startmarker.moveAlong(this.lineData,2e3/this.rate)},close:function(){this.modalshow=!1},timemet:function(){this.map.clearMap(),this.getnewposit(this.map)},setPoint:function(t){this.map.clearMap(),console.log("当前点"+t),this.outerlinedata={},this.markerData=[],this.markerData.push(t),this.markerDataToMap();var e=[];e=[t.f_longitude,t.f_latitude],this.map.setCenter(e),this.map.setFitView()},getnewposit:function(t){var e=this;if(console.log("开始获取散点集"),this.points){var n=this.points.url,i=this.points.data;this.$resetpost(n,{data:i},{rejectMsg:null,resolveMsg:null,silent:!0}).then(function(t){e.markerData=t.data,e.markerDataToMap(),e.map.setFitView()})}},makeCircle:function(){},startPost:function(){var t=this;this.makeCircle();var e=this.position.getLng(),n=this.position.getLat();console.log("xxx"+e,n);var i=1e3*this.R,r=i.toString();this.postData={page:"1",sort:"distance",jwy:n.toString(),jwx:e.toString(),rows:r,order:"asc",dist:r},this.$http.post(this.path,{data:this.postData}).then(function(e){console.log((0,s.default)(e.data));var n=e.data;if("0"!=n.retcode&&0!=n.retcode||(t.rows=n.rows),console.log("rowslength"+t.rows.length),void 0!=t.rows&&null!=t.rows&&0!=t.rows.length)for(var i=0;i<t.rows.length;i++){var r=t.rows[i];console.log("rows"+i+":"+(0,s.default)(r));var o={x:r.jwx,y:r.jwy,iconurl:null,type:"西安银行"};console.log("makeMarkerData:"+(0,s.default)(o)),t.markerData.push(o)}if(t.localRows=n.localRows,void 0!=t.localRows&&null!=t.localRows&&0!=t.localRows.length)for(var i=0;i<t.localRows.length;i++)t.markerData.push(t.localRows[i]);var a=t.markerData;t.markerType=a.map(function(t){return{label:t.type,value:t.type}}),console.log("row is"+(0,s.default)(t.markerType));var l=t.markerType,c=l.map(function(t){return(0,s.default)(t)}),u=t.unique(c);console.log("result"+u),t.markerType=u.map(function(t){return JSON.parse(t)}),console.log("西安银行ATM请求中后"),t.markerDataToMap()},function(t){console.log("请求失败!"+(0,s.default)(t))})},unique:function(t){for(var e=[],n=0,i=t.length;n<i;n++)e.indexOf(t[n])===-1&&e.push(t[n]);return e},searchNearByAPI:function(){this.placeSearch=new AMap.PlaceSearch({pageSize:5,pageIndex:1,city:"029",map:this.map,panel:"panel"})},markerDataToMap:function(){if(void 0!=this.markerData&&null!=this.markerData&&0!=this.markerData.length)for(var t=0;t<this.markerData.length;t++)if(0!=this.markerData[t].f_longitude){var e=[this.markerData[t].f_longitude,this.markerData[t].f_latitude];this.markerData[t].iconurl||(this.markerData[t].iconurl="https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png"),this.marker=new AMap.Marker({title:this.markerData[t].name2,position:e,draggable:!1,content:'<img style="text-align: center;margin-left:10px;" src="'+this.markerData[t].iconurl+'" /><span style="text-align: center;max-height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;color:red;font-size:14px;display: inline-block;text-align: left;">'+this.markerData[t].name2+"</span>"}),this.marker.setMap(this.map)}},changeType:function(t){var e=this;document.getElementById("panel").innerHTML="",this.maxheight?(document.getElementById("containerr").style.height=this.maxheight+"px",document.getElementById("containerr").style.width=this.maxwidth+"px"):(console.log("设置高度"),document.getElementById("containerr").style.height="100%",document.getElementById("containerr").style.width="100%"),console.log("选中"+t);var n=t;n&&this.map.clearMap(),this.makeCircle();for(var i=0;i<this.markerData.length;i++)if(n==this.markerData[i].type){var r=[this.markerData[i].x,this.markerData[i].y];null!=this.markerData[i].iconurl&&void 0!=this.markerData[i].iconurl||(this.markerData[i].iconurl="https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png"),this.marker=new AMap.Marker({position:r,animation:"AMAP_ANIMATION_DROP",content:'<img style="text-align: center;margin-left:10px;" src="'+this.markerData[i].iconurl+'" /><span style="text-align: center;height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;margin-right:60px;color:#ff0000;font-size:14px;display: inline-block;text-align: left;">'+this.markerData[i].type+"</span>"}),this.marker.setMap(this.map),AMap.event.addListener(this.marker,"click",function(t){e.changeType(),e.driving=new AMap.Driving({map:e.map,panel:"panel"}),e.driving.search(e.position,t.lnglat)})}},onComplete:function(t){console.log("定位成功")},onError:function(t){console.log("失败原因排查信息:"+t.message)},startPointTrack:function(){console.log("绘制轨迹路线start");var t=this;this.startmarker=new AMap.Marker({map:t.map,position:[t.stmarker.f_longitude,t.stmarker.f_latitude],icon:"https://webapi.amap.com/images/car.png",offset:new AMap.Pixel(-26,-13),autoRotation:!0,angle:-90}),this.startmarker.on("moving",function(t){e.setPath(t.passedPath)});var e=(new AMap.Polyline({map:t.map,path:t.lineData,showDir:!0,strokeColor:"#28F",strokeWeight:6}),new AMap.Polyline({map:t.map,strokeColor:"#AF5",strokeWeight:6}))}},watch:{singlepoint:function(t){this.singlepoint.f_longitude&&this.singlepoint.f_latitude&&this.setPoint(this.singlepoint)},outerlinedata:function(t){if(this.lineData=[],t&&t.points.length>0)for(var e=0;e<t.points.length;e++)if(t.points[e].lnglat[0]&&t.points[e].lnglat[1]){var n=[t.points[e].lnglat[0],t.points[e].lnglat[1]],i=l.wgs84togcj02(Number(n[0]),Number(n[1]));this.lineData.push(i)}if(this.map.clearMap(),null==t||t.points.length<1)console.log("开始清空"),window.pathSimplifierIns&&window.pathSimplifierIns.setData([]),this.getnewposit(this.map),clearInterval(this.timeoutHandle),this.timeoutHandle=setInterval(this.timemet,12e4);else{clearInterval(this.timeoutHandle);var r=this.lineData[0],o=this.lineData[this.lineData.length-1];this.stmarker={name2:"起点",f_longitude:r[0],f_latitude:r[1],iconurl:"https://webapi.amap.com/theme/v1.3/markers/n/start.png",zIndex:10},this.endmarker={name2:"终点",f_longitude:o[0],f_latitude:o[1],iconurl:"https://webapi.amap.com/theme/v1.3/markers/n/end.png",zIndex:10},this.markerData=[],console.log("起点"+this.stmarker.position),this.markerData.push(this.stmarker),this.markerData.push(this.endmarker),this.markerDataToMap(),this.startPointTrack(),this.map.setFitView()}}},ready:function(){
|
|
92
|
-
var t=this;this.map=new AMap.Map("containerr",{resizeEnable:!0,scrollWheel:!1,zoom:7}),this.changeType(),console.log("地图加载正常");var e=this;AMap.plugin(["AMap.ToolBar","AMap.PlaceSearch","AMap.Driving","AMap.Geolocation"],function(){var n=new AMap.Geolocation({enableHighAccuracy:!0,showbutton:!0,timeout:1e4,buttonOffset:new AMap.Pixel(10,20),zoomToAccuracy:!0,buttonPosition:"LB"});t.map.addControl(n),n.getCurrentPosition(function(t,n){"complete"==t?e.onComplete(n):e.onError(n)}),t.map.addControl(new AMap.ToolBar)}),console.log("执行代码开始前"),/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)&&AMapUI.loadUI(["misc/PoiPicker"],function(t){var n=new t({input:"pickerInput"}),i=new AMap.Marker;n.on("poiPicked",function(t){var n=(t.source,t.item);console.log(n.location.lng,n.location.lat),e.position=new AMap.LngLat(n.location.lng,n.location.lat),e.map.setCenter(e.position),console.log("this.position"+e.position),e.startPost()}),i.setMap(e.map),i.setPosition(e.position)}),e.getnewposit(this.map)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(57),o=i(r),s=n(85),a=i(s);e.default={data:function(){return{msg:a.default}},components:{Alert:o.default}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(57),o=i(r),s=n(154),a=i(s);e.default={data:function(){return{msg:a.default}},components:{Alert:o.default}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(16),o=i(r),s=n(1),a=i(s),l=n(126),c=i(l),u=n(128),d=i(u),h=n(544),f=i(h),p=n(545),m=i(p),g=n(78),v=i(g);e.default={created:function(){try{window.parent&&window.parent.login&&(a.default.$login=a.default.prototype.$login=window.parent.login),window.parent&&window.parent.param&&(a.default.$appdata=a.default.prototype.$appdata=window.parent.param),window.parent&&window.parent.comp&&(a.default.$comp=a.default.prototype.$comp=window.parent.comp)}catch(t){console.log(t)}},ready:function(){var t=this,e=navigator.userAgent.toLowerCase().match(/chrome\/[\d.]+/gi);if(e){var n=e[0].split("/")[1].split(".")[0];console.log("browser version--->",Number(n)),Number(n)<50&&setInterval(function(){var e=!0,n=!1,i=void 0;try{for(var r,s=(0,o.default)((0,v.default)(".span",t.$el));!(e=(r=s.next()).done);e=!0){var a=r.value;a.oldHeight&&a.oldHeight===a.offsetHeight||(a.oldHeight=a.offsetHeight,a.style.height=a.offsetHeight+"px")}}catch(t){n=!0,i=t}finally{try{!e&&s.return&&s.return()}finally{if(n)throw i}}var l=!0,c=!1,u=void 0;try{for(var d,h=(0,o.default)((0,v.default)(".grid",t.$e1));!(l=(d=h.next()).done);l=!0){var f=d.value,p=(0,v.default)(f).children()[0],m=(0,v.default)(f).children()[1];p.style.top=getTop(m)+"px",p.style.left=(0,v.default)(m).offset().left+"px",p.style.width=m.offsetWidth+"px";for(var g=(0,v.default)("tr",m).first().children(),y=(0,v.default)("tr",p).first().children(),b=0;b<g.length;b++)y[b].style.width=g[b].offsetWidth+"px"}}catch(t){c=!0,u=t}finally{try{!l&&h.return&&h.return()}finally{if(c)throw u}}},200)}},components:{HttpBusy:c.default,MessageBox:d.default,AlertBox:f.default,AlertBoxBatch:m.default}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(12),c=i(l);e.default={title:"附件",props:["blodid","isremark","isusetype","takeimg","defname","isupload"],data:function(){return{isDelete:"1",fileInfoData:[],headers:{username:this.$login.f.name,blodid:"",fusetype:"",fremarks:"",defname:""},showUpload:!1,showhighmeter:!1,useType:"",fileRemark:""}},methods:{delet:function(t,e){var n=this;this.$resetdelete("rs/entity/t_files",{id:e.id},{resolveMsg:"删除成功",rejectMsg:"删除失败"}).then(function(e){n.fileInfoData.splice(t,1)})},GetRequest:function(){var t=location.search,e=new Object;if(t.indexOf("?")!=-1)for(var n=t.substr(1),i=n.split("&"),r=0;r<i.length;r++)e[i[r].split("=")[0]]=decodeURIComponent(i[r].split("=")[1]);return e},upload:function(){this.showhighmeter=!this.showhighmeter},load:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e){var n,i,r,s,a,l;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=new c.default,i={tablename:"t_files",condition:"f_blobid= '"+e.headers.blodid+"' order by f_uploaddate desc "},t.next=4,n.load("POST","rs/sql/singleTable",{data:i},{warnMsg:null,resolveMsg:null});case 4:r=t.sent,s=0;case 6:if(!(s<r.data.length)){t.next=17;break}if(!r.data[s].fusetype||!r.data[s].fusetype.includes("execl导入")){t.next=11;break}return r.data.splice(s,1),s--,t.abrupt("continue",14);case 11:a=r.data[s].f_downloadpath,l=a.substring(a.lastIndexOf(":\\")+2),r.data[s].f_downloadURL="http://"+location.host+"/"+l;case 14:s++,t.next=6;break;case 17:e.fileInfoData=[],e.fileInfoData=r.data;case 19:case"end":return t.stop()}},t,this)}));return t}(),formatdate:function(t){if(14==t.length){var e=t.substr(0,4),n=t.substr(4,2),i=t.substr(6,2),r=t.substr(8,2),o=t.substr(10,2),s=t.substr(12,2);return e+"-"+n+"-"+i+" "+r+":"+o+":"+s}},fileUpload:function(){this.showUpload=!0},close:function(){this.showUpload=!1,this.$refs.file.$el.querySelector("input").value="",this.load(this)},convertBase64ToBlob:function(t){for(var e=atob(t),n=new ArrayBuffer(e.length),i=new Uint8Array(n),r=0;r<e.length;r++)i[r]=e.charCodeAt(r);return new Blob([n],{type:"image/jpeg"})},newPhoto:function(t){var e=this,n=new FormData,i=new XMLHttpRequest,r="----WebkitFormBoundaryGaoPaiYi";if(n.append("Content-Type","multipart/form-data;boundary="+r),n.append("file",this.convertBase64ToBlob(t),"GaoPaiYi.jpg"),i.open("POST","rs/file/uploadFile"),this.headers)for(var o in this.headers)i.setRequestHeader(o,encodeURIComponent(this.headers[o]));i.send(n),setTimeout(function(){e.load(e)},5e3)}},ready:function(){this.headers.blodid=this.blodid,console.log("123222",this.blobid),this.blodid&&this.load(this)},watch:{blodid:function(t){t&&(console.log("观察blodid",t),this.headers.blodid=this.blodid,this.load(this))},useType:function(){this.headers.fusetype=this.useType[0]?this.useType[0]:""},defname:function(){this.headers.defname=this.defname}},computed:{foptions:function(){return this.$appdata.getParam("使用类型")}},events:{onFileUpload:function(t,e){console.log("上传完毕"),this.close()}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"头像上传",data:function(){return{file:null}},props:{width:{type:Number,default:100},height:{type:Number,default:100},imgSrc:{twoWay:!0,default:null},filename:{twoWay:!0,type:String},attach:{type:String,default:"name"}},methods:{selectFile:function(){this.$els.file.click()},fileInputChange:function(){var t=this;if(0!==this.$els.file.files.length){var e=this.$els.file.files[0];if(console.log(e.type),!/image\/\w+/.test(e.type))return void t.$showAlert("请选择图片","danger",0);if(e.size/1024/1024>2)return void t.$showAlert("上传图片不能大于2M,请处理后再选择","warning",3e3);this.file=e,this.filename=e.name;var n=new FileReader;n.readAsDataURL(e),n.onload=function(e){t.imgSrc=this.result}}},deleteFile:function(){this.imgSrc=null;var t=this.$els.file;t.value="",this.file=null,this.filename=null}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{isBusy:{type:Boolean,default:!1},silent:{type:Boolean,default:!1}},ready:function(){this.showOrHide()},methods:{showOrHide:function(){this.isBusy&&!this.$refs.spinner.active?this.$refs.spinner.show():!this.isBusy&&this.$refs.spinner.active&&this.$refs.spinner.hide()}},watch:{isBusy:function(){this.showOrHide()}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(1),a=i(s),l=n(12),c=i(l),u=n(5),d=i(u),h=o.default.mark(function t(e,n){var i,r;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,i=new c.default,t.next=4,i.load("GET",n,{},{warnMsg:null,resolveMsg:null,rejectMsg:"获取模板元素错误"});case 4:r=t.sent,e.setTemplate(e.guid(),r.data),t.next=11;break;case 8:throw t.prev=8,t.t0=t.catch(0),t.t0;case 11:case"end":return t.stop()}},t,this,[[0,8]])}),f=o.default.mark(function t(e,n,i){var r,s;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=new c.default,t.next=4,r.load("POST",n,i,{warnMsg:null,resolveMsg:null,rejectMsg:"获取模板数据错误"});case 4:s=t.sent,e.data=s.data,t.next=11;break;case 8:throw t.prev=8,t.t0=t.catch(0),t.t0;case 11:case"end":return t.stop()}},t,this,[[0,8]])});e.default={title:"对接数据与后台模板",data:function(){return{partialId:this.guid()}},created:function(){a.default.partial(this.partialId,"<div>数据加载中</div>")},props:{path:{type:String},data:{type:Object},url:{type:String},urlParams:{},special:{}},ready:function(){this.path?this.getTemplate(this.path):this.$showMessage("请传入获取模板内容的路径"),this.url&&this.getModel(this.url,this.urlParams)},methods:{getTemplate:function(t){var e=h(this,t);return(0,d.default)(e)},setTemplate:function(t,e){console.log(t,e),a.default.partial(t,e),this.partialId=t},getModel:function(t,e){var n=f(this,t,e);return(0,d.default)(n)},save:function(){},added:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this.$emit.apply(this,["container-event"].concat(e))},guid:function(){var t=new Uint16Array(8);window.crypto.getRandomValues(t);var e=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return e(t[0])+e(t[1])+e(t[2])+e(t[3])+e(t[4])+e(t[5])+e(t[6])+e(t[7])}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(6),a=i(s),l=n(5),c=i(l),u=n(12),d=i(u),h=o.default.mark(function t(e){var n,i,r;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("传入的userid为: ",e.userid),n={source:"tool."+e.toolStr+"(this.getParent().getAllChildrens().where(row.getType() == $"+e.resourceType+"$))",userid:e.userid},i=new d.default,t.next=5,i.load("POST","/rs/search",n);case 5:r=t.sent,e.model=r.data[0].children,console.log("获取到的数据",(0,a.default)(r));case 8:case"end":return t.stop()}},t,this)});e.default={title:"选择器",props:{userid:{type:String,require:!0},width:{type:Number,default:200},resourceType:{type:String},selectData:{type:Object,twoWay:!0},textContent:{default:"请选择"},toolStr:{type:String,default:"getFullTree"},attach:{type:String,default:"name"}},data:function(){return{model:[{name:"根节点",size:1,children:[{name:"子节点1",size:2,children:[{name:"子节点11",size:0},{name:"子节点12",size:1,children:[{name:"子节点121",size:0}]}]}]}]}},methods:{open:function(t){this.selectData=t.data,this.textContent=t.data.name}},events:{"select-changed":function(t){this.open(t.val)}},ready:function(){var t=h(this);(0,c.default)(t)},watch:{userid:function(){var t=h(this);(0,c.default)(t)}}}},function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={beforeCompile:function beforeCompile(){for(var elements=this.$options.partials.default.querySelectorAll("[v-model]"),i=0;i<elements.length;i++){var el=elements[i],name=el.getAttribute("v-model").substring("model.".length),defaultValue=el.getAttribute("default-value");if(defaultValue)try{this.$set("model."+name,eval(defaultValue))}catch(t){}else this.$set("model."+name,"");var condition=el.getAttribute("condition");condition&&(this.conditions[name]=condition);var condValue=el.getAttribute("cond-value");if(condValue){var obj={cond:condValue},dateType=el.getAttribute("date-type");dateType&&(obj.dateType=dateType),this.condValues[name]=obj}}},data:function(){return{model:{},conditions:{},condValues:{},condition:"",condValue:[],character:["and","exec","insert","select","delete","update","count","*","%","chr","mid","master","truncate","char","declare",";","or","+",","],criteriaShow:!1}},methods:{search:function(){try{this.condition=this.buildFrontCondition(),this.condValue=this.buildServerCondition();var t={condition:this.condition,model:this.model,condValue:this.condValue};return this.$dispatch("condition-changed",t),t}catch(t){if("查询条件包含非法字符,请重输"!==t)throw t;alert("查询条件包含非法字符,请重输")}},buildServerCondition:function(){var t=[];for(var e in this.condValues){"string"==typeof this.model[e]&&(this.model[e]=String(this.model[e]).trim());var n=this.model[e];if(this.checkValue(n))throw"查询条件包含非法字符,请重输";if(n){var i={field:this.condValues[e].cond,value:n},r=this.condValues[e].dateType;r&&(i.dateType=r),t.push(i)}}return t},buildFrontCondition:function(){var t=" 1=1 ";for(var e in this.conditions){"string"==typeof this.model[e]&&(this.model[e]=String(this.model[e]).trim());var n=this.model[e];if(this.checkValue(n))throw"查询条件包含非法字符,请重输";if(this.conditions[e].includes("$parent")&&n&&(n+"").length>0){var i=this.getSql(n,this.conditions[e]);i&&(t+=" and "+i.split("{}").join(this.packCondition(i,this.model[e])+""))}else n&&(n+"").length>0&&(t+=" and "+this.conditions[e].split("{}").join(this.packCondition(this.conditions[e],this.model[e])+""))}return t},getSql:function getSql(val,exp){return eval("this."+exp)},packCondition:function(t,e){return console.log("查询条件,,,,",t,e),e instanceof Array?e.length>1?this.recombine(e):t.indexOf(" in ")>0?this.recombine(e):e:e},recombine:function(t){var e="";return t&&t.length>0&&t.forEach(function(t){e+="'"+t+"',"}),"("+e.substring(0,e.length-1)+")"},checkValue:function(t){if(!t||"string"!=typeof t)return!1;for(var e=0;e<this.character.length;e++)if(t.toLowerCase().indexOf(this.character[e])!==-1)return!0;return!1},clear:function(){this.model={}}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(79),a=(i(s),n(46));i(a);e.default={props:["outerurl","data"],data:function(){return{url:this.outerurl,condition:"",model:{}}},watch:{outerurl:function(t){this.url=t}},methods:{getData:function(){var t=this;console.log("url = "+this.url),console.log("拼接条件语句为:"+this.condition),this.$http.post(this.url,{data:{name:this.model.name,date:this.model.date}}).then(function(e){console.log((0,o.default)(e.data));var n={name:"路线",points:[]};e.data.forEach(function(t,e){var i={name:"",lnglat:[]};i.lnglat=[t.longitude,t.latitude],n.points.push(i)}),console.log("路线:",n),t.data=n,t.$emit("input",t.data)},function(t){console.log("请求失败!"+(0,o.default)(t))})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(60),o=i(r),s=n(6),a=i(s),l=n(79),c=(i(l),n(46));i(c);e.default=(0,o.default)({props:["outerurl","data","f_fengongsi","f_fengongsis"],data:function(){return{url:this.outerurl,condition:"",model:{}}},watch:{outerurl:function(t){this.url=t}},methods:{getData:function(){var t=this;console.log("url = "+this.url),console.log("拼接条件语句为:"+this.condition),this.$http.post(this.url,{data:{name:this.model.name,date:this.model.date}}).then(function(e){console.log((0,a.default)(e.data));var n={name:"路线",points:[]};e.data.forEach(function(t,e){var i={name:"1",lnglat:[]};i.lnglat=[t.longitude,t.latitude],n.points.push(i)}),console.log("路线:",n),t.data=n,t.$emit("input",t.data)},function(t){console.log("请求失败!"+(0,a.default)(t))})}}},"watch",{f_fengongsi:function(t){this.$emit("getfengongsi",t)}})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(129),o=i(r);e.default={props:{model:Object,pager:{type:Boolean,default:!0},attach:{type:String,default:"name"},simple:{type:Boolean,default:!1},classtype:{type:String,default:"flex"}},methods:{loadPage:function(t){this.model.loadPage(t)},search:function(t){this.model.search(t.condition,t.model,t.condValue)}},components:{Pager:o.default}}},function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={beforeCompile:function beforeCompile(){for(var elements=this.$options.partials.default.querySelectorAll("[v-model]"),i=0;i<elements.length;i++){var el=elements[i],name=el.getAttribute("v-model").substring("model.".length),defaultValue=el.getAttribute("default-value");if(defaultValue)try{this.$set("model."+name,eval(defaultValue))}catch(t){console.warn("Evaluation error, default: "+defaultValue+", error: "+t)}else this.$set("model."+name,"");var condition=el.getAttribute("condition");condition&&(this.conditions[name]=condition)}},data:function(){return{model:{},conditions:{},condition:""}},methods:{search:function(){var t=" 1=1 ";for(var e in this.conditions){var n=this.model[e];n&&(n+"").length>0&&(t+=" and "+this.conditions[e].split("{}").join(this.model[e]+""))}this.condition=t,this.$dispatch("condition-changed",{condition:this.condition,model:this.model})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=i(r);e.default={props:{classname:{type:String,default:"table table-bordered table-striped table-hover"},model:{},thumbWidth:{type:Number,default:8},attach:{type:String,default:"name"},customize:{type:Boolean,default:!1}},ready:function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)});try{HostApp;for(var t=document.getElementsByClassName("span"),e=0;e<t.length;e++)t[e].style.height="auto"}catch(t){}var n=this.$els.grid,i="translate("+(n.scrollLeft-(n.scrollWidth-n.offsetWidth)-this.thumbWidth)+"px,0)";n.querySelectorAll("table tbody .stickToRight").forEach(function(t){t.style.transform=i}),i="translate("+(n.scrollLeft-(n.scrollWidth-n.offsetWidth)-this.thumbWidth)+"px,"+n.scrollTop+"px)",n.querySelectorAll("table thead th.stickToRight").forEach(function(t){t.style.transform=i})},methods:{scroll:function(){var t=this.$els.grid,e="translate(0,"+t.scrollTop+"px)";t.querySelectorAll("table thead th:not(.stickToRight)").forEach(function(t){t.style.transform=e}),t.querySelectorAll("table thead th:not(.stickToLeft)").forEach(function(t){t.style.transform=e}),e="translate("+t.scrollLeft+"px,0)",t.querySelectorAll("table tbody .stickToLeft").forEach(function(t){t.style.transform=e}),e="translate("+(t.scrollLeft-(t.scrollWidth-t.offsetWidth)-this.thumbWidth)+"px,0)",t.querySelectorAll("table tbody .stickToRight").forEach(function(t){t.style.transform=e}),e="translate("+t.scrollLeft+"px,"+t.scrollTop+"px)",t.querySelectorAll("table thead th.stickToLeft").forEach(function(t){t.style.transform=e}),e="translate("+(t.scrollLeft-(t.scrollWidth-t.offsetWidth)-this.thumbWidth)+"px,"+t.scrollTop+"px)",t.querySelectorAll("table thead th.stickToRight").forEach(function(t){t.style.transform=e})},dblclickGo:function(t,e){this.$dispatch("dblclick",t,e)}},watch:{"model.rows":function(){this.selectStore.selected=null,this.model.rows&&this.$dispatch("dataGrid",this.model.rows)},deep:!0},mixins:[o.default]}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"排序",props:{field:{type:String},order:{type:String,toWay:!0,default:"no"},name:{type:String},attach:{type:String,default:"name"}},methods:{sortStr:function(){"no"===this.order?this.order="asc":"asc"===this.order?this.order="desc":"desc"===this.order&&(this.order="no"),this.$dispatch("sort",this.field,this.order)}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"排序",props:{field:{type:String},order:{type:String,toWay:!0,default:"no"},name:{type:String},attach:{type:String,default:"name"},orderfields:{type:Object,default:{}},orderdefault:{type:String,default:null},model:{type:Object,default:{}},searchtype:{type:String,default:"sql"}},methods:{sortStr:function(){"no"===this.order?this.order="asc":"asc"===this.order?this.order="desc":"desc"===this.order&&(this.order="no"),this.sort(this.field,this.order)},sort:function(t,e){for(var n in this.orderfields)n===t?this.orderfields[n]=e:this.orderfields[n]="no";console.log("搜索类型",this.searchtype),"path"===this.searchtype&&("no"===e?this.model.paramSource.orderitem="'"+this.orderdefault+"'":"desc"===e?this.model.paramSource.orderitem="'"+t+"_"+e+"'":this.model.paramSource.orderitem="'"+t+"'",this.$emit("search")),"sql"===this.searchtype&&("no"===e?this.model.paramSource.orderitem="'"+this.orderdefault+"'":this.model.paramSource.orderitem="'"+t+" "+e+"'",this.$emit("search"))}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(16),o=i(r),s=n(18),a=i(s);e.default={title:"分类汇总",props:{model:Object,columns:{type:Array},attach:{type:String,default:"name"}},computed:{titels:function t(){var t=[];for(var e in this.model.rows[0]){var n=!0,i=!1,r=void 0;try{for(var s,a=(0,o.default)(this.columns);!(n=(s=a.next()).done);n=!0){var l=s.value;e===l.value&&t.push(l)}}catch(t){i=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw r}}}return t}},mixins:[a.default]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(24),o=i(r),s=n(16),a=i(s),l=n(1),c=i(l);e.default={data:function(){return{tabs:[]}},props:["comps","name","selecttab"],ready:function(){var t=!0,e=!1,n=void 0;try{for(var i,r=(0,a.default)(this.comps);!(t=(i=r.next()).done);t=!0){var o=i.value;this.tabs.push({comp:o,route:{name:o.name,title:""}})}}catch(t){e=!0,n=t}finally{try{!t&&r.return&&r.return()}finally{if(e)throw n}}this.name&&(c.default.routes||(c.default.routes={}),c.default.routes[this.name]=this)},methods:{init:function(t,e){var n=this.tabs.findIndex(function(e){return e.route.name===t});n!==-1&&n!==this.$refs.tabs.active?(this.$refs.tabs.active=n,this.$broadcast("route-init",n,t,e)):(this.tabs.push({comp:{name:t,props:e},route:{name:t,title:""}}),this.selecttab=t,this.$refs.tabs.active=this.tabs.length-1)},remove:function(t){this.deleteTab(t)},deleteTab:function(t){var e=this.tabs.findIndex(function(e){return e.comp.name===t});this.tabs.splice(e,1),this.$broadcast("delete",e,t)}},events:{"route-tab":function(t,e){this.init(t,e)},"route-end":function(t,e,n){if(n||0===n){var i=this.tabs[n];(0,o.default)(i.route,{name:t,title:e})}},"remove-tab":function(t){this.remove(t)}},watch:{"tabs.length":function(){this.$emit("tabscg",this.tabs)},selecttab:function(t){for(var e=0,n=0;n<this.tabs.length;n++)if(this.tabs[n].comp.name==t){e=n;break}this.$refs.tabs.active=e}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"内嵌网页",props:{domainName:{type:String,default:"#"},title:{type:String},compName:{type:String},login:{type:Object},param:{type:Object}},ready:function(){window.login=this.login,window.param=this.param,window.loginHeat=this.$loginHeat,window.paramHeat=this.$appdataHeat,this.compName&&(window.comp=this.compName),this.title&&this.$parent&&this.$parent.setTitle(this.title)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(24),a=i(s),l=n(5),c=i(l),u=o.default.mark(function t(e){var n;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n={},(0,a.default)(n,{},e.model),e.vselects.forEach(function(t){n[t]=n[t][0]}),t.next=5,e.$post("rs/entity/"+e.tablename,{data:n});case 5:case"end":return t.stop()}},t,this)});e.default={beforeCompile:function(){console.log(this);for(var t=this.$options.partials.default.querySelectorAll("[v-model]"),e=0;e<t.length;e++){var n=t[e].getAttribute("v-model").substring("model.".length);console.log(n),console.log(t[e].tagName),"V-SELECT"===t[e].tagName&&this.vselects.push(n),this.model[n]||(console.log(this.model[n]),this.$set("model."+n,""))}},data:function(){return{vselects:[]}},props:{model:{type:Object,default:function(){return{}}},tablename:{type:String},attach:{type:String,default:"name"}},methods:{confirm:function(){var t=u(this);(0,c.default)(t)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(8),o=i(r),s=n(38),a=i(s),l=n(2),c=i(l),u=n(5),d=i(u),h=n(45),f=c.default.mark(function t(e){var n;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$resetpost("rs/logic/"+e.progress,{},{resolveMsg:null,rejectMsg:null});case 3:if(n={},!e.exporthead){t.next=17;break}if(!e.sqlName){t.next=11;break}return t.next=8,e.$resetpost(e.sqlurl,{data:{body:{header:e.header,footer:e.footer,sumName:e.sumname,data:e.data,field:e.exporthead,templateName:e.templateName,sqlName:e.sqlName},bean:e.bean}},{resolveMsg:null,rejectMsg:null},1e3);case 8:n=t.sent,t.next=15;break;case 11:if(!e.pathName){t.next=15;break}return t.next=14,e.$resetpost(e.sqlurl,{data:{body:{sumName:e.sumname,data:e.data,field:e.exporthead,templateName:e.templateName,pathName:e.pathName},bean:e.bean}},{resolveMsg:null,rejectMsg:null},0);case 14:n=t.sent;case 15:t.next=20;break;case 17:return t.next=19,e.$resetpost(e.sqlurl,{data:{body:{sumName:e.sumname,data:e.data,total:e.total},bean:e.bean}},{resolveMsg:null,rejectMsg:null},0);case 19:n=t.sent;case 20:t.next=25;break;case 22:t.prev=22,t.t0=t.catch(0),console.error(t.t0);case 25:e.modelval=[],e.fields={},e.exporthead=[],e.progressQuery();case 29:case"end":return t.stop()}},t,this,[[0,22]])});e.default={data:function(){return{show:!1,all:!1,fields:{},modelval:[],exporthead:[],selftotal:[],progressShow:!1,percent:"0%",timer:null,HttpReset:new h.HttpResetClass}},props:{header:{},footer:{},sumname:{},data:{},sqlurl:{type:String},field:{},total:{},bean:{type:String},progress:{type:String,default:"getExportProgress"},btnName:{type:String,default:"导出Excel"},templateName:{type:String},sqlName:{type:String},pathName:{type:String},attach:{type:String,default:"name"},chooseCol:{type:Boolean,default:!1},isshow:{type:Boolean,default:!0},defaultselect:[],chooserow:{type:Boolean,default:!1}},beforeDestroy:function(){this.closeTimer()},methods:{exportExcel:function(){var t=this;if(console.log("选择列,。。",this.chooseCol,this.field),this.field)if(this.chooseCol===!0){if(this.fields=this.field,this.show=!0,null!=this.defaultselect&&this.defaultselect){for(var e in this.defaultselect)this.modelval.push(e);this.chooserow&&this.export()}}else this.data.items="*",(0,a.default)(this.field).forEach(function(e){t.exporthead.push(e+":"+t.field[e])}),this.post();else this.post()},export:function(){var t=this,e="";this.modelval.forEach(function(n){e=e+n+",",t.exporthead.push(n+":"+t.field[n])}),e=e.slice(0,e.length-1),console.log("表头,,,,",this.exporthead),this.data.items=e,this.post()},post:function(){var t=f(this);(0,d.default)(t)},stamp:function(){this.modelval=[],this.show=!0},sortModelval:function(){var t=this,e=[];(0,a.default)(this.fields).forEach(function(n){t.modelval.includes(n)&&e.push(n)}),console.log("看看选择的顺序。。。",e),this.modelval=e},close:function(){this.closeTimer(),this.all=!1,this.modelval=[],this.show=!1,this.progressShow=!1,this.percent="0%"},progressQuery:function(){console.log("导出进度开始查询"),this.progressShow=!0,this.closeTimer(),this.progressTask(),this.timer=setInterval(this.progressTask,3e3)},progressTask:function(){function t(){return e.apply(this,arguments)}var e=(0,o.default)(c.default.mark(function t(){var e,n,i;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=this,t.next=3,e.HttpReset.load("POST","rs/logic/"+e.progress,{},{resolveMsg:null,rejectMsg:null});case 3:n=t.sent,n=n.data,console.log("进度数据",n),n.error?(e.$showAlert("导出excel错误: "+n.error,"danger",0),e.closeTimer()):(e.percent=(n.percent?n.percent:0)+"%",n.fileName&&100==n.percent&&(i=document.createElement("a"),n.fileName.forEach(function(t){console.log("导出路径",t.filename);var e=t.filename,n="http://"+location.host+"/webapps"+e.split("webapps")[1];i.href=n,i.download=e.split("excel/")[1],i.dispatchEvent(new MouseEvent("click"))}),e.close()));case 7:case"end":return t.stop()}},t,this)}));return t}(),closeTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}},watch:{all:function(t){t?this.modelval=(0,a.default)(this.fields):this.modelval=[]},"modelval.length":function(){this.sortModelval()}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(38),o=i(r),s=n(8),a=i(s),l=n(2),c=i(l),u=n(5),d=i(u),h=c.default.mark(function t(e){var n;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n={},e.getuuid(),""!=e.uuida){t.next=4;break}return t.abrupt("return");case 4:e.exporthead?e.sqlName?n=e.$resetpost(e.sqlurl,{data:{uuid:e.uuida,otherLine:e.exportOther,footer:e.exportFooter,body:{sumName:e.sumname,data:e.data,field:e.exporthead,templateName:e.templateName,sqlName:e.sqlName},bean:e.bean}},{resolveMsg:null,rejectMsg:null},0):e.pathName&&(n=e.$resetpost(e.sqlurl,{data:{uuid:e.uuida,otherLine:e.exportOther,footer:e.exportFooter,body:{sumName:e.sumname,data:e.data,field:e.exporthead,templateName:e.templateName,pathName:e.pathName},bean:e.bean}},{resolveMsg:null,rejectMsg:null},0)):n=e.$resetpost(e.sqlurl,{data:{uuid:e.uuida,otherLine:e.exportOther,footer:e.exportFooter,body:{sumName:e.sumname,data:e.data,total:e.total},bean:e.bean}},{resolveMsg:null,rejectMsg:null},0),e.exportShow=!0,e.getRequestReturn(),e.modelval=[],e.fields={},e.exporthead=[],e.otherData=[],e.footerData=[];case 12:case"end":return t.stop()}},t,this)});e.default={data:function(){return{show:!1,all:!1,fields:{},modelval:[],exporthead:[],selftotal:[],exportOther:[],exportFooter:[],exportShow:!1,resultData:"",downbutton:!1,uuida:""}},props:{sumname:{},data:{},sqlurl:{type:String},field:{},total:{},bean:{type:String},btnName:{type:String,default:"导出Excel"},templateName:{type:String},sqlName:{type:String},pathName:{type:String},attach:{type:String,default:"name"},chooseCol:{type:Boolean,default:!1},handName:{type:String,default:""},otherData:{default:[]},footerData:{default:[]},timer:"",defaultselect:[]},methods:{closeRequeset:function(){null!=this.timer&&clearInterval(this.timer),this.exportShow=!1,this.uuida="",this.downbutton=!1,this.resultData=""},getRequestReturn:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(c.default.mark(function t(){var e,n,i;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=null,n=this,i={items:"*",tablename:"t_files",condition:"1=1 and fusetype='组件导出' and f_blobid='"+this.uuida+"'"},this.timer=setInterval(function(){n.$resetpost("/rs/sql/singleTableParam",{data:i},{resolveMsg:null,rejectMsg:null},0).then(function(t){t.data&&t.data.length>0&&(clearInterval(n.timer),n.resultData=t,n.downbutton=!0)})},2e3);case 4:case"end":return t.stop()}},t,this)}));return t}(),downFile:function(){var t=this.resultData,e=document.createElement("a");t.data.forEach(function(t){console.log("导出路径",t.filename);var n=t.f_downloadpath,i="http://"+location.host+"/webapps"+n.split("webapps")[1];e.href=i,e.download=n.split("excel/")[1],e.dispatchEvent(new MouseEvent("click"))})},getuuid:function(){for(var t="",e=[],n="0123456789abcdef",i=0;i<36;i++)e[i]=n.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=n.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",t=e.join(""),this.uuida=t},exportExcel:function(){var t=this;if(console.log("选择列,。。",this.chooseCol,this.field),this.field)if(this.chooseCol===!0){if(this.fields=this.field,this.show=!0,null!=this.defaultselect&&this.defaultselect.length>0)for(var e in this.field)this.modelval.push(e)}else this.data.items="*",(0,o.default)(this.field).forEach(function(e){t.exporthead.push(e+":"+t.field[e])}),this.post();else this.post()},export:function(){var t=this,e="";this.modelval.forEach(function(n){e=e+n+",",t.exporthead.push(n+":"+t.field[n]);
|
|
93
|
-
}),e=e.slice(0,e.length-1),console.log("表头,,,,",this.exporthead),this.data.items=e,this.post(),this.close()},post:function(){if(""==this.handName&&(this.handName=this.templateName),this.otherData.length>0){var t=this;this.otherData.forEach(function(e){if(e instanceof Array){var n=[];e.forEach(function(t){n.push(t)}),t.exportOther.push(n)}})}if(this.footerData.length>0){var e=this;this.footerData.forEach(function(t){if(t instanceof Array){var n=[];t.forEach(function(t){n.push(t)}),e.exportFooter.push(n)}})}var n=h(this);(0,d.default)(n)},stamp:function(){this.modelval=[],this.show=!0},sortModelval:function(){var t=this,e=[];(0,o.default)(this.fields).forEach(function(n){t.modelval.includes(n)&&e.push(n)}),console.log("看看选择的顺序。。。",e),this.modelval=e},close:function(){this.all=!1,this.modelval=[],this.show=!1}},watch:{all:function(t){t?this.modelval=(0,o.default)(this.fields):this.modelval=[]},"modelval.length":function(){this.sortModelval()}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(38),o=i(r),s=n(8),a=i(s),l=n(2),c=i(l),u=n(5),d=i(u),h=c.default.mark(function t(e){var n;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n={},e.getuuid(),""!=e.uuida){t.next=4;break}return t.abrupt("return");case 4:e.exporthead?e.sqlName?n=e.$resetpost(e.sqlurl,{data:{uuid:e.uuida,body:{header:e.header,footer:e.footer,sumName:e.sumname,data:e.data,field:e.exporthead,templateName:e.templateName,sqlName:e.sqlName},bean:e.bean}},{resolveMsg:null,rejectMsg:null},0):e.pathName&&(n=e.$resetpost(e.sqlurl,{data:{uuid:e.uuida,body:{sumName:e.sumname,data:e.data,field:e.exporthead,templateName:e.templateName,pathName:e.pathName},bean:e.bean}},{resolveMsg:null,rejectMsg:null},0)):n=e.$resetpost(e.sqlurl,{data:{uuid:e.uuida,body:{sumName:e.sumname,data:e.data,total:e.total},bean:e.bean}},{resolveMsg:null,rejectMsg:null},0),e.exportShow=!0,e.getRequestReturn();case 7:case"end":return t.stop()}},t,this)});e.default={data:function(){return{show:!1,all:!1,fields:{},modelval:[],exporthead:[],selftotal:[],exportShow:!1,resultData:"",downbutton:!1,uuida:"",timer:""}},props:{header:{},footer:{},sumname:{},data:{},sqlurl:{type:String},field:{},total:{},bean:{type:String},btnName:{type:String,default:"导出Excel"},templateName:{type:String},sqlName:{type:String},pathName:{type:String},attach:{type:String,default:"name"},chooseCol:{type:Boolean,default:!1},defaultselect:[]},methods:{closeRequeset:function(){null!=this.timer&&clearInterval(this.timer),this.exportShow=!1,this.uuida="",this.downbutton=!1,this.resultData=""},getRequestReturn:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(c.default.mark(function t(){var e,n,i;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=null,n=this,i={items:"*",tablename:"t_files",condition:"1=1 and fusetype='组件导出' and f_blobid='"+this.uuida+"'"},this.timer=setInterval(function(){n.$resetpost("/rs/sql/singleTableParam",{data:i},{resolveMsg:null,rejectMsg:null},0).then(function(t){t.data&&t.data.length>0&&(clearInterval(n.timer),n.resultData=t,n.downbutton=!0)})},2e3);case 4:case"end":return t.stop()}},t,this)}));return t}(),getuuid:function(){for(var t="",e=[],n="0123456789abcdef",i=0;i<36;i++)e[i]=n.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=n.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",t=e.join(""),this.uuida=t},exportExcel:function(){var t=this;if(console.log("选择列,。。",this.chooseCol,this.field),this.field)if(this.chooseCol===!0){if(this.fields=this.field,this.show=!0,null!=this.defaultselect&&this.defaultselect.length>0)for(var e in this.field)this.modelval.push(e)}else this.data.items="*",(0,o.default)(this.field).forEach(function(e){t.exporthead.push(e+":"+t.field[e])}),this.post();else this.post()},downFile:function(){var t=this.resultData,e=document.createElement("a");t.data.forEach(function(t){console.log("导出路径",t.filename);var n=t.f_downloadpath,i="http://"+location.host+"/webapps"+n.split("webapps")[1];e.href=i,e.download=n.split("excel/")[1],e.dispatchEvent(new MouseEvent("click"))})},export:function(){var t=this,e="";this.modelval.forEach(function(n){e=e+n+",",t.exporthead.push(n+":"+t.field[n])}),e=e.slice(0,e.length-1),console.log("表头,,,,",this.exporthead),this.data.items=e,this.post(),this.show=!1},post:function(){var t=h(this);(0,d.default)(t)},stamp:function(){this.modelval=[],this.show=!0},sortModelval:function(){var t=this,e=[];(0,o.default)(this.fields).forEach(function(n){t.modelval.includes(n)&&e.push(n)}),console.log("看看选择的顺序。。。",e),this.modelval=e},close:function(){this.all=!1,this.modelval=[],this.show=!1}},watch:{all:function(t){t?this.modelval=(0,o.default)(this.fields):this.modelval=[]},"modelval.length":function(){this.sortModelval()}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(7),c=i(l),u=n(130),d=(i(u),n(131));i(d);e.default={title:"文件目录",props:{rootPath:{type:String},dHeaders:{}},data:function(){return{model:[],headers:{username:"",blodid:"",f_usetype:"",f_remarks:""},importFileWin:!1,inputWin:!1,dispatcherType:"",sourcePath:"",targetPath:"",targetName:"",rowNode:null}},ready:function(){return this.rootPath="rootPath",this.headers=this.dHeaders,this.rootPath?this.init():new c.default(function(t,e){t()})},methods:{init:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(){var e;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"select",rootPath:this.rootPath}},{silent:!0});case 2:return e=t.sent,this.model=e.data,t.abrupt("return",e);case 5:case"end":return t.stop()}},t,this)}));return t}(),updataFile:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(){var e;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"updata",path:this.sourcePath,name:this.targetName}},{});case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}},t,this)}));return t}(),deleteFile:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e){var n;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"delete",path:e.id}},{});case 2:return n=t.sent,e.parent?this.$refs.tree.refreshChild(e.parent):this.init(),t.abrupt("return",n);case 5:case"end":return t.stop()}},t,this)}));return t}(),createFolder:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(){var e;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"create",dType:"folder",path:this.sourcePath+"\\"+this.targetName}},{});case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}},t,this)}));return t}(),createFile:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(){var e;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$resetpost("rs/logic/filetool",{data:{type:"create",dType:"file",path:this.sourcePath+"\\"+this.targetName}},{});case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}},t,this)}));return t}(),openInputWin:function(t,e){this.dispatcherType=t,this.sourcePath=e.id,this.inputWin=!0,this.rowNode=e},closeInputWin:function(){this.dispatcherType="",this.sourcePath="",this.inputWin=!1,this.targetName="",this.rowNode=null},openImportFileWin:function(t){this.targetPath=t.id,this.rowNode=t,this.importFileWin=!0},closeImportFileWin:function(){this.targetPath="",this.rowNode=null,this.$refs.file.$el.querySelector("input").value="",this.importFileWin=!1},dispatcher:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.targetName||!(this.targetName.length<1)){t.next=2;break}return t.abrupt("return");case 2:t.t0=this.dispatcherType,t.next="updataFile"===t.t0?5:"createFolder"===t.t0?9:"createFile"===t.t0?13:17;break;case 5:return t.next=7,this.updataFile();case 7:return this.rowNode.parent?this.$refs.tree.refreshChild(this.rowNode.parent):this.init(),t.abrupt("break",17);case 9:return t.next=11,this.createFolder();case 11:return this.$refs.tree.refreshChild(this.rowNode),t.abrupt("break",17);case 13:return t.next=15,this.createFile();case 15:return this.$refs.tree.refreshChild(this.rowNode),t.abrupt("break",17);case 17:this.closeInputWin();case 18:case"end":return t.stop()}},t,this)}));return t}()},events:{onFileUpload:function(){function t(t,n){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e,n){var i,r,s;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(console.log("res",n),n||n.f_downloadpath){t.next=5;break}return console.log("上传失败,数据:"+n),this.closeImportFileWin(),t.abrupt("return");case 5:return i=n.f_downloadpath,r=n.f_filetype,t.next=9,this.$resetpost("rs/logic/filetool",{data:{type:"import",dType:r.toLowerCase(),res:n,sourcePath:i,targetPath:this.targetPath}},{});case 9:return s=t.sent,this.$refs.tree.refreshChild(this.rowNode),this.closeImportFileWin(),t.abrupt("return");case 13:case"end":return t.stop()}},t,this)}));return t}()}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),o=i(r);e.default={props:{name:{type:String,required:!0},id:String,action:{type:String,required:!0},accept:String,multiple:String,headers:Object,method:String,tagname:String},data:function(){return{myFiles:[]}},methods:{fileInputClick:function(){this.$dispatch("onFileClick",this.myFiles)},fileInputChange:function(){var t=this.id||this.name;this.myFiles=document.getElementById(t).files,this.$dispatch("onFileChange",this.myFiles)},_onProgress:function(t){t.percent=t.loaded/t.total*100,this.$dispatch("onFileProgress",t)},_handleUpload:function(t){this.$dispatch("beforeFileUpload",t);var e=new FormData,n=new XMLHttpRequest;try{e.append("Content-Type",t.type||"multipart/form-data"),e.append("file",t)}catch(e){return void this.$dispatch("onFileError",t,e)}return new o.default(function(i,r){if(n.upload.addEventListener("progress",this._onProgress,!1),n.onreadystatechange=function(){if(!(n.readyState<4))if(n.status<400){var e=JSON.parse(n.responseText);this.$dispatch("onFileUpload",t,e),i(t)}else{var o=JSON.parse(n.responseText);o.status=n.status,o.statusText=n.statusText,this.$dispatch("onFileError",t,o),r(o)}}.bind(this),n.onerror=function(){var e=JSON.parse(n.responseText);e.status=n.status,e.statusText=n.statusText,this.$dispatch("onFileError",t,e),r(e)}.bind(this),n.open(this.method||"POST",this.action,!0),this.headers)for(var o in this.headers)n.setRequestHeader(o,encodeURIComponent(this.headers[o]));n.send(e),this.$dispatch("afterFileUpload",t)}.bind(this))},fileUpload:function(){if(this.myFiles.length>0){var t=Array.prototype.slice.call(this.myFiles,0).map(function(t){return console.log(t),this._handleUpload(t)}.bind(this));o.default.all(t).then(function(t){this.$dispatch("onAllFilesUploaded",t)}.bind(this)).catch(function(t){this.$dispatch("onFileError",this.myFiles,t)}.bind(this))}else{console.log("未选择任何文件,请选要上传的文件"),this.$showAlert("未选择任何文件,请重新选择要上传的文件","warning",2e3);var e=new Error("未选择任何文件,请选要上传的文件");this.$dispatch("onFileError",this.myFiles,e)}}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(16),a=i(s),l=n(7),c=i(l),u=n(5),d=i(u),h=n(28),f=i(h),p=function(t){return new c.default(function(e,n){setTimeout(e,t,"")})},m=o.default.mark(function t(e){var n,i,r,s,l,c,u,d,h,m;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n="",n=e.style?e.style:"<style>table{font-size:15px;border-width: 2px;border-collapse: collapse;border:solid 2px ;\n border-color:black;} table th {border-width: 1px;padding: 2px;border-style: solid;}\n table td {border-width: 1px;padding: 2px;border-style: solid;text-align: center;}.tdright{text-align: right;}\n </style>",i=1;case 3:if(!(i<=e.model.totalPage)){t.next=48;break}return console.log("pageIndex = "+i),t.next=7,e.model.loadPage(i);case 7:r=!0,s=!1,l=void 0,t.prev=10,c=(0,a.default)(e.model.rows);case 12:if(r=(u=c.next()).done){t.next=31;break}return d=u.value,t.next=16,e.$resetpost(e.url,{data:d},{resolveMsg:null,rejectMsg:null});case 16:return h=t.sent,m=(0,f.default)(),console.log("getLodp"),m.PRINT_INIT("表单打印"),m.ADD_PRINT_HTM(e.top,e.left,e.width,e.height,n+h.data),m.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Full-Width"),m.PRINT(),t.next=25,p(200);case 25:if(!e.func){t.next=28;break}return t.next=28,func(d);case 28:r=!0,t.next=12;break;case 31:t.next=37;break;case 33:t.prev=33,t.t0=t.catch(10),s=!0,l=t.t0;case 37:t.prev=37,t.prev=38,!r&&c.return&&c.return();case 40:if(t.prev=40,!s){t.next=43;break}throw l;case 43:return t.finish(40);case 44:return t.finish(37);case 45:i++,t.next=3;break;case 48:case"end":return t.stop()}},t,this,[[10,33,37,45],[38,,40,44]])});e.default={data:function(){return{html:""}},props:["model","url","top","left","width","height","attach","func","style"],methods:{print:function(){var t=m(this);(0,d.default)(t)}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"高拍仪",data:function(){return{global:null,view:null,thumbnail:null,deviceList:null,subtypeList:null,resolutionList:null,device:null,video:null,faceImg:""}},ready:function(){this.init(),console.log("ready");var t=this.global.InitDevs();console.log("初始化 "+t);for(var e=this.global.GetDevCount(1),n=0;n<e;n++){var i=this.global.GetFriendlyName(1,n);this.deviceList.add(new Option(i));var r=this.global.GeteloamType(1,n);1===r&&(this.deviceList.selectedIndex=n),this.selectDevice()}},beforeDestroy:function(){this.Unload()},methods:{init:function(){console.log("init component"),this.global=document.getElementById("Global_ID"),this.view=document.getElementById("View"),this.thumbnail=document.getElementById("Thumbnail"),this.deviceList=document.getElementById("Device"),this.subtypeList=document.getElementById("subtype"),this.resolutionList=document.getElementById("resolution")},Unload:function(){this.CloseVideo(),this.device&&(this.device.Destroy(),this.device=null),this.global.DeinitFaceDetect(),this.global.DeinitDevs(),this.global=null},selectDevice:function(){if(console.log("选择设备"),this.CloseVideo(),this.device&&(this.device.Destroy(),this.device=null),this.subtypeList.options.length=0,this.deviceList.selectedIndex!==-1){console.log(this.deviceList.selectedIndex),this.device=this.global.CreateDevice(1,this.deviceList.selectedIndex);var t=this.device.GetSubtype();0!==(1&t)&&this.subtypeList.add(new Option("YUY2")),0!==(2&t)&&this.subtypeList.add(new Option("MJPG")),0!==(4&t)&&this.subtypeList.add(new Option("UYVY")),this.subtypeList.selectedIndex=0}this.selectSubtype()},selectSubtype:function(){this.resolutionList.options.length=0;var t=this.subtypeList.options.selectedIndex;if(t!==-1){var e=this.subtypeList.options[t].text,n="YUY2"===e?1:"MJPG"===e?2:"UYVY"===e?4:-1;if(n!==-1&&null!==this.device){for(var i=this.device.GetResolutionCountEx(n),r=0;r<i;r++){var o=this.device.GetResolutionWidthEx(n,r),s=this.device.GetResolutionHeightEx(n,r);this.resolutionList.add(new Option(o.toString()+"*"+s.toString()))}this.resolutionList.selectedIndex=0}}this.selectResolution()},selectResolution:function(){var t=this;setTimeout(function(){t.ShowVideo()})},Scan:function(){if(this.video){console.log("拍照中");var t=this.global.GetTempName("jpg"),e=this.video.CreateImage(8,this.view.GetView());if(e){var n=e.GetBase64(2,0);this.faceImg="data:image/jpeg;base64,"+n,this.view.PlayCaptureEffect(),e.Save(t,0),this.thumbnail.Add(t),e.Destroy(),e=null,console.log("拍照成功",t)}}},ShowVideo:function(){if(this.CloseVideo(),this.device){var t=this.subtypeList.options.selectedIndex;if(t!==-1){var e=this.subtypeList.options[t].text,n="YUY2"===e?1:"MJPG"===e?2:"UYVY"===e?4:-1,i=this.resolutionList.selectedIndex;this.video=this.device.CreateVideo(i,n),this.video&&(console.log("打开视频"),this.view.SelectVideo(this.video),this.view.SetText("打开视频中,请等待...",0))}}},CloseVideo:function(){console.log("关闭视频"),this.video&&(this.view.SetText("",0),this.video.Destroy(),this.video=null),console.log("关闭视频成功")},UploadThumbToServer:function(){var t=this.thumbnail.HttpUploadCheckImage("http://localhost:8080/FileStreamDemo/servlet/FileSteamUpload?",0);if(t){this.thumbnail.GetHttpServerInfo();alert("上传成功!")}else alert("上传失败!")}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);e.default={title:"数据表格",props:{attach:{type:String,default:"name"}},mixins:[o.default,a.default]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(26),a=i(s),l=n(7),c=i(l),u=void 0,d="ws://127.0.0.1:18888";e.default={title:"高拍仪",data:function(){return{showhighmeter:!1,connected:!1,orgwidth:0,orgheight:0,iswaiting:!1,callback:{},clicked:!1,isopen:!1,resetx:20,resety:20,resetwidth:300,resetheight:400,context:1,base_offset:3,orgdrawwidth:0,orgdrawheight:0,rotanumber:0,CLT_MSG:{BEGIN_CAP:1,STOP_CAP:2,GET_PID:3,GET_FBL:4,SET_FBL:5,SET_MJPG:6,SET_TURN:7,SET_QUALITY:8,SET_AUTOCROP:9,SET_PREST:10,GET_PREST_INFO:11,FORMAT_DLG:12,PROPERTY_DLG:13,SET_COLOR_MODEL:14,GET_PICTURE:15,SET_CLEAN_PARAM:16,GET_PICTURE_MEM:17,TEST_BASE64:18,SET_TEMPDIR:19,BEGIN_PDF:20,GET_PDF_PICTURES:21,END_PDF_PICTURES:22,PDF_TO_BASE64:23,BASE64_TO_PDF:24,PDF_TO_BASE64_STR:25,DEL_PICTURE_PDF:26,PRINT_IMAGE:27,SHOW_ERROR_BOX:28,GET_EVENT:29,PRESET_MOUSEDOWN:30,PRESET_MOUSEMOVE:31,PRESET_MOUSEUP:32,IDCARD_COMPARE:40,READ_IDCARD:51,BEGIN_READ_IDCARD:52,STOP_READ_IDCARD:53,HCOPY_IDCARD:54,VCOPY_IDCARD:55,PCOPY_IDCARD:56,NCOPY_IDCARD:57},SVR_BIN_MSG:{CAP_FRAME:1}}},props:["show"],methods:{onLoad:function(){var t=this;return new c.default(function(e,n){u&&e(),u=new WebSocket(d),u.onopen=function(n){t.connected&&e(),t.connected=!0,t.output("已经连接到服务器"),t.cam_switch(1),e()},u.onclose=function(e){t.connected?(t.output("已断开服务器连接"),t.connected=!1):(window.location.href="FLShell://",setTimeout("this.onLoad()",3)),u=null,n(new Error("连接失败"))},u.onmessage=function(e){if(0!==e.data.length)if("string"==typeof e.data){var i=JSON.parse(e.data);i.err&&0!==i.err?(t.output("错误 - "+i.err+", "+i.msg),n("错误 - "+i.err+", "+i.msg)):i.msg&&t.output(i.msg),i.user_data&&(t.callback[i.user_data](i),"number"==typeof i.user_data&&(t.callback[i.user_data]=void 0))}else{var r=new FileReader;r.onload=function(e){if(e.target.readyState==FileReader.DONE){var n=new Uint8Array(e.target.result);if(n[0]==t.SVR_BIN_MSG.CAP_FRAME)return t.drawImage(n)}},r.readAsArrayBuffer(e.data)}};var i=document.getElementById("cam");i.onmousedown=function(e){i.style.cursor="crosshair",t.clicked=!0,t.sendMsg(t.CLT_MSG.PRESET_MOUSEDOWN,{origX:e.layerX,origY:e.layerY},function(t){0!==t.err})},i.onmousemove=function(e){return t.clicked?(i.style.cursor="crosshair",void t.sendMsg(t.CLT_MSG.PRESET_MOUSEMOVE,{offx:e.layerX,offy:e.layerY},function(t){0!==t.err})):void(i.style.cursor="default")},onmouseout=i.onmouseup=function(e){i.style.cursor="default",t.clicked&&(t.sendMsg(t.CLT_MSG.PRESET_MOUSEUP,{offx:e.layerX,offy:e.layerY},function(t){0!==t.err}),t.clicked=!1)}})},cam_switch:function(t){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.BEGIN_CAP,{cap:t},function(n){return 0!==n.err?(e.iswaiting=!1,e.isopen=!1,e.output("打开视频失败")):(e.orgwidth=n.width,e.orgheight=n.height,e.ResetBox(),e.output("打开视频"+t+"成功,width = "+n.width+",height = "+n.height),e.isopen=!0,e.iswaiting=!1,void(2==t?e.SetAutoCutOff():e.SetAutoCutOn()))}))},CloseVideo:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.STOP_CAP,function(e){if(0!==e.err)return t.iswaiting=!1,t.output("关闭视频失败");var n=document.getElementById("cam");t.orgdrawwidth=0,t.orgdrawheight=0,n.height=n.height,t.output("关闭视频成功"),t.iswaiting=!1}))},SetQuality:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_QUALITY,{quality:50},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.output("设置拍照图片质量 : quality=50"),void(t.iswaiting=!1))}))},SetAutoCutOn:function(){var t=this;console.log("设置自动采编"),this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_AUTOCROP,{open:1},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.output("设置自动裁边 : open=1"),void(t.iswaiting=!1))}))},SetAutoCutOff:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_AUTOCROP,{open:0},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.output("设置自动裁边 : open=0"),void(t.iswaiting=!1))}))},ResetBox:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_PREST,{left:0,top:0,width:0,height:0},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.resetx=0,t.resety=0,t.resetwidth=0,t.resetheight=0,t.output("取消预设框选"),void(t.iswaiting=!1))}))},bb:function(){var t=this;if(!this.iswaiting){this.SetQuality(),this.iswaiting=!0;var e=new Date,n=e.getMonth()+1,i=e.getFullYear()+""+n+e.getDate()+e.getTime(),r="D:\\tp\\img"+i+".jpg";this.sendMsg(this.CLT_MSG.GET_PICTURE,{path:r,turn:0},function(e){if(0!==e.err)return void(t.iswaiting=!1);var n="data:image/jpg;base64,"+e.base64str;document.getElementById("Base64IMG").src=n,t.output("base64 长度 : "+n.length),t.iswaiting=!1,t.$dispatch("photo-finish",e.base64str)})}},bbase64:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.GET_PICTURE_MEM,{turn:0},function(e){if(0!==e.err)return void(t.iswaiting=!1);var n="data:image/jpg;base64,"+e.base64str;document.getElementById("Base64IMG").src=n,alert(n),t.output("base64 长度 : "+n.length),t.iswaiting=!1}))},TestBase64:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.TEST_BASE64,{code:"123456789"},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.output("base64 内容 : "+e.base64str),void(t.iswaiting=!1))}))},ReadIDCard:function(){var t=this;return this.sendMsg(this.CLT_MSG.READ_IDCARD,function(e){0===e.err&&(t.setText(e),t.output("单读卡"))})},Begin:function(){var t=this;this.sendMsg(this.CLT_MSG.BEGIN_READ_IDCARD,{user_data:"idcard"}),this.callback.idcard=function(e){0===e.err&&(t.setText(e),t.output("读取身份证"))},this.output("开始读卡")},Stop:function(){var t=this;this.sendMsg(this.CLT_MSG.STOP_READ_IDCARD,function(e){0===e.err&&t.output("停止读卡")})},drawImage:function(t){if(this.checkTimestamp(256*t[2]+t[1])){var e=256*t[this.base_offset+1]+t[this.base_offset],n=256*t[this.base_offset+3]+t[this.base_offset+2],i=document.getElementById("cam"),r=i.getContext("2d");this.orgdrawwidth==e&&this.orgdrawheight==n||(this.orgdrawwidth=e,this.orgdrawheight=n,i.height=i.height);for(var o=r.createImageData(e,n),s=0;s!=n;++s)for(var a=0;a!=e;++a){var l=4*((n-s-1)*e+a),c=3*(s*e+a)+this.base_offset+4;o.data[l]=t[c+2],o.data[l+1]=t[c+1],o.data[l+2]=t[c],o.data[l+3]=255}r.putImageData(o,0,0)}},checkTimestamp:function(t){var e=new Date,n=1e3*e.getSeconds()+e.getMilliseconds();return n<t&&(n+=6e4),n-t<3e3},sendMsg:function(t,e,n){u&&("object"!==("undefined"==typeof e?"undefined":(0,a.default)(e))&&("function"==typeof e?(n=e,e={}):e={}),e.proto=t,"function"==typeof n&&(this.callback[++this.context]=n,e.user_data=this.context),u.send((0,o.default)(e)))},output:function(t){if(0!=t.length){var e=document.getElementById("Console");e.value+=t,e.value+="\r",e.scrollTop=e.scrollHeight}},setText:function(t){document.getElementById("Name").value=t.strName,document.getElementById("Sex").value=t.strSex,document.getElementById("Nation").value=t.strNation,document.getElementById("Born").value=t.strBirth,document.getElementById("Address").value=t.strAddress,document.getElementById("CardNo").value=t.strID,document.getElementById("Police").value=t.strOrg,document.getElementById("ActivityLFrom").value=t.strVaildityfrom,document.getElementById("ActivityLTo").value=t.strVaildityto,document.getElementById("DeviceNo").value=t.strName,document.getElementById("PhotoBuffer").value=t.base64BMP,document.getElementById("PhotoDisplay").src="data:image/jpg;base64,"+t.base64BMP},close:function(){this.show=!this.show,this.isopen&&this.CloseVideo()}},ready:function(){var t=this;this.onLoad().then(function(){t.$emit("ready")}).catch(function(e){t.$emit("error",e)})}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(26),a=i(s),l=n(7),c=i(l),u=void 0,d="ws://127.0.0.1:18888";e.default={title:"高拍仪",data:function(){return{IdCardInfo:{},showhighmeter:!1,connected:!1,orgwidth:0,orgheight:0,iswaiting:!1,callback:{},clicked:!1,isopen:!1,resetx:20,resety:20,resetwidth:300,resetheight:400,context:1,base_offset:3,orgdrawwidth:0,orgdrawheight:0,rotanumber:0,CLT_MSG:{BEGIN_CAP:1,STOP_CAP:2,GET_PID:3,GET_FBL:4,SET_FBL:5,SET_MJPG:6,SET_TURN:7,SET_QUALITY:8,SET_AUTOCROP:9,SET_PREST:10,GET_PREST_INFO:11,FORMAT_DLG:12,PROPERTY_DLG:13,SET_COLOR_MODEL:14,GET_PICTURE:15,SET_CLEAN_PARAM:16,GET_PICTURE_MEM:17,TEST_BASE64:18,SET_TEMPDIR:19,BEGIN_PDF:20,GET_PDF_PICTURES:21,END_PDF_PICTURES:22,PDF_TO_BASE64:23,BASE64_TO_PDF:24,PDF_TO_BASE64_STR:25,DEL_PICTURE_PDF:26,PRINT_IMAGE:27,SHOW_ERROR_BOX:28,GET_EVENT:29,PRESET_MOUSEDOWN:30,PRESET_MOUSEMOVE:31,PRESET_MOUSEUP:32,IDCARD_COMPARE:40,READ_IDCARD:51,BEGIN_READ_IDCARD:52,STOP_READ_IDCARD:53,HCOPY_IDCARD:54,VCOPY_IDCARD:55,PCOPY_IDCARD:56,NCOPY_IDCARD:57},SVR_BIN_MSG:{CAP_FRAME:1}}},props:["show"],methods:{onLoad:function(){var t=this;return new c.default(function(e,n){u&&e(),u=new WebSocket(d),u.onopen=function(n){t.connected&&e(),t.connected=!0,t.output("已经连接到服务器"),t.cam_switch(1),e()},u.onclose=function(e){t.connected?(t.output("已断开服务器连接"),t.connected=!1):(window.location.href="FLShell://",setTimeout("this.onLoad()",3)),u=null,n(new Error("连接失败"))},u.onmessage=function(e){if(0!==e.data.length)if("string"==typeof e.data){var i=JSON.parse(e.data);i.err&&0!==i.err?(t.output("错误 - "+i.err+", "+i.msg),n("错误 - "+i.err+", "+i.msg)):i.msg&&t.output(i.msg),i.user_data&&(t.callback[i.user_data](i),"number"==typeof i.user_data&&(t.callback[i.user_data]=void 0))}else{var r=new FileReader;r.onload=function(e){if(e.target.readyState==FileReader.DONE){var n=new Uint8Array(e.target.result);if(n[0]==t.SVR_BIN_MSG.CAP_FRAME)return t.drawImage(n)}},r.readAsArrayBuffer(e.data)}};var i=document.getElementById("cam");i.onmousedown=function(e){i.style.cursor="crosshair",t.clicked=!0,t.sendMsg(t.CLT_MSG.PRESET_MOUSEDOWN,{origX:e.layerX,origY:e.layerY},function(t){0!==t.err})},i.onmousemove=function(e){return t.clicked?(i.style.cursor="crosshair",void t.sendMsg(t.CLT_MSG.PRESET_MOUSEMOVE,{offx:e.layerX,offy:e.layerY},function(t){0!==t.err})):void(i.style.cursor="default")},onmouseout=i.onmouseup=function(e){i.style.cursor="default",t.clicked&&(t.sendMsg(t.CLT_MSG.PRESET_MOUSEUP,{offx:e.layerX,offy:e.layerY},function(t){0!==t.err}),t.clicked=!1)}})},cam_switch:function(t){var e=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.BEGIN_CAP,{cap:t},function(n){return 0!==n.err?(e.iswaiting=!1,e.isopen=!1,e.output("打开视频失败")):(e.orgwidth=n.width,e.orgheight=n.height,e.ResetBox(),e.output("打开视频"+t+"成功,width = "+n.width+",height = "+n.height),e.isopen=!0,e.iswaiting=!1,void(2==t?e.SetAutoCutOff():e.SetAutoCutOn()))}))},CloseVideo:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.STOP_CAP,function(e){if(0!==e.err)return t.iswaiting=!1,t.output("关闭视频失败");var n=document.getElementById("cam");t.orgdrawwidth=0,t.orgdrawheight=0,n.height=n.height,t.output("关闭视频成功"),t.iswaiting=!1}))},SetQuality:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_QUALITY,{quality:50},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.output("设置拍照图片质量 : quality=50"),void(t.iswaiting=!1))}))},SetAutoCutOn:function(){var t=this;console.log("设置自动采编"),this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_AUTOCROP,{open:1},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.output("设置自动裁边 : open=1"),void(t.iswaiting=!1))}))},SetAutoCutOff:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_AUTOCROP,{open:0},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.output("设置自动裁边 : open=0"),void(t.iswaiting=!1))}))},ResetBox:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.SET_PREST,{left:0,top:0,width:0,height:0},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.resetx=0,t.resety=0,t.resetwidth=0,t.resetheight=0,t.output("取消预设框选"),void(t.iswaiting=!1))}))},bb:function(){var t=this;if(!this.iswaiting){this.SetQuality(),this.iswaiting=!0;var e=new Date,n=e.getMonth()+1,i=e.getFullYear()+""+n+e.getDate()+e.getTime(),r="D:\\tp\\img"+i+".jpg";this.sendMsg(this.CLT_MSG.GET_PICTURE,{path:r,turn:0},function(e){if(0!==e.err)return void(t.iswaiting=!1);var n="data:image/jpg;base64,"+e.base64str;document.getElementById("Base64IMG").src=n,t.output("base64 长度 : "+n.length),t.iswaiting=!1,t.$dispatch("photo-finish",e.base64str)})}},bbase64:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.GET_PICTURE_MEM,{turn:0},function(e){if(0!==e.err)return void(t.iswaiting=!1);var n="data:image/jpg;base64,"+e.base64str;document.getElementById("Base64IMG").src=n,alert(n),t.output("base64 长度 : "+n.length),t.iswaiting=!1}))},TestBase64:function(){var t=this;this.iswaiting||(this.iswaiting=!0,this.sendMsg(this.CLT_MSG.TEST_BASE64,{code:"123456789"},function(e){return 0!==e.err?void(t.iswaiting=!1):(t.output("base64 内容 : "+e.base64str),void(t.iswaiting=!1))}))},ReadIDCard:function(){var t=this;return this.sendMsg(this.CLT_MSG.READ_IDCARD,function(e){0===e.err&&(t.setText(e),t.output("单读卡"))})},Begin:function(){var t=this;this.sendMsg(this.CLT_MSG.BEGIN_READ_IDCARD,{user_data:"idcard"}),this.callback.idcard=function(e){0===e.err&&(t.setText(e),t.output("读取身份证"))},this.output("开始读卡")},Stop:function(){var t=this;this.sendMsg(this.CLT_MSG.STOP_READ_IDCARD,function(e){0===e.err&&t.output("停止读卡")})},drawImage:function(t){if(this.checkTimestamp(256*t[2]+t[1])){var e=256*t[this.base_offset+1]+t[this.base_offset],n=256*t[this.base_offset+3]+t[this.base_offset+2],i=document.getElementById("cam"),r=i.getContext("2d");this.orgdrawwidth==e&&this.orgdrawheight==n||(this.orgdrawwidth=e,this.orgdrawheight=n,i.height=i.height);for(var o=r.createImageData(e,n),s=0;s!=n;++s)for(var a=0;a!=e;++a){var l=4*((n-s-1)*e+a),c=3*(s*e+a)+this.base_offset+4;o.data[l]=t[c+2],o.data[l+1]=t[c+1],o.data[l+2]=t[c],o.data[l+3]=255}r.putImageData(o,0,0)}},checkTimestamp:function(t){var e=new Date,n=1e3*e.getSeconds()+e.getMilliseconds();return n<t&&(n+=6e4),n-t<3e3},sendMsg:function(t,e,n){u&&("object"!==("undefined"==typeof e?"undefined":(0,a.default)(e))&&("function"==typeof e?(n=e,e={}):e={}),e.proto=t,"function"==typeof n&&(this.callback[++this.context]=n,e.user_data=this.context),u.send((0,o.default)(e)))},output:function(t){if(0!=t.length){var e=document.getElementById("Console");e.value+=t,e.value+="\r",e.scrollTop=e.scrollHeight}},setText:function(t){document.getElementById("Name").value=t.strName,document.getElementById("Sex").value=t.strSex,document.getElementById("Nation").value=t.strNation,document.getElementById("Born").value=t.strBirth,document.getElementById("Address").value=t.strAddress,document.getElementById("CardNo").value=t.strID,document.getElementById("Police").value=t.strOrg,
|
|
94
|
-
document.getElementById("ActivityLFrom").value=t.strVaildityfrom,document.getElementById("ActivityLTo").value=t.strVaildityto,document.getElementById("DeviceNo").value=t.strName,document.getElementById("PhotoBuffer").value=t.base64BMP,document.getElementById("PhotoDisplay").src="data:image/jpg;base64,"+t.base64BMP,this.IdCardInfo=t},close:function(){this.show=!this.show,this.isopen&&this.CloseVideo()},confirmIdCard:function(){var t=this.IdCardInfo;this.$emit("confirminfo",t),this.IdCardInfo={}}},ready:function(){var t=this;this.onLoad().then(function(){t.$emit("ready")}).catch(function(e){t.$emit("error",e)})}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(125),o=i(r),s=n(46),a=i(s);e.default={data:function(){return{http:a.default}},components:{Busy:o.default}}},function(t,e,n){"use strict";function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),s=r(o),a=n(47),l=i(a);e.default={props:{model:{type:Array},sutitle:"维修照片"},data:function(){return{fileName:""}},methods:{remove:function(t){this.$androidUtil.delfile(t.android_file);var e=this.model.findIndex(function(e){return e===t});this.model.splice(e,1)},cameraCallBack:function(t,e){alert("callback!!!!!!!!!!!!!!!!!!--start");var n=this.$androidUtil.getCallBack(this);n.model.push({android_file:n.fileName,path:e,imgpath:this.sutitle}),alert("callback!!!!!!!!!!!!!!!!!!--end")},takePic:function(){var t="repair",e="aofeng";this.fileName=l.guid()+"-valve-"+e+"-"+t+".jpg",this.$androidUtil.takePic(this,this.cameraCallBack,this.fileName,this.sutitle)},getimgstr:function(t){return t?s.default.android?t.path+"?"+Math.random():"rs/file/getfile/"+t.imgid:""}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(78),o=i(r);e.default={props:{src:{type:String},width:{default:60},height:{default:60},alt:{default:"图片加载失败"},attach:{type:String,default:"name"}},data:function(){return{show:!1,deg:0,power:1}},methods:{open:function(){this.deg=0,this.power=.5,this.show=!0},close:function(){this.show=!1},enlarge:function(){console.log("放大"),this.power=2*this.power,this.imgState()},reduce:function(){console.log("缩小"),this.power=.5*this.power,this.imgState()},leftRevolve:function(){console.log("左旋转"),this.deg-=90,this.imgState()},rightRevolve:function(){console.log("右旋转"),this.deg+=90,this.imgState()},imgState:function(){console.log("调取总函数"),(0,o.default)(".img-state").css({transform:"rotate("+this.deg+"deg) scale("+this.power+" ,"+this.power+")"})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(81),o=i(r);e.default={title:"自带下拉选项输入框",data:function(){return{}},props:{placeholder:{type:String,default:"请输入"},selects:{type:Array,default:function(){return[{label:"匹配",value:"匹配"},{label:"大于",value:"大于"},{label:"小于",value:"小于"},{label:"等于",value:"等于"},{label:"小于等于",value:"小于等于"},{label:"大于等于",value:"大于等于"},{label:"包含",value:"包含"},{label:"不包含",value:"不包含"}]}},symbol:{default:""},inputType:{type:String,default:"text"},expression:{default:null},value:{default:null},attach:{type:String,default:"name"}},methods:{assemble:function(){this.data&&(1===this.symbol.length&&("匹配"===this.symbol[0]?this.expression="like '%"+this.data+"%'":"小于"===this.symbol[0]?this.expression="< '"+this.data+"'":"大于"===this.symbol[0]?this.expression="> '"+this.data+"'":"等于"===this.symbol[0]?this.expression="= '"+this.data+"'":"小于等于"===this.symbol[0]?this.expression="<= '"+this.data+"'":"大于等于"===this.symbol[0]?this.expression=">= '"+this.data+"'":"包含"===this.symbol[0]?this.expression="in "+this.str2exp():"不包含"===this.symbol[0]&&(this.expression="not in "+this.str2exp())),this.value=[this.symbol,this.data])},str2exp:function(){return"('"+this.data.split(",").join("','")+"')"}},watch:{symbol:function(){this.assemble()},data:function(){this.assemble()}},components:{VSelect:o.default}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(5),a=i(s),l=o.default.mark(function t(e){var n;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$resetpost("rs/logic/logparams",e.model).then(function(t){e.model.logtext=[t.logtext]});case 2:n=t.sent;case 3:case"end":return t.stop()}},t,this)});e.default={name:"InquireLog",data:function(){return{model:{date:"",keyword:"",logtext:"日志内容:..."}}},methods:{selLog:function(){var t=l(this);(0,a.default)(t)}},watch:{date:function(){var t=l(this);(0,a.default)(t),this.model.keyword=""}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"signature",data:function(){return{points:[],canvasTxt:null,startX:0,startY:0,moveY:0,moveX:0,endY:0,endX:0,w:null,h:null,isDown:!1,imgpath:"",menuwidth:0}},created:function(){},ready:function(){var t=document.getElementById("canvasF");console.log(document.getElementById("canvasHW")),console.log(document.getElementById("canvasF")),t.height=document.getElementById("canvasHW").offsetHeight-60,t.width=document.getElementById("canvasHW").offsetWidth-10,console.log(document.getElementById("canvasHW").offsetWidth),console.log(document.getElementById("menurepair").offsetWidth),this.canvasTxt=t.getContext("2d"),this.canvasTxt.lineWidth=10,this.menuwidth=document.getElementById("menurepair").offsetWidth},methods:{close:function(){this.$emit("closes")},commit:function(){console.log(document.getElementById("canvasF").toDataURL());var t=document.getElementById("canvasF").toDataURL("image/png");console.log(t),this.imgpath=t,this.$emit("commite",this.imgpath)},backHome:function(){window.history.back()},mouseDown:function(t){t=t||event,t.preventDefault(),console.log(t);var e={x:t.offsetX,y:t.offsetY};console.log(e),this.startX=e.x,this.startY=e.y,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(e.x,e.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(e),this.isDown=!0},touchStart:function(t){if(t=t||event,t.preventDefault(),1==t.touches.length){var e={x:t.targetTouches[0].clientX-this.menuwidth,y:t.targetTouches[0].clientY};this.startX=e.x,this.startY=e.y,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(e.x,e.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(e)}},mouseMove:function(t){if(t=t||event,t.preventDefault(),this.isDown){var e={x:t.offsetX,y:t.offsetY};this.moveY=e.y,this.moveX=e.x,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(e.x,e.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.startY=e.y,this.startX=e.x,this.points.push(e)}},touchMove:function(t){if(t=t||event,t.preventDefault(),1==t.touches.length){var e={x:t.targetTouches[0].clientX-this.menuwidth,y:t.targetTouches[0].clientY};this.moveY=e.y,this.moveX=e.x,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(e.x,e.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.startY=e.y,this.startX=e.x,this.points.push(e)}},mouseUp:function(t){t=t||event,t.preventDefault();var e={x:t.offsetX,y:t.offsetY};this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(e.x,e.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(e),this.points.push({x:-1,y:-1}),this.isDown=!1},touchEnd:function(t){if(t=t||event,t.preventDefault(),console.log(t),1==t.touches.length){var e={x:t.targetTouches[0].clientX-this.menuwidth,y:t.targetTouches[0].clientY};this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(e.x,e.y),this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(e),this.points.push({x:-1,y:-1})}},overwrite:function(){console.log("======================"),console.log(this.$refs),this.canvasTxt.clearRect(0,0,document.getElementById("canvasF").width,document.getElementById("canvasF").height),this.points=[]}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={PIPE:"7440011c983cf39ae730b1f831e2922ac5a76910",OPEN_BRACE:"f630c4abcae620278f82e142a526ef325c2a773a",CLOSE_BRACE:"ad982c66898e02a5dab419ea7568421b03f68ee2"};e.default={title:"软键盘",props:{value:{type:String,default:""},layouts:{type:[String,Array],default:function(){return["1234567890{删除:backspace}|qwertyuiop|asdfghjkl|{转大写:goto:1}zxcvbnm|{空格:space}","!@#$%^&*(){删除:backspace}|QWERTYUIOP|ASDFGHJKL|{转小写:goto:0}ZXCVBNM|{空格:space}"]}},maxlength:{type:Number,default:16,validator:function(t){return t>=0}},pattern:{type:String,default:null},show:{default:!1},attach:{type:String,default:"name"}},data:function(){return{layout:0}},computed:{full:function(){return this.maxlength>0&&this.value.length>=this.maxlength},empty:function(){return 0===this.value.length},lines:function(){var t=(Array.isArray(this.layouts)?this.layouts:[this.layouts])[this.layout];return t.replace("||",n.PIPE).replace("{{",n.OPEN_BRACE).replace("}}",n.CLOSE_BRACE).split("|")},buttons:function(){var t=this;return this.lines.map(function(e){var i=e.match(new RegExp("("+n.OPEN_BRACE+"|"+n.CLOSE_BRACE+"|"+n.PIPE+"|.)","g")),r=[],o=null;return i.forEach(function(e){if("{"===e)o="";else if("}"===e){var i=o.split(":"),s=i.length>1?i[0]:"",a=i.length>1?i[1]:i[0],l=i.length>2?i[2]:null,c=null;c=["append","backspace","space","clear","goto"].indexOf(a)>=0?t[a].bind(t,l):t.$emit.bind(t,a,t),r.push({type:"action",action:{name:a.replace(/\s+/g,"-").toLowerCase(),callable:c},value:s,args:l}),o=null}else null!==o?o+=e:(e===n.PIPE&&(e="|"),e===n.OPEN_BRACE&&(e="{"),e===n.CLOSE_BRACE&&(e="}"),r.push({type:"char",action:{name:null,callable:t.append.bind(t,e)},value:e,args:null}))}),r})},valid:function(){return!this.pattern||this.value.match(new RegExp(this.pattern))}},methods:{mutate:function(t){this.maxlength>0&&(t=t.slice(0,this.maxlength)),this.$emit("input",t)},append:function(t){this.mutate(this.value+t)},backspace:function(){this.mutate(this.value.slice(0,this.value.length-1))},space:function(){this.append(" ")},goto:function(t){Array.isArray(this.layouts)?t>=0&&t<this.layouts.length?this.layout=t:this.$showAlert("没有其他布局可以切换"):this.$showAlert("提供的布局不符合规定,请检查")},clear:function(){this.mutate(""),this.$dispatch("clear")},hide:function(){this.show=!1,this.$dispatch("hide-keyboard")}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);i(r);e.default={title:"高拍仪",props:["showhighmeter"],data:function(){return{element_1:"",element_2:"",base64_1:"",base64_2:"",i:0,imgArr:[]}},ready:function(){console.log("3"),console.log("123",this.$login),console.log("123",this.$login)},methods:{a:function(){if(console.log(this.i,"测试"),this.i>2){var t=document.getElementById("devPhoto0");t.setAttribute("id","devPhoto"+this.i);var e=document.getElementById("devPhoto1");this.i++,e.setAttribute("id","devPhoto"+this.i),console.log("修改节点");var n=document.getElementById("photoarea"),i=document.createElement("img"),r=document.createElement("img");i.setAttribute("id","devPhoto0"),r.setAttribute("id","devPhoto1"),i.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",r.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",n.appendChild(i),n.appendChild(r),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("primaryDev_"),dialog.get_actionType("savePhotoPriDev"),dialog.photoBtnClicked("subDev_"),dialog.get_actionType("savePhotoSubDev");var o=this;setTimeout(function(){o.element1=document.getElementById("devPhoto0"),o.element2=document.getElementById("devPhoto1"),o.base64_1=o.element1.a,o.base64_2=o.element2.a,console.log(o.element1.a),console.log(o.element2.a),console.log(o.base64_1),console.log(o.base64_2),o.imgArr.push(o.base64_1),o.imgArr.push(o.base64_2)},1e3),this.i<2&&(this.i=4)},b:function(){if(console.log(this.i,"测试"),this.i>2){var t=document.getElementById("devPhoto0");t.setAttribute("id","devPhoto"+this.i),this.i++,console.log("修改节点");var e=document.getElementById("photoarea"),n=document.createElement("img");n.setAttribute("id","devPhoto0"),n.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",e.appendChild(n),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("primaryDev_"),dialog.get_actionType("savePhotoPriDev");var i=this;setTimeout(function(){i.element1=document.getElementById("devPhoto0"),i.base64_1=i.element1.a,console.log(i.element1.a),console.log(i.base64_1),i.imgArr.push(i.base64_1)},1e3),this.i<2&&(this.i=4)},c:function(){if(console.log(this.i,"测试"),this.i>2){var t=document.getElementById("devPhoto1");this.i++,t.setAttribute("id","devPhoto"+this.i),console.log("修改节点");var e=document.getElementById("photoarea"),n=document.createElement("img");n.setAttribute("id","devPhoto1"),n.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",e.appendChild(n),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("subDev_"),dialog.get_actionType("savePhotoSubDev");var i=this;setTimeout(function(){i.element2=document.getElementById("devPhoto1"),i.base64_2=i.element2.a,console.log(i.element2.a),console.log(i.base64_2),i.imgArr.push(i.base64_2)},1e3),this.i<2&&(this.i=4)},d:function(){this.closeVideo(),window.init();document.createElement("img"),document.createElement("img")},closeVideo:function(){"undefined"!=typeof dialog&&(console.log("关闭高拍仪"),dialog.get_actionType("closePriVideo"),dialog.get_actionType("closeSubVideo"))},UploadThumbToServer:function(){console.log(this.imgArr,"元素"),this.$showAlert("正在上传");for(var t=0;t<this.imgArr.length;t++){var e=this;console.log("上次");var n=e.imgArr[t];n&&e.$dispatch("photo-finish",n)}this.$showMessage("上传成功"),this.$closeAlert()}},beforeDestroy:function(){console.log("销毁"),this.closeVideo()},watch:{showhighmeter:function(){this.showhighmeter?window.init():this.closeVideo()}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);i(r);e.default={title:"高拍仪",props:["showhighmeter"],data:function(){return{element_1:"",element_2:"",base64_1:"",base64_2:"",i:0,imgArr:[]}},ready:function(){console.log("3"),console.log("123",this.$login),console.log("123",this.$login)},methods:{a:function(){if(console.log(this.i,"测试"),this.i>2){var t=document.getElementById("devPhoto0");t.setAttribute("id","devPhoto"+this.i);var e=document.getElementById("devPhoto1");this.i++,e.setAttribute("id","devPhoto"+this.i),console.log("修改节点");var n=document.getElementById("photoarea"),i=document.createElement("img"),r=document.createElement("img");i.setAttribute("id","devPhoto0"),r.setAttribute("id","devPhoto1"),i.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",r.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",n.appendChild(i),n.appendChild(r),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("primaryDev_"),dialog.get_actionType("savePhotoPriDev"),dialog.photoBtnClicked("subDev_"),dialog.get_actionType("savePhotoSubDev");var o=this;setTimeout(function(){o.element1=document.getElementById("devPhoto0"),o.element2=document.getElementById("devPhoto1"),o.base64_1=o.element1.a,o.base64_2=o.element2.a,console.log(o.element1.a),console.log(o.element2.a),console.log(o.base64_1),console.log(o.base64_2),o.imgArr.push(o.base64_1),o.imgArr.push(o.base64_2)},1e3),this.i<2&&(this.i=4)},b:function(){if(console.log(this.i,"测试"),this.i>2){var t=document.getElementById("devPhoto0");t.setAttribute("id","devPhoto"+this.i),this.i++,console.log("修改节点");var e=document.getElementById("photoarea"),n=document.createElement("img");n.setAttribute("id","devPhoto0"),n.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",e.appendChild(n),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("primaryDev_"),dialog.get_actionType("savePhotoPriDev");var i=this;setTimeout(function(){i.element1=document.getElementById("devPhoto0"),i.base64_1=i.element1.a,console.log(i.element1.a),console.log(i.base64_1),i.imgArr.push(i.base64_1)},1e3),this.i<2&&(this.i=4)},c:function(){if(console.log(this.i,"测试"),this.i>2){var t=document.getElementById("devPhoto1");this.i++,t.setAttribute("id","devPhoto"+this.i),console.log("修改节点");var e=document.getElementById("photoarea"),n=document.createElement("img");n.setAttribute("id","devPhoto1"),n.style="width: 180px !important;height: 130px !important; margin-top: 20px !important;",e.appendChild(n),console.log("新增节点")}console.log(dialog,"asd"),dialog.photoBtnClicked("subDev_"),dialog.get_actionType("savePhotoSubDev");var i=this;setTimeout(function(){i.element2=document.getElementById("devPhoto1"),i.base64_2=i.element2.a,console.log(i.element2.a),console.log(i.base64_2),i.imgArr.push(i.base64_2)},1e3),this.i<2&&(this.i=4)},d:function(){this.closeVideo(),window.init();document.createElement("img"),document.createElement("img")},closeVideo:function(){"undefined"!=typeof dialog&&(console.log("关闭高拍仪"),dialog.get_actionType("closePriVideo"),dialog.get_actionType("closeSubVideo"))},UploadThumbToServer:function(){console.log(this.imgArr,"元素"),this.$showAlert("正在上传");for(var t=0;t<this.imgArr.length;t++){var e=this;console.log("上次");var n=e.imgArr[t];n&&e.$dispatch("photo-finish",n)}this.$showMessage("上传成功"),this.$closeAlert()}},beforeDestroy:function(){console.log("销毁"),this.closeVideo()},watch:{showhighmeter:function(){this.showhighmeter?window.init():this.closeVideo()}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);e.default={title:"图标菜单",props:{attach:{type:String,default:"name"}},mixins:[o.default,a.default]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=i(r);e.default={props:{model:Object,attach:{type:String,default:"name"}},mixins:[o.default]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var r=n(1),o=i(r);void 0!=o.default.prototype.$server_url_str&&""!=o.default.prototype.$server_url_str&&(window.onerror=function(t,e,n,i,r){return o.default.resetpost(o.default.prototype.$server_url_str,"错误信息:"+t+"\n出错文件:"+e+"\n错误详情:"+r.stack),!1})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(84),a=i(s),l=n(5),c=i(l),u=n(91),d=i(u),h=o.default.mark(function t(e){var n;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n={},e.dataUrl.forEach(function(t){e.$post(t,{data:n},{resolveMsg:null,rejectMsg:null}).then(function(t){d.default.data=d.default.data?[].concat((0,a.default)(d.default.data),(0,a.default)(t.data)):t.data})}),e.$goto(e.componentName);case 3:case"end":return t.stop()}},t,this)});e.default={title:"加载参数",props:{dataUrl:{type:Array,default:function(){return["rs/sql/getParams"]}},componentName:{type:String}},ready:function(){var t=h(this);(0,c.default)(t)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(12),c=i(l);e.default={title:"查询日志",data:function(){return{logData:[],leftData:[],start_date:null,stop_date:null,keyword:""}},ready:function(){},methods:{checkData:function(t){this.logData=[],this.logData.push(this.leftData[t])},find:function(){this.start_date&&this.stop_date?this.load():this.$showMessage("请选择日志日期")},load:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(){var e,n,i,r,s,a,l;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.logData=[],this.leftData=[],e=new c.default,n={start_date:this.start_date,stop_date:this.stop_date,keyword:this.keyword},t.next=6,e.load("POST","rs/logic/getLogs",{data:n},{warnMsg:null,resolveMsg:null});case 6:if(i=t.sent,i.data[0]){t.next=10;break}return this.$showMessage("未查询到数据"),t.abrupt("return");case 10:for(r=0;r<i.data.length;r++){for(s=i.data[r].pid,a=0;a<i.data[r].logstr.length;a++)i.data[r].logstr[a]=i.data[r].logstr[a].split("\n");l={pid:s,logs:i.data[r].logstr},this.leftData.push(l)}case 11:case"end":return t.stop()}},t,this)}));return t}()}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(5),a=i(s),l=o.default.mark(function t(e){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:console.log("保存开始");case 1:case"end":return t.stop()}},t,this)}),c=o.default.mark(function t(e){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:console.log("删除开始");case 1:case"end":return t.stop()}},t,this)});e.default={props:["model"],title:"左侧树菜单",data:function(){return{isEdit:[],addTitle:"",isAddChild:!1}},ready:function(){var t=this;window.addEventListener("click",function(e){"edit-tree"!==e.target.className&&t.clearData()},!1)},beforeDestroy:function(){window.removeEventListener("click",function(t){t.preventDefault()},!1)},methods:{addChildren:function(t,e){console.log("row"),this.addTitle=t.data.name,this.isAddChild=!0},save:function(){console.log("保存了");var t=l(this);(0,a.default)(t)},remove:function(t){var e=this;console.log(t);var n="确认删除 "+t.data.name;t.children&&t.children.length>0&&(n=t.data.name+" 中存在子数据,继续删除将导致子数据一并删除"),console.log(n),this.$showMessage(n,["confirm","cancel"]).then(function(t){if("confirm"===t){var n=c(e);(0,a.default)(n)}else"cancel"===t&&console.log("按下了取消按钮")})},modify:function(t){this.clearData(),this.isEdit.push(t)},clearData:function(){this.isEdit=[]},close:function(){this.addTitle="",this.isAddChild=!1}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r);e.default={title:"地图",props:{outerlinedata:{type:Object,default:{}},showBox:{type:Boolean,default:!1},showPanel:{type:Boolean,default:!1},f_fengongsi:{type:String,default:""}},data:function(){return{path:"rs/WX/searchMarker",postData:[],map:null,position:null,placeSearch:null,driving:null,parameters:[],R:3,searchNearByData:"西安银行",markerType:[],markerData:[],localRows:[],rows:[],lineData:this.outerlinedata,stopstart:!0,timeoutHandle:window.setInterval(this.timemet,6e4),modalshow:!1}},methods:{close:function(){this.modalshow=!1},timemet:function(){this.map.clearMap(),this.getnewposit()},getnewposit:function(){var t=this,e="1 = 1";""!=this.f_fengongsi&&(e="f_fengongsi = '"+this.f_fengongsi+"'"),this.$resetpost("rs/sql/getMapMsg",{data:{condition:e}},{rejectMsg:null,resolveMsg:null,silent:!0}).then(function(e){t.markerData=e.data,t.markerDataToMap(),t.map.setFitView()})},startPost:function(){var t=this;this.makeCircle();var e=this.position.getLng(),n=this.position.getLat();console.log("xxx"+e,n);var i=1e3*this.R,r=i.toString();this.postData={page:"1",sort:"distance",jwy:n.toString(),jwx:e.toString(),rows:r,order:"asc",dist:r},this.$http.post(this.path,{data:this.postData}).then(function(e){console.log((0,o.default)(e.data));var n=e.data;if("0"!=n.retcode&&0!=n.retcode||(t.rows=n.rows),console.log("rowslength"+t.rows.length),void 0!=t.rows&&null!=t.rows&&0!=t.rows.length)for(var i=0;i<t.rows.length;i++){var r=t.rows[i];console.log("rows"+i+":"+(0,o.default)(r));var s={x:r.jwx,y:r.jwy,iconurl:null,type:"西安银行"};console.log("makeMarkerData:"+(0,o.default)(s)),t.markerData.push(s)}if(t.localRows=n.localRows,void 0!=t.localRows&&null!=t.localRows&&0!=t.localRows.length)for(var i=0;i<t.localRows.length;i++)t.markerData.push(t.localRows[i]);var a=t.markerData;t.markerType=a.map(function(t){return{label:t.type,value:t.type}}),console.log("row is"+(0,o.default)(t.markerType));var l=t.markerType,c=l.map(function(t){return(0,o.default)(t)}),u=t.unique(c);console.log("result"+u),t.markerType=u.map(function(t){return JSON.parse(t)}),console.log("西安银行ATM请求中后"),t.markerDataToMap()},function(t){console.log("请求失败!"+(0,o.default)(t))})},unique:function(t){for(var e=[],n=0,i=t.length;n<i;n++)e.indexOf(t[n])===-1&&e.push(t[n]);return e},searchNearByAPI:function(){this.placeSearch=new AMap.PlaceSearch({pageSize:5,pageIndex:1,city:"029",map:this.map,panel:"panel"})},makeCircle:function(){this.map.clearMap()},markerDataToMap:function(){var t=this;if(void 0!=this.markerData&&null!=this.markerData&&0!=this.markerData.length){for(var e=0;e<this.markerData.length;e++)if(0!=this.markerData[e].f_longitude&&"超级管理员"!=this.markerData[e].name2){var n=[this.markerData[e].f_longitude,this.markerData[e].f_latitude];null!=this.markerData[e].iconurl&&void 0!=this.markerData[e].iconurl||(this.markerData[e].iconurl="https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png"),this.marker=new AMap.Marker({title:this.markerData[e].name2,position:n,draggable:!1,content:'<img style="text-align: center;margin-left:10px;" src="'+this.markerData[e].iconurl+'" /><span style="text-align: center;max-height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;color:red;font-size:14px;display: inline-block;text-align: left;">'+this.markerData[e].name2+"</span>"}),this.marker.setMap(this.map),this.marker.setTitle("今日已完成:"+this.markerData[e].todaywancheng+" 今日接单数:"+this.markerData[e].todaydaiwan+" 总待完成数:"+this.markerData[e].daiwancheng),AMap.event.addListener(this.marker,"click",function(e){t.modalshow=!0})}}else this.searchNearByAPI()},changeType:function(t){var e=this;document.getElementById("panel").innerHTML="",document.getElementById("container").style.height="320px",console.log("选中"+t);var n=t;n&&this.map.clearMap(),this.makeCircle();for(var i=0;i<this.markerData.length;i++)if(n==this.markerData[i].type){var r=[this.markerData[i].x,this.markerData[i].y];null!=this.markerData[i].iconurl&&void 0!=this.markerData[i].iconurl||(this.markerData[i].iconurl="https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png"),this.marker=new AMap.Marker({position:r,animation:"AMAP_ANIMATION_DROP",content:'<img style="text-align: center;margin-left:10px;" src="'+this.markerData[i].iconurl+'" /><span style="text-align: center;height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;margin-right:60px;color:#ff0000;font-size:14px;display: inline-block;text-align: left;">'+this.markerData[i].type+"</span>"}),this.marker.setMap(this.map),AMap.event.addListener(this.marker,"click",function(t){e.map.clearMap(),document.getElementById("panel").innerHTML="",document.getElementById("container").style.height="570px",e.driving=new AMap.Driving({map:e.map,panel:"panel"}),e.driving.search(e.position,t.lnglat)})}},startPointTrack:function(){console.log("绘制轨迹路线start");var t=this;AMapUI.load(["ui/misc/PathSimplifier","lib/$"],function(e,n){if(!e.supportCanvas)return void alert("当前环境不支持 Canvas!");var i=new e({zIndex:100,map:t.map,getPath:function(t,e){var n=t.points,i=[];console.log(n);for(var r=0,o=n.length;r<o;r++)i.push(n[r].lnglat);return i},getHoverTitle:function(t,e,n){return n>=0?t.name+","+t.points[n].name:t.name+",点数量"+t.points.length},renderOptions:{renderAllPointsIfNumberBelow:10}});window.pathSimplifierIns=i,console.log("设置轨迹路线数据"),console.log("设置数据data",t.outerlinedata);var r=[];r.push(t.outerlinedata),console.log("数组",r),i.setData([]),r.length>=1&&(i.setData(r),i.setSelectedPathIndex(0),i.on("pointClick",function(t,e){console.log("Click: "+e.pathData.points[e.pointIndex].name)}),console.log("绘制轨迹路线end"))})}},watch:{outerlinedata:function(t){this.map.clearMap(),null==t||t.points.length<1?(window.pathSimplifierIns&&window.pathSimplifierIns.setData([]),this.getnewposit(),clearInterval(this.timeoutHandle),this.timeoutHandle=setInterval(this.timemet,6e4)):(clearInterval(this.timeoutHandle),this.startPointTrack(),this.map.setFitView())},f_fengongsi:function(t){this.map.clearMap(),this.getnewposit(),clearInterval(this.timeoutHandle),this.timeoutHandle=setInterval(this.timemet,6e4)}},ready:function(){var t=this;console.log("开始运行正常"),this.map=new AMap.Map("container",{resizeEnable:!0,scrollWheel:!1,zoom:7}),console.log("地图加载正常");var e=this;AMap.plugin(["AMap.ToolBar","AMap.PlaceSearch","AMap.Driving"],function(){t.map.addControl(new AMap.ToolBar)}),console.log("执行代码开始前"),/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)&&AMapUI.loadUI(["misc/PoiPicker"],function(t){var n=new t({input:"pickerInput"}),i=new AMap.Marker;n.on("poiPicked",function(t){var n=(t.source,t.item);console.log(n.location.lng,n.location.lat),e.position=new AMap.LngLat(n.location.lng,n.location.lat),e.map.setCenter(e.position),console.log("this.position"+e.position),e.startPost()}),i.setMap(e.map),i.setPosition(e.position)}),e.getnewposit()}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(80),o=i(r),s=n(89),a=i(s);e.default={data:function(){return{msg:a.default}},watch:{"msg.show":function(t,e){this.$info("MessageBox插件值,val: "+t+", oldVal: "+e)}},methods:{confirm:function(){this.$refs.modal.show=!1,a.default.resolve("confirm")},close:function(){this.$refs.modal.show=!1,a.default.resolve("cancel")}},components:{Modal:o.default}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}Object.defineProperty(e,"__esModule",{value:!0});var o=n(47),s=r(o),a=n(1),l=i(a);e.default={title:"sign.vue",props:{value:{type:String,default:""}},data:function(){return{fullFileName:"",fileName:this.value,signshow:!0}},methods:{closes:function(){this.signshow=!0},commit:function(t){var e="repair",n="aofeng",i="";this.fileName=this.value,null==this.fileName&&(this.fileName=""),this.fileName=s.guid()+"-valve-"+n+"-"+e+".png",i=this.$androidUtil.getSignIos(this.fileName,t),"ok"==i?(this.fullFileName=this.$androidUtil.getFullFileName(this.fileName),this.signshow=!0,this.$emit("input",this.fileName)):this.$showMessage("本地保存失败")},sign:function(){this.signshow=!1}},ready:function(){null==this.fileName&&(this.fileName=""),l.default.android&&(this.fullFileName=this.$androidUtil.getFullFileName(this.fileName))}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{count:0,pageSize:20,pageIndex:1,attach:{type:String,default:"name"},simple:{type:Boolean,default:!1},model:{type:Object}},computed:{totalPage:function(){var t=Math.floor((this.count-1)/this.pageSize)+1;return t}},methods:{gotoPage:function(t){t!==this.pageIndex&&(t<1?this.pageIndex=1:t>this.totalPage?this.pageIndex=this.totalPage:this.pageIndex=t,this.$dispatch("page-changed",this.pageIndex))},gotoFirst:function(){1!==this.pageIndex&&this.gotoPage(1)},gotoLast:function(){this.pageIndex!==this.totalPage&&this.gotoPage(this.totalPage)},gotoNext:function(){this.pageIndex!==this.totalPage&&this.gotoPage(this.pageIndex+1)},gotoPre:function(){1!==this.pageIndex&&this.gotoPage(this.pageIndex-1)},goIndex:function(){this.pageIndex<=this.totalPage&&this.pageIndex>=1&&this.$dispatch("page-changed",this.pageIndex)}},watch:{pageSize:function(){this.pageSize>1e3&&(this.pageSize=1e3)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(7),a=i(s),l=n(87),c=i(l);e.default={data:function(){return{http:new c.default,error:null}},methods:{load:function(t,e){var n=this;return this.$info("加载数据, url: "+t),
|
|
95
|
-
new a.default(function(i,r){n.http.load(t,e).then(function(t){n.$info("加载完成, "+t),n.error=null,i(t)}).catch(function(t){if(t.status)return n.$warn("加载失败, "+(0,o.default)(t)),n.error=t,void r(t);throw t})})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(38),o=i(r),s=n(16),a=i(s),l=n(2),c=i(l),u=n(8),d=i(u),h=n(5);i(h);e.default={data:function(){return{printshow:!1,all:!1,fields:{},modelval:[],thead:"",tfoot:"",sumsmodel:{},sumhtml:""}},props:{model:{},field:{},printview:{},xyprint:{},starthead:{type:String,default:""},titletable:{type:String,default:""},printName:{},defaultfield:{},sumsmodel:{},sumField:{},pageSum:null,isSelected:{type:Boolean,default:!1},footinfo:[],printpage:{type:Boolean,default:!1},sumone:{type:Boolean,default:!0},attach:{type:String,default:"name"},chooserow:{type:Boolean,default:!1}},methods:{printData:function(){function t(){return e.apply(this,arguments)}var e=(0,d.default)(c.default.mark(function t(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(console.log("打印。。。",this.model,this.field,this.printName,this.sumsmodel),0!==this.model.rows.length){t.next=4;break}return this.$showAlert("请查询需要打印的数据!!","warning",2e3),t.abrupt("return");case 4:return this.all=!1,this.modelval=this.defaultfield,this.fields=this.field,console.log("所有打印字段",this.fields),this.printshow=!0,t.next=11,this.put();case 11:this.chooserow&&this.print();case 12:case"end":return t.stop()}},t,this)}));return t}(),put:function(){this.sortModelval(),this.getfield(),""!=this.titletable?this.thead="<tr><th colspan="+this.modelval.length+"><h1>"+this.titletable+"</h1></th></tr><tr>":this.thead="<tr><th colspan="+this.modelval.length+"><h1>"+this.printName+"统计报表</h1></th></tr><tr>",""!=this.starthead&&(this.thead+="<tr><th colspan="+this.modelval.length+">"+this.starthead+"</th></tr><tr>");var t=!0,e=!1,n=void 0;try{for(var i,r=(0,a.default)(this.modelval);!(t=(i=r.next()).done);t=!0){var o=i.value;this.thead+="<th>"+this.fields[o]+"</th>"}}catch(t){e=!0,n=t}finally{try{!t&&r.return&&r.return()}finally{if(e)throw n}}this.thead+="</tr>"},sortModelval:function(){var t=this;console.log("选择列进行排序。。。",this.fields,this.modelval);var e=[];(0,o.default)(this.fields).forEach(function(n){t.modelval.includes(n)&&e.push(n)}),this.modelval=e,console.log("选择的打印的字段",this.modelval)},close:function(){this.all=!1,this.modelval=[],this.printshow=!1,this.$dispatch("print-close")},print:function(){this.$refs.print.PrintAsFile(),this.printshow=!1,this.$dispatch("print-data")},getfield:function(){var t=this;if(this.tfoot="",this.sumsmodel&&(this.sumone?(this.sumhtml="<tr><th colspan="+this.modelval.length+' style="border-width: 0;">全表汇总信息: ',(0,o.default)(this.sumsmodel).forEach(function(e){var n=t.sumField[e]?t.sumField[e]:t.fields[e];t.sumhtml+=n+"合计: "+('<font color="blue">'+t.sumsmodel[e]+" </font>")}),this.sumhtml+="</th></tr>"):(this.tfoot="<tr><th colspan="+this.modelval.length+' style="border-width: 0;">全表汇总信息: ',(0,o.default)(this.sumsmodel).forEach(function(e){var n=t.sumField[e]?t.sumField[e]:t.fields[e];t.tfoot+=n+"合计: "+('<font color="blue">'+t.sumsmodel[e]+" </font>")}),this.tfoot+="</th></tr>")),this.pageSum){this.tfoot+="<tr>";var e=!0,n=!1,i=void 0;try{for(var r,s=(0,a.default)(this.modelval);!(e=(r=s.next()).done);e=!0){var l=r.value,c=this.pageSum[l];c?this.tfoot+='<td tdata="SubSum" format="'+c+'" style="border-width: 0;">######</td>':this.tfoot+='<td style="border-width: 0;"></td>'}}catch(t){n=!0,i=t}finally{try{!e&&s.return&&s.return()}finally{if(n)throw i}}this.tfoot+="</tr>"}if(this.tfoot+="<tr><th colspan="+this.modelval.length+' style="border-width: 0;">打印时间: '+this.$login.toStandardTimeString()+"</th></tr>",null!=this.footinfo&&0!=this.footinfo.length){this.tfoot+="<tr><td colspan="+this.modelval.length+' style="border-width: 0;"></td></tr><tr>';for(var u=0;u<this.footinfo.length;u++)this.tfoot+="<th colspan="+this.modelval.length/this.footinfo.length+' style="border-width: 0;text-align: left;">'+this.footinfo[u]+":</th>";this.tfoot+="</tr>"}}},watch:{all:function(t){t?this.modelval=(0,o.default)(this.fields):this.modelval=[]},"modelval.length":function(){this.put()}},computed:{}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=i(r);e.default={title:"元素打印",props:{id:{},styleid:{},top:{},left:{},width:{},height:{},attach:{type:String,default:"name"}},methods:{PrintTable:function(){var t=document.getElementById(this.styleid)?"<style>"+document.getElementById(this.styleid).innerHTML+"</style>":"<style>td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>";console.log("打印的样式。。。。",t);var e=(0,o.default)();e.PRINT_INIT("");var n=t+document.getElementById(this.id).innerHTML;e.ADD_PRINT_HTM(this.top,this.left,this.width,this.height,n),e.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Full-Width"),e.PREVIEW()}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(5),a=i(s),l=n(28),c=i(l),u=o.default.mark(function t(e){var n,i,r,s,a,l;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post(e.url,{data:{userid:e.userid,ids:e.ids}},{resolveMsg:null,rejectMsg:null});case 2:n=t.sent,i=(0,c.default)(),i.PRINT_INIT("折子打印"),i.SET_PRINT_STYLE("FontSize",e.fontSize),r=n.data[0].f_zherownum,s=0,r>e.lines&&(r=1),r>e.emptyline&&(s=1);for(a in n.data)r>e.lines&&(i.PRINT(),i.SET_PRINT_STYLE("FontSize",e.fontSize),r=1,s=0),r===e.emptyline&&(r++,s=1),console.log("self.top 的数值为:",e.top),l=e.top+r*e.rowheight+s*e.emptylineheight,console.log("当前行距离顶部高度为 :",l),i.ADD_PRINT_TEXT(l,e.left,e.width,e.height,n.data[a].text),r++,console.log("每页的总行数",e.lines),console.log("当前打印的行号",r);return i.PRINT(),console.log("传入业务逻辑的行号为",r),t.next=15,e.$post(e.logicurl,{data:{f_zherownum:r,f_userid:e.userid}},{resolveMsg:null,rejectMsg:null});case 15:case"end":return t.stop()}},t,this)});e.default={props:{url:{type:String},logicurl:{type:String},userid:{type:String},top:{type:Number},left:{type:Number},width:{type:Number},height:{type:Number},rowheight:{type:Number},lines:{type:Number},emptyline:{type:Number},emptylineheight:{type:Number},fontSize:{default:10},ids:{type:String},attach:{type:String,default:"name"}},methods:{print:function(){var t=u(this);(0,a.default)(t)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),o=i(r),s=n(2),a=i(s),l=n(16),c=i(l),u=n(5),d=i(u),h=n(28),f=i(h),p=a.default.mark(function t(e){var n,i,r,o,s,l,u,d,h,f,p,g,v;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.model.length){t.next=31;break}n=!0,i=!1,r=void 0,t.prev=4,o=(0,c.default)(e.model);case 6:if(n=(s=o.next()).done){t.next=15;break}return l=s.value,e.$parent.model=l,t.next=11,m(1500);case 11:e.$nextTick(function(){e.print()});case 12:n=!0,t.next=6;break;case 15:t.next=21;break;case 17:t.prev=17,t.t0=t.catch(4),i=!0,r=t.t0;case 21:t.prev=21,t.prev=22,!n&&o.return&&o.return();case 24:if(t.prev=24,!i){t.next=27;break}throw r;case 27:return t.finish(24);case 28:return t.finish(21);case 29:t.next=66;break;case 31:u=1;case 32:if(!(u<=e.model.totalPage)){t.next=66;break}return t.next=35,e.model.loadPage(u);case 35:d=!0,h=!1,f=void 0,t.prev=38,p=(0,c.default)(e.model.rows);case 40:if(d=(g=p.next()).done){t.next=49;break}return v=g.value,e.$parent.model=v,t.next=45,m(1500);case 45:e.$nextTick(function(){e.print()});case 46:d=!0,t.next=40;break;case 49:t.next=55;break;case 51:t.prev=51,t.t1=t.catch(38),h=!0,f=t.t1;case 55:t.prev=55,t.prev=56,!d&&p.return&&p.return();case 58:if(t.prev=58,!h){t.next=61;break}throw f;case 61:return t.finish(58);case 62:return t.finish(55);case 63:u++,t.next=32;break;case 66:case"end":return t.stop()}},t,this,[[4,17,21,29],[22,,24,28],[38,51,55,63],[56,,58,62]])}),m=function(t){return new o.default(function(e,n){setTimeout(e,t,"")})};e.default={title:"表单连续打印",props:{model:Object,id:{},top:{},left:{},width:{},height:{},percent:String,attach:{type:String,default:"name"}},methods:{contPrint:function(){var t=p(this);(0,d.default)(t)},print:function(){this.refreshData();var t=(0,f.default)(),e="<style>td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>",n=e+document.getElementById(this.id).innerHTML;t.PRINT_INIT("报表打印"),t.ADD_PRINT_HTM(this.top,this.left,this.width,this.height,n),t.SET_PRINT_MODE("PRINT_PAGE_PERCENT",this.percent||"Full-Width"),t.PRINT()},refreshData:function(){for(var t=document.getElementById(this.id).getElementsByTagName("input"),e=0;e<t.length;e++)"checkbox"===t[e].type?t[e].checked?t[e].setAttribute("checked","checked"):t[e].removeAttribute("checked"):"radio"===t[e].type?t[e].checked?t[e].setAttribute("checked","checked"):t[e].removeAttribute("checked"):t[e].setAttribute("value",t[e].value);for(var n=0;n<document.getElementsByTagName("select").length;n++)for(var i=document.getElementsByTagName("select")[n],r=0;r<i.options.length;r++)i.options[r].selected?i.options[r].setAttribute("selected","selected"):i.options[r]=new Option(i.options[r].text,i.options[r].value)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),o=i(r),s=n(8),a=i(s),l=n(2),c=i(l),u=n(16),d=i(u),h=n(5),f=i(h),p=n(28),m=i(p),g=c.default.mark(function t(e,n){var i,r,o,s,a,l,u,h,f,p,g,v,y,b,w,A;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(console.log("开始打印",e.isSelected,e.model,e.tfoot),!n){t.next=4;break}return e.PrintSinglePage(),t.abrupt("return");case 4:if(!e.isSelected){t.next=7;break}return e.PrintSelectedPage(),t.abrupt("return");case 7:i=(0,m.default)(),i.PRINT_INIT(e.printName+"打印"),r=e.style?e.style:"<style>table{font-size:15px;border-width: 2px;border-collapse: collapse;border:solid 2px ; border-color:black;}table th {border-width: 1px;padding: 2px;border-style: solid;}table td {border-width: 1px;padding: 2px;border-style: solid;}</style>",o=r+'<table class="table table-hover"><thead>'+e.thead+"</thead><tbody>",s=1;case 12:if(!(s<=e.model.totalPage)){t.next=64;break}return console.log("pageIndex = "+s),t.next=16,e.model.loadPage(s);case 16:a=!0,l=!1,u=void 0,t.prev=19,h=(0,d.default)(e.model.rows);case 21:if(a=(f=h.next()).done){t.next=47;break}for(p=f.value,o+="<tr>",g=!0,v=!1,y=void 0,t.prev=27,b=(0,d.default)(e.fields);!(g=(w=b.next()).done);g=!0)A=w.value,o+=A&&(p[A]||0===p[A])?"<td>"+p[A]+"</td>":"<td></td>";t.next=35;break;case 31:t.prev=31,t.t0=t.catch(27),v=!0,y=t.t0;case 35:t.prev=35,t.prev=36,!g&&b.return&&b.return();case 38:if(t.prev=38,!v){t.next=41;break}throw y;case 41:return t.finish(38);case 42:return t.finish(35);case 43:o+="</tr>";case 44:a=!0,t.next=21;break;case 47:t.next=53;break;case 49:t.prev=49,t.t1=t.catch(19),l=!0,u=t.t1;case 53:t.prev=53,t.prev=54,!a&&h.return&&h.return();case 56:if(t.prev=56,!l){t.next=59;break}throw u;case 59:return t.finish(56);case 60:return t.finish(53);case 61:s++,t.next=12;break;case 64:e.tfoot?(e.tfoot+='<tr><td width="100%" colspan='+e.fields.length+' style="text-align: center;border-width: 0;">第<font tdata="PageNO" format="#" color="blue">#</font>页</span>/共<font tdata="PageCount" format="#" color="blue">##</font></span>页</td></tr>',o+="</tbody><tfoot>"+e.tfoot+"</tfoot></table>"):o+="</tbody></table>",e.sumhtml&&i.ADD_PRINT_HTM(20,e.left,"RightMargin:"+e.right,20,e.sumhtml),i.ADD_PRINT_TABLE(e.top,e.left,"RightMargin:"+e.right,"BottomMargin:"+e.bottom,o),i.SET_PRINT_STYLEA(0,"HOrient",3),i.SET_PRINT_STYLEA(0,"VOrient",3),LODOP.SET_PRINT_PAGESIZE(e.xyprint,0,0,"A4"),null==e.printview?i.PRINT_SETUP():e.printview?i.PREVIEW():e.printview||i.PRINT();case 71:case"end":return t.stop()}},t,this,[[19,49,53,61],[27,31,35,43],[36,,38,42],[54,,56,60]])});e.default={props:{model:Object,thead:String,tfoot:String,sumhtml:String,fields:Array,printview:{},xyprint:{default:0},top:{},left:{},right:{},bottom:{},attach:{type:String,default:"name"},style:{type:String},isSelected:{type:Boolean,default:!1},printpage:{type:Boolean,default:!1},printName:{type:String}},data:function(){return{P_ID:"",loop:0}},methods:{PrintAsFile:function(){console.log(this.model);var t=g(this,this.printpage);(0,f.default)(t)},PrintSinglePage:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(c.default.mark(function t(){var e,n,i,r,o,s,a,l,u,h,f,p,g,v,y,b;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,m.default)(),e.PRINT_INIT("打印表格"+(this.loop+1)),n=this.style?this.style:"<style>table{font-size:15px;border-width: 2px;border-collapse: collapse;border:solid 2px ; border-color:black;}table th {border-width: 1px;padding: 2px;border-style: solid;}table td {border-width: 1px;padding: 2px;border-style: solid;}</style>",i=n+'<table class="table table-hover"><thead>'+this.thead+"</thead><tbody>",!(this.loop+1>this.model.totalPage)){t.next=8;break}return this.printinit(),console.log("打印结束"),t.abrupt("return");case 8:return console.log("获取数据pageIndex = "+(this.loop+1)),t.next=11,this.model.loadPage(this.loop+1);case 11:r=!0,o=!1,s=void 0,t.prev=14,a=(0,d.default)(this.model.rows);case 16:if(r=(l=a.next()).done){t.next=42;break}for(u=l.value,i+="<tr>",h=!0,f=!1,p=void 0,t.prev=22,g=(0,d.default)(this.fields);!(h=(v=g.next()).done);h=!0)y=v.value,i+=y&&(u[y]||0===u[y])?"<td>"+u[y]+"</td>":"<td></td>";t.next=30;break;case 26:t.prev=26,t.t0=t.catch(22),f=!0,p=t.t0;case 30:t.prev=30,t.prev=31,!h&&g.return&&g.return();case 33:if(t.prev=33,!f){t.next=36;break}throw p;case 36:return t.finish(33);case 37:return t.finish(30);case 38:i+="</tr>";case 39:r=!0,t.next=16;break;case 42:t.next=48;break;case 44:t.prev=44,t.t1=t.catch(14),o=!0,s=t.t1;case 48:t.prev=48,t.prev=49,!r&&a.return&&a.return();case 51:if(t.prev=51,!o){t.next=54;break}throw s;case 54:return t.finish(51);case 55:return t.finish(48);case 56:return b='<tr><th width="100%" colspan='+this.fields.length+' style="border-width: 0;">当前是第<font format="ChineseNum" color="blue">'+(this.loop+1)+'</font>页/共<font format="ChineseNum" color="blue">'+this.model.totalPage+"</font>页",i+=this.tfoot?"</tbody><tfoot>"+this.tfoot+b+"</tfoot></table>":"</tbody></table>",e.ADD_PRINT_TABLE(this.left,this.top,"RightMargin:"+this.right,"BottomMargin:"+this.bottom,i),e.SET_PRINT_STYLEA(0,"HOrient",3),e.SET_PRINT_STYLEA(0,"VOrient",3),e.SET_PRINTER_INDEX(-1),this.P_ID=e.PRINT(),this.P_ID&&(this.loop+=1,console.log("正打印第"+this.loop+"个任务(JOB代码"+this.P_ID)),t.next=66,this.timeout(1500);case 66:this.PrintSinglePage();case 67:case"end":return t.stop()}},t,this,[[14,44,48,56],[22,26,30,38],[31,,33,37],[49,,51,55]])}));return t}(),PrintSelectedPage:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(c.default.mark(function t(){var e,n,i,r,o,s,a,l,u,h,f,p,g,v,y;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(console.log("选择列打印开始",this.model),!(this.model.rows.length>100)){t.next=4;break}return this.$showAlert("您选择的数据过大,请选择少于100条数据进行打印","warning",3e3),t.abrupt("return");case 4:e=(0,m.default)(),e.PRINT_INIT("打印表格"+(this.loop+1)),n=this.style?this.style:"<style>table{font-size:15px;border-width: 2px;border-collapse: collapse;border:solid 2px ; border-color:black;}table th {border-width: 1px;padding: 2px;border-style: solid;}table td {border-width: 1px;padding: 2px;border-style: solid;}</style>",i=n+'<table class="table table-hover"><thead>'+this.thead+"</thead><tbody>",r=!0,o=!1,s=void 0,t.prev=11,a=(0,d.default)(this.model.rows);case 13:if(r=(l=a.next()).done){t.next=39;break}for(u=l.value,i+="<tr>",h=!0,f=!1,p=void 0,t.prev=19,g=(0,d.default)(this.fields);!(h=(v=g.next()).done);h=!0)y=v.value,i+='<td style="text-align: center;">'+u[y]+"</td>";t.next=27;break;case 23:t.prev=23,t.t0=t.catch(19),f=!0,p=t.t0;case 27:t.prev=27,t.prev=28,!h&&g.return&&g.return();case 30:if(t.prev=30,!f){t.next=33;break}throw p;case 33:return t.finish(30);case 34:return t.finish(27);case 35:i+="</tr>";case 36:r=!0,t.next=13;break;case 39:t.next=45;break;case 41:t.prev=41,t.t1=t.catch(11),o=!0,s=t.t1;case 45:t.prev=45,t.prev=46,!r&&a.return&&a.return();case 48:if(t.prev=48,!o){t.next=51;break}throw s;case 51:return t.finish(48);case 52:return t.finish(45);case 53:i+=this.tfoot?"</tbody><tfoot>"+this.tfoot+"</tfoot></table>":"</tbody></table>",console.log("选择列打印的html",i),e.ADD_PRINT_TABLE(this.left,this.top,"RightMargin:"+this.right,"BottomMargin:"+this.bottom,i),e.SET_PRINT_STYLEA(0,"HOrient",3),e.SET_PRINT_STYLEA(0,"VOrient",3),e.SET_PRINTER_INDEX(-1),console.log("开始调用打印。。"),this.P_ID=e.PRINT();case 61:case"end":return t.stop()}},t,this,[[11,41,45,53],[19,23,27,35],[28,,30,34],[46,,48,52]])}));return t}(),printinit:function(){this.P_ID="",this.loop=0},timeout:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(c.default.mark(function t(e){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new o.default(function(t,n){setTimeout(t,e)}));case 1:case"end":return t.stop()}},t,this)}));return t}()}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(26),a=i(s),l=n(7),c=i(l),u=void 0,d="ws://127.0.0.1:18888";e.default={title:"高拍仪",data:function(){return{IdCard:{},showhighmeter:!1,connected:!1,orgwidth:0,orgheight:0,iswaiting:!1,callback:{},clicked:!1,isopen:!1,resetx:20,resety:20,resetwidth:300,resetheight:400,context:1,base_offset:3,orgdrawwidth:0,orgdrawheight:0,rotanumber:0,CLT_MSG:{BEGIN_CAP:1,STOP_CAP:2,GET_PID:3,GET_FBL:4,SET_FBL:5,SET_MJPG:6,SET_TURN:7,SET_QUALITY:8,SET_AUTOCROP:9,SET_PREST:10,GET_PREST_INFO:11,FORMAT_DLG:12,PROPERTY_DLG:13,SET_COLOR_MODEL:14,GET_PICTURE:15,SET_CLEAN_PARAM:16,GET_PICTURE_MEM:17,TEST_BASE64:18,SET_TEMPDIR:19,BEGIN_PDF:20,GET_PDF_PICTURES:21,END_PDF_PICTURES:22,PDF_TO_BASE64:23,BASE64_TO_PDF:24,PDF_TO_BASE64_STR:25,DEL_PICTURE_PDF:26,PRINT_IMAGE:27,SHOW_ERROR_BOX:28,GET_EVENT:29,PRESET_MOUSEDOWN:30,PRESET_MOUSEMOVE:31,PRESET_MOUSEUP:32,IDCARD_COMPARE:40,READ_IDCARD:51,BEGIN_READ_IDCARD:52,STOP_READ_IDCARD:53,HCOPY_IDCARD:54,VCOPY_IDCARD:55,PCOPY_IDCARD:56,NCOPY_IDCARD:57},SVR_BIN_MSG:{CAP_FRAME:1}}},props:["show"],methods:{onLoad:function(){var t=this;return new c.default(function(e,n){u&&e(),u=new WebSocket(d),u.onopen=function(n){t.connected&&e(),t.connected=!0,e()},u.onclose=function(e){t.connected?t.connected=!1:(window.location.href="FLShell://",setTimeout("this.onLoad()",3)),u=null,n(new Error("连接失败"))}})},ReadIDCard:function(){var t=this;return this.sendMsg(this.CLT_MSG.READ_IDCARD,function(e){0===e.err&&t.setText(e)})},Begin:function(){var t=this;console.log("读卡!!!!!"),this.sendMsg(this.CLT_MSG.BEGIN_READ_IDCARD,{user_data:"idcard"}),this.callback.idcard=function(e){0===e.err&&t.setText(e)}},Stop:function(){this.sendMsg(this.CLT_MSG.STOP_READ_IDCARD,function(t){0!==t.err})},checkTimestamp:function(t){var e=new Date,n=1e3*e.getSeconds()+e.getMilliseconds();return n<t&&(n+=6e4),n-t<3e3},sendMsg:function(t,e,n){u&&("object"!==("undefined"==typeof e?"undefined":(0,a.default)(e))&&("function"==typeof e?(n=e,e={}):e={}),e.proto=t,"function"==typeof n&&(this.callback[++this.context]=n,e.user_data=this.context),u.send((0,o.default)(e)))},setText:function(t){this.IdCard=t,this.$dispatch("getidcard",this.IdCard),this.IdCard={}}},ready:function(){var t=this;this.onLoad().then(function(){t.$emit("ready")}).catch(function(e){t.$emit("error",e)})}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=i(r);e.default={title:"报表打印组件",props:{id:{},attach:{type:String,default:"name"}},methods:{SaveAsFile:function(){var t="<style>td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>",e=(0,o.default)();e.PRINT_INIT("");var n=t+document.getElementById(this.id).innerHTML;e.ADD_PRINT_TABLE(5,5,"99%","100%",n),e.SAVE_TO_FILE("新文件名.xls")}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=i(r);e.default={props:{id:{},top:{},left:{},width:{},height:{},style:{},notrepeat:{},showbtn:{type:Boolean,default:!0},attach:{type:String,default:"name"},extra:{type:Object,default:function(){return{count:0,tops:[]}}},preview:{}},data:function(){return{taskId:null,isPrint:!0}},methods:{print:function(){var t=this;if(!this.notrepeat||this.isPrint){this.isPrint=!1,this.$nextTick(function(){t.refreshData()});var e=(0,o.default)(),n="<style>";n+=this.style?this.style:"td {border-width: 2px;padding: 0.5px;border-style: solid; border-color:#000000; } \ntable{border-collapse:collapse; border}\n.noborder{border-width: 0px;}\n.tdleft{text-align: left;}\n.tdright{text-align: right;} \n.tdcenter{text-align: center;}\n.fs10{font-size: 0.4em;}\n.fs11{font-size: 0.5em;}\n.fs12{font-size: 0.6em;}\n.fs13{font-size: 0.7em;}\n.fs15{font-size: 0.9em;}\n.fs17{font-size: 1.1em;}\n.fs19{font-size: 1.2em;}\n.fs24{font-size: 1.5em;}\n.fs26{font-size: 1.6em;}\n.b{font-weight: bold;}\n.td-border-right{BORDER-RIGHT: #000000 1px solid; }\n.td-border-top{BORDER-TOP: #000000 1px solid; }\n.td-border-left{BORDER-LEFT: #000000 1px solid;}\n.td-border-bottom{BORDER-BOTTOM: #000000 1px solid;}",n+="</style>";var i=n+document.getElementById(this.id).innerHTML;e.PRINT_INIT("报表打印"),e.ADD_PRINT_HTM(this.top,this.left,this.width,this.height,i);for(var r=0;r<this.extra.count;r++)e.ADD_PRINT_HTM(this.extra.tops[r],this.left,this.width,this.height,i);var s=this;e.CVERSION&&(e.On_Return=function(t,e){switch(e){case"1":case!0:s.$dispatch("print-success",e);break;case"0":case!1:s.$dispatch("print-error",e)}},this.preview?e.PREVIEW():e.PRINT()),this.$dispatch("print",this.id)}},refreshData:function(){for(var t=document.getElementById(this.id).getElementsByTagName("input"),e=0;e<t.length;e++)"checkbox"===t[e].type?t[e].checked?t[e].setAttribute("checked","checked"):t[e].removeAttribute("checked"):"radio"===t[e].type?t[e].checked?t[e].setAttribute("checked","checked"):t[e].removeAttribute("checked"):t[e].setAttribute("value",t[e].value);for(var n=0;n<document.getElementsByTagName("select").length;n++)for(var i=document.getElementsByTagName("select")[n],r=0;r<i.options.length;r++)i.options[r].selected?i.options[r].setAttribute("selected","selected"):i.options[r]=new Option(i.options[r].text,i.options[r].value)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(5),a=i(s),l=o.default.mark(function t(e){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("rs/entity/t_reportsave",{data:e.model});case 2:e.$back(e);case 3:case"end":return t.stop()}},t,this)});e.default={title:"报表保存",props:{rep:{},attach:{type:String,default:"name"}},data:function(){return{model:{}}},methods:{save:function(){var t=l(this);return(0,a.default)(t)}},ready:function(){this.model.f_content=this.rep}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=i(r);e.default={data:function(){return{cards:[],componentName:""}},props:{comp:{type:Object,default:null},index:Number,name:String,reuse:{type:Boolean,default:!1}},ready:function(){this.comp&&(this.cards=[{name:this.comp.name,props:this.comp.props}]),this.name&&(o.default.routes||(o.default.routes={}),o.default.routes[this.name]=this)},methods:{top:function(){return this.cards[this.cards.length-1]},setTitle:function(t){var e=this.top();e.title=t,this.$dispatch("route-end",e.name,e.title,this.index)},init:function(t,e){if(this.reuse){var n=this.cards.find(function(e){return e.name===t});n?this.componentName=n.name:(this.cards.push({name:t,props:e}),this.componentName=t)}else this.cards=[{name:t,props:e}]},show:function(t){return this.reuse?t.name===this.componentName:this.top()===t}},events:{route:function(t,e,n,i){"self"===n?this.cards.push({name:t,props:e,resoved:i}):"tab"===n&&this.$dispatch("route-tab",t,e)},back:function(t){var e=this.cards.pop();e.resoved&&e.resoved(t);var n=this.top();this.$dispatch("route-end",n.name,n.title,this.index)},"route-init":function(t,e,n){this.index===t&&(this.cards=[{name:e,props:n}])}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r);e.default={title:"附件",data:function(){return{flag:!1,search_id:"",search_sm:"",search_dl:"",search_bm:"",search_fgs:"",search_lx:"",usernameoptions:[],parentnameoptions:[],fengongsioptions:[],usetypeoptions:[],f_parentname:"",f_fengongsi:"",selectData:{f_process_id:-1},model:{},href:"",deletee:"",fileinfodata:[],headers:{username:"",blodid:"",f_usetype:"",f_remarks:""},show:!1,imgadd:"/images/mainicon/adddevice.png",tempusetype:"",tempremarks:"",timeoutHandle:"",username:"",blodid:"",host:location.host,tempindex:null,searchAll:!0}},methods:{fnSearchAll:function(){var t=document.getElementById("searchAll");this.searchAll?(t.setAttribute("class",""),this.searchAll=!1):(t.setAttribute("class","spanAll"),this.searchAll=!0),this.fnCondition()},fnAddType:function(){var t=event.currentTarget;document.getElementById("type").innerText=t.innerHTML},fnDescriptChange:function(t){var e=event.currentTarget,n=document.getElementById(t);n.innerText==e.innerHTML?this.fnCondition():(n.innerText=e.innerHTML,this.searchAll?this.fnSearchAll():this.fnCondition())},fnOnKeyDown:function(){this.searchAll?this.fnSearchAll():this.fnCondition()},fnCondition:function(){this.search_id="",this.search_sm="",this.search_dl="",this.search_lx="",this.search_fgs="",this.search_bm="",this.searchAll||(this.search_id=document.getElementById("search_id").value,this.search_sm=document.getElementById("search_sm").value,this.search_dl="请选择"!=document.getElementById("search_dl").innerHTML?document.getElementById("search_dl").innerHTML:null,this.search_lx="请选择"!=document.getElementById("search_lx").innerHTML?document.getElementById("search_lx").innerHTML:null,this.search_fgs="请选择"!=document.getElementById("search_fgs").innerHTML?document.getElementById("search_fgs").innerHTML:null,this.search_bm="请选择"!=document.getElementById("search_bm").innerHTML?document.getElementById("search_bm").innerHTML:null)},find:function(){var t=this;this.fnCondition();var e="1=1";this.searchAll||(this.search_id&&(e+=" and ",e+="f_blobid like '%"+String(this.search_id)+"%' "),this.search_sm&&(e+=" and ",e+="f_remarks like '%"+String(this.search_sm)+"%' "),this.search_dl&&(e+=" and ",e+="f_username = '"+String(this.search_dl)+"' "),this.search_bm&&(e+=" and ",e+="f_parentname = '"+String(this.search_bm)+"' "),this.search_fgs&&(e+=" and ",e+="f_fengongsi = '"+String(this.search_fgs)+"' "),this.search_lx&&(e+=" and ",e+="f_usetype = '"+String(this.search_lx)+"' ")),e+=" order by f_uploaddate desc";var n={tablename:"t_files",condition:e.toString()};this.$resetpost("rs/sql/singleTable",{data:n},{warnMsg:null,resolveMsg:null,rejectMsg:"查询错误!",type:"json",silent:!0}).then(function(e){console.log("初始化读取请求发送成功"),console.log((0,o.default)(e));for(var n=0;n<e.data.length;n++){var i="";i=e.data[n].f_downloadpath;var r=i.substring(i.lastIndexOf(":\\")+2);e.data[n].f_downloadURL="http://"+t.host+"/"+r,e.data[n].f_uploaddate=t.formatdate(e.data[n].f_uploaddate)}t.fileinfodata=[],t.fileinfodata=e.data})},readly:function(){var t=this,e={tablename:"t_files",items:["f_username","f_parentname","f_fengongsi","f_usetype"]};this.$resetpost("rs/logic/selectinit",{data:e},{resolveMsg:null,rejectMsg:"初始化下拉框失败",silent:!0}).then(function(e){console.log("初始化下拉框成功数据",e.data);var n=e.data;for(var i in n){if("f_username"==n[i].rowname)for(var r=n[i],o=0;o<r.rows.length;o++)t.usernameoptions.push(r.rows[o].f_username);if("f_parentname"==n[i].rowname)for(var s=n[i],o=0;o<s.rows.length;o++)t.parentnameoptions.push(s.rows[o].f_parentname);if("f_fengongsi"==n[i].rowname)for(var a=n[i],o=0;o<a.rows.length;o++)t.fengongsioptions.push(a.rows[o].f_fengongsi);if("f_usetype"==n[i].rowname)for(var l=n[i],o=0;o<l.rows.length;o++)t.usetypeoptions.push(l.rows[o].f_usetype)}})},delet:function(t){var e=this,n=t.id;this.$resetdelete("rs/entity/t_files",{id:n},{resolveMsg:"删除成功",rejectMsg:"删除失败"}).then(function(t){e.load()})},afterCamera:function(){var t=this,e={tablename:"t_files",parameters:{id:res.id,f_usetype:this.tempusetype,f_remarks:this.tempremarks}};this.tempremarks=null,this.$resetpost("rs/logic/save",{data:e},{resolveMsg:null,rejectMsg:"文件备注上传失败"}).then(function(e){t.close()})},GetRequest:function(){var t=location.search,e=new Object;if(t.indexOf("?")!=-1)for(var n=t.substr(1),i=n.split("&"),r=0;r<i.length;r++)e[i[r].split("=")[0]]=decodeURIComponent(i[r].split("=")[1]);return e},upload:function(){console.log((0,o.default)(this.selectData.f_process_id));var t={f_username:this.username,f_blobid:this.blodid,f_usetype:this.tempusetype,f_parentname:this.f_parentname,f_fengongsi:this.f_fengongsi};t=(0,o.default)(t),this.$resetpost("http://127.0.0.1:8003/Camera/"+t.toString(),{data:null},{resolveMsg:null,rejectMsg:null},{silent:!0}).then(function(t){console.log("调用卡服务启动高拍仪成功")})},load:function(t){var e=this;if(t.selectData){var n={tablename:"t_files",condition:"f_blobid like '%"+String(t.selectData.f_process_id)+"' order by f_uploaddate desc"};9==t.selectData.f_process_id.length&&(t.selectData.f_process_id=t.selectData.f_process_id.substr(3),n.condition="f_blobid like '%"+String(t.selectData.f_process_id)+"' order by f_uploaddate desc"),t.$resetpost("rs/sql/singleTable",{data:n},{warnMsg:null,resolveMsg:null,rejectMsg:"查询错误!",type:"json",silent:!0}).then(function(n){if(console.log("读取请求发送成功"),console.log((0,o.default)(n)),n.data.length!=t.fileinfodata.length){for(var i=0;i<n.data.length;i++){var r="";r=n.data[i].f_downloadpath;var s=r.substring(r.lastIndexOf(":\\")+2);n.data[i].f_downloadURL="http://"+e.host+"/"+s,n.data[i].f_uploaddate=t.formatdate(n.data[i].f_uploaddate)}t.fileinfodata=[],t.fileinfodata=n.data}})}},formatdate:function(t){if(14==t.length){var e=t.substr(0,4),n=t.substr(4,2),i=t.substr(6,2),r=t.substr(8,2),o=t.substr(10,2),s=t.substr(12,2);return e+"-"+n+"-"+i+" "+r+":"+o+":"+s}},updateData:function(t){this.selectData=t},fileDownload:function(t){console.log("id为"+t),this.$resetget("rs/file/getfile/"+t).then(function(t){console.log("下载请求发送成功")})},fileUpload:function(){this.tempremarks?this.show=!0:this.$showMessage("请先填写文件说明")},close:function(){this.show&&(this.show=!1,this.$refs.file.$el.querySelector("input").value="")}},ready:function(){document.getElementById("search_dl").innerHTML="请选择",document.getElementById("search_lx").innerHTML="请选择",document.getElementById("search_fgs").innerHTML="请选择",document.getElementById("search_bm").innerHTML="请选择",console.log("开始"),this.readly()},watch:{selectData:function(){this.headers.blodid=this.selectData.f_process_id},deep:!0},events:{onFileUpload:function(t,e){var n=this;console.log("上传完毕");var i={tablename:"t_files",parameters:{id:e.id,f_usetype:this.tempusetype,f_remarks:this.tempremarks,f_fengongsi:this.f_fengongsi,f_parentname:this.f_parentname}};this.tempremarks=null,this.$resetpost("rs/logic/save",{data:i},{resolveMsg:null,rejectMsg:"文件备注上传失败"}).then(function(t){n.close(),n.readly()})}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),o=i(r),s=n(18),a=i(s),l=n(25),c=i(l),u=n(92);
|
|
96
|
-
e.default={ready:function(){var t=this;u.remove.$on("delete",function(e){console.log("菜单页on收到的名字为:",e),t.removeTab(e)})},data:function(){return{opens:[]}},props:{attach:{type:String,default:"name"}},methods:{isopen:function(t){console.log("打开页签组件名为:",t),this.opens.includes(t)||this.opens.push(t),console.log("打开后:"+(0,o.default)(this.opens))},colse:function(t){return this.removeTab(t),u.remove.$emit("remove",t),!0},removeTab:function(t){console.log("tab--->",t),console.log((0,o.default)(this.opens)),this.select(null);for(var e=0;e<this.opens.length;e++)this.opens[e]===t&&this.opens.splice(e,1);console.log((0,o.default)(this.opens))}},mixins:[a.default,c.default]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}Object.defineProperty(e,"__esModule",{value:!0});var o=n(47),s=r(o),a=n(1),l=i(a);e.default={title:"sign.vue",props:{signname:{type:String,default:""}},data:function(){return{fullFileName:"",fileName:this.signname}},methods:{signCallback:function(t,e){HostApp.__callback__=null,HostApp.__this__=null,this.fullFileName=this.$androidUtil.getFullFileName(this.fileName),this.$emit("input",this.fileName)},sign:function(){var t="check",e="aofeng";if(this.fileName=this.signname,null==this.fileName&&(this.fileName=""),this.fileName.trim().length>0){var n=this.$androidUtil.getFullFileName(this.fileName);HostApp.delFileName(n)}this.fileName=s.guid()+"-valve-"+e+"-"+t+".png",HostApp.__callback__=this.signCallback,HostApp.__this__=this,HostApp.getSignature({file:this.fileName,callback:'javascript:HostApp.__callback__("'+t+'", "%s");'})}},ready:function(){this.fileName=this.signname,null==this.fileName&&(this.fileName=""),l.default.android&&(this.fullFileName=this.$androidUtil.getFullFileName(this.fileName))},watch:{signname:function(t){t&&(this.fileName=t,l.default.android&&(this.fullFileName=this.$androidUtil.getFullFileName(this.fileName)),console.log("签名ready4"),console.log(this.fullFileName))}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"文本编辑器",data:function(){return{commands:[{cmd:"bold",text:"加粗",className:"glyphicon glyphicon-bold"},{cmd:"italic",text:"斜体",className:"glyphicon glyphicon-italic"},{cmd:"justifyLeft",text:"左对齐",className:"glyphicon glyphicon-align-left"},{cmd:"justifyCenter",text:"居中",className:"glyphicon glyphicon-align-center"},{cmd:"justifyRight",text:"右对齐",className:"glyphicon glyphicon-align-right"},{cmd:"indent",text:"增加缩进",className:"glyphicon glyphicon-indent-left"},{cmd:"outdent",text:"减少缩进",className:"glyphicon glyphicon-indent-right"}],size:"h4"}},props:{content:{type:String,default:""}},ready:function(){},methods:{addContent2Editor:function(t){this.$els.content.innerHTML=t},contentChanged:function(){this.content=this.$els.content.innerHTML,this.$emit("input-content",this.content)},addEnter:function(){document.execCommand("formatBlock",!1,"p")},executeCom:function(t){console.log("执行命令",t),document.execCommand(t.cmd,!0,t.arg)},down:function(t){t.preventDefault()},confirm:function(){this.$emit("text-confirm",this.content)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(60),o=i(r),s="ivu-timeline";e.default={name:"Timeline",props:{pending:{type:Boolean,default:!1}},computed:{classes:function(){return[""+s,(0,o.default)({},s+"-pending",this.pending)]}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(60),o=i(r),s="timeline";e.default={name:"TimelineItem",props:{color:{type:String,default:"default"}},data:function(){return{dot:!1}},ready:function(){this.dot=!!this.$els.dot.innerHTML.length},computed:{itemClasses:function(){return s+"-item"},tailClasses:function(){return s+"-item-tail"},headClasses:function(){var t;return[s+"-item-head",(t={},(0,o.default)(t,s+"-item-head-custom",this.dot),(0,o.default)(t,s+"-item-head-"+this.color,this.headColorShow),t)]},headColorShow:function(){return"default"==this.color||"blue"==this.color||"red"==this.color||"green"==this.color},customColor:function(){var t={};return this.color&&(this.headColorShow||(t={color:this.color,"border-color":this.color})),t},contentClasses:function(){return s+"-item-content"}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);e.default={mixins:[o.default,a.default]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);e.default={props:{isClick:{default:!0},isEdit:{default:!1},attach:{type:String,default:"name"},category:{type:Object},isOpen:{type:Boolean,default:!1},flagres:{type:Boolean,default:!0}},data:function(){return{switchOpen:!0}},watch:{toNode:function(){this.isOpen&&this.switchOpen&&(this.switchOpen=!1,this.openNode(this.toNode))},isClick:function(){console.log(this.isClick,"ceshi")}},computed:{rootClass:function t(){var t=new Array;return t.push("list-group"),t.push("left-tree"),this.category&&this.category.root&&(this.category.root.remove&&this.category.root.remove.length>0&&this.category.root.remove.forEach(function(e,n){t.$remove(e)}),this.category.root.add&&this.category.root.add.length>0&&this.category.root.add.forEach(function(e,n){t.push(e)})),t},childClass:function t(){var t=new Array;return t.push("item-text-color"),t.push("list-group-item"),this.category&&this.category.child&&(this.category.child.remove&&this.category.child.remove.length>0&&this.category.child.remove.forEach(function(e,n){t.$remove(e)}),this.category.child.add&&this.category.child.add.length>0&&this.category.child.add.forEach(function(e,n){t.push(e)})),t},spanClass:function t(){var t=new Array;return t.push("glyphicon glyphicon-chevron-down"),t.push("glyphicon glyphicon-chevron-right"),this.category&&this.category.span&&(this.category.span.remove&&this.category.span.remove.length>0&&this.category.span.remove.forEach(function(e,n){t.$remove(e)}),this.category.span.add&&this.category.span.add.length>0&&this.category.span.add.forEach(function(e,n){t.push(e)})),console.log("spanClass: ",t),t}},mixins:[o.default,a.default]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=i(r),s=n(25),a=i(s);e.default={props:{attach:{type:String,default:"tree-grid"}},mixins:[o.default,a.default]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),o=(i(r),n(25));i(o);e.default={title:"树表格单个项",props:["row","iconsize"]}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(12),c=i(l);e.default={title:"附件",props:["blodid","businessid","isremark","isusetype","takeimg","defname","isupload","fusetype","cols"],data:function(){return{isDelete:"1",fileInfoData:[],headers:{username:this.$login.f.name,blodid:"",businessid:"",fremarks:"",defname:"",fusetype:this.fusetype?this.fusetype:""},showUpload:!1,showhighmeter:!1,useType:"",fileRemark:""}},methods:{delet:function(t,e){var n=this;this.$resetdelete("rs/entity/t_files",{id:e.id},{resolveMsg:"删除成功",rejectMsg:"删除失败"}).then(function(i){n.$dispatch("delResid",e.id),n.fileInfoData.splice(t,1)})},downloadfile:function(t){var e=document.createElement("a");e.href=t,e.target="_blank",e.dispatchEvent(new MouseEvent("click"))},GetRequest:function(){var t=location.search,e=new Object;if(t.indexOf("?")!=-1)for(var n=t.substr(1),i=n.split("&"),r=0;r<i.length;r++)e[i[r].split("=")[0]]=decodeURIComponent(i[r].split("=")[1]);return e},upload:function(){this.showhighmeter&&(console.log(this,"测试"),this.$refs.ltgao.closeVideo()),console.log("测试1"),this.showhighmeter=!this.showhighmeter},load:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e){var n,i,r,s,a,l,u;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="",n=this.businessid?"f_businessid= '"+e.headers.businessid+"' ":"f_blobid= '"+e.headers.blodid+"' ",this.fusetype&&(n+=" and fusetype like '"+this.fusetype+"'"),i=new c.default,r={tablename:"t_files",condition:n+" order by f_uploaddate desc "},t.next=7,i.load("POST","rs/sql/singleTable",{data:r},{warnMsg:null,resolveMsg:null});case 7:s=t.sent,a=0;case 9:if(!(a<s.data.length)){t.next=20;break}if(!s.data[a].fusetype||!s.data[a].fusetype.includes("execl导入")){t.next=14;break}return s.data.splice(a,1),a--,t.abrupt("continue",17);case 14:l=s.data[a].f_downloadpath,u=l.substring(l.lastIndexOf(":\\")+2),s.data[a].f_downloadURL="http://"+location.host+"/"+u;case 17:a++,t.next=9;break;case 20:e.fileInfoData=[],e.fileInfoData=s.data;case 22:case"end":return t.stop()}},t,this)}));return t}(),formatdate:function(t){if(14==t.length){var e=t.substr(0,4),n=t.substr(4,2),i=t.substr(6,2),r=t.substr(8,2),o=t.substr(10,2),s=t.substr(12,2);return e+"-"+n+"-"+i+" "+r+":"+o+":"+s}},fileUpload:function(){this.showUpload=!0},close:function(){this.showUpload=!1,this.$refs.file.$el.querySelector("input").value="",this.load(this)},convertBase64ToBlob:function(t){for(var e=atob(t),n=new ArrayBuffer(e.length),i=new Uint8Array(n),r=0;r<e.length;r++)i[r]=e.charCodeAt(r);return new Blob([n],{type:"image/jpeg"})},newPhoto:function(t){var e=this,n=new FormData,i=new XMLHttpRequest,r="----WebkitFormBoundaryGaoPaiYi";if(n.append("Content-Type","multipart/form-data;boundary="+r),n.append("file",this.convertBase64ToBlob(t),"GaoPaiYi.jpg"),i.open("POST","rs/file/uploadFile"),this.headers)for(var o in this.headers)i.setRequestHeader(o,encodeURIComponent(this.headers[o]));i.send(n),setTimeout(function(){e.load(e)},5e3)}},ready:function(){this.headers.blodid=this.blodid,this.headers.businessid=this.businessid,console.log("123222",this.businessid),(this.blodid||this.businessid)&&this.load(this)},watch:{blodid:function(t){t&&(console.log("观察blodid",t),this.headers.blodid=this.blodid,this.load(this))},businessid:function(t){console.log("观察businessid"),t&&(console.log("观察businessid",t),this.headers.businessid=this.businessid,this.load(this))},useType:function(){this.headers.fusetype=this.useType[0]?this.useType[0]:""},defname:function(){this.headers.defname=this.defname}},computed:{foptions:function(){return this.$appdata.getParam("使用类型")}},events:{onFileUpload:function(t,e){console.log("上传完毕",e),this.$dispatch("resid",e.id),this.headers.fremarks="",this.close()}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(12),c=i(l);e.default={title:"附件",props:["blodid","isremark","isusetype","takeimg","defname","isupload","fusetype","cols"],data:function(){return{isDelete:"1",fileInfoData:[],headers:{username:this.$login.f.name,blodid:"",fremarks:"",defname:"",fusetype:this.fusetype?this.fusetype:""},showUpload:!1,showhighmeter:!1,useType:"",fileRemark:""}},methods:{delet:function(t,e){var n=this;this.$resetdelete("rs/entity/t_files",{id:e.id},{resolveMsg:"删除成功",rejectMsg:"删除失败"}).then(function(e){n.fileInfoData.splice(t,1)})},GetRequest:function(){var t=location.search,e=new Object;if(t.indexOf("?")!=-1)for(var n=t.substr(1),i=n.split("&"),r=0;r<i.length;r++)e[i[r].split("=")[0]]=decodeURIComponent(i[r].split("=")[1]);return e},downloadfile:function(t){var e=document.createElement("a");e.href=t,e.target="_blank",e.dispatchEvent(new MouseEvent("click"))},upload:function(){this.showhighmeter&&(console.log(this,"测试"),this.$refs.ltgao.closeVideo()),console.log("测试1"),this.showhighmeter=!this.showhighmeter},load:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e){var n,i,r,s,a,l,u;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="f_blobid= '"+e.headers.blodid+"' ",this.fusetype&&(n+=" and fusetype='"+this.fusetype+"'"),i=new c.default,r={tablename:"t_files",condition:n+" order by f_uploaddate desc "},t.next=6,i.load("POST","rs/sql/singleTable",{data:r},{warnMsg:null,resolveMsg:null});case 6:s=t.sent,a=0;case 8:if(!(a<s.data.length)){t.next=19;break}if(!s.data[a].fusetype||!s.data[a].fusetype.includes("execl导入")){t.next=13;break}return s.data.splice(a,1),a--,t.abrupt("continue",16);case 13:l=s.data[a].f_downloadpath,u=l.substring(l.lastIndexOf(":\\")+2),s.data[a].f_downloadURL="http://"+location.host+"/"+u;case 16:a++,t.next=8;break;case 19:e.fileInfoData=[],e.fileInfoData=s.data;case 21:case"end":return t.stop()}},t,this)}));return t}(),formatdate:function(t){if(14==t.length){var e=t.substr(0,4),n=t.substr(4,2),i=t.substr(6,2),r=t.substr(8,2),o=t.substr(10,2),s=t.substr(12,2);return e+"-"+n+"-"+i+" "+r+":"+o+":"+s}},fileUpload:function(){this.showUpload=!0},close:function(){this.showUpload=!1,this.$refs.file.$el.querySelector("input").value="",this.load(this)},convertBase64ToBlob:function(t){for(var e=atob(t),n=new ArrayBuffer(e.length),i=new Uint8Array(n),r=0;r<e.length;r++)i[r]=e.charCodeAt(r);return new Blob([n],{type:"image/jpeg"})},newPhoto:function(t){var e=this,n=new FormData,i=new XMLHttpRequest,r="----WebkitFormBoundaryGaoPaiYi";if(n.append("Content-Type","multipart/form-data;boundary="+r),n.append("file",this.convertBase64ToBlob(t),"GaoPaiYi.jpg"),i.open("POST","rs/file/uploadFile"),this.headers)for(var o in this.headers)i.setRequestHeader(o,encodeURIComponent(this.headers[o]));i.send(n),setTimeout(function(){e.load(e)},5e3)},confirmIdCard:function(t){var e=t;this.showhighmeter=!1,this.$dispatch("getidinfo",e)}},ready:function(){this.headers.blodid=this.blodid,console.log("123222",this.blobid),this.blodid&&this.load(this)},watch:{blodid:function(t){t&&(console.log("观察blodid",t),this.headers.blodid=this.blodid,this.load(this))},useType:function(){this.headers.fusetype=this.useType[0]?this.useType[0]:""},defname:function(){this.headers.defname=this.defname}},computed:{foptions:function(){return this.$appdata.getParam("使用类型")}},events:{onFileUpload:function(t,e){console.log("上传完毕"),this.headers.fremarks="",this.close()}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"busy",props:["isBusy"],data:function(){return{isBusy:!1}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s);n(438);var l=n(170),c=i(l);e.default={props:{value:[String,Number,Object,Array],showBtns:[Boolean],expandedOnStart:{type:Boolean,default:!1},mode:{type:String,default:"tree"},modes:{type:Array,default:function(){return["tree","code","form","text","view"]}},lang:{type:String,default:"en"}},watch:{value:{immediate:!0,handler:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.internalChange){t.next=5;break}return t.next=3,this.setEditor(e);case 3:this.error=!1,this.expandAll();case 5:case"end":return t.stop()}},t,this)}));return t}(),deep:!0}},data:function(){return{editor:null,error:!1,json:this.value,internalChange:!1,expandedModes:["tree","view","form"],locale:{it:{save:"SALVA"},en:{save:"SAVE"},zh:{save:"保存"}}}},ready:function(){var t=this,e={mode:this.mode,modes:this.modes,onChange:function(){try{var e=t.editor.get();t.json=e,t.error=!1,t.$emit("json-change",e),t.internalChange=!0,t.$emit("input",e),t.$nextTick(function(){t.internalChange=!1})}catch(e){t.error=!0,t.$emit("has-error",e)}},onModeChange:function(){t.expandAll()}};this.editor=new c.default(this.$el.querySelector(".jsoneditor-vue"),e,this.json)},methods:{expandAll:function(){this.expandedOnStart&&this.expandedModes.includes(this.editor.getMode())&&this.editor.expandAll()},onSave:function(){this.$emit("json-save",this.json)},setEditor:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.editor&&this.editor.set(e);case 1:case"end":return t.stop()}},t,this)}));return t}()}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),o=i(r);e.default={props:{oneAtATime:{type:Boolean,coerce:o.default,default:!1}},created:function(){var t=this;this.$on("isOpenEvent",function(e){t.oneAtATime&&t.$children.forEach(function(t){e!==t&&(t.isOpen=!1)})})}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(29),o=i(r);e.default={props:{offset:{type:Number,default:0}},data:function(){return{affixed:!1,styles:{}}},methods:{scrolling:function(){var t=this.getScroll(window,!0),e=this.getOffset(this.$el);!this.affixed&&t>e.top&&(this.affixed=!0,this.styles={top:this.offset+"px",left:e.left+"px",width:this.$el.offsetWidth+"px"}),this.affixed&&t<e.top&&(this.affixed=!1,this.styles={})},getScroll:function(t,e){var n=t["page"+(e?"Y":"X")+"Offset"],i="scroll"+(e?"Top":"Left");if("number"!=typeof n){var r=t.document;n=r.documentElement[i],"number"!=typeof n&&(n=r.body[i])}return n},getOffset:function(t){var e=t.getBoundingClientRect(),n=document.body,i=t.clientTop||n.clientTop||0,r=t.clientLeft||n.clientLeft||0,o=this.getScroll(window,!0),s=this.getScroll(window);return{top:e.top+o-i,left:e.left+s-r}}},ready:function(){this._scrollEvent=o.default.listen(window,"scroll",this.scrolling),this._resizeEvent=o.default.listen(window,"resize",this.scrolling)},beforeDestroy:function(){this._scrollEvent&&this._scrollEvent.remove(),this._resizeEvent&&this._resizeEvent.remove()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(48);e.default={props:{type:{type:String},dismissable:{type:Boolean,coerce:i.coerce.boolean,default:!1},show:{type:Boolean,coerce:i.coerce.boolean,default:!0,twoWay:!0},duration:{type:Number,coerce:i.coerce.number,default:0},width:{type:String},placement:{type:String}},watch:{show:function(t){this.colse(t)},duration:function(t){this.colse(t)}},methods:{colse:function(t){var e=this;this._timeout&&clearTimeout(this._timeout),t&&Boolean(this.duration)&&(this._timeout=setTimeout(function(){e.show=!1},this.duration))}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),o=i(r);e.default={props:{show:{type:Boolean,coerce:o.default,require:!0,twoWay:!0},placement:{type:String,default:"right"},header:{type:String},width:{type:Number,default:"320"}},watch:{},methods:{close:function(){this.show=!1}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(84),o=i(r),s=n(29),a=i(s),l=n(19),c=i(l);e.default={props:{indicators:{type:Boolean,coerce:c.default,default:!0},controls:{type:Boolean,coerce:c.default,default:!0},interval:{type:Number,default:5e3}},components:{indicator:{props:["indicator","activeIndex","isAnimating"],template:'<li v-for="i in indicator" @click="handleIndicatorClick($index)" v-bind:class="{\'active\':$index === activeIndex}"><span></span></li>',methods:{handleIndicatorClick:function(t){return!this.isAnimating&&(this.isAnimating=!0,void(this.activeIndex=t))}}}},data:function(){return{indicator:[],activeIndex:0,isAnimating:!1}},computed:{slider:function(){return this.$el.querySelectorAll(".item")}},watch:{activeIndex:function(t,e){t>e?this.slide("left",t,e):this.slide("right",t,e)}},methods:{slide:function(t,e,n){var i=this;this._prevSelectedEvent&&this._prevSelectedEvent.remove(),this._selectedEvent&&this._selectedEvent.remove();var r=this.slider[n],s=this.slider[e],l=function(){[].concat((0,o.default)(i.slider)).forEach(function(t){return t.className="item"}),s.classList.add("active"),i.isAnimating=!1};"left"===t?s.classList.add("next"):s.classList.add("prev");s.clientHeight;this._prevSelectedEvent=a.default.listen(r,"transitionend",l),this._selectedEvent=a.default.listen(s,"transitionend",l),r.classList.add(t),s.classList.add(t)},nextClick:function(){return!this.isAnimating&&(this.isAnimating=!0,void(this.activeIndex+1<this.slider.length?this.activeIndex+=1:this.activeIndex=0))},prevClick:function(){return!this.isAnimating&&(this.isAnimating=!0,void(0===this.activeIndex?this.activeIndex=this.slider.length-1:this.activeIndex-=1))}},ready:function(){function t(t,e,i){t?n=setInterval(e,i):clearInterval(n)}var e=this,n=null,i=this.$el;this.interval&&(t(!0,this.nextClick,this.interval),i.addEventListener("mouseenter",function(){return t(!1)}),i.addEventListener("mouseleave",function(){return t(!0,e.nextClick,e.interval)}))}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(29),o=i(r);e.default={props:{value:{type:String,twoWay:!0,default:""},format:{default:"yyyy-MM-dd"},disabledDaysOfWeek:{type:Array,default:function(){return[]}},width:{type:String,default:"100%"},isAllLine:{type:Boolean,default:!1},showResetButton:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{type:String},isUp:{type:Boolean,default:!1},isRight:{type:Boolean,default:!1},selectMonth:{type:Boolean,default:!1},selectYear:{type:Boolean,default:!1}},data:function(){return{weekRange:["日","一","二","三","四","五","六"],dateRange:[],decadeRange:[],currDate:new Date,displayDayView:!1,displayMonthView:!1,displayYearView:!1,displayTimeView:!1,monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],hour:("0"+(new Date).getHours()).slice(-2),minute:("0"+(new Date).getMinutes()).slice(-2),second:("0"+(new Date).getSeconds()).slice(-2)}},watch:{currDate:function(){this.getDateRange()},value:function(t){console.log("观察值。。。。",t,this.value),t&&(this.currDate=this.parse(t),this.getDateRange())}},methods:{close:function(){this.displayDayView=this.displayMonthView=this.displayYearView=!1},inputClick:function(){var t=this;this.isUp=!1,this.isRight=!1,this.selectMonth?this.displayDayView||this.displayYearView?this.displayMonthView=!1:this.displayMonthView=!this.displayMonthView:this.selectYear?this.displayDayView||this.displayMonthView?this.displayYearView=!1:this.displayYearView=!this.displayYearView:this.displayMonthView||this.displayYearView?this.displayDayView=!1:this.displayDayView=!this.displayDayView,this.displayDayView&&this.$nextTick(function(){var e=t.$els.popup;document.documentElement.clientHeight<e.getBoundingClientRect().bottom&&(t.isUp=!0),e.getBoundingClientRect().right>document.documentElement.clientWidth&&(t.isRight=!0)})},preNextDecadeClick:function(t){var e=this.currDate.getFullYear(),n=this.currDate.getMonth(),i=this.currDate.getDate(),r=this.currDate.getHours(),o=this.currDate.getMinutes(),s=this.currDate.getSeconds();0===t?this.currDate=new Date(e-10,n,i,r,o,s):this.currDate=new Date(e+10,n,i,r,o,s)},preNextMonthClick:function(t){var e=this.currDate.getFullYear(),n=this.currDate.getMonth(),i=this.currDate.getDate(),r=this.currDate.getHours(),o=this.currDate.getMinutes(),s=this.currDate.getSeconds();if(0===t){var a=this.getYearMonth(e,n-1);this.currDate=new Date(a.year,a.month,i,r,o,s)}else{var l=this.getYearMonth(e,n+1);this.currDate=new Date(l.year,l.month,i,r,o,s)}},preNextYearClick:function(t){var e=this.currDate.getFullYear(),n=this.currDate.getMonth(),i=this.currDate.getDate(),r=this.currDate.getHours(),o=this.currDate.getMinutes(),s=this.currDate.getSeconds();0===t?this.currDate=new Date(e-1,n,i,r,o,s):this.currDate=new Date(e+1,n,i,r,o,s)},yearSelect:function(t){this.selectYear?(this.currDate=new Date(t,this.currDate.getMonth(),this.currDate.getDate(),this.currDate.getHours(),this.currDate.getMinutes(),this.currDate.getSeconds()),this.value=this.stringify(this.currDate),this.displayYearView=!1):(this.displayYearView=!1,this.displayMonthView=!0,this.currDate=new Date(t,this.currDate.getMonth(),this.currDate.getDate(),this.currDate.getHours(),this.currDate.getMinutes(),this.currDate.getSeconds()))},daySelect:function(t,e){return"datepicker-item-disable"!==e.$el.classList[0]&&(this.currDate=t,this.value=this.stringify(this.currDate),this.displayDayView=!1,void 0)},switchMonthView:function(){this.displayDayView=!1,this.displayMonthView=!0,this.displayMonthView},switchDecadeView:function(){this.displayMonthView=!1,this.displayYearView=!0},monthSelect:function(t){this.selectMonth?(this.currDate=new Date(this.currDate.getFullYear(),t,this.currDate.getDate(),this.currDate.getHours(),this.currDate.getMinutes(),this.currDate.getSeconds()),this.value=this.stringify(this.currDate),this.displayMonthView=!1):(this.displayMonthView=!1,this.displayDayView=!0,this.currDate=new Date(this.currDate.getFullYear(),t,this.currDate.getDate(),this.currDate.getHours(),this.currDate.getMinutes(),this.currDate.getSeconds()))},switchDayView:function(){this.displayDayView=!1},getYearMonth:function(t,e){return e>11?(t++,e=0):e<0&&(t--,e=11),{year:t,month:e}},stringifyDecadeHeader:function(t){var e=t.getFullYear().toString(),n=e.substring(0,e.length-1)+0,i=parseInt(n,10)+10;return n+"-"+i},stringifyDayHeader:function(t){return t.getFullYear()+"年"+this.monthNames[t.getMonth()]},parseMonth:function(t){return this.monthNames[t.getMonth()]},stringifyYearHeader:function(t){return t.getFullYear()},stringify:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.format,n=t.getFullYear(),i=t.getMonth()+1,r=t.getDate(),o=this.parseMonth(t);return e.replace(/yyyy/g,n).replace(/MMMM/g,o).replace(/MMM/g,o.substring(0,3)).replace(/MM/g,("0"+i).slice(-2)).replace(/dd/g,("0"+r).slice(-2)).replace(/yy/g,n).replace(/M(?!a)/g,i).replace(/d/g,r).replace(/HH/g,("0"+this.hour).slice(-2)).replace(/mm/g,("0"+this.minute).slice(-2)).replace(/ss/g,("0"+this.second).slice(-2))},parse:function(t){if(!t)return null;10!==t.length||"dd-MM-yyyy"!==this.format&&"dd/MM/yyyy"!==this.format||(t=t.substring(3,5)+"-"+t.substring(0,2)+"-"+t.substring(6,10));var e=new Date(t);return isNaN(e.getFullYear())?new Date:e},getDayCount:function(t,e){var n=[31,28,31,30,31,30,31,31,30,31,30,31];return 1===e?t%400===0||t%4===0&&t%100!==0?29:28:n[e]},getDateRange:function(){var t=this;this.dateRange=[],this.decadeRange=[],this.hour=this.currDate.getHours(),this.minute=this.currDate.getMinutes(),this.second=this.currDate.getSeconds();for(var e={year:this.currDate.getFullYear(),month:this.currDate.getMonth(),day:this.currDate.getDate()},n=e.year.toString(),i=n.substring(0,n.length-1)+0-1,r=0;r<12;r++)this.decadeRange.push({text:i+r});var o=new Date(e.year,e.month,1),s=o.getDay()+1;0===s&&(s=7);var a=this.getDayCount(e.year,e.month);if(s>1)for(var l=this.getYearMonth(e.year,e.month-1),c=this.getDayCount(l.year,l.month),u=1;u<s;u++){var d=c-s+u+1;this.dateRange.push({text:d,date:new Date(l.year,l.month,d),sclass:"datepicker-item-gray"})}for(var h=function(n){var i=new Date(e.year,e.month,n),r=i.getDay(),o="";if(t.disabledDaysOfWeek.forEach(function(t){r===parseInt(t,10)&&(o="datepicker-item-disable")}),n===e.day&&t.value){var s=t.parse(t.value);s&&s.getFullYear()===e.year&&s.getMonth()===e.month&&(o="datepicker-dateRange-item-active")}t.dateRange.push({text:n,date:i,sclass:o})},f=1;f<=a;f++)h(f);if(this.dateRange.length<42)for(var p=42-this.dateRange.length,m=this.getYearMonth(e.year,e.month+1),g=1;g<=p;g++)this.dateRange.push({text:g,date:new Date(m.year,m.month,g),sclass:"datepicker-item-gray"})},switchTimeView:function(){this.displayMonthView=!1,this.displayYearView=!1,this.displayTimeView=!0,this.displayDayView=!0},closeTimeTem:function(){this.displayTimeView=!1,this.value=this.stringify(this.currDate),this.displayDayView=!1},changeHour:function(t,e){console.log("flag:",t,"hour->",e),this.hour=t+Number(e),24===this.hour&&(this.hour="00"),Number(this.hour)<0&&(this.hour=23),this.hour<10&&this.hour>=0&&(this.hour="0"+Number(this.hour))},changeMinute:function(t,e){console.log("flag:",t,"minute->",e),this.minute=t+Number(e),60===this.minute&&(this.minute="00"),Number(this.minute)<0&&(this.minute=59),this.minute<10&&this.minute>=0&&(this.minute="0"+Number(this.minute))},changeSecond:function(t,e){console.log("flag:",t,"second->",e),this.second=t+Number(e),60===this.second&&(this.second="00"),Number(this.second)<0&&(this.second=59),this.second<10&&this.second>=0&&(this.second="0"+Number(this.second))}},ready:function(){var t=this;this.getDateRange(),this.$dispatch("child-created",this),this.currDate=this.parse(this.value)||this.parse(new Date),this._closeEvent=o.default.listen(window,"click",function(e){t.$el.contains(e.target)||t.close()})},beforeDestroy:function(){this._closeEvent&&this._closeEvent.remove()},computed:{displayTTimeView:function(){return this.format.indexOf("HH:mm:ss")!==-1}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(29),o=i(r);e.default={methods:{toggleDropdown:function(t){t.preventDefault(),t.stopPropagation(),this.$el.style.position="relative",this.$el.classList.toggle("open");var e=this.$el.querySelector("ul");document.documentElement.clientHeight-e.getBoundingClientRect().bottom<this.offsetBottom+(this.isUp?e.offsetHeight:0)?this.isUp=!0:this.isUp=!1}},ready:function(){var t=this.$el,e=t.querySelector('[data-toggle="dropdown"]');e&&(e.style.borderRadius="2px",e.addEventListener("click",this.toggleDropdown)),this._closeEvent=o.default.listen(window,"mouseup",function(e){t.contains(e.target)&&"a"!=e.target.nodeName.toLowerCase()||(t.classList.remove("open"),t.style.position="inherit")})},props:{isUp:{type:Boolean,default:!1},offsetBottom:{type:Number,default:100}},beforeDestroy:function(){this._closeEvent&&this._closeEvent.remove()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={title:"输入选择框",props:{options:{type:Array},value:{twoWay:!0,type:[Number,String,Object]},readonly:{default:!0},disable:{default:!1},placeholder:{default:"请选择"},width:{type:String,default:"100%"}},watch:{value:function(t){this.$emit("change",t),"string"==typeof this.value&&this.value.startsWith("{")&&this.value.endsWith("}")?this.value=JSON.parse(this.value):this.value=this.value}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(277),o=i(r),s=n(174),a=i(s),l=n(29),c=i(l),u=n(19),d=i(u);e.default={props:{okText:{type:String,default:"Save changes"},cancelText:{type:String,default:"Close"},title:{type:String,default:""},show:{require:!0,type:Boolean,coerce:d.default,twoWay:!0},width:{default:null},callback:{type:Function,default:function(){}},effect:{type:String,default:null},backdrop:{type:Boolean,coerce:d.default,default:!0},large:{type:Boolean,coerce:d.default,default:!1},small:{type:Boolean,coerce:d.default,default:!1},coverstyle:{type:String,default:null}},ready:function(){var t=this;this.$watch("show",function(e){var n=t.$el,i=document.body,r=(0,a.default)();e?(n.querySelector(".modal-content").focus(),n.style.display="block",setTimeout(function(){return n.classList.add("in")},0),i.classList.add("modal-open"),0!==r&&(i.style.paddingRight=r+"px"),t.backdrop&&(t._blurModalContentEvent=c.default.listen(t.$el,"click",function(e){e.target===n&&(t.show=!1)}))):(t._blurModalContentEvent&&t._blurModalContentEvent.remove(),n.classList.remove("in"),setTimeout(function(){n.style.display="none",i.classList.remove("modal-open"),i.style.paddingRight="0"},50))},{immediate:!0})},computed:{optionalWidth:function(){return null===this.width?null:(0,o.default)(this.width)?this.width+"px":this.width;
|
|
97
|
-
}},methods:{close:function(){this.show=!1}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(29),o=i(r);e.default={methods:{toggleCollapse:function(t){t.preventDefault();var e=this.$el.querySelector("[data-target]"),n=e.getAttribute("data-target"),i=document.getElementById(n.substring(1));i.classList.toggle("collapse")}},ready:function(){var t=this,e=this.$el.querySelector('[data-toggle="collapse"]');e&&(e.style.borderRadius="4px",e.addEventListener("click",this.toggleCollapse)),this._closeEvent=o.default.listen(window,"click",function(e){t.$el.contains(e.target)||t.$el.classList.remove("open")})},beforeDestroy:function(){this._closeEvent&&this._closeEvent.remove()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{value:{type:String}},data:function(){return{chosen:!1}},computed:{chosen:function(){return this.$parent.value.indexOf(this.value)!==-1}},methods:{handleClick:function(){var t=this.$parent;if(t.multiple){var e=t.value.indexOf(this.value);e===-1?t.value.push(this.value):t.value.splice(e,1)}else t.value=[this.value],t.show=!1}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(48);e.default={props:{header:{type:String},isOpen:{type:Boolean,coerce:i.coerce.boolean,default:null},type:{type:String,default:null},isClick:{type:Boolean,default:!0}},computed:{inAccordion:function(){return this.$parent&&this.$parent._isAccordion},panelType:function(){return"panel-"+(this.type||this.$parent&&this.$parent.type||"default")}},methods:{toggle:function(){this.isClick&&(this.isOpen=!this.isOpen,this.$dispatch("isOpenEvent",this))}},transitions:{collapse:{afterEnter:function(t){t.style.maxHeight="",t.style.overflow=""},beforeLeave:function(t){return t.style.maxHeight=t.offsetHeight+"px",t.style.overflow="hidden",t.offsetHeight}}},created:function(){null===this.isOpen&&(this.isOpen=!this.inAccordion)}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(96),o=i(r);e.default={mixins:[o.default],props:{trigger:{type:String,default:"click"}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),o=i(r);e.default={props:{now:{type:Number,require:!0},label:{type:Boolean,coerce:o.default,default:!1},type:{type:String},striped:{type:Boolean,coerce:o.default,default:!1},animated:{type:Boolean,coerce:o.default,default:!1}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(26),o=i(r),s=n(16),a=i(s),l=n(29),c=i(l),u=n(19),d=i(u);e.default={props:{options:{type:Array,default:function(){return[]}},value:{twoWay:!0},placeholder:{type:String,default:"请选择"},multiple:{type:Boolean,coerce:d.default,default:!1},search:{type:Boolean,coerce:d.default,default:!0},limit:{type:Number,default:1024},closeOnSelect:{type:Boolean,coerce:d.default,default:!1},disabled:{type:Boolean,coerce:d.default,default:!1},attach:{type:String,default:"vuestrap"},enterPush:{type:Boolean,dafault:!1},maxHeight:{type:[Number,String],default:300},minWidth:{type:[Number,String],default:"100%"},valueSingle:{type:Boolean,default:!1},isSelectAll:{type:Boolean,default:!1},filerKey:{default:"id"},direction:{type:String,default:"down"},align:{type:String,default:"left"},width:{type:String,default:"60%"}},ready:function(){var t=this;this.search&&this.multiple&&(this.minWidth="190px"),this.value&&0!==this.value.length?this.value.constructor!==Array?this.valueSingle||(this.value=[this.value]):!this.multiple&&this.value.length>1?this.value=this.value.slice(0,1):this.multiple&&this.value.length>this.limit&&(this.value=this.value.slice(0,this.limit)):this.valueSingle?this.value="":this.value=[];var e=this.$els.dropdown,n=this.$els.btn;this._closeEvent=c.default.listen(window,"mouseup",function(i){e.contains(i.target)||!t.show||n.contains(i.target)||(t.show=!1)})},data:function(){return{left:"0",searchText:null,show:!1,showNotify:!1,paramsData:[]}},computed:{selectedItems:function(){if(!this.value)return"";var t=void 0;t=this.valueSingle?[this.value]:this.value;var e=[];if(t&&t.length){var n=!0,i=!1,r=void 0;try{for(var s,l=(0,a.default)(t);!(n=(s=l.next()).done);n=!0){var c=s.value;if(0===this.options.length)e=t;else if("object"===("undefined"==typeof c?"undefined":(0,o.default)(c))){var u=!0,d=!1,h=void 0;try{for(var f,p=(0,a.default)(this.options);!(u=(f=p.next()).done);u=!0){var m=f.value;if(m.value&&m.value[this.filerKey]===c[this.filerKey]){e.push(m.label);break}}}catch(t){d=!0,h=t}finally{try{!u&&p.return&&p.return()}finally{if(d)throw h}}}else{var g=void 0;this.options.some(function(t){if(t.value===c)return g=t,!0}),g&&e.push(g.label)}}}catch(t){i=!0,r=t}finally{try{!n&&l.return&&l.return()}finally{if(i)throw r}}if(0===e.length||e[0].constructor===Object)return"";var v=e.join(", ");return v}},showPlaceholder:function(){return!this.value||(0===this.value.length||""===this.selectedItems)}},watch:{value:function(t){var e=this;this.$emit("change",t),this.$emit("selected",this.selected),t&&t.length>this.limit&&(this.showNotify=!0,this.value.pop(),setTimeout(function(){return e.showNotify=!1},1e3))},show:function(){this.judgBoundary()}},methods:{selectAll:function(t){var e=this;if(this.isSelectAll=!this.isSelectAll,null===this.searchText)t.forEach(function(t){e.select(t.value,e.isSelectAll)});else{t.filter(function(t){return t.label.includes(e.searchText)}).forEach(function(t){e.select(t.value,e.isSelectAll)})}},select:function(t,e){1==e?(this.multiple&&(this.value.$remove(t),this.value.push(t)),this.closeOnSelect&&this.toggleDropdown()):0==e?(this.multiple&&this.value.$remove(t),this.closeOnSelect&&this.toggleDropdown()):null==e&&(this.valueSingle||!this.value||this.value.indexOf(t)===-1?this.multiple?this.value.push(t):this.valueSingle?this.value=t:this.value=[t]:(this.multiple||this.value)&&this.value.$remove(t),this.closeOnSelect&&this.toggleDropdown()),this.judgBoundary()},isSelected:function(t){return!!this.value&&(this.value.constructor!==Array?this.value==t:this.value.indexOf(t)!==-1)},toggleDropdown:function(){this.width=this.$els.group.clientWidth*this.width+"px",this.show=!this.show},putOptions:function(t){if(this.enterPush){var e=!1;if(this.options.forEach(function(n){t===n.label&&(e=!0)}),!e){var n={label:t,value:t};this.options.push(n)}this.select(t,null)}this.judgBoundary()},judgBoundary:function(){document.documentElement.offsetWidth<this.$els.dropdown.getBoundingClientRect().right&&(this.left=document.documentElement.offsetWidth-this.$els.dropdown.getBoundingClientRect().right-25)}},beforeDestroy:function(){this._closeEvent&&this._closeEvent.remove()}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{index:0,show:!1}},computed:{show:function(){return this.$parent.activeIndex===this.index}},ready:function(){for(var t in this.$parent.$children)if(this.$parent.$children[t].$el==this.$el){this.index=parseInt(t,10);break}this.$parent.indicator.push(this.index),0===this.index&&this.$el.classList.add("active")}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(48),r=100;e.default={props:{size:{type:String,default:"md"},text:{type:String,default:""},fixed:{type:Boolean,coerce:i.coerce.boolean,default:!1}},data:function(){return{active:!1}},computed:{spinnerSize:function(){return this.size?"spinner-"+this.size:"spinner-sm"}},ready:function(){this._body=document.querySelector("body"),this._bodyOverflow=this._body.style.overflowY||""},methods:{getMinWait:function(t){return t=t||0,(new Date).getTime()-this._started.getTime()<r?r-parseInt((new Date).getTime()-this._started.getTime(),10)+t:0+t},show:function(t){t&&t.text&&(this.text=t.text),t&&t.size&&(this.size=t.size),t&&t.fixed&&(this.fixed=t.fixed),this._body.style.overflowY="hidden",this._started=new Date,this.active=!0,this.$root.$broadcast("shown::spinner")},hide:function(){var t=this,e=0;this._spinnerAnimation=setTimeout(function(){t.active=!1,t._body.style.overflowY=t._bodyOverflow,t.$root.$broadcast("hidden::spinner")},this.getMinWait(e))}},events:{"show::spinner":function(t){this.show(t)},"hide::spinner":function(){this.hide()},"start::ajax":function(t){this.show(t)},"end::ajax":function(){this.hide()}},beforeDestroy:function(){clearTimeout(this._spinnerAnimation),this._body.style.overflowY=this._bodyOverflow}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),o=i(r);e.default={props:{header:{type:String},disabled:{type:Boolean,coerce:o.default,default:!1}},data:function(){return{index:0,show:!1}},watch:{header:function(t){var e=this,n=this.$parent.renderData.find(function(t){return t.comp===e});n.header=t}},computed:{show:function(){return this.$parent.active===this.index},transition:function(){return this.$parent.effect}},created:function(){this.$parent.renderData.push({comp:this,header:this.header,disabled:this.disabled})},ready:function(){var t=this;this.index=this.$parent.$children.findIndex(function(e){return e.$el===t.$el})},beforeDestroy:function(){this.$parent.renderData.splice(this.index,1)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(92);e.default={props:{navStyle:{type:String,default:"tabs"},effect:{type:String,default:"fadein"},active:{type:Number,default:0},close:{type:Boolean,default:!0},attach:{type:String,default:"vuestrap"},content:{}},ready:function(){var t=this;i.remove.$on("remove",function(e){console.log("tabset收$on 到的名字为:",e),t.$removeTab(e)})},data:function(){return{renderData:[]}},methods:{handleTabListClick:function(t,e){e.comp._scope&&e.comp._scope.tab&&this.$dispatch("tab-changed",e.comp._scope.tab.comp.name),e.disabled||(this.active=t)},deletetTab:function(t){this.$removeTab(t.comp._scope.tab.comp.name),i.remove.$emit("delete",t.comp._scope.tab.comp.name)},modifyAllIndex:function(t){var e=this,n=this.active;this.$nextTick(function(){for(var i=t;i<e.renderData.length;i++)e.renderData[i].comp.index-=1;e.active>t||e.active===e.renderData.length?e.active=n-1:0===n?e.active=0:e.active=n,e.active===-1?e.$dispatch("tab-changed",null):e.$dispatch("tab-changed",e.renderData[e.active].comp._scope.tab.comp.name)})}},events:{delete:function(t){this.modifyAllIndex(t)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(96),o=i(r);e.default={mixins:[o.default],props:{trigger:{type:String,default:"hover"},effect:{type:String,default:"scale"}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(173),o=i(r),s=n(19),a=i(s),l={created:function(){this.items=this.primitiveData},partials:{default:'<span v-html="item | highlight query"></span>'},props:{data:{type:Array},limit:{type:Number,default:8},async:{type:String},template:{type:String},templateName:{type:String,default:"default"},key:{type:String},matchCase:{type:Boolean,coerce:a.default,default:!1},matchStart:{type:Boolean,coerce:a.default,default:!1},onHit:{type:Function,default:function(t){this.reset(),this.query=t}},placeholder:{type:String},query:{twoWay:!0},contentName:{type:String},selfData:{type:Function}},data:function(){return{showDropdown:!1,noResults:!0,current:0,items:[]}},computed:{primitiveData:function(){var t=this;if(this.data)return this.data.filter(function(e){e=t.matchCase?e:e.toLowerCase(),console.log("type111111",t.matchCase,t.query,e);var n=t.matchCase?t.query:t.query.toLowerCase();return t.matchStart?0===e.indexOf(n):e.indexOf(n)!==-1}).slice(0,this.limit)}},ready:function(){this.templateName&&"default"!==this.templateName&&Vue.partial(this.templateName,this.template)},methods:{update:function(){var t=this;return this.query?(this.selfData?this.selfData().then(function(e){t.items=e,t.showDropdown=!!t.items.length}):this.data&&(this.items=this.primitiveData,this.showDropdown=!!this.items.length),void(this.async&&(0,o.default)(this.async+this.query,function(e){t.items=e[t.key].slice(0,t.limit),t.showDropdown=!!t.items.length}))):(this.reset(),!1)},reset:function(){this.items=[],this.query="",this.loading=!1,this.showDropdown=!1},setActive:function(t){this.current=t},isActive:function(t){return this.current===t},hit:function(t){t.preventDefault(),this.onHit(this.items[this.current],this)},up:function(){this.current>0&&this.current--},down:function(){this.current<this.items.length-1&&this.current++}},filters:{highlight:function(t,e){return t.replace(new RegExp("("+e+")","gi"),"<strong>$1</strong>")}},watch:{"primitiveData[0]":function(t,e){console.log("新值:"+t+",旧值:"+e),console.log(e,t),console.log(this.primitiveData[0]),this.primitiveData[0]||(this.query=e||t)}}};e.default=l},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),o=i(r);e.default={props:{value:{type:String},checked:{type:Boolean,coerce:o.default,default:!1}},computed:{type:function(){return this.$parent.type}},methods:{handleClick:function(){var t=this.$parent,e=t.value.indexOf(this.value);e===-1?t.value.push(this.value):t.value.splice(e,1),this.checked=!this.checked}},created:function(){this.$parent.value.length?this.checked=this.$parent.value.indexOf(this.value)>-1:this.checked&&this.$parent.value.push(this.value)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{value:{type:Array,default:function(){return[]}},type:{type:String,default:"default"}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(19),o=i(r);e.default={props:{value:{type:String},checked:{type:Boolean,coerce:o.default,default:!1}},computed:{type:function(){return this.$parent.type},active:function(){return this.$parent.value===this.value}},methods:{handleClick:function(){this.$parent.value=this.value}},created:function(){}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{value:{type:String,twoWay:!0},type:{type:String,default:"default"}}}},function(t,e,n){t.exports={default:n(294),__esModule:!0}},function(t,e,n){t.exports={default:n(296),__esModule:!0}},function(t,e,n){t.exports={default:n(297),__esModule:!0}},function(t,e,n){t.exports={default:n(299),__esModule:!0}},function(t,e,n){t.exports={default:n(300),__esModule:!0}},function(t,e,n){t.exports={default:n(302),__esModule:!0}},function(t,e,n){t.exports={default:n(303),__esModule:!0}},function(t,e,n){t.exports={default:n(304),__esModule:!0}},function(t,e,n){t.exports={default:n(305),__esModule:!0}},function(t,e,n){t.exports={default:n(307),__esModule:!0}},function(t,e,n){t.exports={default:n(308),__esModule:!0}},function(t,e,n){t.exports={default:n(310),__esModule:!0}},function(t,e,n){var i=function(){return this}()||Function("return this")(),r=i.regeneratorRuntime&&Object.getOwnPropertyNames(i).indexOf("regeneratorRuntime")>=0,o=r&&i.regeneratorRuntime;if(i.regeneratorRuntime=void 0,t.exports=n(290),r)i.regeneratorRuntime=o;else try{delete i.regeneratorRuntime}catch(t){i.regeneratorRuntime=void 0}},function(t,e){!function(e){"use strict";function n(t,e,n,i){var o=e&&e.prototype instanceof r?e:r,s=Object.create(o.prototype),a=new f(i||[]);return s._invoke=c(t,n,a),s}function i(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function r(){}function o(){}function s(){}function a(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function l(t){function e(n,r,o,s){var a=i(t[n],t,r);if("throw"!==a.type){var l=a.arg,c=l.value;return c&&"object"==typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,o,s)},function(t){e("throw",t,o,s)}):Promise.resolve(c).then(function(t){l.value=t,o(l)},s)}s(a.arg)}function n(t,n){function i(){return new Promise(function(i,r){e(t,n,i,r)})}return r=r?r.then(i,i):i()}var r;this._invoke=n}function c(t,e,n){var r=C;return function(o,s){if(r===S)throw new Error("Generator is already running");if(r===F){if("throw"===o)throw s;return m()}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var l=u(a,n);if(l){if(l===D)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===C)throw r=F,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=S;var c=i(t,e,n);if("normal"===c.type){if(r=n.done?F:k,c.arg===D)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=F,n.method="throw",n.arg=c.arg)}}}function u(t,e){var n=t.iterator[e.method];if(n===g){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=g,u(t,e),"throw"===e.method))return D;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return D}var r=i(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,D;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=g),e.delegate=null,D):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,D)}function d(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function h(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function f(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(d,this),this.reset(!0)}function p(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(y.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=g,e.done=!0,e};return i.next=i}}return{next:m}}function m(){return{value:g,done:!0}}var g,v=Object.prototype,y=v.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",A=b.asyncIterator||"@@asyncIterator",x=b.toStringTag||"@@toStringTag",_="object"==typeof t,E=e.regeneratorRuntime;if(E)return void(_&&(t.exports=E));E=e.regeneratorRuntime=_?t.exports:{},E.wrap=n;var C="suspendedStart",k="suspendedYield",S="executing",F="completed",D={},T={};T[w]=function(){return this};var $=Object.getPrototypeOf,B=$&&$($(p([])));B&&B!==v&&y.call(B,w)&&(T=B);var M=s.prototype=r.prototype=Object.create(T);o.prototype=M.constructor=s,s.constructor=o,s[x]=o.displayName="GeneratorFunction",E.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},E.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,x in t||(t[x]="GeneratorFunction")),t.prototype=Object.create(M),t},E.awrap=function(t){return{__await:t}},a(l.prototype),l.prototype[A]=function(){return this},E.AsyncIterator=l,E.async=function(t,e,i,r){var o=new l(n(t,e,i,r));return E.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},a(M),M[x]="Generator",M[w]=function(){return this},M.toString=function(){return"[object Generator]"},E.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},E.values=p,f.prototype={constructor:f,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(h),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=g)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,i){return o.type="throw",o.arg=t,n.next=e,i&&(n.method="next",n.arg=g),!!i}if(this.done)throw t;for(var n=this,i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],o=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var s=y.call(r,"catchLoc"),a=y.call(r,"finallyLoc");if(s&&a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&y.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r.finallyLoc,D):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),D},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),h(n),D}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;h(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:p(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=g),D}}}(function(){return this}()||Function("return this")())},function(t,e,n){n(55),n(331),t.exports=n(4).Array.from},function(t,e,n){n(75),n(55),t.exports=n(330)},function(t,e,n){var i=n(4),r=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},function(t,e,n){n(333),t.exports=n(4).Number.isInteger},function(t,e,n){n(334),t.exports=n(4).Object.assign},function(t,e,n){n(335);var i=n(4).Object;t.exports=function(t,e){return i.create(t,e)}},function(t,e,n){n(336);var i=n(4).Object;t.exports=function(t,e){return i.defineProperties(t,e)}},function(t,e,n){n(337);var i=n(4).Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},function(t,e,n){n(338),t.exports=n(4).Object.freeze},function(t,e,n){n(339);var i=n(4).Object;t.exports=function(t,e){return i.getOwnPropertyDescriptor(t,e)}},function(t,e,n){n(340);var i=n(4).Object;t.exports=function(t){return i.getOwnPropertyNames(t)}},function(t,e,n){n(341),t.exports=n(4).Object.getPrototypeOf},function(t,e,n){n(342),t.exports=n(4).Object.isExtensible},function(t,e,n){n(343),t.exports=n(4).Object.isFrozen},function(t,e,n){n(344),t.exports=n(4).Object.isSealed},function(t,e,n){n(345),t.exports=n(4).Object.keys},function(t,e,n){n(346),t.exports=n(4).Object.preventExtensions},function(t,e,n){n(347),t.exports=n(4).Object.seal},function(t,e,n){n(119),n(55),n(75),n(348),n(350),n(351),t.exports=n(4).Promise},function(t,e,n){n(349),n(119),n(352),n(353),t.exports=n(4).Symbol},function(t,e,n){n(55),n(75),t.exports=n(73).f("iterator")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var i=n(32),r=n(70),o=n(328);t.exports=function(t){return function(e,n,s){var a,l=i(e),c=r(l.length),u=o(s,c);if(t&&n!=n){for(;c>u;)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){"use strict";var i=n(23),r=n(44);t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},function(t,e,n){var i=n(43),r=n(66),o=n(52);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var s,a=n(t),l=o.f,c=0;a.length>c;)l.call(t,s=a[c++])&&e.push(s);return e}},function(t,e,n){var i=n(40),r=n(105),o=n(104),s=n(22),a=n(70),l=n(74),c={},u={},e=t.exports=function(t,e,n,d,h){var f,p,m,g,v=h?function(){return t}:l(t),y=i(n,d,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=a(t.length);f>b;b++)if(g=e?y(s(p=t[b])[0],p[1]):y(t[b]),g===c||g===u)return g}else for(m=v.call(t);!(p=m.next()).done;)if(g=r(m,y,p.value,e),g===c||g===u)return g};e.BREAK=c,e.RETURN=u},function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(39);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(11),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e,n){"use strict";var i=n(65),r=n(44),o=n(53),s={};n(31)(s,n(13)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(10),r=n(118).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,l="process"==n(39)(s);t.exports=function(){var t,e,n,c=function(){var i,r;for(l&&(i=s.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(l)n=function(){s.nextTick(c)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(c)}}else n=function(){r.call(i,c)};else{var d=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},function(t,e,n){"use strict";var i=n(20),r=n(43),o=n(66),s=n(52),a=n(35),l=n(103),c=Object.assign;t.exports=!c||n(34)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i})?function(t,e){for(var n=a(t),c=arguments.length,u=1,d=o.f,h=s.f;c>u;)for(var f,p=l(arguments[u++]),m=d?r(p).concat(d(p)):r(p),g=m.length,v=0;g>v;)f=m[v++],i&&!h.call(p,f)||(n[f]=p[f]);return n}:c},function(t,e,n){var i=n(31);t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},function(t,e,n){"use strict";var i=n(10),r=n(4),o=n(23),s=n(20),a=n(13)("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:i[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(69),r=n(61);t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),l=i(n),c=a.length;return l<0||l>=c?t?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):(o-55296<<10)+(s-56320)+65536)}}},function(t,e,n){var i=n(69),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(10),r=i.navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var i=n(22),r=n(74);t.exports=n(4).getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},function(t,e,n){"use strict";var i=n(40),r=n(17),o=n(35),s=n(105),a=n(104),l=n(70),c=n(315),u=n(74);r(r.S+r.F*!n(107)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,d,h=o(t),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(h);if(g&&(m=i(m,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&a(y))for(e=l(h.length),n=new f(e);e>v;v++)c(n,v,g?m(h[v],v):h[v]);else for(d=y.call(h),n=new f;!(r=d.next()).done;v++)c(n,v,g?s(d,m,[r.value,v],!0):r.value);return n.length=v,n}})},function(t,e,n){"use strict";var i=n(312),r=n(322),o=n(41),s=n(32);t.exports=n(106)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(17);i(i.S,"Number",{isInteger:n(320)})},function(t,e,n){var i=n(17);i(i.S+i.F,"Object",{assign:n(324)})},function(t,e,n){var i=n(17);i(i.S,"Object",{create:n(65)})},function(t,e,n){var i=n(17);i(i.S+i.F*!n(20),"Object",{defineProperties:n(108)})},function(t,e,n){var i=n(17);i(i.S+i.F*!n(20),"Object",{defineProperty:n(23).f})},function(t,e,n){var i=n(11),r=n(51).onFreeze;n(21)("freeze",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){var i=n(32),r=n(109).f;n(21)("getOwnPropertyDescriptor",function(){return function(t,e){return r(i(t),e)}})},function(t,e,n){n(21)("getOwnPropertyNames",function(){return n(110).f})},function(t,e,n){var i=n(35),r=n(112);n(21)("getPrototypeOf",function(){return function(t){return r(i(t))}})},function(t,e,n){var i=n(11);n(21)("isExtensible",function(t){return function(e){return!!i(e)&&(!t||t(e))}})},function(t,e,n){var i=n(11);n(21)("isFrozen",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(11);n(21)("isSealed",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(35),r=n(43);n(21)("keys",function(){return function(t){return r(i(t))}})},function(t,e,n){var i=n(11),r=n(51).onFreeze;n(21)("preventExtensions",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){var i=n(11),r=n(51).onFreeze;n(21)("seal",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){"use strict";var i,r,o,s,a=n(42),l=n(10),c=n(40),u=n(100),d=n(17),h=n(11),f=n(50),p=n(313),m=n(317),g=n(117),v=n(118).set,y=n(323)(),b=n(64),w=n(114),A=n(329),x=n(115),_="Promise",E=l.TypeError,C=l.process,k=C&&C.versions,S=k&&k.v8||"",F=l[_],D="process"==u(C),T=function(){},$=r=b.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[n(13)("species")]=function(t){t(T,T)};return(D||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof e&&0!==S.indexOf("6.6")&&A.indexOf("Chrome/66")===-1}catch(t){}}(),M=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var i=t._v,r=1==t._s,o=0,s=function(e){var n,o,s,a=r?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{a?(r||(2==t._h&&O(t),t._h=1),a===!0?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),s=!0)),n===e.promise?c(E("Promise-chain cycle")):(o=M(n))?o.call(n,l,c):l(n)):c(i)}catch(t){u&&!s&&u.exit(),c(t)}};n.length>o;)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&P(t)})}},P=function(t){v.call(l,function(){var e,n,i,r=t._v,o=L(t);if(o&&(e=w(function(){D?C.emit("unhandledRejection",r,t):(n=l.onunhandledrejection)?n({promise:t,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=D||L(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},O=function(t){v.call(l,function(){var e;D?C.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},j=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(e=M(t))?y(function(){var i={_w:n,_d:!1};try{e.call(t,c(N,i,1),c(j,i,1))}catch(t){j.call(i,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){j.call({_w:n,_d:!1},t)}}};B||(F=function(t){p(this,F,_,"_h"),f(t),i.call(this);try{t(c(N,this,1),c(j,this,1))}catch(t){j.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(325)(F.prototype,{then:function(t,e){var n=$(g(this,F));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=D?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=c(N,t,1),this.reject=c(j,t,1);
|
|
98
|
-
},b.f=$=function(t){return t===F||t===s?new o(t):r(t)}),d(d.G+d.W+d.F*!B,{Promise:F}),n(53)(F,_),n(326)(_),s=n(4)[_],d(d.S+d.F*!B,_,{reject:function(t){var e=$(this),n=e.reject;return n(t),e.promise}}),d(d.S+d.F*(a||!B),_,{resolve:function(t){return x(a&&this===s?F:this,t)}}),d(d.S+d.F*!(B&&n(107)(function(t){F.all(t).catch(T)})),_,{all:function(t){var e=this,n=$(e),i=n.resolve,r=n.reject,o=w(function(){var n=[],o=0,s=1;m(t,!1,function(t){var a=o++,l=!1;n.push(void 0),s++,e.resolve(t).then(function(t){l||(l=!0,n[a]=t,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=$(e),i=n.reject,r=w(function(){m(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},function(t,e,n){"use strict";var i=n(10),r=n(30),o=n(20),s=n(17),a=n(116),l=n(51).KEY,c=n(34),u=n(68),d=n(53),h=n(54),f=n(13),p=n(73),m=n(72),g=n(316),v=n(319),y=n(22),b=n(11),w=n(35),A=n(32),x=n(71),_=n(44),E=n(65),C=n(110),k=n(109),S=n(66),F=n(23),D=n(43),T=k.f,$=F.f,B=C.f,M=i.Symbol,R=i.JSON,P=R&&R.stringify,L="prototype",O=f("_hidden"),j=f("toPrimitive"),N={}.propertyIsEnumerable,I=u("symbol-registry"),H=u("symbols"),V=u("op-symbols"),W=Object[L],z="function"==typeof M&&!!S.f,q=i.QObject,U=!q||!q[L]||!q[L].findChild,G=o&&c(function(){return 7!=E($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=T(W,e);i&&delete W[e],$(t,e,n),i&&t!==W&&$(W,e,i)}:$,K=function(t){var e=H[t]=E(M[L]);return e._k=t,e},Y=z&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},X=function(t,e,n){return t===W&&X(V,e,n),y(t),e=x(e,!0),y(n),r(H,e)?(n.enumerable?(r(t,O)&&t[O][e]&&(t[O][e]=!1),n=E(n,{enumerable:_(0,!1)})):(r(t,O)||$(t,O,_(1,{})),t[O][e]=!0),G(t,e,n)):$(t,e,n)},J=function(t,e){y(t);for(var n,i=g(e=A(e)),r=0,o=i.length;o>r;)X(t,n=i[r++],e[n]);return t},Z=function(t,e){return void 0===e?E(t):J(E(t),e)},Q=function(t){var e=N.call(this,t=x(t,!0));return!(this===W&&r(H,t)&&!r(V,t))&&(!(e||!r(this,t)||!r(H,t)||r(this,O)&&this[O][t])||e)},tt=function(t,e){if(t=A(t),e=x(e,!0),t!==W||!r(H,e)||r(V,e)){var n=T(t,e);return!n||!r(H,e)||r(t,O)&&t[O][e]||(n.enumerable=!0),n}},et=function(t){for(var e,n=B(A(t)),i=[],o=0;n.length>o;)r(H,e=n[o++])||e==O||e==l||i.push(e);return i},nt=function(t){for(var e,n=t===W,i=B(n?V:A(t)),o=[],s=0;i.length>s;)!r(H,e=i[s++])||n&&!r(W,e)||o.push(H[e]);return o};z||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(V,n),r(this,O)&&r(this[O],t)&&(this[O][t]=!1),G(this,t,_(1,n))};return o&&U&&G(W,t,{configurable:!0,set:e}),K(t)},a(M[L],"toString",function(){return this._k}),k.f=tt,F.f=X,n(111).f=C.f=et,n(52).f=Q,S.f=nt,o&&!n(42)&&a(W,"propertyIsEnumerable",Q,!0),p.f=function(t){return K(f(t))}),s(s.G+s.W+s.F*!z,{Symbol:M});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;it.length>rt;)f(it[rt++]);for(var ot=D(f.store),st=0;ot.length>st;)m(ot[st++]);s(s.S+s.F*!z,"Symbol",{for:function(t){return r(I,t+="")?I[t]:I[t]=M(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in I)if(I[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),s(s.S+s.F*!z,"Object",{create:Z,defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=c(function(){S.f(1)});s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return S.f(w(t))}}),R&&s(s.S+s.F*(!z||c(function(){var t=M();return"[null]"!=P([t])||"{}"!=P({a:t})||"{}"!=P(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=e=i[1],(b(e)||void 0!==t)&&!Y(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),i[1]=e,P.apply(R,i)}}),M[L][j]||n(31)(M[L],j,M[L].valueOf),d(M,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(t,e,n){"use strict";var i=n(17),r=n(4),o=n(10),s=n(117),a=n(115);i(i.P+i.R,"Promise",{finally:function(t){var e=s(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var i=n(17),r=n(64),o=n(114);i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){n(72)("asyncIterator")},function(t,e,n){n(72)("observable")},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(36),n(37),n(33),n(9))}(this,function(t){return function(){var e=t,n=e.lib,i=n.BlockCipher,r=e.algo,o=[],s=[],a=[],l=[],c=[],u=[],d=[],h=[],f=[],p=[];!function(){for(var t=[],e=0;e<256;e++)e<128?t[e]=e<<1:t[e]=e<<1^283;for(var n=0,i=0,e=0;e<256;e++){var r=i^i<<1^i<<2^i<<3^i<<4;r=r>>>8^255&r^99,o[n]=r,s[r]=n;var m=t[n],g=t[m],v=t[g],y=257*t[r]^16843008*r;a[n]=y<<24|y>>>8,l[n]=y<<16|y>>>16,c[n]=y<<8|y>>>24,u[n]=y;var y=16843009*v^65537*g^257*m^16843008*n;d[r]=y<<24|y>>>8,h[r]=y<<16|y>>>16,f[r]=y<<8|y>>>24,p[r]=y,n?(n=m^t[t[t[v^m]]],i^=t[t[i]]):n=i=1}}();var m=[0,1,2,4,8,16,32,64,128,27,54],g=r.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,n=t.sigBytes/4,i=this._nRounds=n+6,r=4*(i+1),s=this._keySchedule=[],a=0;a<r;a++)if(a<n)s[a]=e[a];else{var l=s[a-1];a%n?n>6&&a%n==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=l<<8|l>>>24,l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=m[a/n|0]<<24),s[a]=s[a-n]^l}for(var c=this._invKeySchedule=[],u=0;u<r;u++){var a=r-u;if(u%4)var l=s[a];else var l=s[a-4];u<4||a<=4?c[u]=l:c[u]=d[o[l>>>24]]^h[o[l>>>16&255]]^f[o[l>>>8&255]]^p[o[255&l]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,l,c,u,o)},decryptBlock:function(t,e){var n=t[e+1];t[e+1]=t[e+3],t[e+3]=n,this._doCryptBlock(t,e,this._invKeySchedule,d,h,f,p,s);var n=t[e+1];t[e+1]=t[e+3],t[e+3]=n},_doCryptBlock:function(t,e,n,i,r,o,s,a){for(var l=this._nRounds,c=t[e]^n[0],u=t[e+1]^n[1],d=t[e+2]^n[2],h=t[e+3]^n[3],f=4,p=1;p<l;p++){var m=i[c>>>24]^r[u>>>16&255]^o[d>>>8&255]^s[255&h]^n[f++],g=i[u>>>24]^r[d>>>16&255]^o[h>>>8&255]^s[255&c]^n[f++],v=i[d>>>24]^r[h>>>16&255]^o[c>>>8&255]^s[255&u]^n[f++],y=i[h>>>24]^r[c>>>16&255]^o[u>>>8&255]^s[255&d]^n[f++];c=m,u=g,d=v,h=y}var m=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[d>>>8&255]<<8|a[255&h])^n[f++],g=(a[u>>>24]<<24|a[d>>>16&255]<<16|a[h>>>8&255]<<8|a[255&c])^n[f++],v=(a[d>>>24]<<24|a[h>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^n[f++],y=(a[h>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&d])^n[f++];t[e]=m,t[e+1]=g,t[e+2]=v,t[e+3]=y},keySize:8});e.AES=i._createHelper(g)}(),t.AES})},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){return function(){function e(t){return t<<8&4278255360|t>>>8&16711935}var n=t,i=n.lib,r=i.WordArray,o=n.enc;o.Utf16=o.Utf16BE={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r<n;r+=2){var o=e[r>>>2]>>>16-r%4*8&65535;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i++)n[i>>>1]|=t.charCodeAt(i)<<16-i%2*16;return r.create(n,2*e)}};o.Utf16LE={stringify:function(t){for(var n=t.words,i=t.sigBytes,r=[],o=0;o<i;o+=2){var s=e(n[o>>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var n=t.length,i=[],o=0;o<n;o++)i[o>>>1]|=e(t.charCodeAt(o)<<16-o%2*16);return r.create(i,2*n)}}}(),t.enc.Utf16})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return function(e){var n=t,i=n.lib,r=i.CipherParams,o=n.enc,s=o.Hex,a=n.format;a.Hex={stringify:function(t){return t.ciphertext.toString(s)},parse:function(t){var e=s.parse(t);return r.create({ciphertext:e})}}}(),t.format.Hex})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(56),n(358),n(355),n(36),n(37),n(77),n(120),n(374),n(121),n(376),n(375),n(373),n(76),n(369),n(33),n(9),n(359),n(361),n(360),n(363),n(362),n(364),n(365),n(366),n(368),n(367),n(356),n(354),n(377),n(372),n(371),n(370))}(this,function(t){return t})},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){return function(){if("function"==typeof ArrayBuffer){var e=t,n=e.lib,i=n.WordArray,r=i.init,o=i.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,n=[],i=0;i<e;i++)n[i>>>2]|=t[i]<<24-i%4*8;r.call(this,n,e)}else r.apply(this,arguments)};o.prototype=i}}(),t.lib.WordArray})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.mode.CFB=function(){function e(t,e,n,i){var r=this._iv;if(r){var o=r.slice(0);this._iv=void 0}else var o=this._prevBlock;i.encryptBlock(o,0);for(var s=0;s<n;s++)t[e+s]^=o[s]}var n=t.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(t,n){var i=this._cipher,r=i.blockSize;e.call(this,t,n,r,i),this._prevBlock=t.slice(n,n+r)}}),n.Decryptor=n.extend({processBlock:function(t,n){var i=this._cipher,r=i.blockSize,o=t.slice(n,n+r);e.call(this,t,n,r,i),this._prevBlock=o}}),n}(),t.mode.CFB})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){/** @preserve
|
|
99
|
-
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
100
|
-
* derived from CryptoJS.mode.CTR
|
|
101
|
-
* Jan Hruby jhruby.web@gmail.com
|
|
102
|
-
*/
|
|
103
|
-
return t.mode.CTRGladman=function(){function e(t){if(255===(t>>24&255)){var e=t>>16&255,n=t>>8&255,i=255&t;255===e?(e=0,255===n?(n=0,255===i?i=0:++i):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=i}else t+=1<<24;return t}function n(t){return 0===(t[0]=e(t[0]))&&(t[1]=e(t[1])),t}var i=t.lib.BlockCipherMode.extend(),r=i.Encryptor=i.extend({processBlock:function(t,e){var i=this._cipher,r=i.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),n(s);var a=s.slice(0);i.encryptBlock(a,0);for(var l=0;l<r;l++)t[e+l]^=a[l]}});return i.Decryptor=r,i}(),t.mode.CTRGladman})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.mode.CTR=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(t,e){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._counter;r&&(o=this._counter=r.slice(0),this._iv=void 0);var s=o.slice(0);n.encryptBlock(s,0),o[i-1]=o[i-1]+1|0;for(var a=0;a<i;a++)t[e+a]^=s[a]}});return e.Decryptor=n,e}(),t.mode.CTR})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.mode.ECB=function(){var e=t.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),e.Decryptor=e.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),e}(),t.mode.ECB})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.mode.OFB=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(t,e){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._keystream;r&&(o=this._keystream=r.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var s=0;s<i;s++)t[e+s]^=o[s]}});return e.Decryptor=n,e}(),t.mode.OFB})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.pad.AnsiX923={pad:function(t,e){var n=t.sigBytes,i=4*e,r=i-n%i,o=n+r-1;t.clamp(),t.words[o>>>2]|=r<<24-o%4*8,t.sigBytes+=r},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Ansix923})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.pad.Iso10126={pad:function(e,n){var i=4*n,r=i-e.sigBytes%i;e.concat(t.lib.WordArray.random(r-1)).concat(t.lib.WordArray.create([r<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Iso10126})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.pad.Iso97971={pad:function(e,n){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,n)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(9))}(this,function(t){return t.pad.ZeroPadding={pad:function(t,e){var n=4*e;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){for(var e=t.words,n=t.sigBytes-1;!(e[n>>>2]>>>24-n%4*8&255);)n--;t.sigBytes=n+1}},t.pad.ZeroPadding})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(77),n(76))}(this,function(t){return function(){var e=t,n=e.lib,i=n.Base,r=n.WordArray,o=e.algo,s=o.SHA1,a=o.HMAC,l=o.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var n=this.cfg,i=a.create(n.hasher,t),o=r.create(),s=r.create([1]),l=o.words,c=s.words,u=n.keySize,d=n.iterations;l.length<u;){var h=i.update(e).finalize(s);i.reset();for(var f=h.words,p=f.length,m=h,g=1;g<d;g++){m=i.finalize(m),i.reset();for(var v=m.words,y=0;y<p;y++)f[y]^=v[y]}o.concat(h),c[0]++}return o.sigBytes=4*u,o}});e.PBKDF2=function(t,e,n){return l.create(n).compute(t,e)}}(),t.PBKDF2})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(36),n(37),n(33),n(9))}(this,function(t){return function(){function e(){for(var t=this._X,e=this._C,n=0;n<8;n++)a[n]=e[n];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<a[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<a[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<a[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<a[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<a[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<a[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<a[6]>>>0?1:0)|0,this._b=e[7]>>>0<a[7]>>>0?1:0;for(var n=0;n<8;n++){var i=t[n]+e[n],r=65535&i,o=i>>>16,s=((r*r>>>17)+r*o>>>15)+o*o,c=((4294901760&i)*i|0)+((65535&i)*i|0);l[n]=s^c}t[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,t[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,t[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,t[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,t[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,t[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,t[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,t[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}var n=t,i=n.lib,r=i.StreamCipher,o=n.algo,s=[],a=[],l=[],c=o.RabbitLegacy=r.extend({_doReset:function(){var t=this._key.words,n=this.cfg.iv,i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],r=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)e.call(this);for(var o=0;o<8;o++)r[o]^=i[o+4&7];if(n){var s=n.words,a=s[0],l=s[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;r[0]^=c,r[1]^=d,r[2]^=u,r[3]^=h,r[4]^=c,r[5]^=d,r[6]^=u,r[7]^=h;for(var o=0;o<4;o++)e.call(this)}},_doProcessBlock:function(t,n){var i=this._X;e.call(this),s[0]=i[0]^i[5]>>>16^i[3]<<16,s[1]=i[2]^i[7]>>>16^i[5]<<16,s[2]=i[4]^i[1]>>>16^i[7]<<16,s[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)s[r]=16711935&(s[r]<<8|s[r]>>>24)|4278255360&(s[r]<<24|s[r]>>>8),t[n+r]^=s[r]},blockSize:4,ivSize:2});n.RabbitLegacy=r._createHelper(c)}(),t.RabbitLegacy})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(36),n(37),n(33),n(9))}(this,function(t){return function(){function e(){for(var t=this._X,e=this._C,n=0;n<8;n++)a[n]=e[n];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<a[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<a[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<a[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<a[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<a[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<a[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<a[6]>>>0?1:0)|0,this._b=e[7]>>>0<a[7]>>>0?1:0;for(var n=0;n<8;n++){var i=t[n]+e[n],r=65535&i,o=i>>>16,s=((r*r>>>17)+r*o>>>15)+o*o,c=((4294901760&i)*i|0)+((65535&i)*i|0);l[n]=s^c}t[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,t[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,t[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,t[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,t[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,t[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,t[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,t[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}var n=t,i=n.lib,r=i.StreamCipher,o=n.algo,s=[],a=[],l=[],c=o.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,n=this.cfg.iv,i=0;i<4;i++)t[i]=16711935&(t[i]<<8|t[i]>>>24)|4278255360&(t[i]<<24|t[i]>>>8);var r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var i=0;i<4;i++)e.call(this);for(var i=0;i<8;i++)o[i]^=r[i+4&7];if(n){var s=n.words,a=s[0],l=s[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;o[0]^=c,o[1]^=d,o[2]^=u,o[3]^=h,o[4]^=c,o[5]^=d,o[6]^=u,o[7]^=h;for(var i=0;i<4;i++)e.call(this)}},_doProcessBlock:function(t,n){var i=this._X;e.call(this),s[0]=i[0]^i[5]>>>16^i[3]<<16,s[1]=i[2]^i[7]>>>16^i[5]<<16,s[2]=i[4]^i[1]>>>16^i[7]<<16,s[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)s[r]=16711935&(s[r]<<8|s[r]>>>24)|4278255360&(s[r]<<24|s[r]>>>8),t[n+r]^=s[r]},blockSize:4,ivSize:2});n.Rabbit=r._createHelper(c)}(),t.Rabbit})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(36),n(37),n(33),n(9))}(this,function(t){return function(){function e(){for(var t=this._S,e=this._i,n=this._j,i=0,r=0;r<4;r++){e=(e+1)%256,n=(n+t[e])%256;var o=t[e];t[e]=t[n],t[n]=o,i|=t[(t[e]+t[n])%256]<<24-8*r}return this._i=e,this._j=n,i}var n=t,i=n.lib,r=i.StreamCipher,o=n.algo,s=o.RC4=r.extend({_doReset:function(){for(var t=this._key,e=t.words,n=t.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;for(var r=0,o=0;r<256;r++){var s=r%n,a=e[s>>>2]>>>24-s%4*8&255;o=(o+i[r]+a)%256;var l=i[r];i[r]=i[o],i[o]=l}this._i=this._j=0},_doProcessBlock:function(t,n){t[n]^=e.call(this)},keySize:8,ivSize:0});n.RC4=r._createHelper(s);var a=o.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)e.call(this)}});n.RC4Drop=r._createHelper(a)}(),t.RC4})},function(t,e,n){!function(i,r){t.exports=e=r(n(3))}(this,function(t){/** @preserve
|
|
104
|
-
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
105
|
-
|
|
106
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
107
|
-
|
|
108
|
-
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
109
|
-
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
110
|
-
|
|
111
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
112
|
-
*/
|
|
113
|
-
return function(e){function n(t,e,n){return t^e^n}function i(t,e,n){return t&e|~t&n}function r(t,e,n){return(t|~e)^n}function o(t,e,n){return t&n|e&~n}function s(t,e,n){return t^(e|~n)}function a(t,e){return t<<e|t>>>32-e}var l=t,c=l.lib,u=c.WordArray,d=c.Hasher,h=l.algo,f=u.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),p=u.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),m=u.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),g=u.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),v=u.create([0,1518500249,1859775393,2400959708,2840853838]),y=u.create([1352829926,1548603684,1836072691,2053994217,0]),b=h.RIPEMD160=d.extend({_doReset:function(){this._hash=u.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var l=0;l<16;l++){var c=e+l,u=t[c];t[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}var d,h,b,w,A,x,_,E,C,k,S=this._hash.words,F=v.words,D=y.words,T=f.words,$=p.words,B=m.words,M=g.words;x=d=S[0],_=h=S[1],E=b=S[2],C=w=S[3],k=A=S[4];for(var R,l=0;l<80;l+=1)R=d+t[e+T[l]]|0,R+=l<16?n(h,b,w)+F[0]:l<32?i(h,b,w)+F[1]:l<48?r(h,b,w)+F[2]:l<64?o(h,b,w)+F[3]:s(h,b,w)+F[4],R|=0,R=a(R,B[l]),R=R+A|0,d=A,A=w,w=a(b,10),b=h,h=R,R=x+t[e+$[l]]|0,R+=l<16?s(_,E,C)+D[0]:l<32?o(_,E,C)+D[1]:l<48?r(_,E,C)+D[2]:l<64?i(_,E,C)+D[3]:n(_,E,C)+D[4],R|=0,R=a(R,M[l]),R=R+k|0,x=k,k=C,C=a(E,10),E=_,_=R;R=S[1]+b+C|0,S[1]=S[2]+w+k|0,S[2]=S[3]+A+x|0,S[3]=S[4]+d+_|0,S[4]=S[0]+h+E|0,S[0]=R},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32,e[(i+64>>>9<<4)+14]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(e.length+1),this._process();for(var r=this._hash,o=r.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return r},clone:function(){var t=d.clone.call(this);return t._hash=this._hash.clone(),t}});l.RIPEMD160=d._createHelper(b),l.HmacRIPEMD160=d._createHmacHelper(b)}(Math),t.RIPEMD160})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(120))}(this,function(t){return function(){var e=t,n=e.lib,i=n.WordArray,r=e.algo,o=r.SHA256,s=r.SHA224=o.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=o._doFinalize.call(this);return t.sigBytes-=4,t}});e.SHA224=o._createHelper(s),e.HmacSHA224=o._createHmacHelper(s)}(),t.SHA224})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(56))}(this,function(t){return function(e){var n=t,i=n.lib,r=i.WordArray,o=i.Hasher,s=n.x64,a=s.Word,l=n.algo,c=[],u=[],d=[];!function(){for(var t=1,e=0,n=0;n<24;n++){c[t+5*e]=(n+1)*(n+2)/2%64;var i=e%5,r=(2*t+3*e)%5;t=i,e=r}for(var t=0;t<5;t++)for(var e=0;e<5;e++)u[t+5*e]=e+(2*t+3*e)%5*5;for(var o=1,s=0;s<24;s++){for(var l=0,h=0,f=0;f<7;f++){if(1&o){var p=(1<<f)-1;p<32?h^=1<<p:l^=1<<p-32}128&o?o=o<<1^113:o<<=1}d[s]=a.create(l,h)}}();var h=[];!function(){for(var t=0;t<25;t++)h[t]=a.create()}();var f=l.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var n=this._state,i=this.blockSize/2,r=0;r<i;r++){var o=t[e+2*r],s=t[e+2*r+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);var a=n[r];a.high^=s,a.low^=o}for(var l=0;l<24;l++){for(var f=0;f<5;f++){for(var p=0,m=0,g=0;g<5;g++){var a=n[f+5*g];p^=a.high,m^=a.low}var v=h[f];v.high=p,v.low=m}for(var f=0;f<5;f++)for(var y=h[(f+4)%5],b=h[(f+1)%5],w=b.high,A=b.low,p=y.high^(w<<1|A>>>31),m=y.low^(A<<1|w>>>31),g=0;g<5;g++){var a=n[f+5*g];a.high^=p,a.low^=m}for(var x=1;x<25;x++){var a=n[x],_=a.high,E=a.low,C=c[x];if(C<32)var p=_<<C|E>>>32-C,m=E<<C|_>>>32-C;else var p=E<<C-32|_>>>64-C,m=_<<C-32|E>>>64-C;var k=h[u[x]];k.high=p,k.low=m}var S=h[0],F=n[0];S.high=F.high,S.low=F.low;for(var f=0;f<5;f++)for(var g=0;g<5;g++){var x=f+5*g,a=n[x],D=h[x],T=h[(f+1)%5+5*g],$=h[(f+2)%5+5*g];a.high=D.high^~T.high&$.high,a.low=D.low^~T.low&$.low}var a=n[0],B=d[l];a.high^=B.high,a.low^=B.low}},_doFinalize:function(){var t=this._data,n=t.words,i=(8*this._nDataBytes,8*t.sigBytes),o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(e.ceil((i+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,l=a/8,c=[],u=0;u<l;u++){var d=s[u],h=d.high,f=d.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c.push(f),c.push(h)}return new r.init(c,a)},clone:function(){for(var t=o.clone.call(this),e=t._state=this._state.slice(0),n=0;n<25;n++)e[n]=e[n].clone();return t}});n.SHA3=o._createHelper(f),n.HmacSHA3=o._createHmacHelper(f)}(Math),t.SHA3})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(56),n(121))}(this,function(t){return function(){var e=t,n=e.x64,i=n.Word,r=n.WordArray,o=e.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new r.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var t=s._doFinalize.call(this);return t.sigBytes-=16,t}});e.SHA384=s._createHelper(a),e.HmacSHA384=s._createHmacHelper(a)}(),t.SHA384})},function(t,e,n){!function(i,r,o){t.exports=e=r(n(3),n(36),n(37),n(33),n(9))}(this,function(t){return function(){function e(t,e){var n=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=n,this._lBlock^=n<<t}function n(t,e){var n=(this._rBlock>>>t^this._lBlock)&e;this._lBlock^=n,this._rBlock^=n<<t}var i=t,r=i.lib,o=r.WordArray,s=r.BlockCipher,a=i.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=a.DES=s.extend({_doReset:function(){for(var t=this._key,e=t.words,n=[],i=0;i<56;i++){var r=l[i]-1;n[i]=e[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],s=0;s<16;s++){for(var a=o[s]=[],d=u[s],i=0;i<24;i++)a[i/6|0]|=n[(c[i]-1+d)%28]<<31-i%6,a[4+(i/6|0)]|=n[28+(c[i+24]-1+d)%28]<<31-i%6;a[0]=a[0]<<1|a[0]>>>31;for(var i=1;i<7;i++)a[i]=a[i]>>>4*(i-1)+3;a[7]=a[7]<<5|a[7]>>>27}for(var h=this._invSubKeys=[],i=0;i<16;i++)h[i]=o[15-i]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(t,i,r){this._lBlock=t[i],this._rBlock=t[i+1],e.call(this,4,252645135),e.call(this,16,65535),n.call(this,2,858993459),n.call(this,8,16711935),e.call(this,1,1431655765);for(var o=0;o<16;o++){for(var s=r[o],a=this._lBlock,l=this._rBlock,c=0,u=0;u<8;u++)c|=d[u][((l^s[u])&h[u])>>>0];this._lBlock=l,this._rBlock=a^c}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,e.call(this,1,1431655765),n.call(this,8,16711935),n.call(this,2,858993459),e.call(this,16,65535),e.call(this,4,252645135),t[i]=this._lBlock,t[i+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});i.DES=s._createHelper(f);var p=a.TripleDES=s.extend({_doReset:function(){var t=this._key,e=t.words;this._des1=f.createEncryptor(o.create(e.slice(0,2))),this._des2=f.createEncryptor(o.create(e.slice(2,4))),this._des3=f.createEncryptor(o.create(e.slice(4,6)))},encryptBlock:function(t,e){this._des1.encryptBlock(t,e),this._des2.decryptBlock(t,e),this._des3.encryptBlock(t,e)},decryptBlock:function(t,e){this._des3.decryptBlock(t,e),this._des2.encryptBlock(t,e),this._des1.decryptBlock(t,e)},keySize:6,ivSize:2,blockSize:2});i.TripleDES=s._createHelper(p)}(),t.TripleDES})},function(t,e,n){e=t.exports=n(82)(),e.push([t.id,'article,aside,body,div,html,section{height:100%}.auto{height:auto}.full{height:100%}.flex{display:flex;flex-direction:column}.span{flex-grow:1;height:100%;overflow-x:hidden}.flex-row{display:flex;flex-direction:row}.flex-between{display:flex;justify-content:space-between}.over{overflow-y:auto}.tablelock1 thead{display:block;width:200px}.fs17{font-size:1.1em}.fs19{font-size:1.2em}.fs24{font-size:1.5em}.fs26{font-size:1.6em}.b{font-weight:700}.cc{text-align:center}.cl{text-align:left}.cr{text-align:right}.cb{border:1px solid #000}.cbb{border:2px solid #000}.tablelock1 tbody{overflow-x:hidden;overflow-y:auto;position:absolute;display:block;width:200px;height:200px}.tablelock1 td,.tablelock1 th{width:50px}.tableprint{font-size:15px;border-width:2px solid #000;border-collapse:collapse}.tableprint td{border:1px solid #000;border-collapse:collapse}.tdright{text-align:right}.reporttable,.tdcenter{text-align:center}.reporttable{width:100%;font-size:15px}.reporttable>tbody>tr>td,.reporttable>tbody>tr>th,.reporttable>tfoot>tr>td,.reporttable>tfoot>tr>th,.reporttable>thead>tr>td,.reporttable>thead>tr>th{border:1px solid #000;text-align:center}.divide{width:20px;height:100%}.nopadding{padding:0!important}#charts div{height:auto}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.15);height:50px;outline-offset:-2px;-webkit-border-radius:4px;position:relative;left:8px}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4);height:50px;-webkit-border-radius:4px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track-piece{background-color:hsla(0,0%,100%,0);-webkit-border-radius:0}.magic-checkbox,.magic-radio{position:absolute;display:none}.magic-checkbox[disabled],.magic-radio[disabled]{cursor:not-allowed}.magic-checkbox+label,.magic-radio+label{position:relative;display:block;padding-left:30px;cursor:pointer;vertical-align:middle;text-align:left}.magic-checkbox+label:hover:before,.magic-radio+label:hover:before{animation-duration:.4s;animation-fill-mode:both;animation-name:hover-color}.magic-checkbox+label:before,.magic-radio+label:before{position:absolute;top:0;left:0;display:inline-block;width:20px;height:20px;content:"";border:1px solid silver}.magic-checkbox+label:after,.magic-radio+label:after{position:absolute;display:none;content:""}.magic-checkbox[disabled]+label,.magic-radio[disabled]+label{cursor:not-allowed;color:#e4e4e4}.magic-checkbox[disabled]+label:after,.magic-checkbox[disabled]+label:before,.magic-checkbox[disabled]+label:hover,.magic-radio[disabled]+label:after,.magic-radio[disabled]+label:before,.magic-radio[disabled]+label:hover{cursor:not-allowed}.magic-checkbox[disabled]+label:hover:before,.magic-radio[disabled]+label:hover:before{border:1px solid #e4e4e4;animation-name:none}.magic-checkbox[disabled]+label:before,.magic-radio[disabled]+label:before{border-color:#e4e4e4}.magic-checkbox:checked+label:before,.magic-radio:checked+label:before{animation-name:none}.magic-checkbox:checked+label:after,.magic-radio:checked+label:after{display:block}.magic-radio+label:before{border-radius:50%}.magic-radio+label:after{top:4px;left:4px;width:12px;height:12px;border-radius:50%;background:#98cfee}.magic-radio:checked+label:before{border:2px solid #98cfee}.magic-radio:checked[disabled]+label:before{border:2px solid #c9e2f9}.magic-checkbox+label:before{border-radius:3px}.magic-checkbox+label:after{top:2px;left:7px;box-sizing:border-box;width:6px;height:12px;transform:rotate(45deg);border:2px solid #fff;border-top:0;border-left:0}.magic-checkbox:checked+label:before{border:#98cfee;background:#98cfee}.magic-checkbox:checked[disabled]+label:before{border:#c9e2f9;background:#c9e2f9}#panel-footer{display:flex}#panel-footer button{flex:1;line-height:30px;background:#efefef;opacity:.6;text-align:center;cursor:pointer;font-weight:400;border:none;color:#333}#panel-footer button:hover{color:blue;background:#d9edf7}#panel-footer button:focus{outline:none}#panel-footer button+button{border-left:2px solid #ccc}#panel-footer .panel #panel-footer .panel-body span{display:block}#panel-footer .panel #panel-footer .panel-title h2,#panel-footer .panel #panel-footer .panel-title h3,#panel-footer .panel #panel-footer .panel-title h4,#panel-footer .panel #panel-footer .panel-title h5{display:inline-block;margin-top:0;margin-bottom:0}',""])},function(t,e,n){e=t.exports=n(82)(),e.push([t.id,'div.jsoneditor .jsoneditor-search input{height:auto;border:inherit}div.jsoneditor .jsoneditor-search input:focus{border:none!important;box-shadow:none!important}div.jsoneditor table{border-collapse:collapse;width:auto}div.jsoneditor td,div.jsoneditor th{padding:0;display:table-cell;text-align:left;vertical-align:inherit;border-radius:inherit}div.jsoneditor-field,div.jsoneditor-readonly,div.jsoneditor-value{border:1px solid transparent;min-height:16px;min-width:32px;padding:2px;margin:1px;word-wrap:break-word;float:left}div.jsoneditor-field p,div.jsoneditor-value p{margin:0}div.jsoneditor-value{word-break:break-word}div.jsoneditor-readonly{min-width:16px;color:gray}div.jsoneditor-empty{border-color:#d3d3d3;border-style:dashed;border-radius:2px}div.jsoneditor-field.jsoneditor-empty:after,div.jsoneditor-value.jsoneditor-empty:after{pointer-events:none;color:#d3d3d3;font-size:8pt}div.jsoneditor-field.jsoneditor-empty:after{content:"field"}div.jsoneditor-value.jsoneditor-empty:after{content:"value"}a.jsoneditor-value.jsoneditor-url,div.jsoneditor-value.jsoneditor-url{color:green;text-decoration:underline}a.jsoneditor-value.jsoneditor-url{display:inline-block;padding:2px;margin:2px}a.jsoneditor-value.jsoneditor-url:focus,a.jsoneditor-value.jsoneditor-url:hover{color:#ee422e}div.jsoneditor td.jsoneditor-separator{padding:3px 0;vertical-align:top;color:gray}div.jsoneditor-field.jsoneditor-highlight,div.jsoneditor-field[contenteditable=true]:focus,div.jsoneditor-field[contenteditable=true]:hover,div.jsoneditor-value.jsoneditor-highlight,div.jsoneditor-value[contenteditable=true]:focus,div.jsoneditor-value[contenteditable=true]:hover{background-color:#ffffab;border:1px solid #ff0;border-radius:2px}div.jsoneditor-field.jsoneditor-highlight-active,div.jsoneditor-field.jsoneditor-highlight-active:focus,div.jsoneditor-field.jsoneditor-highlight-active:hover,div.jsoneditor-value.jsoneditor-highlight-active,div.jsoneditor-value.jsoneditor-highlight-active:focus,div.jsoneditor-value.jsoneditor-highlight-active:hover{background-color:#fe0;border:1px solid #ffc700;border-radius:2px}div.jsoneditor-value.jsoneditor-string{color:green}div.jsoneditor-value.jsoneditor-array,div.jsoneditor-value.jsoneditor-object{min-width:16px;color:gray}div.jsoneditor-value.jsoneditor-number{color:#ee422e}div.jsoneditor-value.jsoneditor-boolean{color:#ff8c00}div.jsoneditor-value.jsoneditor-null{color:#004ed0}div.jsoneditor-value.jsoneditor-invalid{color:#000}div.jsoneditor-tree button{width:24px;height:24px;padding:0;margin:0;border:none;cursor:pointer;background:transparent url('+n(27)+")}div.jsoneditor-mode-form tr.jsoneditor-expandable td.jsoneditor-tree,div.jsoneditor-mode-view tr.jsoneditor-expandable td.jsoneditor-tree{cursor:pointer}div.jsoneditor-tree button.jsoneditor-collapsed{background-position:0 -48px}div.jsoneditor-tree button.jsoneditor-expanded{background-position:0 -72px}div.jsoneditor-tree button.jsoneditor-contextmenu{background-position:-48px -72px}div.jsoneditor-tree button.jsoneditor-contextmenu.jsoneditor-selected,div.jsoneditor-tree button.jsoneditor-contextmenu:focus,div.jsoneditor-tree button.jsoneditor-contextmenu:hover,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu{background-position:-48px -48px}div.jsoneditor-tree :focus{outline:none}div.jsoneditor-tree button:focus{background-color:#f5f5f5;outline:1px solid #e5e5e5}div.jsoneditor-tree button.jsoneditor-invisible{visibility:hidden;background:none}div.jsoneditor{color:#1a1a1a;border:1px solid #3883fa;box-sizing:border-box;width:100%;height:100%;overflow:hidden;position:relative;padding:0;line-height:100%}div.jsoneditor-tree table.jsoneditor-tree{border-collapse:collapse;border-spacing:0;width:100%;margin:0}div.jsoneditor-outer{position:static;width:100%;height:100%;margin:-35px 0 0;padding:35px 0 0;box-sizing:border-box}.ace-jsoneditor,textarea.jsoneditor-text{min-height:150px}div.jsoneditor-tree{width:100%;height:100%;position:relative;overflow:auto}textarea.jsoneditor-text{width:100%;height:100%;margin:0;box-sizing:border-box;outline-width:0;border:none;background-color:#fff;resize:none}tr.jsoneditor-highlight,tr.jsoneditor-selected{background-color:#e6e6e6}tr.jsoneditor-selected button.jsoneditor-contextmenu,tr.jsoneditor-selected button.jsoneditor-dragarea{visibility:hidden}tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea{visibility:visible}div.jsoneditor-tree button.jsoneditor-dragarea{background:url("+n(27)+") -72px -72px;cursor:move}div.jsoneditor-tree button.jsoneditor-dragarea:focus,div.jsoneditor-tree button.jsoneditor-dragarea:hover,tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea{background-position:-72px -48px}div.jsoneditor td,div.jsoneditor th,div.jsoneditor tr{padding:0;margin:0}div.jsoneditor td,div.jsoneditor td.jsoneditor-tree{vertical-align:top}.jsoneditor-schema-error,div.jsoneditor-field,div.jsoneditor-value,div.jsoneditor td,div.jsoneditor textarea,div.jsoneditor th{font-family:droid sans mono,consolas,monospace,courier new,courier,sans-serif;font-size:10pt;color:#1a1a1a}.jsoneditor-schema-error{cursor:default;display:inline-block;height:24px;line-height:24px;position:relative;text-align:center;width:24px}div.jsoneditor-tree .jsoneditor-schema-error{width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url("+n(27)+') -168px -48px}.jsoneditor-schema-error .jsoneditor-popover{background-color:#4c4c4c;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,.4);color:#fff;display:none;padding:7px 10px;position:absolute;width:200px;z-index:4}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-above{bottom:32px;left:-98px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-below{top:32px;left:-98px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left{top:-7px;right:32px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right{top:-7px;left:32px}.jsoneditor-schema-error .jsoneditor-popover:before{border-right:7px solid transparent;border-left:7px solid transparent;content:"";display:block;left:50%;margin-left:-7px;position:absolute}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-above:before{border-top:7px solid #4c4c4c;bottom:-7px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-below:before{border-bottom:7px solid #4c4c4c;top:-7px}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left:before{border-left:7px solid #4c4c4c;right:-14px;left:inherit}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left:before,.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right:before{border-top:7px solid transparent;border-bottom:7px solid transparent;content:"";top:19px;margin-left:inherit;margin-top:-7px;position:absolute}.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right:before{border-right:7px solid #4c4c4c;left:-14px}.jsoneditor-schema-error:focus .jsoneditor-popover,.jsoneditor-schema-error:hover .jsoneditor-popover{display:block;-webkit-animation:fade-in .3s linear 1,move-up .3s linear 1;-moz-animation:fade-in .3s linear 1,move-up .3s linear 1;-ms-animation:fade-in .3s linear 1,move-up .3s linear 1}.jsoneditor .jsoneditor-text-errors{width:100%;border-collapse:collapse;background-color:#ffef8b;border-top:1px solid gold}.jsoneditor .jsoneditor-text-errors td{padding:3px 6px;vertical-align:middle}.jsoneditor-text-errors .jsoneditor-schema-error{border:none;width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url('+n(27)+") -168px -48px}div.jsoneditor-contextmenu-root{position:relative;width:0;height:0}div.jsoneditor-contextmenu{position:absolute;box-sizing:content-box;z-index:99999}div.jsoneditor-contextmenu li,div.jsoneditor-contextmenu ul{box-sizing:content-box}div.jsoneditor-contextmenu ul{position:relative;left:0;top:0;width:124px;background:#fff;border:1px solid #d3d3d3;box-shadow:2px 2px 12px hsla(0,0%,50%,.3);list-style:none;margin:0;padding:0}div.jsoneditor-contextmenu ul li button{padding:0;margin:0;width:124px;height:24px;border:none;cursor:pointer;color:#4d4d4d;background:transparent;font-size:10pt;font-family:arial,sans-serif;box-sizing:border-box;line-height:26px;text-align:left}div.jsoneditor-contextmenu ul li button::-moz-focus-inner{padding:0;border:0}div.jsoneditor-contextmenu ul li button:focus,div.jsoneditor-contextmenu ul li button:hover{color:#1a1a1a;background-color:#f5f5f5;outline:none}div.jsoneditor-contextmenu ul li button.jsoneditor-default{width:92px}div.jsoneditor-contextmenu ul li button.jsoneditor-expand{float:right;width:32px;height:24px;border-left:1px solid #e5e5e5}div.jsoneditor-contextmenu div.jsoneditor-icon{float:left;width:24px;height:24px;border:none;padding:0;margin:0;background-image:url("+n(27)+")}div.jsoneditor-contextmenu ul li button div.jsoneditor-expand{float:right;width:24px;height:24px;padding:0;margin:0 4px 0 0;background:url("+n(27)+") 0 -72px;opacity:.4}div.jsoneditor-contextmenu ul li.jsoneditor-selected div.jsoneditor-expand,div.jsoneditor-contextmenu ul li button.jsoneditor-expand:focus div.jsoneditor-expand,div.jsoneditor-contextmenu ul li button.jsoneditor-expand:hover div.jsoneditor-expand,div.jsoneditor-contextmenu ul li button:focus div.jsoneditor-expand,div.jsoneditor-contextmenu ul li button:hover div.jsoneditor-expand{opacity:1}div.jsoneditor-contextmenu div.jsoneditor-separator{height:0;border-top:1px solid #e5e5e5;padding-top:5px;margin-top:5px}div.jsoneditor-contextmenu button.jsoneditor-remove>div.jsoneditor-icon{background-position:-24px -24px}div.jsoneditor-contextmenu button.jsoneditor-remove:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-remove:hover>div.jsoneditor-icon{background-position:-24px 0}div.jsoneditor-contextmenu button.jsoneditor-append>div.jsoneditor-icon{background-position:0 -24px}div.jsoneditor-contextmenu button.jsoneditor-append:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-append:hover>div.jsoneditor-icon{background-position:0 0}div.jsoneditor-contextmenu button.jsoneditor-insert>div.jsoneditor-icon{background-position:0 -24px}div.jsoneditor-contextmenu button.jsoneditor-insert:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-insert:hover>div.jsoneditor-icon{background-position:0 0}div.jsoneditor-contextmenu button.jsoneditor-duplicate>div.jsoneditor-icon{background-position:-48px -24px}div.jsoneditor-contextmenu button.jsoneditor-duplicate:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-duplicate:hover>div.jsoneditor-icon{background-position:-48px 0}div.jsoneditor-contextmenu button.jsoneditor-sort-asc>div.jsoneditor-icon{background-position:-168px -24px}div.jsoneditor-contextmenu button.jsoneditor-sort-asc:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-sort-asc:hover>div.jsoneditor-icon{background-position:-168px 0}div.jsoneditor-contextmenu button.jsoneditor-sort-desc>div.jsoneditor-icon{background-position:-192px -24px}div.jsoneditor-contextmenu button.jsoneditor-sort-desc:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-sort-desc:hover>div.jsoneditor-icon{background-position:-192px 0}div.jsoneditor-contextmenu ul li button.jsoneditor-selected,div.jsoneditor-contextmenu ul li button.jsoneditor-selected:focus,div.jsoneditor-contextmenu ul li button.jsoneditor-selected:hover{color:#fff;background-color:#ee422e}div.jsoneditor-contextmenu ul li{overflow:hidden}div.jsoneditor-contextmenu ul li ul{display:none;position:relative;left:-10px;top:0;border:none;box-shadow:inset 0 0 10px hsla(0,0%,50%,.5);padding:0 10px;transition:all .3s ease-out}div.jsoneditor-contextmenu ul li ul li button{padding-left:24px;animation:all ease-in-out 1s}div.jsoneditor-contextmenu ul li ul li button:focus,div.jsoneditor-contextmenu ul li ul li button:hover{background-color:#f5f5f5}div.jsoneditor-contextmenu button.jsoneditor-type-string>div.jsoneditor-icon{background-position:-144px -24px}div.jsoneditor-contextmenu button.jsoneditor-type-string.jsoneditor-selected>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-string:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-string:hover>div.jsoneditor-icon{background-position:-144px 0}div.jsoneditor-contextmenu button.jsoneditor-type-auto>div.jsoneditor-icon{background-position:-120px -24px}div.jsoneditor-contextmenu button.jsoneditor-type-auto.jsoneditor-selected>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-auto:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-auto:hover>div.jsoneditor-icon{background-position:-120px 0}div.jsoneditor-contextmenu button.jsoneditor-type-object>div.jsoneditor-icon{background-position:-72px -24px}div.jsoneditor-contextmenu button.jsoneditor-type-object.jsoneditor-selected>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-object:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-object:hover>div.jsoneditor-icon{background-position:-72px 0}div.jsoneditor-contextmenu button.jsoneditor-type-array>div.jsoneditor-icon{background-position:-96px -24px}div.jsoneditor-contextmenu button.jsoneditor-type-array.jsoneditor-selected>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-array:focus>div.jsoneditor-icon,div.jsoneditor-contextmenu button.jsoneditor-type-array:hover>div.jsoneditor-icon{background-position:-96px 0}div.jsoneditor-contextmenu button.jsoneditor-type-modes>div.jsoneditor-icon{background-image:none;width:6px}div.jsoneditor-menu{width:100%;height:35px;padding:2px;margin:0;box-sizing:border-box;color:#fff;background-color:#3883fa;border-bottom:1px solid #3883fa}div.jsoneditor-menu>button,div.jsoneditor-menu>div.jsoneditor-modes>button{width:26px;height:26px;margin:2px;padding:0;border-radius:2px;border:1px solid transparent;background:transparent url("+n(27)+");color:#fff;opacity:.8;font-family:arial,sans-serif;font-size:10pt;float:left}div.jsoneditor-menu>button:hover,div.jsoneditor-menu>div.jsoneditor-modes>button:hover{background-color:hsla(0,0%,100%,.2);border:1px solid hsla(0,0%,100%,.4)}div.jsoneditor-menu>button:active,div.jsoneditor-menu>button:focus,div.jsoneditor-menu>div.jsoneditor-modes>button:active,div.jsoneditor-menu>div.jsoneditor-modes>button:focus{background-color:hsla(0,0%,100%,.3)}div.jsoneditor-menu>button:disabled,div.jsoneditor-menu>div.jsoneditor-modes>button:disabled{opacity:.5}div.jsoneditor-menu>button.jsoneditor-collapse-all{background-position:0 -96px}div.jsoneditor-menu>button.jsoneditor-expand-all{background-position:0 -120px}div.jsoneditor-menu>button.jsoneditor-undo{background-position:-24px -96px}div.jsoneditor-menu>button.jsoneditor-undo:disabled{background-position:-24px -120px}div.jsoneditor-menu>button.jsoneditor-redo{background-position:-48px -96px}div.jsoneditor-menu>button.jsoneditor-redo:disabled{background-position:-48px -120px}div.jsoneditor-menu>button.jsoneditor-compact{background-position:-72px -96px}div.jsoneditor-menu>button.jsoneditor-format{background-position:-72px -120px}div.jsoneditor-menu>div.jsoneditor-modes{display:inline-block;float:left}div.jsoneditor-menu>div.jsoneditor-modes>button{background-image:none;width:auto;padding-left:6px;padding-right:6px}div.jsoneditor-menu>button.jsoneditor-separator,div.jsoneditor-menu>div.jsoneditor-modes>button.jsoneditor-separator{margin-left:10px}div.jsoneditor-menu a{font-family:arial,sans-serif;font-size:10pt;color:#fff;opacity:.8;vertical-align:middle}div.jsoneditor-menu a:hover{opacity:1}div.jsoneditor-menu a.jsoneditor-poweredBy{font-size:8pt;position:absolute;right:0;top:0;padding:10px}table.jsoneditor-search div.jsoneditor-results,table.jsoneditor-search input{font-family:arial,sans-serif;font-size:10pt;color:#1a1a1a;background:transparent}table.jsoneditor-search div.jsoneditor-results{color:#fff;padding-right:5px;line-height:24px}table.jsoneditor-search{position:absolute;right:4px;top:4px;border-collapse:collapse;border-spacing:0}table.jsoneditor-search div.jsoneditor-frame{border:1px solid transparent;background-color:#fff;padding:0 2px;margin:0}table.jsoneditor-search div.jsoneditor-frame table{border-collapse:collapse}table.jsoneditor-search input{width:120px;border:none;outline:none;margin:1px;line-height:20px}table.jsoneditor-search button{width:16px;height:24px;padding:0;margin:0;border:none;background:url("+n(27)+");vertical-align:top}table.jsoneditor-search button:hover{background-color:transparent}table.jsoneditor-search button.jsoneditor-refresh{width:18px;background-position:-99px -73px}table.jsoneditor-search button.jsoneditor-next{cursor:pointer;background-position:-124px -73px}table.jsoneditor-search button.jsoneditor-next:hover{background-position:-124px -49px}table.jsoneditor-search button.jsoneditor-previous{cursor:pointer;background-position:-148px -73px;margin-right:2px}table.jsoneditor-search button.jsoneditor-previous:hover{background-position:-148px -49px}",""]);
|
|
114
|
-
},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(t){return T.charAt(t)}function n(t,e){return t&e}function i(t,e){return t|e}function r(t,e){return t^e}function o(t,e){return t&~e}function s(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function a(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function l(t){var e,n,i="";for(e=0;e+3<=t.length;e+=3)n=parseInt(t.substring(e,e+3),16),i+=$.charAt(n>>6)+$.charAt(63&n);for(e+1==t.length?(n=parseInt(t.substring(e,e+1),16),i+=$.charAt(n<<2)):e+2==t.length&&(n=parseInt(t.substring(e,e+2),16),i+=$.charAt(n>>2)+$.charAt((3&n)<<4));(3&i.length)>0;)i+=B;return i}function c(t){var n,i="",r=0,o=0;for(n=0;n<t.length&&t.charAt(n)!=B;++n){var s=$.indexOf(t.charAt(n));s<0||(0==r?(i+=e(s>>2),o=3&s,r=1):1==r?(i+=e(o<<2|s>>4),o=15&s,r=2):2==r?(i+=e(o),i+=e(s>>2),o=3&s,r=3):(i+=e(o<<2|s>>4),i+=e(15&s),r=0))}return 1==r&&(i+=e(o<<2)),i}function u(t,e){function n(){this.constructor=t}M(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function d(t,e){return t.length>e&&(t=t.substring(0,e)+j),t}function h(){return new K(null)}function f(t,e){return new K(t,e)}function p(t,e,n,i,r,o){for(;--o>=0;){var s=e*this[t++]+n[i]+r;r=Math.floor(s/67108864),n[i++]=67108863&s}return r}function m(t,e,n,i,r,o){for(var s=32767&e,a=e>>15;--o>=0;){var l=32767&this[t],c=this[t++]>>15,u=a*l+c*s;l=s*l+((32767&u)<<15)+n[i]+(1073741823&r),r=(l>>>30)+(u>>>15)+a*c+(r>>>30),n[i++]=1073741823&l}return r}function g(t,e,n,i,r,o){for(var s=16383&e,a=e>>14;--o>=0;){var l=16383&this[t],c=this[t++]>>14,u=a*l+c*s;l=s*l+((16383&u)<<14)+n[i]+r,r=(l>>28)+(u>>14)+a*c,n[i++]=268435455&l}return r}function v(t,e){var n=nt[t.charCodeAt(e)];return null==n?-1:n}function y(t){var e=h();return e.fromInt(t),e}function b(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}function w(){return new ot}function A(){if(null==it){for(it=w();rt<st;){var t=Math.floor(65536*Math.random());at[rt++]=255&t}for(it.init(at),rt=0;rt<at.length;++rt)at[rt]=0;rt=0}return it.next()}function x(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var n=e-t.length-6,i="",r=0;r<n;r+=2)i+="ff";var o="0001"+i+"00"+t;return f(o,16)}function _(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var n=[],i=t.length-1;i>=0&&e>0;){var r=t.charCodeAt(i--);r<128?n[--e]=r:r>127&&r<2048?(n[--e]=63&r|128,n[--e]=r>>6|192):(n[--e]=63&r|128,n[--e]=r>>6&63|128,n[--e]=r>>12|224)}n[--e]=0;for(var o=new dt,s=[];e>2;){for(s[0]=0;0==s[0];)o.nextBytes(s);n[--e]=s[0]}return n[--e]=2,n[--e]=0,new K(n)}function E(t,e){for(var n=t.toByteArray(),i=0;i<n.length&&0==n[i];)++i;if(n.length-i!=e-1||2!=n[i])return null;for(++i;0!=n[i];)if(++i>=n.length)return null;for(var r="";++i<n.length;){var o=255&n[i];o<128?r+=String.fromCharCode(o):o>191&&o<224?(r+=String.fromCharCode((31&o)<<6|63&n[i+1]),++i):(r+=String.fromCharCode((15&o)<<12|(63&n[i+1])<<6|63&n[i+2]),i+=2)}return r}function C(t){return ft[t]||""}function k(t){for(var e in ft)if(ft.hasOwnProperty(e)){var n=ft[e],i=n.length;if(t.substr(0,i)==n)return t.substr(i)}return t}var S,F,D,T="0123456789abcdefghijklmnopqrstuvwxyz",$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B="=",M=function(t,e){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},R={decode:function(t){var e;if(void 0===S){var n="0123456789ABCDEF",i=" \f\n\r\t \u2028\u2029";for(S={},e=0;e<16;++e)S[n.charAt(e)]=e;for(n=n.toLowerCase(),e=10;e<16;++e)S[n.charAt(e)]=e;for(e=0;e<i.length;++e)S[i.charAt(e)]=-1}var r=[],o=0,s=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if("="==a)break;if(a=S[a],a!=-1){if(void 0===a)throw new Error("Illegal character at offset "+e);o|=a,++s>=2?(r[r.length]=o,o=0,s=0):o<<=4}}if(s)throw new Error("Hex encoding incomplete: 4 bits missing");return r}},P={decode:function(t){var e;if(void 0===F){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i="= \f\n\r\t \u2028\u2029";for(F=Object.create(null),e=0;e<64;++e)F[n.charAt(e)]=e;for(e=0;e<i.length;++e)F[i.charAt(e)]=-1}var r=[],o=0,s=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if("="==a)break;if(a=F[a],a!=-1){if(void 0===a)throw new Error("Illegal character at offset "+e);o|=a,++s>=4?(r[r.length]=o>>16,r[r.length]=o>>8&255,r[r.length]=255&o,o=0,s=0):o<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=o>>10;break;case 3:r[r.length]=o>>16,r[r.length]=o>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=P.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return P.decode(t)}},L=1e13,O=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var n,i,r=this.buf,o=r.length;for(n=0;n<o;++n)i=r[n]*t+e,i<L?e=0:(e=0|i/L,i-=e*L),r[n]=i;e>0&&(r[n]=e)},t.prototype.sub=function(t){var e,n,i=this.buf,r=i.length;for(e=0;e<r;++e)n=i[e]-t,n<0?(n+=L,t=1):t=0,i[e]=n;for(;0===i[i.length-1];)i.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,n=e[e.length-1].toString(),i=e.length-2;i>=0;--i)n+=(L+e[i]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var t=this.buf,e=0,n=t.length-1;n>=0;--n)e=e*L+t[n];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t}(),j="…",N=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,I=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,H=function(){function t(e,n){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=n)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,n){for(var i="",r=t;r<e;++r)if(i+=this.hexByte(this.get(r)),n!==!0)switch(15&r){case 7:i+=" ";break;case 15:i+="\n";break;default:i+=" "}return i},t.prototype.isASCII=function(t,e){for(var n=t;n<e;++n){var i=this.get(n);if(i<32||i>176)return!1}return!0},t.prototype.parseStringISO=function(t,e){for(var n="",i=t;i<e;++i)n+=String.fromCharCode(this.get(i));return n},t.prototype.parseStringUTF=function(t,e){for(var n="",i=t;i<e;){var r=this.get(i++);n+=r<128?String.fromCharCode(r):r>191&&r<224?String.fromCharCode((31&r)<<6|63&this.get(i++)):String.fromCharCode((15&r)<<12|(63&this.get(i++))<<6|63&this.get(i++))}return n},t.prototype.parseStringBMP=function(t,e){for(var n,i,r="",o=t;o<e;)n=this.get(o++),i=this.get(o++),r+=String.fromCharCode(n<<8|i);return r},t.prototype.parseTime=function(t,e,n){var i=this.parseStringISO(t,e),r=(n?N:I).exec(i);return r?(n&&(r[1]=+r[1],r[1]+=+r[1]<70?2e3:1900),i=r[1]+"-"+r[2]+"-"+r[3]+" "+r[4],r[5]&&(i+=":"+r[5],r[6]&&(i+=":"+r[6],r[7]&&(i+="."+r[7]))),r[8]&&(i+=" UTC","Z"!=r[8]&&(i+=r[8],r[9]&&(i+=":"+r[9]))),i):"Unrecognized time: "+i},t.prototype.parseInteger=function(t,e){for(var n,i=this.get(t),r=i>127,o=r?255:0,s="";i==o&&++t<e;)i=this.get(t);if(n=e-t,0===n)return r?-1:0;if(n>4){for(s=i,n<<=3;0==(128&(+s^o));)s=+s<<1,--n;s="("+n+" bit)\n"}r&&(i-=256);for(var a=new O(i),l=t+1;l<e;++l)a.mulAdd(256,this.get(l));return s+a.toString()},t.prototype.parseBitString=function(t,e,n){for(var i=this.get(t),r=(e-t-1<<3)-i,o="("+r+" bit)\n",s="",a=t+1;a<e;++a){for(var l=this.get(a),c=a==e-1?i:0,u=7;u>=c;--u)s+=l>>u&1?"1":"0";if(s.length>n)return o+d(s,n)}return o+s},t.prototype.parseOctetString=function(t,e,n){if(this.isASCII(t,e))return d(this.parseStringISO(t,e),n);var i=e-t,r="("+i+" byte)\n";n/=2,i>n&&(e=t+n);for(var o=t;o<e;++o)r+=this.hexByte(this.get(o));return i>n&&(r+=j),r},t.prototype.parseOID=function(t,e,n){for(var i="",r=new O,o=0,s=t;s<e;++s){var a=this.get(s);if(r.mulAdd(128,127&a),o+=7,!(128&a)){if(""===i)if(r=r.simplify(),r instanceof O)r.sub(80),i="2."+r.toString();else{var l=r<80?r<40?0:1:2;i=l+"."+(r-40*l)}else i+="."+r.toString();if(i.length>n)return d(i,n);r=new O,o=0}}return o>0&&(i+=".incomplete"),i},t}(),V=function(){function t(t,e,n,i,r){if(!(i instanceof W))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=n,this.tag=i,this.sub=r}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+n,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);case 6:return this.stream.parseOID(e,e+n,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return d(this.stream.parseStringUTF(e,e+n),t);case 18:case 19:case 20:case 21:case 22:case 26:return d(this.stream.parseStringISO(e,e+n),t);case 30:return d(this.stream.parseStringBMP(e,e+n),t);case 23:case 24:return this.stream.parseTime(e,e+n,23==this.tag.tagNumber)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var n=0,i=this.sub.length;n<i;++n)e+=this.sub[n].toPrettyString(t)}return e},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(t){var e=t.get(),n=127&e;if(n==e)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===n)return null;e=0;for(var i=0;i<n;++i)e=256*e+t.get();return e},t.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,n=2*this.length;return t.substr(e,n)},t.decode=function(e){var n;n=e instanceof H?e:new H(e,0);var i=new H(n),r=new W(n),o=t.decodeLength(n),s=n.pos,a=s-i.pos,l=null,c=function(){var e=[];if(null!==o){for(var i=s+o;n.pos<i;)e[e.length]=t.decode(n);if(n.pos!=i)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var r=t.decode(n);if(r.tag.isEOC())break;e[e.length]=r}o=s-n.pos}catch(t){throw new Error("Exception while decoding undefined length content: "+t)}return e};if(r.tagConstructed)l=c();else if(r.isUniversal()&&(3==r.tagNumber||4==r.tagNumber))try{if(3==r.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");l=c();for(var u=0;u<l.length;++u)if(l[u].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(t){l=null}if(null===l){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);n.pos=s+Math.abs(o)}return new t(i,a,o,r,l)},t}(),W=function(){function t(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!==(32&e),this.tagNumber=31&e,31==this.tagNumber){var n=new O;do e=t.get(),n.mulAdd(128,127&e);while(128&e);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),z=0xdeadbeefcafe,q=15715070==(16777215&z),U=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],G=(1<<26)/U[U.length-1],K=function(){function t(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return t.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var n;if(16==t)n=4;else if(8==t)n=3;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return this.toRadix(t);n=2}var i,r=(1<<n)-1,o=!1,s="",a=this.t,l=this.DB-a*this.DB%n;if(a-- >0)for(l<this.DB&&(i=this[a]>>l)>0&&(o=!0,s=e(i));a>=0;)l<n?(i=(this[a]&(1<<l)-1)<<n-l,i|=this[--a]>>(l+=this.DB-n)):(i=this[a]>>(l-=n)&r,l<=0&&(l+=this.DB,--a)),i>0&&(o=!0),o&&(s+=e(i));return o?s:"0"},t.prototype.negate=function(){var e=h();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(e=n-t.t,0!=e)return this.s<0?-e:e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+b(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var n=h();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(t.ZERO)>0&&e.subTo(n,n),n},t.prototype.modPowInt=function(t,e){var n;return n=t<256||e.isEven()?new X(e):new J(e),this.exp(t,n)},t.prototype.clone=function(){var t=h();return this.copyTo(t),t},t.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},t.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var n,i=this.DB-t*this.DB%8,r=0;if(t-- >0)for(i<this.DB&&(n=this[t]>>i)!=(this.s&this.DM)>>i&&(e[r++]=n|this.s<<this.DB-i);t>=0;)i<8?(n=(this[t]&(1<<i)-1)<<8-i,n|=this[--t]>>(i+=this.DB-8)):(n=this[t]>>(i-=8)&255,i<=0&&(i+=this.DB,--t)),0!=(128&n)&&(n|=-256),0==r&&(128&this.s)!=(128&n)&&++r,(r>0||n!=this.s)&&(e[r++]=n);return e},t.prototype.equals=function(t){return 0==this.compareTo(t)},t.prototype.min=function(t){return this.compareTo(t)<0?this:t},t.prototype.max=function(t){return this.compareTo(t)>0?this:t},t.prototype.and=function(t){var e=h();return this.bitwiseTo(t,n,e),e},t.prototype.or=function(t){var e=h();return this.bitwiseTo(t,i,e),e},t.prototype.xor=function(t){var e=h();return this.bitwiseTo(t,r,e),e},t.prototype.andNot=function(t){var e=h();return this.bitwiseTo(t,o,e),e},t.prototype.not=function(){for(var t=h(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},t.prototype.shiftLeft=function(t){var e=h();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},t.prototype.shiftRight=function(t){var e=h();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},t.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+s(this[t]);return this.s<0?this.t*this.DB:-1},t.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,n=0;n<this.t;++n)t+=a(this[n]^e);return t},t.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},t.prototype.setBit=function(t){return this.changeBit(t,i)},t.prototype.clearBit=function(t){return this.changeBit(t,o)},t.prototype.flipBit=function(t){return this.changeBit(t,r)},t.prototype.add=function(t){var e=h();return this.addTo(t,e),e},t.prototype.subtract=function(t){var e=h();return this.subTo(t,e),e},t.prototype.multiply=function(t){var e=h();return this.multiplyTo(t,e),e},t.prototype.divide=function(t){var e=h();return this.divRemTo(t,e,null),e},t.prototype.remainder=function(t){var e=h();return this.divRemTo(t,null,e),e},t.prototype.divideAndRemainder=function(t){var e=h(),n=h();return this.divRemTo(t,e,n),[e,n]},t.prototype.modPow=function(t,e){var n,i,r=t.bitLength(),o=y(1);if(r<=0)return o;n=r<18?1:r<48?3:r<144?4:r<768?5:6,i=r<8?new X(e):e.isEven()?new Z(e):new J(e);var s=[],a=3,l=n-1,c=(1<<n)-1;if(s[1]=i.convert(this),n>1){var u=h();for(i.sqrTo(s[1],u);a<=c;)s[a]=h(),i.mulTo(u,s[a-2],s[a]),a+=2}var d,f,p=t.t-1,m=!0,g=h();for(r=b(t[p])-1;p>=0;){for(r>=l?d=t[p]>>r-l&c:(d=(t[p]&(1<<r+1)-1)<<l-r,p>0&&(d|=t[p-1]>>this.DB+r-l)),a=n;0==(1&d);)d>>=1,--a;if((r-=a)<0&&(r+=this.DB,--p),m)s[d].copyTo(o),m=!1;else{for(;a>1;)i.sqrTo(o,g),i.sqrTo(g,o),a-=2;a>0?i.sqrTo(o,g):(f=o,o=g,g=f),i.mulTo(g,s[d],o)}for(;p>=0&&0==(t[p]&1<<r);)i.sqrTo(o,g),f=o,o=g,g=f,--r<0&&(r=this.DB-1,--p)}return i.revert(o)},t.prototype.modInverse=function(e){var n=e.isEven();if(this.isEven()&&n||0==e.signum())return t.ZERO;for(var i=e.clone(),r=this.clone(),o=y(1),s=y(0),a=y(0),l=y(1);0!=i.signum();){for(;i.isEven();)i.rShiftTo(1,i),n?(o.isEven()&&s.isEven()||(o.addTo(this,o),s.subTo(e,s)),o.rShiftTo(1,o)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);for(;r.isEven();)r.rShiftTo(1,r),n?(a.isEven()&&l.isEven()||(a.addTo(this,a),l.subTo(e,l)),a.rShiftTo(1,a)):l.isEven()||l.subTo(e,l),l.rShiftTo(1,l);i.compareTo(r)>=0?(i.subTo(r,i),n&&o.subTo(a,o),s.subTo(l,s)):(r.subTo(i,r),n&&a.subTo(o,a),l.subTo(s,l))}return 0!=r.compareTo(t.ONE)?t.ZERO:l.compareTo(e)>=0?l.subtract(e):l.signum()<0?(l.addTo(e,l),l.signum()<0?l.add(e):l):l},t.prototype.pow=function(t){return this.exp(t,new Y)},t.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(e.compareTo(n)<0){var i=e;e=n,n=i}var r=e.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return e;for(r<o&&(o=r),o>0&&(e.rShiftTo(o,e),n.rShiftTo(o,n));e.signum()>0;)(r=e.getLowestSetBit())>0&&e.rShiftTo(r,e),(r=n.getLowestSetBit())>0&&n.rShiftTo(r,n),e.compareTo(n)>=0?(e.subTo(n,e),e.rShiftTo(1,e)):(n.subTo(e,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(t){var e,n=this.abs();if(1==n.t&&n[0]<=U[U.length-1]){for(e=0;e<U.length;++e)if(n[0]==U[e])return!0;return!1}if(n.isEven())return!1;for(e=1;e<U.length;){for(var i=U[e],r=e+1;r<U.length&&i<G;)i*=U[r++];for(i=n.modInt(i);e<r;)if(i%U[e++]==0)return!1}return n.millerRabin(t)},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},t.prototype.fromString=function(e,n){var i;if(16==n)i=4;else if(8==n)i=3;else if(256==n)i=8;else if(2==n)i=1;else if(32==n)i=5;else{if(4!=n)return void this.fromRadix(e,n);i=2}this.t=0,this.s=0;for(var r=e.length,o=!1,s=0;--r>=0;){var a=8==i?255&+e[r]:v(e,r);a<0?"-"==e.charAt(r)&&(o=!0):(o=!1,0==s?this[this.t++]=a:s+i>this.DB?(this[this.t-1]|=(a&(1<<this.DB-s)-1)<<s,this[this.t++]=a>>this.DB-s):this[this.t-1]|=a<<s,s+=i,s>=this.DB&&(s-=this.DB))}8==i&&0!=(128&+e[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&t.ZERO.subTo(this,this)},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.dlShiftTo=function(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},t.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.lShiftTo=function(t,e){for(var n=t%this.DB,i=this.DB-n,r=(1<<i)-1,o=Math.floor(t/this.DB),s=this.s<<n&this.DM,a=this.t-1;a>=0;--a)e[a+o+1]=this[a]>>i|s,s=(this[a]&r)<<n;for(var a=o-1;a>=0;--a)e[a]=0;e[o]=s,e.t=this.t+o+1,e.s=this.s,e.clamp()},t.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)return void(e.t=0);var i=t%this.DB,r=this.DB-i,o=(1<<i)-1;e[0]=this[n]>>i;for(var s=n+1;s<this.t;++s)e[s-n-1]|=(this[s]&o)<<r,e[s-n]=this[s]>>i;i>0&&(e[this.t-n-1]|=(this.s&o)<<r),e.t=this.t-n,e.clamp()},t.prototype.subTo=function(t,e){for(var n=0,i=0,r=Math.min(t.t,this.t);n<r;)i+=this[n]-t[n],e[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;n<this.t;)i+=this[n],e[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i-=t[n],e[n++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[n++]=this.DV+i:i>0&&(e[n++]=i),e.t=n,e.clamp()},t.prototype.multiplyTo=function(e,n){var i=this.abs(),r=e.abs(),o=i.t;for(n.t=o+r.t;--o>=0;)n[o]=0;for(o=0;o<r.t;++o)n[o+i.t]=i.am(0,r[o],n,o,0,i.t);n.s=0,n.clamp(),this.s!=e.s&&t.ZERO.subTo(n,n)},t.prototype.squareTo=function(t){for(var e=this.abs(),n=t.t=2*e.t;--n>=0;)t[n]=0;for(n=0;n<e.t-1;++n){var i=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,i,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},t.prototype.divRemTo=function(e,n,i){var r=e.abs();if(!(r.t<=0)){var o=this.abs();if(o.t<r.t)return null!=n&&n.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=h());var s=h(),a=this.s,l=e.s,c=this.DB-b(r[r.t-1]);c>0?(r.lShiftTo(c,s),o.lShiftTo(c,i)):(r.copyTo(s),o.copyTo(i));var u=s.t,d=s[u-1];if(0!=d){var f=d*(1<<this.F1)+(u>1?s[u-2]>>this.F2:0),p=this.FV/f,m=(1<<this.F1)/f,g=1<<this.F2,v=i.t,y=v-u,w=null==n?h():n;for(s.dlShiftTo(y,w),i.compareTo(w)>=0&&(i[i.t++]=1,i.subTo(w,i)),t.ONE.dlShiftTo(u,w),w.subTo(s,s);s.t<u;)s[s.t++]=0;for(;--y>=0;){var A=i[--v]==d?this.DM:Math.floor(i[v]*p+(i[v-1]+g)*m);if((i[v]+=s.am(0,A,i,y,0,u))<A)for(s.dlShiftTo(y,w),i.subTo(w,i);i[v]<--A;)i.subTo(w,i)}null!=n&&(i.drShiftTo(u,n),a!=l&&t.ZERO.subTo(n,n)),i.t=u,i.clamp(),c>0&&i.rShiftTo(c,i),a<0&&t.ZERO.subTo(i,i)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return e=e*(2-(15&t)*e)&15,e=e*(2-(255&t)*e)&255,e=e*(2-((65535&t)*e&65535))&65535,e=e*(2-t*e%this.DV)%this.DV,e>0?this.DV-e:-e},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.exp=function(e,n){if(e>4294967295||e<1)return t.ONE;var i=h(),r=h(),o=n.convert(this),s=b(e)-1;for(o.copyTo(i);--s>=0;)if(n.sqrTo(i,r),(e&1<<s)>0)n.mulTo(r,o,i);else{var a=i;i=r,r=a}return n.revert(i)},t.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},t.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),i=y(n),r=h(),o=h(),s="";for(this.divRemTo(i,r,o);r.signum()>0;)s=(n+o.intValue()).toString(t).substr(1)+s,r.divRemTo(i,r,o);return o.intValue().toString(t)+s},t.prototype.fromRadix=function(e,n){this.fromInt(0),null==n&&(n=10);for(var i=this.chunkSize(n),r=Math.pow(n,i),o=!1,s=0,a=0,l=0;l<e.length;++l){var c=v(e,l);c<0?"-"==e.charAt(l)&&0==this.signum()&&(o=!0):(a=n*a+c,++s>=i&&(this.dMultiply(r),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(n,s)),this.dAddOffset(a,0)),o&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,n,r){if("number"==typeof n)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),i,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var o=[],s=7&e;o.length=(e>>3)+1,n.nextBytes(o),s>0?o[0]&=(1<<s)-1:o[0]=0,this.fromString(o,256)}},t.prototype.bitwiseTo=function(t,e,n){var i,r,o=Math.min(t.t,this.t);for(i=0;i<o;++i)n[i]=e(this[i],t[i]);if(t.t<this.t){for(r=t.s&this.DM,i=o;i<this.t;++i)n[i]=e(this[i],r);n.t=this.t}else{for(r=this.s&this.DM,i=o;i<t.t;++i)n[i]=e(r,t[i]);n.t=t.t}n.s=e(this.s,t.s),n.clamp()},t.prototype.changeBit=function(e,n){var i=t.ONE.shiftLeft(e);return this.bitwiseTo(i,n,i),i},t.prototype.addTo=function(t,e){for(var n=0,i=0,r=Math.min(t.t,this.t);n<r;)i+=this[n]+t[n],e[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i+=t.s;n<this.t;)i+=this[n],e[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i+=t[n],e[n++]=i&this.DM,i>>=this.DB;i+=t.s}e.s=i<0?-1:0,i>0?e[n++]=i:i<-1&&(e[n++]=this.DV+i),e.t=n,e.clamp()},t.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,n){var i=Math.min(this.t+t.t,e);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var r=n.t-this.t;i<r;++i)n[i+this.t]=this.am(0,t[i],n,i,0,this.t);for(var r=Math.min(t.t,e);i<r;++i)this.am(0,t[i],n,i,0,e-i);n.clamp()},t.prototype.multiplyUpperTo=function(t,e,n){--e;var i=n.t=this.t+t.t-e;for(n.s=0;--i>=0;)n[i]=0;for(i=Math.max(e-this.t,0);i<t.t;++i)n[this.t+i-e]=this.am(e-i,t[i],n,0,0,this.t+i-e);n.clamp(),n.drShiftTo(1,n)},t.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,n=this.s<0?t-1:0;if(this.t>0)if(0==e)n=this[0]%t;else for(var i=this.t-1;i>=0;--i)n=(e*n+this[i])%t;return n},t.prototype.millerRabin=function(e){var n=this.subtract(t.ONE),i=n.getLowestSetBit();if(i<=0)return!1;var r=n.shiftRight(i);e=e+1>>1,e>U.length&&(e=U.length);for(var o=h(),s=0;s<e;++s){o.fromInt(U[Math.floor(Math.random()*U.length)]);var a=o.modPow(r,this);if(0!=a.compareTo(t.ONE)&&0!=a.compareTo(n)){for(var l=1;l++<i&&0!=a.compareTo(n);)if(a=a.modPowInt(2,this),0==a.compareTo(t.ONE))return!1;if(0!=a.compareTo(n))return!1}}return!0},t.prototype.square=function(){var t=h();return this.squareTo(t),t},t.prototype.gcda=function(t,e){var n=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(n.compareTo(i)<0){var r=n;n=i,i=r}var o=n.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)return void e(n);o<s&&(s=o),s>0&&(n.rShiftTo(s,n),i.rShiftTo(s,i));var a=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(a,0):(s>0&&i.lShiftTo(s,i),setTimeout(function(){e(i)},0))};setTimeout(a,10)},t.prototype.fromNumberAsync=function(e,n,r,o){if("number"==typeof n)if(e<2)this.fromInt(1);else{this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),i,this),this.isEven()&&this.dAddOffset(1,0);var s=this,a=function(){s.dAddOffset(2,0),s.bitLength()>e&&s.subTo(t.ONE.shiftLeft(e-1),s),s.isProbablePrime(n)?setTimeout(function(){o()},0):setTimeout(a,0)};setTimeout(a,0)}else{var l=[],c=7&e;l.length=(e>>3)+1,n.nextBytes(l),c>0?l[0]&=(1<<c)-1:l[0]=0,this.fromString(l,256)}},t}(),Y=function(){function t(){}return t.prototype.convert=function(t){return t},t.prototype.revert=function(t){return t},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n)},t.prototype.sqrTo=function(t,e){t.squareTo(e)},t}(),X=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),J=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=h();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(K.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=h();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],i=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(n=e+this.m.t,t[n]+=this.m.am(0,i,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),Z=function(){function t(t){this.m=t,this.r2=h(),this.q3=h(),K.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=h();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();q&&"Microsoft Internet Explorer"==navigator.appName?(K.prototype.am=m,D=30):q&&"Netscape"!=navigator.appName?(K.prototype.am=p,D=26):(K.prototype.am=g,D=28),K.prototype.DB=D,K.prototype.DM=(1<<D)-1,K.prototype.DV=1<<D;var Q=52;K.prototype.FV=Math.pow(2,Q),K.prototype.F1=Q-D,K.prototype.F2=2*D-Q;var tt,et,nt=[];for(tt="0".charCodeAt(0),et=0;et<=9;++et)nt[tt++]=et;for(tt="a".charCodeAt(0),et=10;et<36;++et)nt[tt++]=et;for(tt="A".charCodeAt(0),
|
|
115
|
-
et=10;et<36;++et)nt[tt++]=et;K.ZERO=y(0),K.ONE=y(1);var it,rt,ot=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,n,i;for(e=0;e<256;++e)this.S[e]=e;for(n=0,e=0;e<256;++e)n=n+this.S[e]+t[e%t.length]&255,i=this.S[e],this.S[e]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}(),st=256,at=null;if(null==at){at=[],rt=0;var lt=void 0;if(window.crypto&&window.crypto.getRandomValues){var ct=new Uint32Array(256);for(window.crypto.getRandomValues(ct),lt=0;lt<ct.length;++lt)at[rt++]=255&ct[lt]}var ut=function(t){if(this.count=this.count||0,this.count>=256||rt>=st)return void(window.removeEventListener?window.removeEventListener("mousemove",ut,!1):window.detachEvent&&window.detachEvent("onmousemove",ut));try{var e=t.x+t.y;at[rt++]=255&e,this.count+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",ut,!1):window.attachEvent&&window.attachEvent("onmousemove",ut)}var dt=function(){function t(){}return t.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=A()},t}(),ht=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),n=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(n)<0;)e=e.add(this.p);return e.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=f(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=_(t,this.n.bitLength()+7>>3);if(null==e)return null;var n=this.doPublic(e);if(null==n)return null;var i=n.toString(16);return 0==(1&i.length)?i:"0"+i},t.prototype.setPrivate=function(t,e,n){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=f(t,16),this.e=parseInt(e,16),this.d=f(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,n,i,r,o,s,a){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=f(t,16),this.e=parseInt(e,16),this.d=f(n,16),this.p=f(i,16),this.q=f(r,16),this.dmp1=f(o,16),this.dmq1=f(s,16),this.coeff=f(a,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var n=new dt,i=t>>1;this.e=parseInt(e,16);for(var r=new K(e,16);;){for(;this.p=new K(t-i,1,n),0!=this.p.subtract(K.ONE).gcd(r).compareTo(K.ONE)||!this.p.isProbablePrime(10););for(;this.q=new K(i,1,n),0!=this.q.subtract(K.ONE).gcd(r).compareTo(K.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var s=this.p.subtract(K.ONE),a=this.q.subtract(K.ONE),l=s.multiply(a);if(0==l.gcd(r).compareTo(K.ONE)){this.n=this.p.multiply(this.q),this.d=r.modInverse(l),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=f(t,16),n=this.doPrivate(e);return null==n?null:E(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,n){var i=new dt,r=t>>1;this.e=parseInt(e,16);var o=new K(e,16),s=this,a=function(){var e=function(){if(s.p.compareTo(s.q)<=0){var t=s.p;s.p=s.q,s.q=t}var e=s.p.subtract(K.ONE),i=s.q.subtract(K.ONE),r=e.multiply(i);0==r.gcd(o).compareTo(K.ONE)?(s.n=s.p.multiply(s.q),s.d=o.modInverse(r),s.dmp1=s.d.mod(e),s.dmq1=s.d.mod(i),s.coeff=s.q.modInverse(s.p),setTimeout(function(){n()},0)):setTimeout(a,0)},l=function(){s.q=h(),s.q.fromNumberAsync(r,1,i,function(){s.q.subtract(K.ONE).gcda(o,function(t){0==t.compareTo(K.ONE)&&s.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(l,0)})})},c=function(){s.p=h(),s.p.fromNumberAsync(t-r,1,i,function(){s.p.subtract(K.ONE).gcda(o,function(t){0==t.compareTo(K.ONE)&&s.p.isProbablePrime(10)?setTimeout(l,0):setTimeout(c,0)})})};setTimeout(c,0)};setTimeout(a,0)},t.prototype.sign=function(t,e,n){var i=C(n),r=i+e(t).toString(),o=x(r,this.n.bitLength()/4);if(null==o)return null;var s=this.doPrivate(o);if(null==s)return null;var a=s.toString(16);return 0==(1&a.length)?a:"0"+a},t.prototype.verify=function(t,e,n){var i=f(e,16),r=this.doPublic(i);if(null==r)return null;var o=r.toString(16).replace(/^1f+00/,""),s=k(o);return s==n(t).toString()},t}(),ft={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},pt={};pt.lang={extend:function(t,e,n){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var i=function(){};if(i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),n){var r;for(r in n)t.prototype[r]=n[r];var o=function(){},s=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(o=function(t,e){for(r=0;r<s.length;r+=1){var n=s[r],i=e[n];"function"==typeof i&&i!=Object.prototype[n]&&(t[n]=i)}})}catch(t){}o(t.prototype,n)}}};/**
|
|
116
|
-
* @fileOverview
|
|
117
|
-
* @name asn1-1.0.js
|
|
118
|
-
* @author Kenji Urushima kenji.urushima@gmail.com
|
|
119
|
-
* @version asn1 1.0.13 (2017-Jun-02)
|
|
120
|
-
* @since jsrsasign 2.1
|
|
121
|
-
* @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
|
|
122
|
-
*/
|
|
123
|
-
var mt={};"undefined"!=typeof mt.asn1&&mt.asn1||(mt.asn1={}),mt.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1),i=n.length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var r="",o=0;o<i;o++)r+="f";var s=new K(r,16),a=s.xor(t).add(K.ONE);e=a.toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=mt,n=e.asn1,i=n.DERBoolean,r=n.DERInteger,o=n.DERBitString,s=n.DEROctetString,a=n.DERNull,l=n.DERObjectIdentifier,c=n.DEREnumerated,u=n.DERUTF8String,d=n.DERNumericString,h=n.DERPrintableString,f=n.DERTeletexString,p=n.DERIA5String,m=n.DERUTCTime,g=n.DERGeneralizedTime,v=n.DERSequence,y=n.DERSet,b=n.DERTaggedObject,w=n.ASN1Util.newObject,A=Object.keys(t);if(1!=A.length)throw"key of param shall be only one.";var x=A[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+x+":")==-1)throw"undefined key: "+x;if("bool"==x)return new i(t[x]);if("int"==x)return new r(t[x]);if("bitstr"==x)return new o(t[x]);if("octstr"==x)return new s(t[x]);if("null"==x)return new a(t[x]);if("oid"==x)return new l(t[x]);if("enum"==x)return new c(t[x]);if("utf8str"==x)return new u(t[x]);if("numstr"==x)return new d(t[x]);if("prnstr"==x)return new h(t[x]);if("telstr"==x)return new f(t[x]);if("ia5str"==x)return new p(t[x]);if("utctime"==x)return new m(t[x]);if("gentime"==x)return new g(t[x]);if("seq"==x){for(var _=t[x],E=[],C=0;C<_.length;C++){var k=w(_[C]);E.push(k)}return new v({array:E})}if("set"==x){for(var _=t[x],E=[],C=0;C<_.length;C++){var k=w(_[C]);E.push(k)}return new y({array:E})}if("tag"==x){var S=t[x];if("[object Array]"===Object.prototype.toString.call(S)&&3==S.length){var F=w(S[2]);return new b({tag:S[0],explicit:S[1],obj:F})}var D={};if(void 0!==S.explicit&&(D.explicit=S.explicit),void 0!==S.tag&&(D.tag=S.tag),void 0===S.obj)throw"obj shall be specified for 'tag'.";return D.obj=w(S.obj),new b(D)}},this.jsonToASN1HEX=function(t){var e=this.newObject(t);return e.getEncodedHex()}},mt.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",n=parseInt(t.substr(0,2),16),i=Math.floor(n/40),r=n%40,e=i+"."+r,o="",s=2;s<t.length;s+=2){var a=parseInt(t.substr(s,2),16),l=("00000000"+a.toString(2)).slice(-8);if(o+=l.substr(1,7),"0"==l.substr(0,1)){var c=new K(o,2);e=e+"."+c.toString(10),o=""}}return e},mt.asn1.ASN1Util.oidIntToHex=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",i=new K(t,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var s="",a=0;a<o;a++)s+="0";r=s+r;for(var a=0;a<r.length-1;a+=7){var l=r.substr(a,7);a!=r.length-7&&(l="1"+l),n+=e(parseInt(l,2))}return n};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var i="",r=t.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=e(o),r.splice(0,2);for(var s=0;s<r.length;s++)i+=n(r[s]);return i},mt.asn1.ASN1Object=function(){var t="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,n=e.toString(16);if(n.length%2==1&&(n="0"+n),e<128)return n;var i=n.length/2;if(i>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var r=128+i;return r.toString(16)+n},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},mt.asn1.DERAbstractString=function(t){mt.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("string"==typeof t?this.setString(t):"undefined"!=typeof t.str?this.setString(t.str):"undefined"!=typeof t.hex&&this.setStringHex(t.hex))},pt.lang.extend(mt.asn1.DERAbstractString,mt.asn1.ASN1Object),mt.asn1.DERAbstractTime=function(t){mt.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){utc=t.getTime()+6e4*t.getTimezoneOffset();var e=new Date(utc);return e},this.formatDate=function(t,e,n){var i=this.zeroPadding,r=this.localDateToUTC(t),o=String(r.getFullYear());"utc"==e&&(o=o.substr(2,2));var s=i(String(r.getMonth()+1),2),a=i(String(r.getDate()),2),l=i(String(r.getHours()),2),c=i(String(r.getMinutes()),2),u=i(String(r.getSeconds()),2),d=o+s+a+l+c+u;if(n===!0){var h=r.getMilliseconds();if(0!=h){var f=i(String(h),3);f=f.replace(/[0]+$/,""),d=d+"."+f}}return d+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,n,i,r,o){var s=new Date(Date.UTC(t,e-1,n,i,r,o,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}},pt.lang.extend(mt.asn1.DERAbstractTime,mt.asn1.ASN1Object),mt.asn1.DERAbstractStructured=function(t){mt.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,"undefined"!=typeof t&&"undefined"!=typeof t.array&&(this.asn1Array=t.array)},pt.lang.extend(mt.asn1.DERAbstractStructured,mt.asn1.ASN1Object),mt.asn1.DERBoolean=function(){mt.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},pt.lang.extend(mt.asn1.DERBoolean,mt.asn1.ASN1Object),mt.asn1.DERInteger=function(t){mt.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=mt.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new K(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.bigint?this.setByBigInteger(t.bigint):"undefined"!=typeof t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):"undefined"!=typeof t.hex&&this.setValueHex(t.hex))},pt.lang.extend(mt.asn1.DERInteger,mt.asn1.ASN1Object),mt.asn1.DERBitString=function(t){if(void 0!==t&&"undefined"!=typeof t.obj){var e=mt.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}mt.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var n="0"+t;this.hTLV=null,this.isModified=!0,this.hV=n+e},this.setByBinaryString=function(t){t=t.replace(/0+$/,"");var e=8-t.length%8;8==e&&(e=0);for(var n=0;n<=e;n++)t+="0";for(var i="",n=0;n<t.length-1;n+=8){var r=t.substr(n,8),o=parseInt(r,2).toString(16);1==o.length&&(o="0"+o),i+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+e+i},this.setByBooleanArray=function(t){for(var e="",n=0;n<t.length;n++)e+=1==t[n]?"1":"0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=!1;return e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):"undefined"!=typeof t.hex?this.setHexValueIncludingUnusedBits(t.hex):"undefined"!=typeof t.bin?this.setByBinaryString(t.bin):"undefined"!=typeof t.array&&this.setByBooleanArray(t.array))},pt.lang.extend(mt.asn1.DERBitString,mt.asn1.ASN1Object),mt.asn1.DEROctetString=function(t){if(void 0!==t&&"undefined"!=typeof t.obj){var e=mt.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}mt.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},pt.lang.extend(mt.asn1.DEROctetString,mt.asn1.DERAbstractString),mt.asn1.DERNull=function(){mt.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},pt.lang.extend(mt.asn1.DERNull,mt.asn1.ASN1Object),mt.asn1.DERObjectIdentifier=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",i=new K(t,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var s="",a=0;a<o;a++)s+="0";r=s+r;for(var a=0;a<r.length-1;a+=7){var l=r.substr(a,7);a!=r.length-7&&(l="1"+l),n+=e(parseInt(l,2))}return n};mt.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var i="",r=t.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=e(o),r.splice(0,2);for(var s=0;s<r.length;s++)i+=n(r[s]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(t){var e=mt.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},pt.lang.extend(mt.asn1.DERObjectIdentifier,mt.asn1.ASN1Object),mt.asn1.DEREnumerated=function(t){mt.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=mt.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new K(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):"undefined"!=typeof t.hex&&this.setValueHex(t.hex))},pt.lang.extend(mt.asn1.DEREnumerated,mt.asn1.ASN1Object),mt.asn1.DERUTF8String=function(t){mt.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},pt.lang.extend(mt.asn1.DERUTF8String,mt.asn1.DERAbstractString),mt.asn1.DERNumericString=function(t){mt.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},pt.lang.extend(mt.asn1.DERNumericString,mt.asn1.DERAbstractString),mt.asn1.DERPrintableString=function(t){mt.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},pt.lang.extend(mt.asn1.DERPrintableString,mt.asn1.DERAbstractString),mt.asn1.DERTeletexString=function(t){mt.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},pt.lang.extend(mt.asn1.DERTeletexString,mt.asn1.DERAbstractString),mt.asn1.DERIA5String=function(t){mt.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},pt.lang.extend(mt.asn1.DERIA5String,mt.asn1.DERAbstractString),mt.asn1.DERUTCTime=function(t){mt.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return"undefined"==typeof this.date&&"undefined"==typeof this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},pt.lang.extend(mt.asn1.DERUTCTime,mt.asn1.DERAbstractTime),mt.asn1.DERGeneralizedTime=function(t){mt.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),t.millis===!0&&(this.withMillis=!0))},pt.lang.extend(mt.asn1.DERGeneralizedTime,mt.asn1.DERAbstractTime),mt.asn1.DERSequence=function(t){mt.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++){var n=this.asn1Array[e];t+=n.getEncodedHex()}return this.hV=t,this.hV}},pt.lang.extend(mt.asn1.DERSequence,mt.asn1.DERAbstractStructured),mt.asn1.DERSet=function(t){mt.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var n=this.asn1Array[e];t.push(n.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},"undefined"!=typeof t&&"undefined"!=typeof t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},pt.lang.extend(mt.asn1.DERSet,mt.asn1.DERAbstractStructured),mt.asn1.DERTaggedObject=function(t){mt.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,n){this.hT=e,this.isExplicit=t,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.tag&&(this.hT=t.tag),"undefined"!=typeof t.explicit&&(this.isExplicit=t.explicit),"undefined"!=typeof t.obj&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},pt.lang.extend(mt.asn1.DERTaggedObject,mt.asn1.ASN1Object);var gt=function(t){function e(n){var i=t.call(this)||this;return n&&("string"==typeof n?i.parseKey(n):(e.hasPrivateKeyProperty(n)||e.hasPublicKeyProperty(n))&&i.parsePropertiesFrom(n)),i}return u(e,t),e.prototype.parseKey=function(t){try{var e=0,n=0,i=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,r=i.test(t)?R.decode(t):P.unarmor(t),o=V.decode(r);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){e=o.sub[1].getHexStringValue(),this.n=f(e,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var s=o.sub[3].getHexStringValue();this.d=f(s,16);var a=o.sub[4].getHexStringValue();this.p=f(a,16);var l=o.sub[5].getHexStringValue();this.q=f(l,16);var c=o.sub[6].getHexStringValue();this.dmp1=f(c,16);var u=o.sub[7].getHexStringValue();this.dmq1=f(u,16);var d=o.sub[8].getHexStringValue();this.coeff=f(d,16)}else{if(2!==o.sub.length)return!1;var h=o.sub[1],p=h.sub[0];e=p.sub[0].getHexStringValue(),this.n=f(e,16),n=p.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(t){return!1}},e.prototype.getPrivateBaseKey=function(){var t={array:[new mt.asn1.DERInteger({int:0}),new mt.asn1.DERInteger({bigint:this.n}),new mt.asn1.DERInteger({int:this.e}),new mt.asn1.DERInteger({bigint:this.d}),new mt.asn1.DERInteger({bigint:this.p}),new mt.asn1.DERInteger({bigint:this.q}),new mt.asn1.DERInteger({bigint:this.dmp1}),new mt.asn1.DERInteger({bigint:this.dmq1}),new mt.asn1.DERInteger({bigint:this.coeff})]},e=new mt.asn1.DERSequence(t);return e.getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return l(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var t=new mt.asn1.DERSequence({array:[new mt.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new mt.asn1.DERNull]}),e=new mt.asn1.DERSequence({array:[new mt.asn1.DERInteger({bigint:this.n}),new mt.asn1.DERInteger({int:this.e})]}),n=new mt.asn1.DERBitString({hex:"00"+e.getEncodedHex()}),i=new mt.asn1.DERSequence({array:[t,n]});return i.getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return l(this.getPublicBaseKey())},e.wordwrap=function(t,e){if(e=e||64,!t)return t;var n="(.{1,"+e+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(n,"g")).join("\n")},e.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n",t+="-----END RSA PRIVATE KEY-----"},e.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+=e.wordwrap(this.getPublicBaseKeyB64())+"\n",t+="-----END PUBLIC KEY-----"},e.hasPublicKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},e}(ht),vt=function(){function t(t){t=t||{},this.default_key_size=parseInt(t.default_key_size,10)||1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new gt(t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(c(t))}catch(t){return!1}},t.prototype.encrypt=function(t){try{return l(this.getKey().encrypt(t))}catch(t){return!1}},t.prototype.sign=function(t,e,n){try{return l(this.getKey().sign(t,e,n))}catch(t){return!1}},t.prototype.verify=function(t,e,n){try{return this.getKey().verify(t,c(e),n)}catch(t){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new gt,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version="3.0.0-rc.1",t}();window.JSEncrypt=vt,t.JSEncrypt=vt,t.default=vt,Object.defineProperty(t,"__esModule",{value:!0})})},function(t,e,n){var i=n(378);"string"==typeof i&&(i=[[t.id,i,""]]);var r,o={hmr:!0};o.transform=r,o.insertInto=void 0;n(83)(i,o);i.locals&&(t.exports=i.locals)},function(t,e,n){var i=n(379);"string"==typeof i&&(i=[[t.id,i,""]]);var r,o={hmr:!0};o.transform=r,o.insertInto=void 0;n(83)(i,o);i.locals&&(t.exports=i.locals)},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/"),r=t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(r))return t;var o;return o=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:i+r.replace(/^\.\//,""),"url("+JSON.stringify(o)+")"});return r}},function(t,e){t.exports=" <div id=timeout class=auto> <button v-if=isTest @click=timeout>提取工单</button> </div> "},function(t,e){t.exports=' <div class=auto> <alert :show.sync=msg.show placement=top :duration=msg.duration :type=msg.type width=400px :dismissable="msg.type === \'danger\'"> <span class="glyphicon glyphicon-ok-sign alert-icon-float-left" v-if="msg.type === \'success\'"></span> <span class="glyphicon glyphicon-remove-sign alert-icon-float-left" v-if="msg.type === \'danger\'"></span> <span class="glyphicon glyphicon-info-sign alert-icon-float-left" v-if="msg.type === \'warning\'"></span> <span class="glyphicon glyphicon-ban-circle alert-icon-float-left" v-if="msg.type === \'info\'"></span> <strong v-if="msg.type === \'success\'">成 功 !</strong> <strong v-if="msg.type === \'danger\'">失 败 !</strong> <strong v-if="msg.type === \'info\'">提 示 !</strong> <strong v-if="msg.type === \'warning\'">警 告 !</strong> <p>{{ msg.msg }}</p> </alert> </div> '},function(t,e){t.exports=' <div class=auto> <alert :show.sync=msg.show placement=top-right :duration=msg.duration :type=msg.type width=400px :dismissable="msg.type === \'danger\'"> <span class="glyphicon glyphicon-ok-sign alert-icon-float-left" v-if="msg.type === \'success\'"></span> <span class="glyphicon glyphicon-remove-sign alert-icon-float-left" v-if="msg.type === \'danger\'"></span> <span class="glyphicon glyphicon-info-sign alert-icon-float-left" v-if="msg.type === \'warning\'"></span> <span class="glyphicon glyphicon-ban-circle alert-icon-float-left" v-if="msg.type === \'info\'"></span> <strong v-if="msg.type === \'success\'">成 功 !</strong> <strong v-if="msg.type === \'danger\'">失 败 !</strong> <strong v-if="msg.type === \'info\'">提 示 !批量操作进行中,请勿再进行批量操作!</strong> <strong v-if="msg.type === \'warning\'">警 告 !</strong> <p>{{ msg.msg }}</p> </alert> </div> '},function(t,e){t.exports=" <div id=app-base class=full> <http-busy> <slot></slot> </http-busy> <message-box></message-box> <alert-box></alert-box> <alert-box-batch></alert-box-batch> </div> "},function(t,e){t.exports=' <div id=busy class=full> <alert :show.sync="isBusy && !silent" placement=top type=info width=400px> <div class=auto> <span class="glyphicon glyphicon-ban-circle alert-icon-float-left"></span> <strong>提 示 , 勿进行任何操作!</strong> <p>正在请求数据,请耐心等候!!!</p> </div> </alert> <spinner v-ref:spinner text=正在请求数据,请耐心等候!!!></spinner> <div class=full> <slot name=normal></slot> </div> </div> '},function(t,e){t.exports=' <list :model=model> <div class="panel panel-info" partial> <div class=panel-heading> <span class=panel-title> <partial name=header></partial> </span> </div> <div class=panel-body> <partial name=body></partial> </div> <div class=auto id=panel-footer> <partial name=footer></partial> </div> </div> </list> '},function(t,e){t.exports=' <div class=""> <partial :name=partialId></partial> </div> '},function(t,e){t.exports=' <dropdown :model=model class=auto :style="{width: width+\'px\'}" id=vc-chooser> <button type=button class="btn btn-default dropdown-toggle auto" data-toggle=dropdown :id="\'vc-chooser-button-\'+attach"> <span>{{ textContent }}</span> <span class=caret></span> </button> <tree :model=model slot=dropdown-menu class="dropdown-menu auto" role=menu> <span partial>{{row.data.name}}</span> </tree> </dropdown> '},function(t,e){t.exports=" <span> <partial name=default></partial> </span> "},function(t,e){t.exports=' <div id=app class=auto> <div class=form-group> <label class="col-sm-2 control-label">人员:</label> <div class=col-sm-4> <input type=text v-model=model.name class=form-control> </div> </div> <div class=form-group> <label class="col-sm-2 control-label">时间:</label> <div class=col-sm-4> <input type=date v-model=model.date class=form-control> </div> </div> <div class=form-group> <div class="col-sm-offset-2 col-sm-4"> <button class="btn btn-primary btn-block" v-on:click=getData>查询</button> </div> </div> </div> '},function(t,e){t.exports=' <div id=app class="auto select-overspread form-horizontal"> <div class=row> <div class="col-sm-6 form-group form-fix-width"> <label class=control-label>人员</label> <input type=text v-model=model.name class=form-control> </div> <div class="col-sm-6 form-group form-fix-width"> <label for=f_area class=control-label>分公司</label> <v-select :value.sync=f_fengongsi :value-single=true :options=f_fengongsis placeholder=请选择分公司网点 close-on-select> </v-select> </div> <div class="col-sm-6 form-group form-fix-width"> <label class=control-label>时间</label> <datepicker placeholder=时间 :value.sync=model.date v-model=model.date :format="\'yyyy-MM-dd\'"></datepicker> </div> <div class="col-sm-6 form-group form-fix-width"> <label class=control-label></label> <button class="btn btn-primary btn-block" v-on:click=getData>查询</button> </div> </div> </div> '},function(t,e){t.exports=' <work-busy :is-busy=model.seaching v-show=model.seaching></work-busy> <div v-show=!model.seaching :class=classtype class=list-flex style="height: 95%"> <partial name=criteria></partial> <p v-if="model.state === \'错误\'">{{ model.error }}</p> <div class=span> <partial name=list></partial> </div> <pager v-if=pager :page-index=model.pageIndex :model=model @page-changed=loadPage :count=model.count :page-size.sync=model.pageSize :attach=attach :simple=simple> </pager> </div> '},function(t,e){t.exports=" <span> <partial name=default></partial> </span> "},function(t,e){t.exports=' <div @scroll=scroll() style=overflow:auto v-el:grid> <table replace=table class={{classname}}> <thead a-partial=head v-for="h in 1" class=text-left> </thead> <tbody> <tr :id="\'vc-datagrid-\'+attach+\'-\'+$index" v-for="row in model.rows || model.children || model.data" v-bind:class="{ \'success\': isSelected(row)&&!customize,\'customizestyle\':isSelected(row)&&customize }" @click=select(row) @dblclick.stop="dblclickGo(row, $index)" a-partial=body track-by=$index> </tr> </tbody> <tr a-partial=foot v-for="f in 1"></tr> </table> </div> '},function(t,e){t.exports=' <table replace=table class="table table-hover"> <thead> <tr a-partial=head> <th v-for="title in titels"> {{ title.label }} </th> </tr> </thead> <tbody> <tr v-for="row in model.rows" v-bind:class="{ \'success\': isSelected(row) }" @click=select(row) a-partial=body :id="\'vc-datatable-\'+attach+\'-\'+$index"> <td v-for="col in titels">{{ row[col.value] }}</td> </tr> </tbody> <tr a-partial=foot></tr> </table> '},function(t,e){t.exports=' <div> <tabset v-ref:tabs> <tab v-for="tab of tabs" :header=tab.route.title> <route :comp=tab.comp :index=$index></route> </tab> </tabset> </div> '},function(t,e){t.exports=' <div style="overflow-y: hidden"> <iframe class=embbedpage :src=domainName frameborder=0></iframe> </div> '},function(t,e){t.exports=' <div> <validator name=v> <partial name=default></partial> <footer slot=modal-footer class=modal-footer> <button :disabled=!$v.valid @click=confirm() class="btn btn-primary" :id="\'vc-entityform-confirm-\'+attach">保存</button> <button @click=$back() class="btn btn-default" :id="\'vc-entityform-back-\'+attach">取消</button> </footer> </validator> </div> '},function(t,e){t.exports=' <button v-show=isshow class="button_export button_spacing" @click.prevent=exportExcel() :id="\'vc-exportexcel-\'+attach">{{btnName}}</button> <modal :show.sync=show v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <div v-show=!progressShow> <h4 class=modal-title>导出列选择</h4> <input type=checkbox class="" id=f_operator v-model=all> <label for=f_operator class=font-size>全选</label> </div> <div v-show=progressShow> <h4 class=modal-title>导出中,请耐心等待...</h4> </div> </header> <article slot=modal-body> <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px" v-show=!progressShow> <div class=col-sm-4 v-for="f in fields"> <input type=checkbox class="" :id="\'export-col-\'+$index" v-model=modelval :value=$key> <label :for="\'export-col-\'+$index" class=font-size>{{f}}</label> </div> </div> <div class=progress style="margin: 20px" v-show=progressShow> <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}"> {{percent}} </div> </div> </article> <footer slot=modal-footer class=modal-footer> <center> <button v-show=show type=button class="btn btn-default" @click=close()>取消</button> <button v-show="show && !progressShow" type=button class="btn btn-success" @click=export()>导出</button> </center> </footer> </modal> '},function(t,e){t.exports=' <button class="button_export button_spacing" @click=exportExcel() :id="\'vc-exportexcel-\'+attach">{{btnName}}</button> <modal :show.sync=show v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>导出列选择</h4> <input type=checkbox class="" id=f_operator v-model=all> <label for=f_operator class=font-size>全选</label> </header> <article slot=modal-body> <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px"> <div class=col-sm-4 v-for="f in fields"> <input type=checkbox class="" :id="\'export-col-\'+$index" v-model=modelval :value=$key> <label :for="\'export-col-\'+$index" class=font-size>{{f}}</label> </div> </div> </article> <footer slot=modal-footer class=modal-footer> <center> <button v-show=show type=button class="btn btn-default" @click=close()>取消</button> <button v-show=show type=button class="btn btn-success" @click=export()>导出</button> </center> </footer> </modal> <modal :show.sync=exportShow v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>导出文件下载</h4> </header> <article slot=modal-body style=height:70px> <div class="auto col-sm-12" style="margin-top: 10px"> <center> <p v-show=!downbutton>文件正在导出..</p> <button v-show=downbutton type=button class="btn btn-default" @click=downFile()>下载导出文件</button> </center> </div> </article> <footer slot=modal-footer class=modal-footer> <button type=button class="btn btn-default" @click=closeRequeset()>取消</button> </footer> </modal> '},function(t,e){t.exports=' <button class="button_export button_spacing" @click=exportExcel() :id="\'vc-exportexcel-\'+attach">{{btnName}}</button> <modal :show.sync=show v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>导出列选择</h4> <input type=checkbox class="" id=f_operator v-model=all> <label for=f_operator class=font-size>全选</label> </header> <article slot=modal-body> <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px"> <div class=col-sm-4 v-for="f in fields"> <input type=checkbox class="" :id="\'export-col-\'+$index" v-model=modelval :value=$key> <label :for="\'export-col-\'+$index" class=font-size>{{f}}</label> </div> </div> </article> <footer slot=modal-footer class=modal-footer> <center> <button v-show=show type=button class="btn btn-default" @click=close()>取消</button> <button v-show=show type=button class="btn btn-success" @click=export()>导出</button> </center> </footer> </modal> <modal :show.sync=exportShow v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>导出文件下载</h4> </header> <article slot=modal-body style=height:70px> <div class="auto col-sm-12" style="margin-top: 10px"> <center> <p v-show=!downbutton>文件正在导出..</p> <button v-show=downbutton type=button class="btn btn-default" @click=downFile()>下载导出文件</button> </center> </div> </article> <footer slot=modal-footer class=modal-footer> <button type=button class="btn btn-default" @click=closeRequeset()>取消</button> </footer> </modal> '},function(t,e){t.exports=' <div class=auto> <tree-grid class=treeList :model=model v-ref:tree :is-click=true isedit=true url=rs/logic/filetool id=vc-chooser> <template partial=head> <tr> <th>目录</th> <th>类型</th> </tr> </template> <template partial=body> <td> <tree-grid-item :row=row> <span partial> <span>{{row.data.name}}</span> <span v-if=$parent.isSelected(row)> <button class="btn btn-success btn-sm" @click="$parent.$parent.openInputWin(\'updataFile\',row)">重命名</button> <button class="btn btn-success btn-sm" @click=$parent.$parent.deleteFile(row)>删除</button> <button v-if="row.size>0" class="btn btn-success btn-sm" @click="$parent.$parent.openInputWin(\'createFolder\',row)">新建目录</button> <button v-if="row.size>0" class="btn btn-success btn-sm" @click="$parent.$parent.openInputWin(\'createFile\',row)">新建文件</button> <button v-if="row.size>0" class="btn btn-success btn-sm" @click=$parent.$parent.openImportFileWin(row)>文件导入</button> </span> </span> </tree-grid-item> </td> <td>{{row.data.suffix!=""?row.data.suffix:row.data.type}}</td> </template> </tree-grid> </div> <modal :show.sync=importFileWin v-ref:modal backdrop=false> <header slot=modal-header class=modal-header> <button type=button class=close @click=closeImportFileWin><span>×</span></button> <h4 class=modal-title>文件导入</h4> </header> <article slot=modal-body class=modal-body> <div class=form-group> <file-upload class=my-file-uploader name=fileTree action=rs/file/uploadFile tagname=文件导入 :headers=headers v-ref:file></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer></footer> </modal> <modal :show.sync=inputWin v-ref:modal2 backdrop=false> <header slot=modal-header class=modal-header> <button type=button class=close @click=closeInputWin><span>×</span></button> </header> <article slot=modal-body class=modal-body> <input class=form-control v-model=targetName> </article> <footer slot=modal-footer class=modal-footer> <button type=button class="btn btn-default" @click=dispatcher>确定</button> </footer> </modal> ';
|
|
124
|
-
},function(t,e){t.exports=' <div> <label for="{{ name }}" class=font_normal_body> <input type=file class=input_search name="{{ name }}" id="{{ id || name }}" accept="{{ accept }}" v-on:click=fileInputClick v-on:change=fileInputChange multiple="{{ multiple }}" class=form-control> <slot></slot> </label> <button type=button style="margin-top: 10px" v-on:click=fileUpload class="button_search btn-gn" :id="\'vc-fileupload-upload-\'+attach">{{ tagname }}</button> </div> '},function(t,e){t.exports=' <button class="btn btn-default" @click=print :id="\'vc-formprint-\'+attach">打印</button> '},function(t,e){t.exports=' <table replace=table class="table table-hover"> <thead a-partial=head> </thead> <tbody> <tr :id="\'vc-gridtree-tr-\'+attach+\'-\'+$index" v-for="row in model" v-bind:class="{ \'success\': isSelected(row) }" @click=select(row) a-partial=body> <td> <span v-for="n of row.level"> </span> <span v-if=isFolder(row) @click=toggle(row) :id="\'vc-gridtree-span-\'+attach+\'-\'+$index"> <span v-if=row.open>-</span> <span v-else>+</span> </span> <partial name=default></partial> <span v-if=\'row.state === "错误"\'>x</span> </td> </tr> </tbody> </table> '},function(t,e){t.exports=" <div id=http-busy class=full> <busy :is-busy=!http.isEnd :silent=http.silent> <slot slot=normal></slot> <p slot=busy>正在等待服务器返回结果,请耐心等候!</p> </busy> </div> "},function(t,e){t.exports=' <div> <div class=row> <button type=button name=button class="btn btn-primary" @click=takePic()>拍照</button> </div> <div class=row> <div class="col-xs-4 col-sm-3 col-md-2" v-for="img in model" v-if="img.imgpath == sutitle "> <img-self :src=getimgstr(img) alt=维修照片 :width=150 :height=200></img-self> <button type=button name=button class="btn btn-default" @click=remove(img)>-</button> </div> </div> </div> '},function(t,e){t.exports=' <div> <img :src=src :alt=alt @click=open() :width=width :height=height title=点击查看图片 :id="\'vc-imgself-img-\'+attach"> <div class=full-img v-if=show> <img :src=src alt="" class=img-state :alt="alt || \'\'"> <div class=btns> <button type=button name=button class="btn btn-primary" @click=enlarge() :id="\'vc-imgself-enlarge-\'+attach">放大</button> <button type=button name=button class="btn btn-primary" @click=reduce() :id="\'vc-imgself-reduce-\'+attach">缩小</button> <button type=button name=button class="btn btn-primary" @click=leftRevolve() :id="\'vc-imgself-leftRevolve-\'+attach">向左旋转</button> <button type=button name=button class="btn btn-primary" @click=rightRevolve() :id="\'vc-imgself-rightRevolve-\'+attach">向右旋转</button> <button type=button name=button class="btn btn-primary" @click=close() :id="\'vc-imgself-close-\'+attach">关闭</button> </div> </div> </div> '},function(t,e){t.exports=' <div class=flex-row id=self-input-group style="margin-top: 3%;margin-left: 1%;width: 60%"> <v-select :value.sync=symbol v-model=symbol :options=selects placeholder=请选择 close-on-select></v-select> <input :type=inputType class=form-control :placeholder=placeholder aria-describedby=basic-addon1 v-model=data :id="\'vc-input-input-\'+attach"> </div> '},function(t,e){t.exports=' <div class=vue-keyboard role=application :class="{ full: full, empty: empty, valid: valid, invalid: !valid }" :data-value=value :data-layout=layout v-if=show> <div class=hide-keyboard> <button class=vue-keyboard-key @click=hide() :id="\'vc-keyboard-hide\'+attach">收起键盘</button> </div> <div role=row class=vue-keyboard-row v-for="row in buttons" :data-keys=row.length> <button :id="\'vc-keyboard-action\'+attach+\'-\'+$index" v-for="btn in row" class=vue-keyboard-key role=button :class=btn.type :data-args=btn.args :data-text=btn.value :data-action=btn.action.name @click.prevent=btn.action.callable>{{ btn.value }}</button> </div> </div> '},function(t,e){t.exports=' <div class=auto> <dropdown v-for="row in toNode" class=tree-flex-footer> <button type=button data-toggle=dropdown :title=row.data.name :id="\'vc-lefticon-button-\'+attach+"> <img :src=row.data.icon alt=""> </button> <ul slot=dropdown-menu class="dropdown-menu dropdown-menu-down"> <li>{{row.data.name}}</li> <li v-for="child in row.children"> <a href=# @click.prevent=select(child) :id="\'vc-lefticon-select\'+attach+\'-\'+$index">{{ child.name }}</a> </li> </ul> </dropdown> </div> '},function(t,e){t.exports=" <div class=span> <ul class=list-unstyled> <li :id=\"'vc-list-'+attach+'-'+$index\" v-for=\"row in model.rows\" v-bind:class=\"{ 'bg-success': isSelected(row) }\" @click=select(row)> <partial name=default></partial> </li> </ul> </div> "},function(t,e){t.exports=" <div> <p>获取参数失败,请检查网络状况或服务状态</p> </div> "},function(t,e){t.exports=' <div class=over id=params-tree> <tree :model=model v-ref:tree> <span partial> <input type=text v-model=row.data.name @dblclick.stop=$parent.$parent.modify(row) :class="{\'edit-tree\': $parent.$parent.isEdit.includes(row), \'no-edit\': !$parent.$parent.isEdit.includes(row)}" :readonly=!$parent.$parent.isEdit.includes(row)> <span @click.stop="$parent.$parent.addChildren (row, $index)" title=增加子节点 class="glyphicon glyphicon-plus" style=margin-left:20px></span> <span @click.stop="$parent.$parent.remove (row)" title=删除子节点 class="glyphicon glyphicon-trash" style=margin-left:20px></span> </span> </tree> <modal v-ref:modal :show.sync=isAddChild :backdrop=false class=auto> <header slot=modal-header class=modal-header> <button type=button class=close @click=close><span>×</span></button> <h4 class=modal-title>为 <span style="font-weight: bolder">{{addTitle}}</span> 添加子参数</h4> </header> <article slot=modal-body class="modal-body modifystyle"> 请输入添加的参数名: <input type=text class=form-control> </article> <footer slot=modal-footer class=modal-footer> <button type=button class="btn btn-success" @click=save()>保存添加</button> </footer> <modal> </modal></modal></div> '},function(t,e){t.exports=' <div class=auto> <modal :show.sync=msg.show :coverstyle=msg.stylename v-ref:modal backdrop=false> <header slot=modal-header class=modal-header> <h4 class=modal-title style="float: left;width: 80%">{{msg.title}}</h4> <span style="float: right;margin-right: 5px" @click=close class="glyphicon glyphicon-remove"></span> </header> <article slot=modal-body class=modal-body> {{ msg.msg }} </article> <footer slot=modal-footer class=modal-footer> <button v-show=msg.cancelShow type=button class="btn btn-default" @click=close id=vc-messagebox-close>取消</button> <button v-show=msg.confirmShow type=button class="btn btn-success" @click=confirm id=vc-messagebox-confirm>确认</button> <button v-show=msg.backShow type=button class="btn btn-cancal" @click=back id=vc-messagebox-back>返回</button> </footer> </modal> </div> '},function(t,e){t.exports=' <nav> <ul class=pager v-if=!simple> <li>第<input size=4 v-model=pageIndex number :id="\'vc-page-input\'+attach">页/{{totalPage}}页 </li><li><a href=# @click=goIndex :id="\'vc-page-index\'+attach">跳转</a></li> 共{{count}}行 每页<input size=4 v-model=pageSize number>行 <li class=margin-left><a href=# @click=gotoFirst :disable="pageIndex !== 1" :id="\'vc-page-first\'+attach">首页</a></li> <li><a href=# @click=gotoPre :id="\'vc-page-pre\'+attach">上页</a></li> <li><a href=# @click=gotoNext :id="\'vc-page-next\'+attach">下页</a></li> <li><a href=# @click=gotoLast :id="\'vc-page-last\'+attach">末页</a></li> </ul> <ul class=pager v-if=simple> <li><a href=# @click=gotoFirst :disable="pageIndex !== 1" :id="\'vc-page-first\'+attach">首页</a></li> <li><a href=# @click=gotoPre :id="\'vc-page-pre\'+attach">上页</a></li> <li>第{{pageIndex}}页/{{totalPage}}页 </li><li><a href=# @click=gotoNext :id="\'vc-page-next\'+attach">下页</a></li> <li><a href=# @click=gotoLast :id="\'vc-page-last\'+attach">末页</a></li> </ul> </nav> '},function(t,e){t.exports=' <div v-if=http.isBusy> <p>正在请求数据,请耐心等候!!!</p> </div> <div v-if="!http.isBusy && error !== null"> <p>获取数据失败, 错误码:{{ error.status }}, 错误信息: {{ error.data }}</p> </div> <div v-show="!http.isBusy && error === null"> <slot></slot> </div> '},function(t,e){t.exports=' <button class="button_export button_spacing" @click=printData()>打印</button> <modal :show.sync=printshow v-ref:modal backdrop=false> <header slot=modal-header class="modal-header text-center"> <h4 class=modal-title>打印列选择</h4> <input type=checkbox class="" id=f_generations v-model=all> <label for=f_generations class=font-size>全选</label> </header> <article slot=modal-body> <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px"> <div class=col-sm-3 v-for="f in fields"> <input type=checkbox class="" :id="\'water-owe-details-\'+$index" v-model=modelval :value=$key> <label :for="\'water-owe-details-\'+$index" class=font-size>{{f}}</label> </div> </div> </article> <footer slot=modal-footer class=modal-footer> <center> <button v-show=printshow type=button class="btn btn-default" @click=close()>取消</button> <button v-show=printshow type=button class="btn btn-success" @click=print()>打印</button> <print-table :model=model v-show=false v-ref:print :printview=printview :xyprint=xyprint :top=40 :left=40 :right=40 :bottom=40 :print-name=printName :thead=thead :tfoot=tfoot :attach=attach :sumhtml=sumhtml :fields=modelval :is-selected=isSelected :printpage=printpage> </print-table> </center> </footer> </modal> '},function(t,e){t.exports=' <button class="btn btn-default" @click=PrintTable() :id="\'vc-ptrinttable-\'+attach">打印</button> '},function(t,e){t.exports=' <button class="btn btn-info" @click=print :id="\'vc-printfile-\'+attach"><span class="glyphicon glyphicon-print"></span> 打印</button> '},function(t,e){t.exports=' <button class="btn btn-default" @click=contPrint() :id="\'vc-printformcont-\'+attach"> <span class="glyphicon glyphicon-print"></span>批量表格打印 </button> '},function(t,e){t.exports=' <button class="btn btn-default" @click=PrintAsFile() :id="\'vc-printtable-\'+attach">打印表格</button> '},function(t,e){t.exports=' <button class="btn btn-info" @click=Begin()>读身份证</button> '},function(t,e){t.exports=' <button class="btn btn-default" @click=SaveAsFile() :id="\'vc-reportexcel-\'+attach">报表导Excel</button> '},function(t,e){t.exports=' <button class="btn btn-default" @click=print v-show=showbtn>打印</button> '},function(t,e){t.exports=' <div> <validator name=v> <form novalidate> <div> 报表名称: <input type=text v-model=model.f_reportname v-validate:f_reportname="{ required: true }" :id="\'vc-reportsave-reportname-\'+attach"> <span v-if=$v.f_reportname.required>不能为空</span> </div> <div> 报表类型: <input type=text v-model=model.f_reporttype v-validate:f_reporttype="{ required: true }" :id="\'vc-reportsave-reporttype-\'+attach"> <span v-if=$v.f_reporttype.required>不能为空</span> </div> <div v-if=false> 内容: <input type=text v-model=model.f_content v-validate:f_content="{ required: true }" :id="\'vc-reportsave-content-\'+attach"> <span v-if=$v.f_person.f_content>不能为空</span> <span>{{{model.f_content}}}</span> </div> <div> 摘要: <input type=text v-model=model.f_remark v-validate:f_remark="{ required: true }" :id="\'vc-reportsave-remark-\'+attach"> <span v-if=$v.f_remark.required>不能为空</span> </div> <div> 所属期: <input type=text v-model=model.f_period v-validate:f_period="{ required: true }" :id="\'vc-reportsave-period-\'+attach"> <span v-if=$v.f_period.required>不能为空</span> </div> <div> 生成日期: <input type=text v-model=model.f_reportdate v-validate:f_reportdate="{ required: true }" :id="\'vc-reportsave-reportdate-\'+attach"> <span v-if=$v.f_reportdate.required>不能为空</span> </div> <div> 制表人: <input type=text v-model=model.f_lister v-validate:f_lister="{ required: true }" :id="\'vc-reportsave-lister-\'+attach"> <span v-if=$v.f_lister.required>不能为空</span> </div> </form> <button v-if=$v.valid @click=save() :id="\'vc-reportsave-save-\'+attach">保存</button> <button @click=$back() :id="\'vc-reportsave-back-\'+attach">返回</button> </validator> </div> '},function(t,e){t.exports=' <div> <component v-for="card in cards" :is=card.name v-show=show(card)></component> </div> '},function(t,e){t.exports=' <div class=menu-content> <ul class=menu v-for="row in toNode"> <li v-if="row.children.length == 0" class=alone :class="{\'opentab\': opens.includes(row.data.link)}" @click.prevent=isopen(row.data.link),select(row.data) :id="\'vc-selectmenu-select-\'+attach+\'-\'+$index"> {{ row.data.name }} <span v-if=opens.includes(row.data.link) class="glyphicon glyphicon-remove" @click.stop.prevent=colse(row.data.link) :id="\'vc-selectmenu-colse-\'+attach+\'-\'+$index"></span> </li> <li v-if="row.children.length != 0"> {{ row.data.name }} </li> <li :class="{\'opentab\': opens.includes(child.link)}" v-for="child in row.children" @click.prevent=isopen(child.link),select(child) :id="\'vc-selectmenu-select-\'+attach+\'-\'+$index"> {{ child.name }} <span v-if=" opens.includes(child.link)" class="glyphicon glyphicon-remove" @click.stop.prevent=colse(child.link) :id="\'vc-selectmenu-colse-\'+attach+\'-\'+$index"></span> </li> </ul> </div> '},function(t,e){t.exports=' <div class="panel panel-default flex"> <div class="panel-heading auto" id=editor-toolbar> <select class="" name="" title=字体大小 v-model=size @change="executeCom({cmd: \'formatBlock\', arg: size})"> <option value=h6 style=font-size:12px>h6</option> <option value=h5 style=font-size:14px>h5</option> <option value=h4 style=font-size:18px>h4</option> <option value=h3 style=font-size:24px>h3</option> <option value=h2 style=font-size:30px>h2</option> <option value=h1 style=font-size:36px>h1</option> </select> <span v-for="com in commands" :class=com.className :title=com.text @click=executeCom(com) @mousedown=down></span> <span class="glyphicon glyphicon-floppy-disk toolbar-right" @click=confirm() title=保存></span> </div> <div class="panel-body span" contenteditable=true id=editor-content style="outline: none" @keyup.enter=addEnter @input=contentChanged v-el:content> </div> </div> '},function(t,e){t.exports=" <ul :class=classes> <slot></slot> </ul> "},function(t,e){t.exports=" <li :class=itemClasses> <div :class=tailClasses></div> <div :class=headClasses :style=customColor v-el:dot><slot name=dot></slot></div> <div :class=contentClasses> <slot></slot> </div> </li> "},function(t,e){t.exports=' <div class=auto> <dropdown class="auto top-menu" :style="{width: width+\'px\'}" v-for="row in toNode"> <button type=button data-toggle=dropdown v-if="row.children.length === 0" @click.prevent=select(row.data)> <img :src=row.data.icon style=width:35px;height:35px> {{row.data.name}} </button> <button type=button data-toggle=dropdown v-if="row.children.length !== 0"> <img :src=row.data.icon style=width:35px;height:35px> {{row.data.name}} </button> <ul slot=dropdown-menu class=dropdown-menu v-if="row.children.length !== 0"> <li v-for="child in row.children"> <a href=# @click.prevent=select(child)><span class="glyphicon glyphicon-th-large"></span> {{ child.name }}</a> </li> </ul> </dropdown> </div> '},function(t,e){t.exports=' <div :class=rootClass style="overflow-x: hidden"> <span v-if=isClick style="white-space: nowrap"> <a herf=# :id="\'vc-tree-\'+attach+\'-\'+row.data.name" v-for="row in toNode" @click=select(row) :class=childClass v-bind:class="{ \'left-active\': isSelected(row), \'left-father\': !isSelected(row) }" transition=expand> <span v-for="n of row.level" v-if=flagres> </span> <span v-if=isFolder(row) @click.stop=toggle(row,flagres) :id="\'vc-tree-\'+attach+\'-\'+row.data.name+\'-\'+$index"> <span :class=row.open?spanClass[0]:spanClass[1]></span> </span> <partial name=default></partial> </a> </span> <span style="border: none" v-if=!isClick> <a herf=# :id="\'vc-tree-\'+attach+\'-\'+row.data.name" v-for="row in toNode" @click.stop="isFolder(row) ? toggle(row,flagres) : select(row)" :class=childClass v-bind:class="{ \'left-active\': isSelected(row), \'left-father\': !isSelected(row) }" transition=expand> <span v-for="n of row.level" v-if=flagres> </span> <partial name=default></partial> </a> </span> <span v-if=\'row && row.state === "错误"\'>x</span> </div> '},function(t,e){t.exports=' <div class=list-group> <table class="table table-bordered"> <thead a-partial=head v-for="h in 1" class=text-left> </thead> <tbody> <tr v-for="row in toNode" :id="\'vc-datagrid-\'+attach+\'-\'+$index" v-bind:class="{ \'success\': isSelected(row) }" @click=select(row) a-partial=body> </tr> </tbody> <tr a-partial=foot v-for="f in 1"></tr> </table> </div> '},function(t,e){t.exports=" <a herf=# :id=\"'vc-tree-'+$parent.attach+'-'+row.data.name\" class=list-group-item transition=expand style=\"border: none;background-color: transparent;cursor: pointer\"> <span v-for=\"n of row.level\"> </span> <span v-if=$parent.isFolder(row) @click.stop=$parent.toggle(row) :id=\"'vc-tree-'+$parent.attach+'-'+row.data.name+'-'+$index\"> <span :style=\"{'font-size': iconsize}\" v-bind:class=\"{ 'glyphicon glyphicon-minus-sign': row.open, 'glyphicon glyphicon-plus-sign': !row.open }\"></span> </span> <partial name=default></partial> </a> "},function(t,e){t.exports=' <div id=loadering class="" v-if=isBusy> <div class=content> <div id=loader> <div id=dot1 class=dot></div> <div id=dot2 class=dot></div> <div id=dot3 class=dot></div> <div id=dot4 class=dot></div> </div> <h4 class=loadmessage>正在工作,请等待!</h4> </div> </div> '},function(t,e){t.exports=' <div class="panel-group auto"> <slot></slot> </div> '},function(t,e){t.exports=" <div> <div v-bind:class=\"{'vue-affix': affixed}\" v-bind:style=styles> <slot></slot> </div> </div> "},function(t,e){t.exports=" <div v-show=show v-bind:class=\"{\n 'alert':\t\ttrue,\n 'alert-success':(type == 'success'),\n 'alert-warning':(type == 'warning'),\n 'alert-info':\t(type == 'info'),\n 'alert-danger':\t(type == 'danger'),\n 'top': \t\t\t(placement === 'top'),\n 'top-right': \t(placement === 'top-right')\n }\" transition=fade class=auto v-bind:style={width:width} role=alert> <button v-show=dismissable type=button class=close @click=\"show = false\"> <span>×</span> </button> <slot></slot> </div> "},function(t,e){t.exports=" <div class=\"aside flex\" v-bind:style=\"{width:width + 'px'}\" v-bind:class=\"{\n left:placement === 'left',\n right:placement === 'right'\n }\" v-show=show :transition=\"(this.placement === 'left') ? 'slideleft' : 'slideright'\"> <div class=aside-dialog> <div class=aside-content> <div class=aside-header> <button type=button class=close @click=close><span>×</span></button> <h4 class=aside-title> <slot name=header> {{ header }} </slot> </h4> </div> <div class=\"aside-body span\"> <slot></slot> </div> </div> </div> </div> "},function(t,e){t.exports=' <div class=datepicker :class="{\'col-sm-12\': isAllLine}"> <input class="form-control datepicker-input" :class="{\'with-reset-button\': showResetButton}" type=text v-bind:style={width:width} :disabled=disabled :readonly=readonly @click=inputClick :placeholder=placeholder v-model=value /> <div class="datepicker-popup auto" v-el:popup v-show=displayDayView :class="{\'dateup\': isUp, \'dateright\': isRight}"> <div class=datepicker-inner> <div class=datepicker-body> <div class=datepicker-ctrl> <span class="month-btn datepicker-preBtn" @click=preNextMonthClick(0)><</span> <span class="month-btn datepicker-nextBtn" @click=preNextMonthClick(1)>></span> <p @click=switchMonthView>{{stringifyDayHeader(currDate)}}</p> </div> <div class=datepicker-weekRange> <span v-for="w in weekRange">{{w}}</span> </div> <div class=datepicker-dateRange> <span v-for="d in dateRange" v-bind:class=d.sclass @click=daySelect(d.date,this)>{{d.text}}</span> </div> <div class=datepicker-weekRange v-show=displayTTimeView> {{hour}} <span>时</span> {{minute}} <span>分</span> {{second}} <span>秒</span> <span @click=switchTimeView class="glyphicon glyphicon-time"></span> </div> </div> </div> </div> <div class="datepicker-popup auto" v-show=displayMonthView v-el:popupmouth :class="{\'dateup\': isUp, \'dateright\': isRight}"> <div class=datepicker-inner> <div class=datepicker-body> <div class=datepicker-ctrl> <span class="month-btn datepicker-preBtn" @click=preNextYearClick(0)><</span> <span class="month-btn datepicker-nextBtn" @click=preNextYearClick(1)>></span> <p @click=switchDecadeView>{{stringifyYearHeader(currDate)}}</p> </div> <div class=datepicker-monthRange> <template v-for="m in monthNames"> <span :class="{\'datepicker-dateRange-item-active\':\n (currDate && text ?\n (text.months[parse(value).getMonth()] === m) &&\n currDate.getFullYear() === parse(value).getFullYear() : false)}" @click=monthSelect($index)>{{m.substr(0,3)}}</span> </template> </div> </div> </div> </div> <div class="datepicker-popup auto" v-show=displayYearView v-el:popupyear :class="{\'dateup\': isUp, \'dateright\': isRight}"> <div class=datepicker-inner> <div class=datepicker-body> <div class=datepicker-ctrl> <span class="month-btn datepicker-preBtn" @click=preNextDecadeClick(0)><</span> <span class="month-btn datepicker-nextBtn" @click=preNextDecadeClick(1)>></span> <p @click=switchMonthView>{{stringifyDecadeHeader(currDate)}}</p> </div> <div class="datepicker-monthRange decadeRange"> <template v-for="decade in decadeRange"> <span :class="{\'datepicker-dateRange-item-active\':\n (this.value ?\n parse(this.value).getFullYear() === decade.text : false)}" @click.stop=yearSelect(decade.text)>{{decade.text}}</span> </template> </div> </div> </div> </div> <div class="datepicker-popup auto" v-show=displayTimeView v-el:popuphs :class="{\'dateup\': isUp, \'dateright\': isRight}"> <div class=datepicker-inner> <div class=datepicker-body> <table class=table-condensed> <tbody> <tr> <td> <a tabindex=-1 title="Increment Hour" class=btn style="min-width: auto" @click=changeHour(+1,hour)><span class="glyphicon glyphicon-chevron-up"></span></a> </td> <td class=separator></td> <td> <a tabindex=-1 title="Increment Minute" class=btn style="min-width: auto" @click=changeMinute(+1,minute)><span class="glyphicon glyphicon-chevron-up"></span></a> </td> <td class=separator></td> <td> <a tabindex=-1 title="Increment Second" class=btn style="min-width: auto" @click=changeSecond(+1,second)><span class="glyphicon glyphicon-chevron-up"></span></a> </td> </tr> <tr> <td><span title="Pick Hour" class=timepicker-hour data-action=showHours data-time-component=hours><input type=number v-model=hour min=0 max=24 style=border-style:none></span></td> <td class=separator>:</td> <td><span title="Pick Minute" class=timepicker-minute data-action=showMinutes data-time-component=minutes><input type=number v-model=minute min=0 max=59 style=border-style:none></span></td> <td class=separator>:</td> <td><span title="Pick Second" class=timepicker-second data-action=showSeconds data-time-component=seconds><input type=number v-model=second min=0 max=59 style=border-style:none></span></td> </tr> <tr> <td> <a tabindex=-1 title="Decrement Hour" class=btn style="min-width: auto" @click=changeHour(-1,hour)><span class="glyphicon glyphicon-chevron-down"></span></a> </td> <td class=separator></td> <td> <a tabindex=-1 title="Decrement Minute" class=btn style="min-width: auto" @click=changeMinute(-1,minute)><span class="glyphicon glyphicon-chevron-down"></span></a> </td> <td class=separator></td> <td> <a tabindex=-1 title="Decrement Second" class=btn style="min-width: auto" @click=changeSecond(-1,second)><span class="glyphicon glyphicon-chevron-down"></span></a> </td> </tr> </tbody> <tfoot> <tr> <td> <button type=button class="btn btn-primary btn-xs" @click=closeTimeTem>确定</button> </td> </tr> </tfoot> </table> </div> </div> </div> </div> '},function(t,e){t.exports=' <div class="btn-group auto" :class="{\'dropup\': isUp }" style="position: inherit"> <slot></slot> <slot name=dropdown-menu></slot> </div> '},function(t,e){t.exports=" <div role=dialog v-bind:class=\"{\n 'modal':true,\n 'fade':effect === 'fade',\n 'zoom':effect === 'zoom'\n }\"> <div v-bind:class=\"{'modal-dialog':true,'modal-lg':large,'modal-sm':small}\" role=document :class=coverstyle v-bind:style=\"{width: optionalWidth}\"> <div class=\"modal-content auto\"> <slot name=modal-header> <div class=modal-header> <button type=button class=close @click=close><span>×</span></button> <h4 class=modal-title> <slot name=title> {{title}} </slot> </h4> </div> </slot> <slot name=modal-body> <div class=modal-body></div> </slot> <slot name=modal-footer> <div class=modal-footer> <button type=button class=\"btn btn-default\" @click=close>{{ cancelText }}</button> <button type=button class=\"btn btn-primary\" @click=callback>{{ okText }}</button> </div> </slot> </div> </div> </div> "},function(t,e){t.exports=" <div class=container-fluid> <div class=navbar-header> <slot></slot> </div> <slot name=dropdown-menu></slot> </div> "},function(t,e){t.exports=" <div class=\"panel {{panelType}}\"> <div :class=\"['panel-heading',{'accordion-toggle':inAccordion}, {'content-open': isOpen}]\" @click.prevent=toggle()> <slot name=header> <h4 class=panel-title>{{ header }}</h4> </slot> </div> <div class=panel-collapse v-el:panel v-show=isOpen transition=collapse> <div class=panel-body> <slot></slot> </div> </div> </div> "},function(t,e){t.exports=" <span v-el:trigger> <slot></slot> <div v-el:popover v-if=show :class=\"['popover',placement]\" :transition=effect class=auto> <div class=arrow></div> <h3 class=popover-title v-if=title> <slot name=title>{{title}}</slot> </h3> <div class=popover-content> <slot name=content v-html=content></slot> </div> </div> </span> "},function(t,e){t.exports=" <div role=progressbar v-bind:class=\"{\n 'progress-bar' : true,\n 'progress-bar-success':type == 'success',\n 'progress-bar-warning':type == 'warning',\n 'progress-bar-info':type == 'info',\n 'progress-bar-danger':type == 'danger',\n 'progress-bar-striped':striped,\n 'active':animated\n }\" v-bind:style=\"{width: now + '%'}\"> {{label ? now + '%':'' }} </div> "},function(t,e){t.exports=" <div class=item> <slot></slot> </div> "},function(t,e){t.exports=" <div :class=\"['spinner spinner-gritcode',spinnerSize,{'spinner-fixed':fixed}]\" v-show=active> <div class=spinner-wrapper> </div> </div> "},function(t,e){t.exports=" <span v-el:trigger> <slot></slot> <div v-el:popover v-if=show style=display:block :class=\"['tooltip',placement]\" :transition=effect> <div class=tooltip-arrow></div> <div class=tooltip-inner> <slot name=content v-html=content></slot> </div> </div> </span> "},function(t,e){t.exports=' <div style="position: relative" v-bind:class="{\'open\':showDropdown}"> <input type=text class=form-control :placeholder=placeholder autocomplete=off v-model=query @input=update @keydown.up=up @keydown.down=down @keydown.enter=hit @keydown.esc=reset @blur="showDropdown = false"/> <ul class=dropdown-menu v-el:dropdown> <li v-for="item in items" v-bind:class="{\'active\': isActive($index)}"> <a @mousedown.prevent=hit @mousemove=setActive($index)> <partial :name=templateName></partial> </a> </li> </ul> </div> '},function(t,e){t.exports=" <label class=btn v-bind:class=\"{\n 'active':checked,\n 'btn-success':type == 'success',\n 'btn-warning':type == 'warning',\n 'btn-info':type == 'info',\n 'btn-danger':type == 'danger',\n 'btn-default':type == 'default',\n 'btn-primary':type == 'primary'\n}\"> <input type=checkbox autocomplete=off :checked=checked @click=handleClick /> <slot></slot> </label> "},function(t,e){t.exports=" <div class=btn-group data-toggle=buttons> <slot></slot> </div> "},function(t,e){t.exports=" <label class=btn v-bind:class=\"{\n 'active':active,\n 'btn-success':type == 'success',\n 'btn-warning':type == 'warning',\n 'btn-info':type == 'info',\n 'btn-danger':type == 'danger',\n 'btn-default':type == 'default',\n 'btn-primary':type == 'primary'\n}\"> <input type=radio autocomplete=off :checked=checked @click=handleClick /> <slot></slot> </label> "},function(t,e){t.exports=" <div class=btn-group data-toggle=buttons> <slot></slot> </div> "},function(t,e){t.exports=' <datepicker placeholder=请选择查询日志时间... :value.sync=model.date :format="\'yyyy-MM-dd\'" _v-07a5a8ce=""></datepicker> <input type=text v-model=model.keyword placeholder=请输入关键字... _v-07a5a8ce=""><button :onclick=selLog() _v-07a5a8ce="">搜索</button> <textarea disabled="" v-model=model.logtext _v-07a5a8ce=""></textarea> '},function(t,e,n){t.exports=' <div style="background-color: #FFFFFF" _v-12dcb5b4=""> <div class=col-sm-12 style="background-color: #FFFFFF;height:auto;border-radius: 8px" _v-12dcb5b4=""> <div style="position: relative;height: 34px;width:75%;margin: 30px auto 10px auto" _v-12dcb5b4=""> <div class=inpGroup v-if=isremark style="position:absolute;left: 0px" _v-12dcb5b4=""> <input v-model=headers.fremarks class=inp placeholder=文件说明 _v-12dcb5b4=""> </div> <div style=position:absolute;right:10% _v-12dcb5b4=""> <button class="button_search btn-gn" @click=fileUpload() v-show=!isupload _v-12dcb5b4="">本地上传</button> </div> <div v-if=isusetype _v-12dcb5b4=""> <v-select class=inp_button2 type=button placeholder=使用类型 :options=foptions :value.sync=useType v-model=useType _v-12dcb5b4=""></v-select> </div> </div> <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 60px" _v-12dcb5b4=""> <div class="showList col-sm-12" style="padding: 10px;margin-top: 20px" _v-12dcb5b4=""> <div :class="cols ? cols : \'col-sm-6\'" style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box" v-for="row in fileInfoData" _v-12dcb5b4=""> <div class=showData _v-12dcb5b4=""> <div class=left _v-12dcb5b4=""> <a href=# class=thumbnail style=width:100%;height:100% _v-12dcb5b4=""> <img v-if="row.f_filetype==\'jpg\'||row.f_filetype==\'png\'||row.f_filetype==\'gif\'||row.f_filetype==\'bmp\'" :src=row.f_downloadURL alt=... _v-12dcb5b4=""> <img v-if="row.f_filetype==\'pdf\'" src='+n(124)+' alt="" style=width:66% _v-12dcb5b4=""> <img v-if="row.f_filetype==\'xls\'||row.f_filetype==\'xlsx\'" src='+n(123)+' alt="" style=width:66% _v-12dcb5b4=""> <img v-if="row.f_filetype==\'doc\'||row.f_filetype==\'docx\'" src='+n(122)+' alt="" style=width:66% _v-12dcb5b4=""> </a> </div> <div class=right _v-12dcb5b4=""> <p :title=row.f_uploaddate class="top clears" _v-12dcb5b4=""><strong _v-12dcb5b4="">上传时间</strong>: <span _v-12dcb5b4="">{{row.f_uploaddate}}</span></p> <p :title=row.f_username class="top clears" _v-12dcb5b4=""><strong _v-12dcb5b4="">操作员</strong>: <span _v-12dcb5b4="">{{row.f_username}}</span></p> <p :title=row.f_filename class="top clears" _v-12dcb5b4=""><strong _v-12dcb5b4="">文件名</strong>: {{row.f_filename}}</p> <p :title=row.fremarks class="top clears" _v-12dcb5b4=""><strong _v-12dcb5b4="">文件说明</strong>: {{row.fremarks}}</p> <p _v-12dcb5b4=""> <a v-if="row.f_filetype==\'jpg\'||row.f_filetype==\'png\'||row.f_filetype==\'gif\'||row.f_filetype==\'bmp\'" :href=row.f_downloadURL style=background:#6aa6e2 class="btn btn-primary" target=_blank role=button _v-12dcb5b4="">预览</a> <button class="button_search btn-gn" v-if="row.f_filetype==\'pdf\'||row.f_filetype==\'xls\'||row.f_filetype==\'xlsx\'||row.f_filetype==\'doc\'||row.f_filetype==\'docx\'" @click=downloadfile(row.f_downloadURL) _v-12dcb5b4="">下载</button> <a v-show="isDelete == \'1\'" @click=delet($index,row) href=# class="btn btn-default" role=button _v-12dcb5b4="">删除</a> </p> </div> </div> </div> </div> </div> <modal :show.sync=showUpload v-ref:modal="" backdrop=false _v-12dcb5b4=""> <header slot=modal-header class=modal-header _v-12dcb5b4=""> <button type=button class=close @click=close _v-12dcb5b4=""><span class="glyphicon glyphicon-remove" _v-12dcb5b4=""></span></button> <h4 class=modal-title _v-12dcb5b4="">文件上传</h4> </header> <article slot=modal-body class=modal-body _v-12dcb5b4=""> <div class=form-group _v-12dcb5b4=""> <file-upload class=my-file-uploader name=myFile+{{blodid}} action=rs/file/uploadFile tagname=文件上传 :headers=headers multiple="" v-ref:file="" _v-12dcb5b4=""></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer _v-12dcb5b4=""> </footer> </modal> </div> '},function(t,e){t.exports=' <div class=cell @click=sortStr() :id="\'vc-dataorder-sort-\'+attach" _v-1552b074=""> <label style="margin-bottom: 0px;white-space: nowrap" _v-1552b074="">{{name}}</label> <span class=caret-wrapper :class="{\'ascend\': this.order === \'asc\', \'descend\': this.order === \'desc\'}" _v-1552b074=""> <i class="sort-caret ascending" _v-1552b074=""></i> <i class="sort-caret descending" _v-1552b074=""></i> </span> </div> ';
|
|
125
|
-
},function(t,e){t.exports=' <div class="flex foot_tabset" _v-284c1876=""> <ul class="nav nav-{{navStyle}}" role=tablist style="height: auto" _v-284c1876=""> <li :id="\'vc-tabset-li-\'+attach +\'-\'+$index" v-for="r in renderData" v-bind:class="{\n \'active\': ($index === active),\n \'disabled\': r.disabled\n }" @click.prevent="handleTabListClick($index, r)" @dblclick.stop=$launchFullscreen(r.comp._scope.tab.comp.name) :disabled=r.disabled class=bg-info _v-284c1876=""> <a href=# _v-284c1876=""> <slot name=header _v-284c1876=""> {{{r.header}}} </slot> <span class="glyphicon glyphicon-remove" style="margin-left: 15px" @click=deletetTab(r) v-if=close :id="\'vc-tabset-close-\'+attach +\'-\'+$index" _v-284c1876=""></span> </a> </li> </ul> <div class="tab-content span" v-el:tab-content="" _v-284c1876=""> <slot _v-284c1876=""></slot> </div> </div> '},function(t,e){t.exports=' <div class=signatureBox _v-354c87cc=""> <div class=canvasBox id=canvasHW _v-354c87cc=""> <canvas @touchstart=touchStart @touchmove=touchMove @touchend=touchEnd id=canvasF @mousedown=mouseDown @mousemove=mouseMove @mouseup=mouseUp _v-354c87cc=""></canvas> <div class=btnBox _v-354c87cc=""> <button @click=close _v-354c87cc="">返回</button> <button @click=overwrite _v-354c87cc="">重写</button> <button @click=commit _v-354c87cc="">提交签名</button> </div> </div> </div> '},function(t,e){t.exports=' <div style="position: relative" _v-3d8f0d57=""> <div id=pickerBox v-show=showBox _v-3d8f0d57=""> <input id=pickerInput placeholder=输入关键字选取定位点 _v-3d8f0d57=""> <div id=fight _v-3d8f0d57=""> <v-select placeholder=分类显示 :options=markerType :value-single=true close-on-select="" @change=changeType _v-3d8f0d57=""> </v-select> </div> <div id=poiInfo _v-3d8f0d57=""></div> </div> <div id=container class=map tabindex=0 _v-3d8f0d57=""></div> <div id=panel v-show=showPanel _v-3d8f0d57=""></div> </div> <modal :show.sync=modalshow v-ref:modal="" backdrop=false _v-3d8f0d57=""> <header slot=modal-header class=modal-header _v-3d8f0d57=""> <button type=button class=close @click=close _v-3d8f0d57=""><span _v-3d8f0d57="">×</span></button> <h4 class=modal-title _v-3d8f0d57="">维修员详情</h4> </header> <article slot=modal-body class=modal-body _v-3d8f0d57=""> <div class=from-group v-for="orderman in markerData" _v-3d8f0d57=""> <div class=row v-show="orderman.f_longitude != 0" _v-3d8f0d57=""> <div class=col-sm-3 _v-3d8f0d57=""> 维修员: {{orderman.name2}} </div> <div class=col-sm-3 _v-3d8f0d57=""> 今日已完成: {{orderman.todaywancheng}} </div> <div class=col-sm-3 _v-3d8f0d57=""> 今日接单数: {{orderman.todaydaiwan}} </div> <div class=col-sm-3 _v-3d8f0d57=""> 总待完成数: {{orderman.daiwancheng}} </div> </div> </div> </article> <footer slot=modal-footer class=modal-footer _v-3d8f0d57=""> </footer> </modal> '},function(t,e){t.exports=' <div style="background-color: #FFFFFF;min-height:480px" _v-40419b37=""> <div class="form-group col-sm-12" style="background-color: #FFFFFF;height: auto;min-height:470px;border-radius: 8px" _v-40419b37=""> <div style="position: relative;height: 34px;width:75%;margin: 30px auto 10px auto" _v-40419b37=""> <div class=inpGroup v-if=isremark _v-40419b37=""> <input v-model=headers.fremarks class=inp placeholder=文件说明 _v-40419b37=""> </div> <div class=inp_button type=button @click=upload() v-show=!takeimg _v-40419b37="">拍照</div> <div class=inp_button type=button @click=fileUpload() v-show=!isupload _v-40419b37="">本地上传</div> <high-meter :show.sync=showhighmeter @photo-finish=newPhoto v-if=showhighmeter _v-40419b37=""></high-meter> <div v-if=isusetype _v-40419b37=""> <v-select class=inp_button2 type=button placeholder=使用类型 :options=foptions :value.sync=useType v-model=useType _v-40419b37=""></v-select> </div> </div> <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 60px" _v-40419b37=""> <div class="showList col-sm-12" style="padding: 10px;margin-top: 20px" _v-40419b37=""> <div class=col-sm-6 style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box" v-for="row in fileInfoData" _v-40419b37=""> <div class=showData _v-40419b37=""> <div class=left _v-40419b37=""> <img :src=row.f_downloadURL _v-40419b37=""> </div> <div class=right _v-40419b37=""> <div class=top _v-40419b37=""> <div class="" style="display: inline-block;overflow: hidden" :title=row.f_filename _v-40419b37="">文件名: <span _v-40419b37="">{{row.f_filename}}</span></div> </div> <div class=top _v-40419b37=""> <div class="" style="display: inline-block;overflow: hidden" :title=row.f_uploaddate _v-40419b37="">上传时间: <span _v-40419b37="">{{row.f_uploaddate}}</span></div> </div> <div class=top _v-40419b37=""> <div class="" style="display: inline-block;overflow: hidden" _v-40419b37=""><span v-if=row.defname style="margin-right: 10px" _v-40419b37="">上传节点: {{row.defname}}</span>使用类型: <span _v-40419b37="">{{row.fusetype}}</span></div> </div> <div class=top _v-40419b37=""> <div class="" _v-40419b37="">操作员: <span _v-40419b37="">{{row.f_username}}</span></div> </div> <div class=top _v-40419b37="">文件说明: {{row.fremarks}}</div> <ul class=buttonList _v-40419b37=""> <li _v-40419b37=""> <a target=_blank :href=row.f_downloadURL _v-40419b37="">预览</a> </li> <li v-show="isDelete == \'1\'" @click=delet($index,row) _v-40419b37="">删除</li> </ul> </div> </div> </div> </div> </div> <modal :show.sync=showUpload v-ref:modal="" backdrop=false _v-40419b37=""> <header slot=modal-header class=modal-header _v-40419b37=""> <button type=button class=close @click=close _v-40419b37=""><span _v-40419b37="">×</span></button> <h4 class=modal-title _v-40419b37="">文件上传</h4> </header> <article slot=modal-body class=modal-body _v-40419b37=""> <div class=form-group _v-40419b37=""> <file-upload class=my-file-uploader name=myFile+{{blodid}} action=rs/file/uploadFile tagname=文件上传 :headers=headers multiple="" v-ref:file="" _v-40419b37=""></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer _v-40419b37=""> </footer> </modal> </div> '},function(t,e){t.exports=' <div class="form-group col-sm-12" style="height: auto" _v-48a097b4=""> <div class="form-group col-sm-12" style="border:1px solid #000" _v-48a097b4=""> <div class="form-group col-sm-12" _v-48a097b4=""> <div class="form-group col-sm-2 form-input-group" _v-48a097b4=""> </div> <div class="form-group col-sm-8" style=margin-top:2vh _v-48a097b4=""> <div class="form-group col-sm-2" _v-48a097b4=""> <label class="col-sm-6 control-label" _v-48a097b4="">开始时间:</label> <div class=col-sm-6 id=start_date _v-48a097b4=""> <datepicker :value.sync=start_date :format="\'yyyy-MM-dd HH:mm:ss\'" v-model=start_date readonly=readonly :show-reset-button=reset _v-48a097b4=""> </datepicker> </div> </div> <div class="form-group col-sm-2" _v-48a097b4=""> <label class="col-sm-6 control-label" _v-48a097b4="">结束时间:</label> <div class=col-sm-6 id=stop_date _v-48a097b4=""> <datepicker :value.sync=stop_date :format="\'yyyy-MM-dd HH:mm:ss\'" v-model=stop_date readonly=readonly :show-reset-button=reset _v-48a097b4=""> </datepicker> </div> </div> <div class="form-group col-sm-2 form-input-group" _v-48a097b4=""> <label class="col-sm-4 control-label" _v-48a097b4="">关键字:</label> <div class=col-sm-6 _v-48a097b4=""> <input class=form-control type=text v-model=keyword id=searchInp _v-48a097b4=""> </div> </div> <button type=button @click=find() class="col-sm-2 btn btn-primary" style="width:80px; margin-left:50px" _v-48a097b4=""> 查询 </button> </div> <div class="form-group col-sm-1 form-input-group" _v-48a097b4=""></div> </div> </div> <div class="form-group col-sm-1" _v-48a097b4=""></div> <div class="form-group col-sm-2" _v-48a097b4=""> <div v-for="rows in leftData" class=logfile @click=checkData($index) _v-48a097b4=""> <p v-if=rows.pid _v-48a097b4="">PID:{{rows.pid}}</p> </div> </div> <div id=textBox class="form-group col-sm-7" style="border:1px solid #000;background-color: whitesmoke;min-height: 80vh;overflow:auto" _v-48a097b4=""> <div v-for="rows in logData" _v-48a097b4=""> <p v-if=rows.pid _v-48a097b4="">PID:{{rows.pid}}</p> <div v-for="log in rows.logs" track-by=$index _v-48a097b4=""> <div v-for="str in log" id={{$index}} _v-48a097b4=""> <a href=#L{{$index+1}} track-by=$index _v-48a097b4="">{{$index+1}}</a> {{str}}</div> <hr style="color: black" _v-48a097b4=""> </div> </div> </div> <div class="form-group col-sm-1" _v-48a097b4=""></div> </div> '},function(t,e){t.exports=' <div _v-4c621f43=""> <div id=containerr style="height: auto" tabindex=0 _v-4c621f43=""> <div class=input-card v-if=outerlinedata&&outerlinedata.points _v-4c621f43=""> <h4 _v-4c621f43="">轨迹回放</h4> <div class=input-item _v-4c621f43=""> <input type=button class="btn btn-info" value=开始动画 id=start @click=startAnimation() _v-4c621f43=""> <input v-show=!ispause type=button class="btn btn-info" value=暂停动画 id=pause @click=pauseAnimation() _v-4c621f43=""> <input v-if=ispause type=button class="btn btn-info" value=继续动画 id=resume @click=resumeAnimation() _v-4c621f43=""> </div> <div class=input-item _v-4c621f43=""> <input type=button class="btn btn-info" value=加速动画 id=add @click=speedUp() _v-4c621f43=""> <input type=button class="btn btn-info" value=减速动画 id=des @click=speedDown() _v-4c621f43=""> </div> </div> </div> <div id=panel v-show=showPanel _v-4c621f43=""></div> </div> '},function(t,e){t.exports=' <div role=tabpanel class=tab-pane v-bind:class={hide:!show} v-show=show :transition=transition _v-4ebb0cc8=""> <slot _v-4ebb0cc8=""></slot> </div> '},function(t,e){t.exports=' <modal :show.sync=show v-ref:modal="" backdrop=false width=1439px style=height:auto _v-4fdea94c=""> <header slot=modal-header _v-4fdea94c=""> <div class=header _v-4fdea94c=""> <span class="glyphicon glyphicon-remove-circle close" style="margin-top: 35px;margin-right: 30px" @click=close _v-4fdea94c=""></span> <h4 class=title _v-4fdea94c="">高拍仪</h4> </div> </header> <article slot=modal-body class=form-control style="padding: 0px" _v-4fdea94c=""> <div class=form-group _v-4fdea94c=""> <div class=operation-group _v-4fdea94c=""> <strong class=operation style="margin-top: 2px" _v-4fdea94c="">视频操作:</strong> <button class="btn btn-info photo" @click=bb() _v-4fdea94c="">拍照</button> <button class="btn btn-info" @click=cam_switch(1) _v-4fdea94c="">打开视频1</button> <button class="btn btn-info" @click=cam_switch(2) _v-4fdea94c="">打开视频2</button> <button class="btn btn-info" @click=CloseVideo() _v-4fdea94c="">关闭视频</button> <div style="display: inline-block;margin-left: 570px" _v-4fdea94c=""> <strong class=operation _v-4fdea94c="">读取身份证:</strong> <button class="btn btn-info readIDCard" @click=Begin() _v-4fdea94c="">读身份证</button> <button class="btn btn-default stop" @click=Stop() _v-4fdea94c="">停止读卡</button> </div> </div> <div class=showInfo _v-4fdea94c=""> <img id=Base64IMG src=xxxHTMLLINKxxx0.242777947580747220.23757381695229807xxx class=img _v-4fdea94c=""> <textarea id=Console disabled=disabled _v-4fdea94c=""></textarea> <canvas id=cam value=123 width=640 height=640 _v-4fdea94c="">Your browser does not support the canvas element. </canvas> </div> <div class=IdCard _v-4fdea94c=""> <div class="auto IdInputDiv" style="margin-top: 20px" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">姓 名</strong><input size=49 id=Name class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">性 别</strong><input type=text size=49 id=Sex class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">民 族</strong><input type=text size=49 id=Nation class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">出 生</strong><input type=text size=49 id=Born class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">地 址</strong><input type=text size=49 id=Address class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">身份证号</strong><input type=text size=49 id=CardNo class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">签发机关</strong><input type=text size=49 id=Police class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">期限起始</strong><input type=text size=49 id=ActivityLFrom class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">期限失效</strong><input type=text size=49 id=ActivityLTo class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">设 备ID</strong><input type=text size=49 id=DeviceNo class=IdInput _v-4fdea94c=""></div> <div class="auto IdInputDiv" style="float: left" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">照片编码</strong><textarea id=PhotoBuffer style="width: 400px;height: 92px" _v-4fdea94c=""></textarea> </div> <div class="auto IdInputDiv" style="float: left" _v-4fdea94c=""><strong class=IdHint _v-4fdea94c="">照 片</strong><img style="width: 130px; height:169px" id=PhotoDisplay _v-4fdea94c=""> </div> <div class="auto IdInputDiv" style=padding-top:45%;padding-left:35% _v-4fdea94c=""> <button class="btn btn-info" style="width: max-content" @click=confirmIdCard _v-4fdea94c="">确定</button> </div> </div> </div> </article> <footer slot=modal-footer class=modal-footer _v-4fdea94c=""> </footer> </modal> '},function(t,e){t.exports=' <div v-if=signshow _v-557034a5=""> <div class=row _v-557034a5=""> <div class="col-xs-4 col-sm-3 col-md-2" _v-557034a5=""> <button type=button @click=sign _v-557034a5="">签名</button> <img :src=fullFileName :width=150 :height=200 _v-557034a5=""> </div> </div> </div> <ios-sign v-if=!signshow @commite=commit @closes=closes _v-557034a5=""></ios-sign> '},function(t,e){t.exports=' <div class="carousel slide" data-ride=carousel _v-5cbb6769=""> <ol class=carousel-indicators v-show=indicators _v-5cbb6769=""> <indicator :indicator.sync=indicator :active-index.sync=activeIndex :is-animating.sync=isAnimating _v-5cbb6769=""></indicator> </ol> <div class=carousel-inner role=listbox _v-5cbb6769=""> <slot _v-5cbb6769=""></slot> </div> <div v-show=controls class="carousel-controls hidden-xs" _v-5cbb6769=""> <a class="left carousel-control" role=button @click=prevClick _v-5cbb6769=""> <span class="fa fa-arrow-left" aria-hidden=true _v-5cbb6769=""></span> </a> <a class="right carousel-control" role=button @click=nextClick _v-5cbb6769=""> <span class="fa fa-arrow-right" aria-hidden=true _v-5cbb6769=""></span> </a> </div> </div> '},function(t,e){t.exports=' <li style=position:relative _v-6072243e=""> <a @mousedown.prevent=handleClick style=cursor:pointer _v-6072243e=""> <span v-el:v="" _v-6072243e=""><slot _v-6072243e=""></slot></span> <span class="glyphicon glyphicon-ok check-mark" v-show=chosen _v-6072243e=""></span> </a> </li> '},function(t,e){t.exports=' <div _v-6a4b8edc=""> <div class=jsoneditor-vue _v-6a4b8edc=""></div> <div class=jsoneditor-btns v-if="showBtns!==false" _v-6a4b8edc=""> <button class=json-save-btn type=button @click=onSave() :disabled=error _v-6a4b8edc="">{{ locale[lang].save }}</button> </div> </div> '},function(t,e){t.exports=' <div _v-6d86a6c5=""> <div class=row _v-6d86a6c5=""> <div class="col-xs-4 col-sm-3 col-md-2" _v-6d86a6c5=""> <button type=button @click=sign _v-6d86a6c5="">签名</button> <img :src=fullFileName :width=150 :height=200 _v-6d86a6c5=""> </div> </div> </div> '},function(t,e){t.exports=' <div class=face id=LTGao _v-758f78fa=""> <div style="text-align: center" _v-758f78fa=""> <label id=lab1 v-show=false _v-758f78fa="">设备1</label> <select id=priModelList v-show=false style="width: 120px" _v-758f78fa=""></select> <select id=priResolutionList v-show=false style="width: 120px" _v-758f78fa=""></select> <select id=setScanSize v-show=false style="width: 90px" _v-758f78fa=""></select> <input id=openPriVideo v-show=false type=button value=打开主视频 _v-758f78fa=""> <input id=closePriVideo v-show=false type=button value=关闭主视频 _v-758f78fa=""> <input id=photographPri type=button v-show=false value=主头拍照 _v-758f78fa=""> <label id=lab2 v-show=false _v-758f78fa="">设备2</label> <select id=subModelList v-show=false style="width: 120px" _v-758f78fa=""></select> <select id=subResolutionList v-show=false style="width: 120px" _v-758f78fa=""></select> <input id=openSubVideo v-show=false type=button value=打开副视频 _v-758f78fa=""> <input id=closeSubVideo v-show=false type=button value=关闭副视频 _v-758f78fa=""> <input id=photographSub type=button v-show=false value=副头拍照 _v-758f78fa=""> <input type=button @click=a class=btn value=双头拍照 _v-758f78fa=""> <input type=button @click=b class=btn value=主头拍照 _v-758f78fa=""> <input type=button @click=c class=btn value=副头拍照 _v-758f78fa=""> <input type=button @click=d class=btn value=重置 _v-758f78fa=""> <input type=button value=上传 class=btn @click=UploadThumbToServer() _v-758f78fa=""> <br _v-758f78fa=""> <div id=container v-show=false style="margin-top: 450px" _v-758f78fa=""></div> </div> <div class=row _v-758f78fa=""> <div class=col-sm-12 style="text-align: center;height: auto" _v-758f78fa=""> <img id=bigPriDev width=320 height=240 style="margin-top: 10px !important" _v-758f78fa=""> <img id=bigSubDev width=320 height=240 style="margin-top: 10px !important" _v-758f78fa=""> </div> <br _v-758f78fa=""> <div class=col-sm-12 style="text-align: center;height: auto" id=photoarea _v-758f78fa=""> <img id=devPhoto0 _v-758f78fa=""> <img id=devPhoto1 _v-758f78fa=""> </div> <textarea id=output v-show=false style="margin-bottom: -131px;height: 270px" _v-758f78fa=""></textarea> </div> </div> '},function(t,e){t.exports=' <div class=avatar :style="{width: width + \'px\', height: height + \'px\'}" _v-7870a742=""> <span class="glyphicon glyphicon-remove delete-img" v-if=imgSrc @click=deleteFile() title=删除照片 :id="\'vc-avatarupload-delete-\'+attach" _v-7870a742=""></span> <img-self :src=imgSrc v-if=imgSrc :width=width :height=height _v-7870a742=""></img-self> <div class=img-upload @click=selectFile() v-show=!imgSrc :id="\'vueclient-avatarupload-select-\'+attach" _v-7870a742=""> <i class=avatar-uploader-icon _v-7870a742=""><span class="glyphicon glyphicon-plus" _v-7870a742=""></span></i> <input type=file @change=fileInputChange() v-el:file="" _v-7870a742=""> </div> </div> '},function(t,e){t.exports=' <div class=face _v-7a1b39fb=""> <object id=Global_ID classid=CLSID:52D1E686-D8D7-4DF2-9A74-8B8F4650BF73 _v-7a1b39fb=""></object> <object id=View classid=CLSID:26BA9E7F-78E9-4FB8-A05C-A4185D80D759 _v-7a1b39fb=""></object> <img class=img :src=faceImg alt="" id=faceImg _v-7a1b39fb=""> <object id=Thumbnail classid=CLSID:B5535A1B-D25B-4B3C-854F-94B12E284A4E _v-7a1b39fb=""></object> <ul _v-7a1b39fb=""> <li _v-7a1b39fb="">设备列表:<select id=Device style="width: 90px" @change=selectDevice() _v-7a1b39fb=""></select></li> <li _v-7a1b39fb="">视频模式:<select id=subtype style="width: 90px" @change=selectSubtype() _v-7a1b39fb=""></select></li> <li _v-7a1b39fb="">分辨率:<select id=resolution style="width: 90px" @change=selectResolution() _v-7a1b39fb=""></select></li> <li _v-7a1b39fb=""><input type=button value=打开视频 @click=ShowVideo() _v-7a1b39fb=""></li> <li _v-7a1b39fb=""><input type=button value=关闭视频 @click=CloseVideo() _v-7a1b39fb=""></li> <li _v-7a1b39fb=""><input type=button value=拍照 @click=Scan() _v-7a1b39fb=""></li> <li _v-7a1b39fb=""><input type=button value=缩略图多张上传 @click=UploadThumbToServer() _v-7a1b39fb=""></li> </ul> </div> '},function(t,e){t.exports=" "},function(t,e,n){t.exports=' <div style="background-color: #FFFFFF" _v-a1c0cdee=""> <div class=col-sm-12 style="background-color: #FFFFFF;height: auto;border-radius: 8px" _v-a1c0cdee=""> <div style="position: relative;height: 34px;width:75%;margin: 30px auto 10px auto" _v-a1c0cdee=""> <div class=inpGroup v-if=isremark style="position:absolute;left: 0px" _v-a1c0cdee=""> <input v-model=headers.fremarks style=width:70% class=input_search placeholder=文件说明 _v-a1c0cdee=""> </div> <div style=position:absolute;right:10% _v-a1c0cdee=""> <button class="button_search btn-gn" @click=upload() v-show=!takeimg _v-a1c0cdee="">拍照</button> <button class="button_search btn-gn" @click=fileUpload() v-show=!isupload _v-a1c0cdee="">本地上传</button> </div> <high-meter :show.sync=showhighmeter @photo-finish=newPhoto v-if=showhighmeter _v-a1c0cdee=""></high-meter> <div v-if=isusetype _v-a1c0cdee=""> <v-select class=inp_button2 type=button placeholder=使用类型 :options=foptions :value.sync=useType v-model=useType _v-a1c0cdee=""></v-select> </div> </div> <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 20px" _v-a1c0cdee=""> <div class="showList col-sm-12" style="padding: 10px;margin-top: 20px" _v-a1c0cdee=""> <div :class="cols ? cols : \'col-sm-6\'" style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box" v-for="row in fileInfoData" _v-a1c0cdee=""> <div class=showData _v-a1c0cdee=""> <div class=left _v-a1c0cdee=""> <a href=# class=thumbnail style=width:100%;height:100% _v-a1c0cdee=""> <img v-if="row.f_filetype==\'jpg\'||row.f_filetype==\'png\'||row.f_filetype==\'gif\'||row.f_filetype==\'bmp\'" :src=row.f_downloadURL alt=... _v-a1c0cdee=""> <img v-if="row.f_filetype==\'pdf\'" src='+n(124)+' alt="" style=width:66% _v-a1c0cdee=""> <img v-if="row.f_filetype==\'xls\'||row.f_filetype==\'xlsx\'" src='+n(123)+' alt="" style=width:66% _v-a1c0cdee=""> <img v-if="row.f_filetype==\'doc\'||row.f_filetype==\'docx\'" src='+n(122)+' alt="" style=width:66% _v-a1c0cdee=""> </a> </div> <div class=right _v-a1c0cdee=""> <p :title=row.f_uploaddate class="top clears" _v-a1c0cdee=""><strong _v-a1c0cdee="">上传时间</strong>: <span _v-a1c0cdee="">{{row.f_uploaddate}}</span></p> <p :title=row.f_username class="top clears" _v-a1c0cdee=""><strong _v-a1c0cdee="">操作员</strong>: <span _v-a1c0cdee="">{{row.f_username}}</span></p> <p :title=row.f_filename class="top clears" _v-a1c0cdee=""><strong _v-a1c0cdee="">文件名</strong>: {{row.f_filename}}</p> <p :title=row.fremarks class="top clears" _v-a1c0cdee=""><strong _v-a1c0cdee="">文件说明</strong>: {{row.fremarks}}</p> <p _v-a1c0cdee=""> <a v-if="row.f_filetype==\'jpg\'||row.f_filetype==\'png\'||row.f_filetype==\'gif\'||row.f_filetype==\'bmp\'" :href=row.f_downloadURL style=background:#6aa6e2 class="btn btn-primary" target=_blank role=button _v-a1c0cdee="">预览</a> <button class="button_search btn-gn" v-if="row.f_filetype==\'pdf\'||row.f_filetype==\'xls\'||row.f_filetype==\'xlsx\'||row.f_filetype==\'doc\'||row.f_filetype==\'docx\'" @click=downloadfile(row.f_downloadURL) _v-a1c0cdee="">下载</button> <a v-show="isDelete == \'1\'" @click=delet($index,row) href=# class="btn btn-default" role=button _v-a1c0cdee="">删除</a> </p> </div> </div> </div> </div> </div> <modal :show.sync=showUpload v-ref:modal="" backdrop=false :width=500 _v-a1c0cdee=""> <header slot=modal-header class=modal-header _v-a1c0cdee=""> <button type=button class=close @click=close _v-a1c0cdee=""><span class="glyphicon glyphicon-remove" _v-a1c0cdee=""></span></button> <h4 class=modal-title style="text-align: center" _v-a1c0cdee="">文件上传</h4> </header> <article slot=modal-body class=modal-body _v-a1c0cdee=""> <div class=form-group _v-a1c0cdee=""> <file-upload class=my-file-uploader :name="\'myFile\' + blodid" action=rs/file/uploadFile tagname=文件上传 :headers=headers multiple="" v-ref:file="" _v-a1c0cdee=""></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer _v-a1c0cdee=""> </footer> </modal> </div> '},function(t,e){t.exports=' <div v-el:group="" class=btn-group v-bind:class="{open: show, dropup: direction === \'up\'}" :style={width:width} _v-a8419576=""> <button v-el:btn="" type=button class="btn btn-default dropdown-toggle select-style" style="min-width: 100%" :id="\'vc-select-button-\'+attach" @click=toggleDropdown @blur="show = (search ? show : false)" v-bind="{disabled: disabled}" _v-a8419576=""> <span class=btn-placeholder v-show=showPlaceholder _v-a8419576="">{{placeholder}}</span> <span class=btn-content :style="{textOverflow:\'ellipsis\',overflow: \'hidden\'}" _v-a8419576="">{{ selectedItems }}</span> <span class=caret _v-a8419576=""></span> </button> <ul class=dropdown-menu v-bind:class="{\'menu-align-right\': align=== \'right\'}" :style="{overflow:\'scroll\',maxHeight: maxHeight + \'px\',width:\'auto\',minWidth:minWidth,left:left+\'px\' }" v-el:dropdown="" _v-a8419576=""> <template v-if=options.length> <li v-if=search class=bs-searchbox style="white-space: nowrap" _v-a8419576=""> <input type=text placeholder=Search style="width: 80%;display: inline" v-model=searchText class=form-control autocomplete=off @keyup.enter=putOptions(searchText) _v-a8419576=""> <span style="width: 20%;display: inline" v-if=search&&multiple&&show&&!isSelectAll @mousedown.prevent=selectAll(options) _v-a8419576="">全选</span> <span style="width: 20%;display: inline" v-if=search&&multiple&&show&&isSelectAll @mousedown.prevent=selectAll(options) _v-a8419576="">取消</span> </li> <li v-for="option in options | findBy searchText " style=position:relative _v-a8419576=""> <a @mousedown.prevent=select(option.value,null) style=cursor:pointer :id="\'vc-select-a-\'+attach+\'-\'+$index" _v-a8419576=""> {{ option.label }} <span class="glyphicon glyphicon-ok check-mark" v-show=isSelected(option.value) _v-a8419576=""></span> </a> </li> </template> <slot v-else="" _v-a8419576=""></slot> <div class=notify v-show=showNotify transition=fadein _v-a8419576="">Limit reached ({{limit}} items max). </div> </ul> </div> '},function(t,e){t.exports=' <div class=inputselect style="height: 34px" _v-abfd0c5c=""> <v-select :value.sync=value v-model=value :value-single=true :readonly=readonly :width=width :options=options :placeholder=placeholder :disabled=disable close-on-select="" _v-abfd0c5c=""></v-select> </div> '},function(t,e){t.exports=' <div class=cell @click=sortStr() :id="\'vc-dataorder-sort-\'+attach" _v-c8372928=""> <div style="text-align: center;width: 100%;white-space: nowrap" _v-c8372928=""> <label style="margin: 0;white-space: nowrap" _v-c8372928="">{{name}}</label> <span class=caret-wrapper style="padding: 0" :class="{\'ascend\': this.order === \'asc\', \'descend\': this.order === \'desc\'}" _v-c8372928=""> <i class="sort-caret ascending" _v-c8372928=""></i> <i class="sort-caret descending" _v-c8372928=""></i> </span> </div> </div> '},function(t,e){t.exports=' <div class="form-group col-sm-12" style="background-color: #FFFFFF;height: auto;min-height:500px;border-radius: 8px" _v-d97875a0=""> <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 80px" _v-d97875a0=""> <div class=search _v-d97875a0=""> <div class=searchAll _v-d97875a0="">全部 <span id=searchAll class=spanAll @click=fnSearchAll() _v-d97875a0=""></span> <div class=inp_button type=button @click=find() _v-d97875a0="">条件查询</div> </div> <div class=itemList _v-d97875a0=""> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">用户ID:</span> <div class=inputBox _v-d97875a0=""> <input id=search_id placeholder=用户ID @keydown=fnOnKeyDown() _v-d97875a0=""> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">操作员:</span> <div class=searchItem _v-d97875a0=""> <span class=show id=search_dl _v-d97875a0=""></span> <ul _v-d97875a0=""> <li @click="fnDescriptChange(\'search_dl\')" v-for="row in usernameoptions" _v-d97875a0="">{{row}}</li> </ul> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">使用类型:</span> <div class=searchItem _v-d97875a0=""> <span class=show id=search_lx _v-d97875a0=""></span> <ul _v-d97875a0=""> <li @click="fnDescriptChange(\'search_lx\')" v-for="row in usetypeoptions" _v-d97875a0="">{{row}}</li> </ul> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">文件说明:</span> <div class=inputBox _v-d97875a0=""> <input id=search_sm placeholder=文件说明 @keydown=fnOnKeyDown() _v-d97875a0=""> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">分公司:</span> <div class=searchItem _v-d97875a0=""> <span class=show id=search_fgs _v-d97875a0=""></span> <ul _v-d97875a0=""> <li @click="fnDescriptChange(\'search_fgs\')" v-for="row in fengongsioptions" _v-d97875a0="">{{row}}</li> </ul> </div> </div> <div class="item col-sm-4" _v-d97875a0=""> <span class=descript _v-d97875a0="">部门:</span> <div class=searchItem _v-d97875a0=""> <span class=show id=search_bm _v-d97875a0=""></span> <ul _v-d97875a0=""> <li @click="fnDescriptChange(\'search_bm\')" v-for="row in parentnameoptions" _v-d97875a0="">{{row}}</li> </ul> </div> </div> </div> </div> <div class="showList col-sm-12" style="padding: 10px;margin-top: 20px" _v-d97875a0=""> <div class=col-sm-6 style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box" v-for="row in fileinfodata" _v-d97875a0=""> <div class=showData _v-d97875a0=""> <div class=left _v-d97875a0=""> <img :src=row.f_downloadURL _v-d97875a0=""> </div> <div class=right _v-d97875a0=""> <div class=top _v-d97875a0=""> <div class=topleft _v-d97875a0="">用户ID: <span _v-d97875a0="">{{row.f_blobid}}</span></div> <div class=topright _v-d97875a0="">{{row.f_uploaddate}}</div> </div> <div class=top _v-d97875a0=""> <div class=topleft _v-d97875a0="">使用类型: <span _v-d97875a0="">{{row.f_usetype}}</span></div> <div class=topright _v-d97875a0="">操作员: <span _v-d97875a0="">{{row.f_username}}</span></div> </div> <div class=text _v-d97875a0="">文件说明: {{row.f_remarks}}</div> <ul class=buttonList _v-d97875a0=""> <li _v-d97875a0=""> <a target=_blank :href=row.f_downloadURL _v-d97875a0="">预览</a> </li> <li v-show="deletee == \'1\'" @click=delet(row) _v-d97875a0="">删除</li> </ul> </div> </div> </div> </div> </div> <modal :show.sync=show v-ref:modal="" backdrop=false _v-d97875a0=""> <header slot=modal-header class=modal-header _v-d97875a0=""> <button type=button class=close @click=close _v-d97875a0=""><span _v-d97875a0="">×</span></button> <h4 class=modal-title _v-d97875a0="">文件上传</h4> </header> <article slot=modal-body class=modal-body _v-d97875a0=""> <div class=form-group _v-d97875a0=""> <file-upload class=my-file-uploader name=myFile action=rs/file/upload tagname=文件上传 :headers=headers multiple="" v-ref:file="" _v-d97875a0=""></file-upload> </div> </article> <footer slot=modal-footer class=modal-footer _v-d97875a0=""> </footer> </modal> '},function(t,e){t.exports=' <modal :show.sync=true v-ref:modal="" backdrop=false width=720px _v-dd6379a2=""> <header slot=modal-header _v-dd6379a2=""> <div class=header _v-dd6379a2=""> <span class="glyphicon glyphicon-remove-circle close" style="margin-top: 35px;margin-right: 30px" @click=close _v-dd6379a2=""></span> <h4 class=title _v-dd6379a2="">高拍仪</h4> </div> </header> <article slot=modal-body class=form-control style="padding: 0px" _v-dd6379a2=""> <div class=form-group _v-dd6379a2=""> <div class=operation-group _v-dd6379a2=""> <strong class=operation style="margin-top: 2px" _v-dd6379a2="">视频操作:</strong> <button class="btn btn-info photo" @click=bb() _v-dd6379a2="">拍照</button> <button class="btn btn-info" @click=cam_switch(1) _v-dd6379a2="">打开视频1</button> <button class="btn btn-info" @click=cam_switch(2) _v-dd6379a2="">打开视频2</button> <button class="btn btn-info" @click=CloseVideo() _v-dd6379a2="">关闭视频</button> </div> <div class=showInfo _v-dd6379a2=""> <img id=Base64IMG src=xxxHTMLLINKxxx0.95004534058031510.015762543274693286xxx class=img _v-dd6379a2=""> <textarea id=Console disabled=disabled _v-dd6379a2=""></textarea> <canvas id=cam value=123 width=640 height=640 _v-dd6379a2="">Your browser does not support the canvas element. </canvas> </div> </div> </article> <footer slot=modal-footer class=modal-footer _v-dd6379a2=""> </footer> </modal> '},function(t,e){t.exports=' <div class=face id=LTGao _v-e8fd36de=""> <div style="text-align: center" _v-e8fd36de=""> <label id=lab1 v-show=false _v-e8fd36de="">设备1</label> <select id=priModelList v-show=false style="width: 120px" _v-e8fd36de=""></select> <select id=priResolutionList v-show=false style="width: 120px" _v-e8fd36de=""></select> <select id=setScanSize v-show=false style="width: 90px" _v-e8fd36de=""></select> <input id=openPriVideo v-show=false type=button value=打开主视频 _v-e8fd36de=""> <input id=closePriVideo v-show=false type=button value=关闭主视频 _v-e8fd36de=""> <input id=photographPri type=button v-show=false value=主头拍照 _v-e8fd36de=""> <label id=lab2 v-show=false _v-e8fd36de="">设备2</label> <select id=subModelList v-show=false style="width: 120px" _v-e8fd36de=""></select> <select id=subResolutionList v-show=false style="width: 120px" _v-e8fd36de=""></select> <input id=openSubVideo v-show=false type=button value=打开副视频 _v-e8fd36de=""> <input id=closeSubVideo v-show=false type=button value=关闭副视频 _v-e8fd36de=""> <input id=photographSub type=button v-show=false value=副头拍照 _v-e8fd36de=""> <input type=button @click=a class=btn value=双头拍照 _v-e8fd36de=""> <input type=button @click=b class=btn value=主头拍照 _v-e8fd36de=""> <input type=button @click=c class=btn value=副头拍照 _v-e8fd36de=""> <input type=button @click=d class=btn value=重置 _v-e8fd36de=""> <input type=button value=上传 class=btn @click=UploadThumbToServer() _v-e8fd36de=""> <br _v-e8fd36de=""> <div id=container v-show=false style="margin-top: 450px" _v-e8fd36de=""></div> </div> <div class=row _v-e8fd36de=""> <div class=col-sm-12 style="text-align: center;height: auto" _v-e8fd36de=""> <img id=bigPriDev width=320 height=240 style="margin-top: 10px !important" _v-e8fd36de=""> <img id=bigSubDev width=320 height=240 style="margin-top: 10px !important" _v-e8fd36de=""> </div> <br _v-e8fd36de=""> <div class=col-sm-12 style="text-align: center;height: auto" id=photoarea _v-e8fd36de=""> <img id=devPhoto0 _v-e8fd36de=""> <img id=devPhoto1 _v-e8fd36de=""> </div> <textarea id=output v-show=false style="margin-bottom: -131px;height: 270px" _v-e8fd36de=""></textarea> </div> </div> ';
|
|
126
|
-
},function(t,e,n){var i,r,o={};i=n(175),r=n(440),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(416),i=n(176),r=n(523),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(382),i=n(177),r=n(441),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(383),i=n(178),r=n(442),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(179),r=n(443),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(414),i=n(180),r=n(521),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(425),i=n(181),r=n(532),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(183),r=n(445),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(184),r=n(446),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(380),i=n(185),r=n(447),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(187),r=n(449),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(188),r=n(450),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(189),r=n(451),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(190),r=n(452),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(385),i=n(191),r=n(453),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(431),i=n(192),r=n(538),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(410),i=n(193),r=n(517),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(194),r=n(454),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(195),r=n(455),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(386),i=n(196),r=n(456),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(197),r=n(457),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(198),r=n(458),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(199),r=n(459),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(200),r=n(460),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(201),r=n(461),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(202),r=n(462),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(203),r=n(463),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(426),i=n(204),r=n(533),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(205),r=n(464),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(434),i=n(206),r=n(540),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(418),i=n(207),r=n(525),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(209),r=n(466),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(387),i=n(210),r=n(467),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(381),i=n(211),r=n(468),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(408),i=n(212),r=n(515),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(412),i=n(213),r=n(519),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(388),i=n(214),r=n(469),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(424),i=n(215),r=n(531),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(435),i=n(216),r=n(541),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(217),r=n(470),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(218),r=n(471),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(427),i=n(219),r=n(534),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(220),r=n(472),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(415),i=n(221),r=n(522),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(389),i=n(222),r=n(473),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(419),i=n(225),r=n(526),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(227),r=n(476),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(228),r=n(477),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(229),r=n(478),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(230),r=n(479),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(231),r=n(480),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(232),r=n(481),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(233),r=n(482),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(234),r=n(483),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(235),r=n(484),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(236),r=n(485),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(237),r=n(486),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(432),n(433),i=n(238),r=n(539),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(391),i=n(239),r=n(487),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(423),i=n(240),r=n(530),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(392),i=n(241),r=n(488),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(393),i=n(242),r=n(489),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(243),r=n(490),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(394),i=n(244),r=n(491),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(395),i=n(245),r=n(492),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(428),i=n(248),r=n(535),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(409),i=n(249),r=n(516),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(396),i=n(250),r=n(495),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(422),i=n(251),r=n(529),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(397),i=n(253),r=n(497),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(430),i=n(259),r=n(537),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(261),r=n(503),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};n(421),i=n(262),r=n(528),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(265),r=n(506),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(273),r=n(511),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(274),r=n(512),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(275),r=n(513),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){var i,r,o={};i=n(276),r=n(514),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})},function(t,e,n){/*!
|
|
127
|
-
* vue-resource v1.5.1
|
|
128
|
-
* https://github.com/pagekit/vue-resource
|
|
129
|
-
* Released under the MIT License.
|
|
130
|
-
*/
|
|
131
|
-
"use strict";function i(t){this.state=ct,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}function r(t,e){t instanceof Promise?this.promise=t:this.promise=new Promise(t.bind(e)),this.context=e}function o(t){var e=t.config,n=t.nextTick;ht=n,vt=e.debug||!e.silent}function s(t){"undefined"!=typeof console&&vt&&console.warn("[VueResource warn]: "+t)}function a(t){"undefined"!=typeof console&&console.error(t)}function l(t,e){return ht(t,e)}function c(t){return t?t.replace(/^\s*|\s*$/g,""):""}function u(t,e){return t&&void 0===e?t.replace(/\s+$/,""):t&&e?t.replace(new RegExp("["+e+"]+$"),""):t}function d(t){return t?t.toLowerCase():""}function h(t){return t?t.toUpperCase():""}function f(t){return"string"==typeof t}function p(t){return"function"==typeof t}function m(t){return null!==t&&"object"==typeof t}function g(t){return m(t)&&Object.getPrototypeOf(t)==Object.prototype}function v(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}function b(t,e,n){var i=r.resolve(t);return arguments.length<2?i:i.then(e,n)}function w(t,e,n){return n=n||{},p(n)&&(n=n.call(e)),x(t.bind({$vm:e,$options:n}),t,{$options:n})}function A(t,e){var n,i;if(bt(t))for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(m(t))for(i in t)pt.call(t,i)&&e.call(t[i],t[i],i);return t}function x(t){var e=gt.call(arguments,1);return e.forEach(function(e){C(t,e,!0)}),t}function _(t){var e=gt.call(arguments,1);return e.forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])}),t}function E(t){var e=gt.call(arguments,1);return e.forEach(function(e){C(t,e)}),t}function C(t,e,n){for(var i in e)n&&(g(e[i])||bt(e[i]))?(g(e[i])&&!g(t[i])&&(t[i]={}),bt(e[i])&&!bt(t[i])&&(t[i]=[]),C(t[i],e[i],n)):void 0!==e[i]&&(t[i]=e[i])}function k(t,e){var n=e(t);return f(t.root)&&!/^(https?:)?\//.test(n)&&(n=u(t.root,"/")+"/"+n),n}function S(t,e){var n=Object.keys(L.options.params),i={},r=e(t);return A(t.params,function(t,e){n.indexOf(e)===-1&&(i[e]=t)}),i=L.params(i),i&&(r+=(r.indexOf("?")==-1?"?":"&")+i),r}function F(t,e,n){var i=D(t),r=i.expand(e);return n&&n.push.apply(n,i.vars),r}function D(t){var e=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(i){return t.replace(/\{([^{}]+)\}|([^{}]+)/g,function(t,r,o){if(r){var s=null,a=[];if(e.indexOf(r.charAt(0))!==-1&&(s=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(t){var e=/([^:*]*)(?::(\d+)|(\*))?/.exec(t);a.push.apply(a,T(i,s,e[1],e[2]||e[3])),n.push(e[1])}),s&&"+"!==s){var l=",";return"?"===s?l="&":"#"!==s&&(l=s),(0!==a.length?s:"")+a.join(l)}return a.join(",")}return R(o)})}}}function T(t,e,n,i){var r=t[n],o=[];if($(r)&&""!==r)if("string"==typeof r||"number"==typeof r||"boolean"==typeof r)r=r.toString(),i&&"*"!==i&&(r=r.substring(0,parseInt(i,10))),o.push(M(e,r,B(e)?n:null));else if("*"===i)Array.isArray(r)?r.filter($).forEach(function(t){o.push(M(e,t,B(e)?n:null))}):Object.keys(r).forEach(function(t){$(r[t])&&o.push(M(e,r[t],t))});else{var s=[];Array.isArray(r)?r.filter($).forEach(function(t){s.push(M(e,t))}):Object.keys(r).forEach(function(t){$(r[t])&&(s.push(encodeURIComponent(t)),s.push(M(e,r[t].toString())))}),B(e)?o.push(encodeURIComponent(n)+"="+s.join(",")):0!==s.length&&o.push(s.join(","))}else";"===e?o.push(encodeURIComponent(n)):""!==r||"&"!==e&&"?"!==e?""===r&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}function $(t){return void 0!==t&&null!==t}function B(t){return";"===t||"&"===t||"?"===t}function M(t,e,n){return e="+"===t||"#"===t?R(e):encodeURIComponent(e),n?encodeURIComponent(n)+"="+e:e}function R(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t)),t}).join("")}function P(t){var e=[],n=F(t.url,t.params,e);return e.forEach(function(e){delete t.params[e]}),n}function L(t,e){var n,i=this||{},r=t;return f(t)&&(r={url:t,params:e}),r=x({},L.options,i.$options,r),L.transforms.forEach(function(t){f(t)&&(t=L.transform[t]),p(t)&&(n=O(t,n,i.$vm))}),n(r)}function O(t,e,n){return function(i){return t.call(n,i,e)}}function j(t,e,n){var i,r=bt(e),o=g(e);A(e,function(e,s){i=m(e)||bt(e),n&&(s=n+"["+(o||i?s:"")+"]"),!n&&r?t.add(e.name,e.value):i?j(t,e,s):t.add(s,e)})}function N(t){return new r(function(e){var n=new XDomainRequest,i=function(i){var r=i.type,o=0;"load"===r?o=200:"error"===r&&(o=500),e(t.respondWith(n.responseText,{status:o}))};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl()),t.timeout&&(n.timeout=t.timeout),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.onprogress=function(){},n.send(t.getBody())})}function I(t){if(yt){var e=L.parse(location.href),n=L.parse(t.getUrl());n.protocol===e.protocol&&n.host===e.host||(t.crossOrigin=!0,t.emulateHTTP=!1,At||(t.client=N))}}function H(t){y(t.body)?t.headers.delete("Content-Type"):m(t.body)&&t.emulateJSON&&(t.body=L.params(t.body),t.headers.set("Content-Type","application/x-www-form-urlencoded"))}function V(t){var e=t.headers.get("Content-Type")||"";return m(t.body)&&0===e.indexOf("application/json")&&(t.body=JSON.stringify(t.body)),function(t){return t.bodyText?b(t.text(),function(e){var n=t.headers.get("Content-Type")||"";if(0===n.indexOf("application/json")||W(e))try{t.body=JSON.parse(e)}catch(e){t.body=null}else t.body=e;return t}):t}}function W(t){var e=t.match(/^\s*(\[|\{)/),n={"[":/]\s*$/,"{":/}\s*$/};return e&&n[e[1]].test(t)}function z(t){return new r(function(e){var n,i,r=t.jsonp||"callback",o=t.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),s=null;n=function(n){var r=n.type,a=0;"load"===r&&null!==s?a=200:"error"===r&&(a=500),a&&window[o]&&(delete window[o],document.body.removeChild(i)),e(t.respondWith(s,{status:a}))},window[o]=function(t){s=JSON.stringify(t)},t.abort=function(){n({type:"abort"})},t.params[r]=o,t.timeout&&setTimeout(t.abort,t.timeout),i=document.createElement("script"),i.src=t.getUrl(),i.type="text/javascript",i.async=!0,i.onload=n,i.onerror=n,document.body.appendChild(i)})}function q(t){"JSONP"==t.method&&(t.client=z)}function U(t){p(t.before)&&t.before.call(this,t)}function G(t){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers.set("X-HTTP-Method-Override",t.method),t.method="POST")}function K(t){var e=wt({},it.headers.common,t.crossOrigin?{}:it.headers.custom,it.headers[d(t.method)]);A(e,function(e,n){t.headers.has(n)||t.headers.set(n,e)})}function Y(t){return new r(function(e){var n=new XMLHttpRequest,i=function(i){var r=t.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":c(n.statusText)});A(c(n.getAllResponseHeaders()).split("\n"),function(t){r.headers.append(t.slice(0,t.indexOf(":")),t.slice(t.indexOf(":")+1))}),e(r)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),t.timeout&&(n.timeout=t.timeout),t.responseType&&"responseType"in n&&(n.responseType=t.responseType),(t.withCredentials||t.credentials)&&(n.withCredentials=!0),t.crossOrigin||t.headers.set("X-Requested-With","XMLHttpRequest"),p(t.progress)&&"GET"===t.method&&n.addEventListener("progress",t.progress),p(t.downloadProgress)&&n.addEventListener("progress",t.downloadProgress),p(t.progress)&&/^(POST|PUT)$/i.test(t.method)&&n.upload.addEventListener("progress",t.progress),p(t.uploadProgress)&&n.upload&&n.upload.addEventListener("progress",t.uploadProgress),t.headers.forEach(function(t,e){n.setRequestHeader(e,t)}),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.send(t.getBody())})}function X(t){var e=n(621);return new r(function(n){var i,r=t.getUrl(),o=t.getBody(),s=t.method,a={};t.headers.forEach(function(t,e){a[e]=t}),e(r,{body:o,method:s,headers:a}).then(i=function(e){var i=t.respondWith(e.body,{status:e.statusCode,statusText:c(e.statusMessage)});A(e.headers,function(t,e){i.headers.set(e,t)}),n(i)},function(t){return i(t.response)})})}function J(t){function e(e){for(;n.length;){var o=n.pop();if(p(o)){var a=void 0,l=void 0;if(a=o.call(t,e,function(t){return l=t})||l,m(a))return new r(function(e,n){i.forEach(function(e){a=b(a,function(n){return e.call(t,n)||n},n)}),b(a,e,n)},t);p(a)&&i.unshift(a)}else s("Invalid interceptor of type "+typeof o+", must be a function")}}var n=[Z],i=[];return m(t)||(t=null),e.use=function(t){n.push(t)},e}function Z(t){var e=t.client||(yt?Y:X);return e(t)}function Q(t,e){return Object.keys(t).reduce(function(t,n){return d(e)===d(n)?n:t},null)}function tt(t){if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return c(t)}function et(t){return new r(function(e){var n=new FileReader;n.readAsText(t),n.onload=function(){e(n.result)}})}function nt(t){return 0===t.type.indexOf("text")||t.type.indexOf("json")!==-1}function it(t){var e=this||{},n=J(e.$vm);return _(t||{},e.$options,it.options),it.interceptors.forEach(function(t){f(t)&&(t=it.interceptor[t]),p(t)&&n.use(t)}),n(new Et(t)).then(function(t){return t.ok?t:r.reject(t)},function(t){return t instanceof Error&&a(t),r.reject(t)})}function rt(t,e,n,i){var r=this||{},o={};return n=wt({},rt.actions,n),A(n,function(n,s){n=x({url:t,params:wt({},e)},i,n),o[s]=function(){return(r.$http||it)(ot(n,arguments))}}),o}function ot(t,e){var n,i=wt({},t),r={};switch(e.length){case 2:r=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(i.method)?n=e[0]:r=e[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+e.length+" arguments"}return i.body=n,i.params=wt({},i.params,r),i}function st(t){st.installed||(o(t),t.url=L,t.http=it,t.resource=rt,t.Promise=r,Object.defineProperties(t.prototype,{$url:{get:function(){return w(t.url,this,this.$options.url)}},$http:{get:function(){return w(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}var at=0,lt=1,ct=2;i.reject=function(t){return new i(function(e,n){n(t)})},i.resolve=function(t){return new i(function(e,n){e(t)})},i.all=function(t){return new i(function(e,n){function r(n){return function(i){s[n]=i,o+=1,o===t.length&&e(s)}}var o=0,s=[];0===t.length&&e(s);for(var a=0;a<t.length;a+=1)i.resolve(t[a]).then(r(a),n)})},i.race=function(t){return new i(function(e,n){for(var r=0;r<t.length;r+=1)i.resolve(t[r]).then(e,n)})};var ut=i.prototype;ut.resolve=function(t){var e=this;if(e.state===ct){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof i)return void i.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(t){return void(n||e.reject(t))}e.state=at,e.value=t,e.notify()}},ut.reject=function(t){var e=this;if(e.state===ct){if(t===e)throw new TypeError("Promise settled with itself.");e.state=lt,e.value=t,e.notify()}},ut.notify=function(){var t=this;l(function(){if(t.state!==ct)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],i=e[1],r=e[2],o=e[3];try{t.state===at?r("function"==typeof n?n.call(void 0,t.value):t.value):t.state===lt&&("function"==typeof i?r(i.call(void 0,t.value)):o(t.value))}catch(t){o(t)}}})},ut.then=function(t,e){var n=this;return new i(function(i,r){n.deferred.push([t,e,i,r]),n.notify()})},ut.catch=function(t){return this.then(void 0,t)},"undefined"==typeof Promise&&(window.Promise=i),r.all=function(t,e){return new r(Promise.all(t),e)},r.resolve=function(t,e){return new r(Promise.resolve(t),e)},r.reject=function(t,e){return new r(Promise.reject(t),e)},r.race=function(t,e){return new r(Promise.race(t),e)};var dt=r.prototype;dt.bind=function(t){return this.context=t,this},dt.then=function(t,e){return t&&t.bind&&this.context&&(t=t.bind(this.context)),e&&e.bind&&this.context&&(e=e.bind(this.context)),new r(this.promise.then(t,e),this.context)},dt.catch=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new r(this.promise.catch(t),this.context)},dt.finally=function(t){return this.then(function(e){return t.call(this),e},function(e){return t.call(this),Promise.reject(e)})};var ht,ft={},pt=ft.hasOwnProperty,mt=[],gt=mt.slice,vt=!1,yt="undefined"!=typeof window,bt=Array.isArray,wt=Object.assign||E;L.options={url:"",root:null,params:{}},L.transform={template:P,query:S,root:k},L.transforms=["template","query","root"],L.params=function(t){var e=[],n=encodeURIComponent;return e.add=function(t,e){p(e)&&(e=e()),null===e&&(e=""),this.push(n(t)+"="+n(e))},j(e,t),e.join("&").replace(/%20/g,"+")},L.parse=function(t){var e=document.createElement("a");return document.documentMode&&(e.href=t,t=e.href),e.href=t,{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",port:e.port,host:e.host,hostname:e.hostname,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):""}};var At=yt&&"withCredentials"in new XMLHttpRequest,xt=function(t){var e=this;this.map={},A(t,function(t,n){return e.append(n,t)})};xt.prototype.has=function(t){return null!==Q(this.map,t)},xt.prototype.get=function(t){var e=this.map[Q(this.map,t)];return e?e.join():null},xt.prototype.getAll=function(t){return this.map[Q(this.map,t)]||[]},xt.prototype.set=function(t,e){this.map[tt(Q(this.map,t)||t)]=[c(e)]},xt.prototype.append=function(t,e){var n=this.map[Q(this.map,t)];n?n.push(c(e)):this.set(t,e)},xt.prototype.delete=function(t){delete this.map[Q(this.map,t)]},xt.prototype.deleteAll=function(){this.map={}},xt.prototype.forEach=function(t,e){var n=this;A(this.map,function(i,r){A(i,function(i){return t.call(e,i,r,n)})})};var _t=function(t,e){var n=e.url,i=e.headers,r=e.status,o=e.statusText;this.url=n,this.ok=r>=200&&r<300,this.status=r||0,this.statusText=o||"",this.headers=new xt(i),this.body=t,f(t)?this.bodyText=t:v(t)&&(this.bodyBlob=t,nt(t)&&(this.bodyText=et(t)))};_t.prototype.blob=function(){return b(this.bodyBlob)},_t.prototype.text=function(){return b(this.bodyText)},_t.prototype.json=function(){return b(this.text(),function(t){return JSON.parse(t)})},Object.defineProperty(_t.prototype,"data",{get:function(){return this.body},set:function(t){this.body=t}});var Et=function(t){this.body=null,this.params={},wt(this,t,{method:h(t.method||"GET")}),this.headers instanceof xt||(this.headers=new xt(this.headers))};Et.prototype.getUrl=function(){return L(this)},Et.prototype.getBody=function(){return this.body},Et.prototype.respondWith=function(t,e){return new _t(t,wt(e||{},{url:this.getUrl()}))};var Ct={Accept:"application/json, text/plain, */*"},kt={"Content-Type":"application/json;charset=utf-8"};it.options={},it.headers={put:kt,post:kt,patch:kt,delete:kt,common:Ct,custom:{}},it.interceptor={before:U,method:G,jsonp:q,json:V,form:H,header:K,cors:I},it.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(t){it[t]=function(e,n){return this(wt(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){it[t]=function(e,n,i){return this(wt(i||{},{url:e,method:t,body:n}))}}),rt.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(st),t.exports=st},function(t,e){},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=i(r),s=n(8),a=i(s),l=n(14),c=i(l),u=n(15),d=i(u),h=n(45),f=n(1),p=(i(f),function(){function t(){(0,c.default)(this,t),this.http=new h.HttpResetClass,this.hand=new h.SearchList(!0)}return(0,d.default)(t,[{key:"ready",value:function(){function t(){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hand.searchList("rs/sql/sale_HandplanQuery",{},{});case 2:console.log(this.hand.list.data);case 3:case"end":return t.stop()}},t,this)}));return t}()},{key:"Checkon",value:function(t){this.hand.check.setCheckAll(),t()}},{key:"Check",value:function(t){console.log(t),this.hand.check.setCheckes(t)}},{key:"update",value:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.http.load("post","rs/logic/DeductionLateFees",{condition:"1=1",switchCheckAll:this.hand.check.switchCheckAll,checkAll:this.hand.check.checkAll,param:this.hand.check.checkes,columnName:"id"},{resolveMsg:null,rejectMsg:null});case 2:return this.hand.check.checkes=[],t.next=5,this.hand.searchList("rs/sql/sale_HandplanQuery",{},{});case 5:e(),console.log(this.hand.list.data);case 7:case"end":return t.stop()}},t,this)}));return t}()},{key:"Loadmore",value:function(){function t(t){return e.apply(this,arguments)}var e=(0,a.default)(o.default.mark(function t(e){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hand.list.loadMore();case 2:e();case 3:case"end":return t.stop()}},t,this)}));return t}()}]),t}());e.default=p},,,,,,,,,,function(t,e,n){(function(t){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(24),o=i(r),s=n(644),a=i(s);n(45);e.default={ready:function(){var e=this;t.canvas="TestDataComponent",t.myjson=(0,o.default)(t.myjson,{TestDataComponent:{template:{type:"Dock",children:[{Original:"@V",Pos:"@Left",children:[{Column:"@110,110,110,110,110,110,110,110",Slots:{head:{Row:"@*",Column:"@110,110,110,110,110,110,110,110",children:[{type:"Stack",Classes:"@DataGridHead",children:[{type:"CheckBox","@Change":"stat.Call($Checkon$)"},{Left:"@9",type:"Text",Text:"@全选"}]},{type:"Text",Classes:"@DataGridHead",Text:"@欠费累计金额"},{Text:"@欠费累计气量",Classes:"@DataGridHead",type:"Text"},{type:"Text",Text:"@应交金额",Classes:"@DataGridHead"},{type:"Text",Text:"@优惠金额",Classes:"@DataGridHead"},{Classes:"@DataGridHead",Text:"@减免状态",type:"Text"},{type:"Text",Text:"@截止日期",Classes:"@DataGridHead"},{type:"Text",Text:"@本期实际结余",Classes:"@DataGridHead"}],type:"Grid"},item:{children:[{"@Change":"stat.Call($Check$, data.id)",type:"CheckBox",IsSelected:"stat.Data.hand.check.Call($isChecked$, data.id)",Classes:"@DataGridBody",HAlign:"@Center"},{type:"Text",Classes:"@DataGridBody",Text:"date.f_totalowe_fee"},{Text:"data.f_totalowe_gas",type:"Text",Classes:"@DataGridBody"},{type:"Text",Classes:"@DataGridBody",Text:"data.f_oughtfee"},{Classes:"@DataGridBody",type:"Text",Text:"data.f_reduce_fee"},{type:"Text",Classes:"@DataGridBody",Text:"data.f_overdue_status"},{Text:"data.f_end_date",type:"Text",Classes:"@DataGridBody"},{Classes:"@DataGridBody",Text:"data.f_curbalance",type:"Text"}],type:"Grid",Row:"@*"}},type:"DataGrid",Data:"stat.Data.hand.list.data",Height:"500"},{type:"Grid",Row:"@*",Top:"@15",Column:"@*,*,1*,*",children:[{type:"Text",Text:"当前显示{global.Length(stat.Data.hand.list)}行"},{Text:"共{stat.Data.hand.list.count}行",type:"Text",Left:"@20"},{type:"Text",Text:"@ "},{Slots:{item:{children:[{Path:"@doubledown",VAlign:"@Bottom",type:"Image"},{Left:"@4",type:"Text",Text:"@更多"}],type:"Stack",Name:"LoadMoreButton_Stack",FillStyle:"this.MouseIn:$#000000$,$#666666$"}},type:"Button","@Click":"stat.Call($Loadmore$)"}]}],type:"Stack"},{Pos:"@Center",Width:"@50",Column:"@*",Row:"@40",children:[{Height:"@20",Text:"@更新","@Click":"stat.Call($update$)",type:"Button",Classes:"@Button"}],type:"Grid"}]},Drag:{NewPlan:{Row:"@*",Column:"@*",children:[{Background:"@#ffffff",Row:"@*,*",type:"Grid",Column:"@80,170,80,170,80,170",children:[{Text:"@* 计划名称",HAlign:"@Right",VAlign:"@Center",type:"Text",Right:"@10"},{"@Change":"stat.Call($setNewPlan$, $f_plan_name$, e.Value)",type:"Input"},{Right:"@10",Text:"@计划年份",HAlign:"@Right",VAlign:"@Center",type:"Text"},{Classes:"@SelectWhite BorderRound",Data:"stat.Call($years$)","@Change":"stat.Call($setNewPlan$, $f_plan_year$, e.Value)",type:"Select"},{type:"Text",HAlign:"@Right",VAlign:"@Center",Right:"@10",Text:"@计划月份"},{type:"Select",Data:"stat.Call($months$)",Classes:"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_month$, e.Value)"},{Top:"@10",type:"Text",HAlign:"@Right",VAlign:"@Center",Right:"@10",Text:"@是否共享"},{Selected:"stat.Data.newPlan.f_share",Data:"stat.Data.isAndNot",Original:"@H","@Change":"stat.Call($setNewPlan$, $f_share$, e.Value),stat.Call($flush$)",type:"Select",TemplateName:"@RadioButton"},{Right:"@10",type:"Text",if:"stat.Data.newPlan.f_share==$否$:true,false",Text:"@安检员",HAlign:"@Right",VAlign:"@Center",Top:"@10"},{if:"stat.Data.newPlan.f_share==$否$:true,false","@Change":"stat.Call($setNewPlan$, $f_checker$, e.Value)",type:"Select",Classes:"@SelectWhite BorderRound",Top:"@10"}],PaddingBottom:"@20",Classes:"@NormalFontlight",PaddingRight:"@36",Pos:"@Center",PaddingLeft:"@20",PaddingTop:"@20"}],type:"Grid"},upPlan:{Row:"@*",Column:"@*",children:[{PaddingTop:"@20",children:[{type:"Text",VAlign:"@Center",Text:"@* 计划名称",Right:"@10",HAlign:"@Right"},{type:"Input",Value:"stat.Data.plan.f_plan_name","@Change":"stat.Data.Call($setPlan$,$f_plan_name$,e.Value) "},{Text:"@安检员",Right:"@10",type:"Text",HAlign:"@Right",VAlign:"@Center"},{type:"Select",Classes:"@SelectWhite BorderRound",Selected:"stat.Data.plan.checker","@Change":"stat.Data.Call($setPlan$,$f_checker$,e.Value) "},{type:"Text",Right:"@10",HAlign:"@Right",VAlign:"@Center",Top:"@10",Text:"@计划年份"},{Classes:"@SelectWhite BorderRound",Top:"@10",Selected:"stat.Data.plan.f_plan_year","@Change":"stat.Data.Call($setPlan$,$f_plan_year$,e.Value) ",type:"Select"},{type:"Text",Top:"@10",Text:"@计划月份",Right:"@10",HAlign:"@Right",VAlign:"@Center"},{type:"Select",Top:"@10",Selected:"stat.Data.plan.f_plan_month",Classes:"@SelectWhite BorderRound","@Change":"stat.Data.Call($setPlan$,$f_plan_month$,e.Value) "}],PaddingBottom:"@20",PaddingRight:"@36",PaddingLeft:"@20",Row:"@*,*",Classes:"@NormalFontlight",Column:"@80,170,80,170",Background:"@#ffffff",type:"Grid"}],type:"Grid"},SearchPlan:{type:"Grid",Row:"@1*",Column:"@1*",Classes:"@PopupSearch PopupShadow",children:[{Classes:"@BorderRound NormalFont PopupSearch",children:[{PaddingBottom:"@6",Classes:"@GridLabel",type:"Text",Text:"@计划名称"},{Value:"stat.Data.checkplan.search.model.f_plan_name","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_name$, e.Value)",type:"Input"},{type:"Text",Text:"@计划年份",Classes:"@GridLabel"},{Data:"stat.Call($years$)","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_year$, e.Value)",type:"Select",Top:"@10",Selected:"stat.Data.checkplan.search.model.f_plan_year",Classes:"@SelectWhite BorderRound"},{Classes:"@GridLabel",type:"Text",Text:"@计划月份"},{Selected:"stat.Data.checkplan.search.model.f_plan_month",Bottom:"@1",Classes:"@SelectWhite BorderRound","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_month$, e.Value)",type:"Select",Data:"stat.Call($months$)",Top:"@10"},{Text:"@是否共享",Classes:"@GridLabel",type:"Text"},{Original:"@H",VAlign:"@Center","@Change":"stat.Call($isAndNotChange$, e.Value)",type:"Select",Data:"stat.Data.isAndNot",TemplateName:"@RadioButton",Selected:"stat.Data.sIsAndNotSelect"},{Text:"@安检员",type:"Text",Classes:"@GridLabel"},{Classes:"@SelectWhite BorderRound",type:"Select",Top:"@10"},{ColSpan:"@2",HAlign:"@Center",Top:"@20",children:[{Right:"@50",Text:"@取消",Classes:"@Button2","@Click":"stat.RestorePopup(this,e.draw)",type:"Button"},{type:"Button",Text:"@查询",FillStyle:"@#ffffff",Classes:"@Button","@Click":"stat.Call($loadCheckPlan$,$$),stat.RestorePopup(this,e.draw)"}],type:"Stack"}],PaddingTop:"@10",Column:"@70,170",PaddingBottom:"@10",Row:"@*,*,*,*,*,*",type:"Grid",PaddingRight:"@20",PaddingLeft:"@10"}]},start:{type:"Image",Path:"@drag"},drag:{type:"Text",Text:"@ "}}}});var n=["drag.png"];t.getImages(n,"../../static/images/meterBook/"),loadWasm().then(function(){t.stat=new a.default,e.$login&&(t.stat.loginInfo=e.$login.f,console.log("登录信息",e.$login.f),console.log("stat",t.stat),console.log("login",t.stat.loginInfo)),t.stat.ready().then(function(){console.log(t.stat),run()})})}}}).call(e,function(){return this}())},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=" <app-base> <div id=content></div> </app-base> "},,,,,,,,,,,,,,,,,function(t,e,n){var i,r,o={};i=n(654),r=n(755),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var s="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;r&&(s.template=r),s.computed||(s.computed={}),Object.keys(o).forEach(function(t){var e=o[t];s.computed[t]=function(){return e}})}]);
|