Browse Source

教师查看学生学习app页面接口对接

liurongli 3 weeks ago
parent
commit
69eebc9215
30 changed files with 2186 additions and 3830 deletions
  1. 21 0
      pages.json
  2. 281 0
      pages/studentStudy/courseCenter/index.vue
  3. 58 0
      pages/studentStudy/index.vue
  4. 353 0
      pages/studentStudy/learningMonitor/index.vue
  5. 705 0
      pages/studentStudy/learningMonitor/taskDetails.vue
  6. 360 0
      pages/studentStudy/myLearning/index.vue
  7. 368 0
      pages/studentStudy/videoDetails.vue
  8. 1 1
      pages/teacherStudy/courseCenter/index.vue
  9. 6 2
      pages/workspace/index.vue
  10. 30 0
      reqApi/studentStudy.js
  11. BIN
      unpackage/cache/apk/__UNI__07352BD_cm.apk
  12. 1 1
      unpackage/cache/apk/apkurl
  13. 0 0
      unpackage/cache/apk/cmManifestCache.json
  14. 0 0
      unpackage/cache/wgt/__UNI__07352BD/app-service.js
  15. BIN
      unpackage/cache/wgt/__UNI__07352BD/assets/uvicons.04d281cc.ttf
  16. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/login/agreement.css
  17. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/my/updatePassword.css
  18. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/notice/mine/detail.css
  19. 0 1
      unpackage/cache/wgt/__UNI__07352BD/pages/notice/mine/preview.css
  20. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/notice/publish/personList.css
  21. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/teacherStudy/index.css
  22. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/teacherStudy/learningMonitor/taskDetails.css
  23. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/teacherStudy/videoDetails.css
  24. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/workspace/index.css
  25. 0 0
      unpackage/cache/wgt/__UNI__07352BD/pages/workspace/schedule.css
  26. 2 9
      unpackage/dist/cache/.vite/deps/_metadata.json
  27. 0 3813
      unpackage/dist/cache/.vite/deps/jsencrypt.js
  28. 0 3
      unpackage/dist/cache/.vite/deps/jsencrypt.js.map
  29. BIN
      unpackage/release/apk/__UNI__07352BD__20260722154818.apk
  30. BIN
      unpackage/release/apk/__UNI__07352BD__20260727152326.apk

+ 21 - 0
pages.json

@@ -147,6 +147,27 @@
 				"navigationBarTitleText": "教师研修-研修监控-任务详情",
 				"navigationStyle": "custom"
 			}
+		},
+		{
+			"path": "pages/studentStudy/index",
+			"style": {
+				"navigationBarTitleText": "教师研修",
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/studentStudy/videoDetails",
+			"style": {
+				"navigationBarTitleText": "教师研修-视频详情",
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/studentStudy/learningMonitor/taskDetails",
+			"style": {
+				"navigationBarTitleText": "教师研修-研修监控-任务详情",
+				"navigationStyle": "custom"
+			}
 		}
 	],
 	"easycom": {

+ 281 - 0
pages/studentStudy/courseCenter/index.vue

@@ -0,0 +1,281 @@
+<template>
+	<!-- 头部 -->
+	<nav-bar height="312" backPath="workspace" title="学生学习" :filterPickerData="state.filterPickerData" :tabList="state.tabList" :onlyTitle="false" :showFilterPicker="true" :showTabs="true" rightWidth="0rpx" @CommonFilterData="CommonFilterData"></nav-bar>
+	<view class="page_content">
+		<scroll-view
+		    class="scroll_view_y"
+			:scroll-top="state.scrollTop"
+			scroll-y="true"
+			:refresher-enabled="false" 
+			:enable-back-to-top="true"
+			:show-scrollbar="false" 
+			:scroll-with-animation="true" 
+			refresher-default-style="none"
+			refresher-background="#F8F9FD" 
+			:refresher-triggered="state.isRefreshing" 
+			@scrolltolower="OnLoadMore"
+			@refresherrefresh="OnRefresh"
+			@scroll="OnScroll">
+			<view class="refresh_loading" v-if="state.isRefreshing"><uni-load-more status="loading" /></view>
+			<view class="page_list">
+				<view class="list_item" v-for="item in state.pageList" :key="item.id" @click="GoVideoDetails(item.id)">
+					<image class="item_img" mode="aspectFill" :src="item.videoCoverUrl"></image>
+					<view class="item_title">{{item.courseName}}</view>
+					<view class="item_time">
+						<image class="img" src="@/static/image/icon/time2x.png"></image>
+						<text class="time">{{item.courseStartDatetime}}</text>
+					</view>
+				</view>
+			</view>
+			<view class="no_data" v-if="!state.isLoading && state.pageList.length == 0">
+				<image class="no_data_img" src="@/static/image/bg/no_data.png"></image>
+				<text class="no_data_text">暂无数据</text>
+			</view>
+			<uni-load-more v-if="state.pageList.length > 0" :status="state.loadStatus" />
+		</scroll-view>
+	</view>
+</template>
+
+<script setup>
+	import navBar from '@/components/nav-bar.vue';
+	import {queryTeacherCourseTypeList,teacherCenterPageData} from '@/reqApi/studentStudy.js';
+	import {
+		reactive,
+		ref,
+		onMounted,
+		nextTick
+	} from 'vue';
+	const state = reactive({
+		courseTypeData:[],//顶部查询数据 
+		filterPickerData: [{
+			valueIndex:0,//默认值索引
+			defaultValue:'',//默认值
+			list:[]
+		},{
+			valueIndex:0,//默认值索引
+			defaultValue:'',//默认值
+			list:[]
+		}],
+		tabList: [{
+			label: '最新发布',
+			value: '0'
+		}, {
+			label: '播放最多',
+			value: '1'
+		}, {
+			label: '关注最多',
+			value: '2'
+		}],
+		pageList:[],//列表数据
+		queryStr: '',
+		sortType: '0',//排序方式,课程中心参数,0-最新发布,1-播放最多,2-关注最多
+		studCourseTypeClassId: '',//学习专题	
+		studCourseTypeId: '',//内容领域	
+		pageSize: 30,
+		pageNum: 1,
+		scrollTop:0,
+		oldScrollTop:0,
+		isRefreshing:false,//设置当前下拉刷新状态,true 表示下拉刷新已经被触发,false 表示下拉刷新未被触发
+		isLoading:true,//加载中
+		noMoreData:false,//没有更多数据了
+		loadStatus:'more',//loading状态
+	})
+	onMounted(() => {
+		getCourseTypeDataList();
+		OnLoadData(true);
+	});
+	//获取顶部查询项
+	const getCourseTypeDataList = () => {
+		queryTeacherCourseTypeList().then(res => {
+			if(res.code == 200){
+				const defaultData = [{
+					label:'内容领域',
+					id:'',
+					value:''
+				}];
+				const resData = res?.data || [];
+				state.courseTypeData = defaultData.concat(resData);
+				//一级条件
+				state.filterPickerData[0].list = state.courseTypeData.map(item=>({
+					...item,
+					value:item.id
+				}))
+			}else{
+				state.courseTypeData = [];
+				state.filterPickerData = [{
+					valueIndex:0,//默认值索引
+					defaultValue:'',//默认值
+					list:[],
+				},{
+					valueIndex:0,
+					defaultValue:'',//默认值
+					list:[],
+				}]
+			}
+		})
+	}
+	//切换条件选择器
+	const CommonFilterData = (searchWord,filterPicker,tabsSelected,type) => {
+		const {valueIndex, index,filterPickerValue} = filterPicker;
+		if(type == 'filterPicker'){
+			if(index==0){//索引
+				state.filterPickerData[index].valueIndex = valueIndex;//一级条件选中项的索引
+				state.filterPickerData[1].valueIndex = 0;//二级条件选中项的索引
+				const childrenData = state.courseTypeData?.[valueIndex]?.children || [];
+				const childrenList = childrenData.map(item=>({
+					...item,
+					value:item?.id ?? ''
+				}))
+				if(childrenList.length){
+					childrenList.unshift({
+						label:'学习专题',
+						id:'',
+						value:''
+					})
+				}
+				state.filterPickerData[1].list = childrenList;//二级条件数据
+			}else{
+				state.filterPickerData[index].valueIndex = valueIndex;//二级条件选中项的索引
+			}
+		}
+		state.queryStr = searchWord;
+		state.studCourseTypeId = filterPickerValue[0];
+		state.studCourseTypeClassId = filterPickerValue[1];
+		state.sortType = tabsSelected;
+		OnLoadData(true)
+	}
+	/*
+	*获取数据
+	* initPage:初始分页 从第一开始
+	*/
+	const OnLoadData = (initPage) => {
+		// uni.showLoading({
+		// 	title: '加载中'
+		// });
+		if (initPage) state.pageNum = 1;//如果是下拉刷新、重新查询 默认加载第一页
+		state.isLoading = true;
+		state.loadStatus = 'loading';
+		teacherCenterPageData({
+			queryStr:state.queryStr,
+			studCourseTypeId:state.studCourseTypeId,
+			studCourseTypeClassId:state.studCourseTypeClassId,
+			sortType:state.sortType,
+			pageSize:state.pageSize,
+			pageNum:state.pageNum
+		}).then(res=>{
+			if(res.code == 200){
+				const total = Number(res.data.total) || 0;//总数
+				const pages = Math.ceil(total / state.pageSize);//总页数
+				const recordsData = res?.data?.records || [];
+				state.pageList = initPage ? recordsData : [...state.pageList,...recordsData];
+				state.noMoreData = state.pageNum == pages;
+				state.pageNum++;
+			}
+		}).finally(()=>{
+			// uni.hideLoading();
+			state.isLoading = false;
+			state.isRefreshing = false;//下拉刷新未被触发
+			if(state.noMoreData){
+				state.loadStatus = 'no-more';
+			}else{
+				state.loadStatus = 'more';
+			}
+			//返回到页面顶部
+			if(initPage){
+				GoTop();
+			}
+		})
+	}
+	// 自定义下拉刷新被触发	 下拉刷新
+	const OnRefresh = () =>{
+		state.isRefreshing = true;//下拉刷新已经被触发
+		OnLoadData(true);
+	}
+	//滚动到底部/右边 触发上拉刷新
+	const OnLoadMore = () => {
+		if (state.isLoading || state.noMoreData) return;
+		OnLoadData(false);
+	}
+	//	滚动时触发
+	const OnScroll = (e) => {
+		state.oldScrollTop = e.detail.scrollTop;
+	}
+	//返回到顶部
+	const GoTop = () => {
+		// 解决view层不同步的问题
+		state.scrollTop = state.oldScrollTop;
+		nextTick(() => {
+			state.scrollTop = 0
+		});
+	}
+	//视频详情
+	const GoVideoDetails = (id) => {
+		uni.navigateTo({
+			url: `/pages/studentStudy/videoDetails?id=${id}`
+		});
+	}
+</script>
+
+<style lang="scss" scoped>
+	.page_content{
+		height: calc(100% - 448rpx);
+		.scroll_view_y{
+			height: 100%;
+			.refresh_loading{
+				padding: 10rpx 0;
+			}
+		}
+		.page_list{
+			display: flex;
+			width: 100%;
+			flex-wrap: wrap;
+			gap:32rpx;
+			.list_item{
+				&:nth-child(1){
+					margin-top: 16rpx;
+				}
+				&:nth-child(2){
+					margin-top: 16rpx;
+				}
+				width: calc((100% - 32rpx) / 2);
+				overflow: hidden;
+				display: flex;
+				flex-direction: column;
+				.item_img{
+					width: 100%;
+					height: 220rpx;
+					border-radius: 8rpx;
+				}
+				.item_title{
+					display: flex;
+					width: 100%;
+					margin:8rpx 0;
+					font-weight: 400;
+					font-size: 24rpx;
+					color: #333333;
+					display: -webkit-box;
+					-webkit-line-clamp: 2;
+					-webkit-box-orient: vertical;
+					overflow: hidden;
+					text-overflow: ellipsis;
+				}
+				.item_time{
+					display: flex;
+					align-items: center;
+					width: 100%;
+					.img{
+						width: 28rpx;
+						height: 28rpx;
+						margin-right: 8rpx;
+					}
+					.time{
+						font-weight: 400;
+						font-size: 24rpx;
+						color: #999999;
+					}
+				}
+			}
+		}
+		
+	}
+</style>

+ 58 - 0
pages/studentStudy/index.vue

@@ -0,0 +1,58 @@
+<template>
+	<view class="page_body">
+		<!-- 课程中心 -->
+		<course-center v-if="state.tabBarValue=='courseCenter'"></course-center>
+		<!-- 我的学习 -->
+		<my-learning v-if="state.tabBarValue=='myLearning'"></my-learning>
+		<!-- 学习监控 -->
+		<learning-monitor v-if="state.tabBarValue=='learningMonitor'"></learning-monitor>
+		<!-- 底部tabbar -->
+		<page-tabbar :tabBarValue="state.tabBarValue" :tabBarList="state.tabBarList" @ChangeTabBarValue="ChangeTabBarValue"></page-tabbar>
+	</view>
+</template>
+
+<script setup>
+	import pageTabbar from '@/components/page-tabbar.vue';//头部
+	import courseCenter from './courseCenter/index.vue';//课程中心
+	import myLearning from './myLearning/index.vue';//我的学习
+	import learningMonitor from './learningMonitor/index.vue';//学习监控
+	import { reactive, ref,onMounted } from 'vue';
+	import { useStore } from 'vuex';
+	const store = useStore();
+	const state = reactive({
+		tabBarValue:'courseCenter',
+		tabBarList:[{
+			"pathName":"courseCenter",
+			"iconPath": "/static/image/tabbar/courseCenter.png",
+			"selectedIconPath": "/static/image/tabbar/courseCenter_cur.png",
+			"text": "课程中心"
+		},{
+			"pathName":"myLearning",
+			"iconPath": "/static/image/tabbar/myLearning.png",
+			"selectedIconPath": "/static/image/tabbar/myLearning_cur.png",
+			"text": "我的学习"
+		}]
+	})
+	//切换tabBar
+	const ChangeTabBarValue = (name) => {
+		state.tabBarValue = name;
+	}
+	onMounted(()=>{
+		const roleCodes  = store.state?.userStore?.userInfo?.roleCodes || [];
+		if(roleCodes.includes('SCHOOL_MANAGER')){//管理员
+			state.tabBarList.push({
+				"pathName":"learningMonitor",
+				"iconPath": "/static/image/tabbar/learningMonitor.png",
+				"selectedIconPath": "/static/image/tabbar/learningMonitor_cur.png",
+				"text": "学习监控"
+			})
+		}
+	})
+</script>
+
+<style lang="scss" scoped>
+	.page_body{
+		height: 100%;
+		min-height: auto;
+	}
+</style>

+ 353 - 0
pages/studentStudy/learningMonitor/index.vue

@@ -0,0 +1,353 @@
+<template>
+	<!-- 头部 -->
+	<nav-bar :height="state.courseType == '0'?'312':'224'" backPath="workspace" title="学生学习" :filterPickerData="state.filterPickerData" :tabList="state.tabList" :onlyTitle="false" :showFilterPicker="true" :showTabs="true" rightWidth="0rpx" @CommonFilterData="CommonFilterData"></nav-bar>
+	<view :class="['page_content',{'self_content_height':state.courseType == '1'}]">
+		<scroll-view
+		    class="scroll_view_y"
+			:scroll-top="state.scrollTop"
+			scroll-y="true"
+			:refresher-enabled="false" 
+			:enable-back-to-top="true"
+			:show-scrollbar="false" 
+			:scroll-with-animation="true" 
+			refresher-default-style="none"
+			refresher-background="#F8F9FD" 
+			:refresher-triggered="state.isRefreshing" 
+			@scrolltolower="OnLoadMore"
+			@refresherrefresh="OnRefresh"
+			@scroll="OnScroll">
+			<view class="refresh_loading" v-if="state.isRefreshing"><uni-load-more status="loading" /></view>
+			<view class="page_list">
+				<view class="list_item" v-for="item in state.pageList" :key="item.id">
+					<view class="item_title">
+						<image class="img" src="@/static/image/icon/video.png"></image>
+						<view class="title">{{item.courseName}}</view>
+					</view>
+					<view class="item_status">
+						<view v-if="state.courseType == '0'" :class="['status',{going:item.courseStatus === 0,finished:item.courseStatus === 2}]">{{item.courseStatus === 0?'进行中':'已结束'}}</view>
+						<view class="item_field" v-if="state.courseType == '0' && item.courseType">{{item.courseType}}</view>
+						<view class="item_field" v-if="state.courseType == '1' && item.teachCourseTypeName">{{item.teachCourseTypeName}}</view>
+						<view class="item_field" v-if="item.teachCourseTypeClassName">{{item.teachCourseTypeClassName}}</view>
+						<view class="item_field" v-if="item.teacherName">{{item.teacherName}}</view>
+						<view class="item_field" v-if="state.courseType == '0' && item.remainingTime && item.remainingTime!='-'">剩余{{item.remainingTime}}</view>
+					</view>
+					<view class="item_complete_status">
+						<text class="complete_status">完成情况:{{item.learnOver ?? '-'}}/{{item.learnCount ?? '-'}}</text>
+						<text class="btn_detail" @click="GoTaskDetails(item.id,state.courseType)">查看详情</text>
+					</view>
+				</view>
+			</view>
+			<view class="no_data" v-if="!state.isLoading && state.pageList.length == 0">
+				<image class="no_data_img" src="@/static/image/bg/no_data.png"></image>
+				<text class="no_data_text">暂无数据</text>
+			</view>
+			<uni-load-more v-if="state.pageList.length > 0" :status="state.loadStatus" />
+		</scroll-view>
+	</view>
+</template>
+
+<script setup>
+	import navBar from '@/components/nav-bar.vue';
+	import {queryTeacherCourseTypeList,teacherMinitorPageListData} from '@/reqApi/studentStudy.js';
+	import {
+		reactive,
+		ref,
+		onMounted,
+		nextTick
+	} from 'vue';
+	const state = reactive({
+		courseTypeData:[],//顶部查询数据 
+		filterPickerData: [{
+			valueIndex:0,//默认值索引
+			defaultValue:'0',//默认值
+			list:[{
+				label:'必修任务',
+				value:'0',
+			},{
+				label:'自主研修',
+				value:'1',
+			}]
+		},{
+			valueIndex:0,//默认值索引
+			defaultValue:'',//默认值
+			list:[]
+		},{
+			valueIndex:0,//默认值索引
+			defaultValue:'',//默认值
+			list:[]
+		}],//必修任务tab
+		tabList:[],
+		mustTabList: [{
+			label: '全部',
+			value: ''
+		}, {
+			label: '进行中',
+			value: '0'
+		}, {
+			label: '已结束',
+			value: '2'
+		}],
+		pageList:[],//列表数据
+		queryStr: '',
+		courseType:'0',//默认必修任务
+		studCourseTypeId: '',//内容领域	
+		studCourseTypeClassId: '',//学习专题
+		courseStatus: '',//tab选中值
+		pageSize: 10,
+		pageNum: 1,
+		scrollTop:0,
+		oldScrollTop:0,
+		isRefreshing:false,//设置当前下拉刷新状态,true 表示下拉刷新已经被触发,false 表示下拉刷新未被触发
+		isLoading:true,//加载中
+		noMoreData:false,//没有更多数据了
+		loadStatus:'more',//loading状态
+	})
+	onMounted(() => {
+		state.tabList = [...state.mustTabList];
+		getCourseTypeDataList();
+		OnLoadData(true);
+	});
+	//获取顶部查询项
+	const getCourseTypeDataList = () => {
+		queryTeacherCourseTypeList().then(res => {
+			if(res.code == 200){
+				const defaultData = [{
+					label:'内容领域',
+					id:'',
+					value:''
+				}];
+				const resData = res?.data || [];
+				state.courseTypeData = defaultData.concat(resData);
+				//内容领域
+				state.filterPickerData[1].list = state.courseTypeData.map(item=>({
+					...item,
+					value:item.id
+				}))
+			}
+		})
+	}
+	//切换条件选择器
+	const CommonFilterData = (searchWord,filterPicker,tabsSelected,type) => {
+		const {valueIndex, index,filterPickerValue} = filterPicker;
+		state.queryStr = searchWord;
+		state.courseType = filterPickerValue[0];
+		state.studCourseTypeId = filterPickerValue[1];
+		state.studCourseTypeClassId = filterPickerValue[2];
+		state.courseStatus = tabsSelected;
+		if(type == 'filterPicker'){
+			state.filterPickerData[index].valueIndex = valueIndex;//学习场景、内容领域、学习专题选中项的索引
+			if(index==1){//切换内容领域选中项
+				//学习专题默认切换到全部 同时获取学习专题所有选项
+				state.filterPickerData[2].valueIndex = 0;
+				const childrenData = state.courseTypeData?.[valueIndex]?.children || [];
+				const childrenList = childrenData.map(item=>({
+					...item,
+					value:item?.id ?? ''
+				}))
+				if(childrenList.length){
+					childrenList.unshift({
+						label:'学习专题',
+						id:'',
+						value:''
+					})
+				}
+				state.filterPickerData[2].list = childrenList;
+			}else{
+				if(index == 0){
+					state.filterPickerData[1].valueIndex = 0;//内容领域
+					state.filterPickerData[2].valueIndex = 0;//学习专题
+					state.filterPickerData[2].list = [];//学习专题选项
+					state.tabList = valueIndex == 0 ? [...state.mustTabList] : [];
+					state.courseStatus = '';
+				}
+			}
+		}
+		OnLoadData(true)
+	}
+	/*
+	*获取数据
+	* initPage:初始分页 从第一开始
+	*/
+	const OnLoadData = (initPage) => {
+		// uni.showLoading({
+		// 	title: '加载中'
+		// });
+		if (initPage) state.pageNum = 1;//如果是下拉刷新、重新查询 默认加载第一页
+		state.isLoading = true;
+		state.loadStatus = 'loading';
+		teacherMinitorPageListData({
+			queryStr:state.queryStr,
+			courseType:state.courseType,
+			studCourseTypeId:state.studCourseTypeId,
+			studCourseTypeClassId:state.studCourseTypeClassId,
+			courseStatus:state.courseStatus,
+			pageSize:state.pageSize,
+			pageNum:state.pageNum
+		}).then(res=>{
+			if(res.code == 200){
+				const total = Number(res?.data?.dateList?.total) || 0;//总数
+				const pages = Math.ceil(total / state.pageSize);//总页数
+				const recordsData = res?.data?.dateList?.records || [];
+				state.pageList = initPage ? recordsData : [...state.pageList,...recordsData];
+				state.noMoreData = state.pageNum == pages;
+				state.pageNum++;
+			}
+		}).finally(()=>{
+			// uni.hideLoading();
+			state.isLoading = false;
+			state.isRefreshing = false;//下拉刷新未被触发
+			if(state.noMoreData){
+				state.loadStatus = 'no-more';
+			}else{
+				state.loadStatus = 'more';
+			}
+			//返回到页面顶部
+			if(initPage){
+				GoTop();
+			}
+		})
+	}
+	// 自定义下拉刷新被触发	 下拉刷新
+	const OnRefresh = () =>{
+		state.isRefreshing = true;//下拉刷新已经被触发
+		OnLoadData(true);
+	}
+	//滚动到底部/右边 触发上拉刷新
+	const OnLoadMore = () => {
+		if (state.isLoading || state.noMoreData) return;
+		OnLoadData(false);
+	}
+	//	滚动时触发
+	const OnScroll = (e) => {
+		state.oldScrollTop = e.detail.scrollTop;
+	}
+	//返回到顶部
+	const GoTop = () => {
+		// 解决view层不同步的问题
+		state.scrollTop = state.oldScrollTop;
+		nextTick(() => {
+			state.scrollTop = 0
+		});
+	}
+	//视频详情
+	const GoTaskDetails = (id,courseType) => {
+		uni.navigateTo({
+			url: `/pages/studentStudy/learningMonitor/taskDetails?id=${id}&courseType=${courseType}`
+		});
+	}
+</script>
+
+<style lang="scss" scoped>
+	.page_content{
+		height: calc(100% - 448rpx);
+		&.self_content_height{
+			height: calc(100% - 360rpx);
+		}
+		.scroll_view_y{
+			height: 100%;
+			.refresh_loading{
+				padding: 10rpx 0;
+			}
+		}
+		.page_list{
+			display: flex;
+			width: 100%;
+			flex-wrap: wrap;
+			gap:32rpx;
+			.list_item{
+				&:nth-child(1){
+					margin-top: 16rpx;
+				}
+				width: 100%;
+				overflow: hidden;
+				display: flex;
+				flex-direction: column;
+				background: #F9FAFF;
+				border-radius: 20rpx;
+				border: 2rpx solid #E4E7ED;
+				
+				.item_title{
+					display: flex;
+					align-items: center;
+					width: 100%;
+					padding:24rpx 16rpx 16rpx;
+					box-sizing: border-box;
+					.img{
+						width: 32rpx;
+						height: 32rpx;
+						margin-right: 16rpx;
+					}
+					.title{
+						flex: 1;
+						white-space: nowrap;
+						overflow: hidden;
+						text-overflow: ellipsis;
+						font-weight: 500;
+						font-size: 28rpx;
+						color: #333333;
+					}
+				}
+				.item_status{
+					display: flex;
+					align-items: center;
+					flex-wrap: wrap;
+					gap: 16rpx;
+					width: 100%;
+					padding: 0 16rpx 24rpx;
+					box-sizing: border-box;
+					.status{
+						height: 48rpx;
+						display: inline-flex;
+						align-items: center;
+						padding: 0 12rpx;
+						border-radius: 8rpx;
+						font-weight: 400;
+						font-size: 24rpx;
+						&.going{
+							background-color: rgba(43,198,68,0.1);
+							color: #2BC644;
+						}
+						&.finished{
+							background-color: rgba(245,108,108,0.1);
+							color: #F56C6C;
+						}
+					}
+					.item_field{
+						font-weight: 400;
+						font-size: 24rpx;
+						color: #999999;
+						word-break: break-all;
+					}
+				}
+				.item_complete_status{
+					display: flex;
+					align-items: center;
+					justify-content: space-between;
+					width: 100%;
+					padding: 24rpx 16rpx;
+					box-sizing: border-box;
+					border-top: 2rpx solid #E4E7ED;
+					.complete_status{
+						font-weight: 400;
+						font-size: 24rpx;
+						color: #999999;
+					}
+					.btn_detail{
+						width: 160rpx;
+						height: 64rpx;
+						background-color: #2E64FA;
+						border-radius: 8rpx;
+						border: 2rpx solid #2E64FA;
+						display: inline-flex;
+						align-items: center;
+						justify-content: center;
+						font-weight: 400;
+						font-size: 28rpx;
+						color: #FFFFFF;
+					}
+				}
+			}
+		}
+		
+	}
+</style>

+ 705 - 0
pages/studentStudy/learningMonitor/taskDetails.vue

@@ -0,0 +1,705 @@
+<template>
+	<view class="page_body">
+		<!-- 头部 -->
+		<nav-bar height="96" title="任务详情" :onlyTitle="true" :showHeaderborder="true" @GoBack="GoBack"></nav-bar>
+		<!-- 吸顶 -->
+		<uv-sticky style="top:98rpx">
+			<view class="search_tabs" v-if="state.isSticky">
+				<!-- 搜索框 -->
+				<uni-easyinput class="search_box" v-model="state.searchWord" trim="all" :styles="state.searchInputStyles"
+					:placeholderStyle="state.searchInputPlaceholderStyle" placeholder="请输入关键字搜索" @input="HandleSearchInput">
+					<template #left>
+						<image src="/static/image/overview/search.png" class="search_icon"></image>
+					</template>
+				</uni-easyinput>
+				<scroll-view class="scroll_tabs" scroll-x="true" scroll-left="0" :show-scrollbar="false">
+					<view :class="['tab_item',{'selected':item.value==state.tabsSelected}]" v-for="item in state.tabList"
+						:key="item.value" @click="SelectTabsValue(item.value)">
+						{{item.label}}
+					</view>
+				</scroll-view>
+			</view>
+		</uv-sticky>
+		<view class="scroll_view_box">
+			<scroll-view
+				class="scroll_view_y" 
+				:scroll-top="state.scrollTop" 
+				scroll-y="true" 
+				:refresher-enabled="false"
+				:enable-back-to-top="true" 
+				:show-scrollbar="false" 
+				:scroll-with-animation="true"
+				refresher-default-style="none" 
+				refresher-background="#F8F9FD" 
+				:refresher-triggered="state.isRefreshing"
+				@scrolltolower="OnLoadMore" 
+				@refresherrefresh="OnRefresh" 
+				@scroll="OnScroll">
+				<view class="refresh_loading" v-if="state.isRefreshing"><uni-load-more status="loading" /></view>
+				<view class="page_content padding_btm">
+					<view class="task_title">{{state?.details?.courseName}}</view>
+					<view class="task_class_collect">
+						<view class="task_class_name">
+							<text class="class_item">{{state?.details?.courseType===0?'必修任务':'自主研修'}}</text>
+							<text class="class_item"
+								v-if="state?.details?.teachCourseTypeName">{{state?.details?.teachCourseTypeName}}</text>
+							<text class="class_item"
+								v-if="state?.details?.teachCourseTypeClassName">{{state?.details?.teachCourseTypeClassName}}</text>
+							<text class="class_item" v-if="state?.details?.createdBy">{{state?.details?.createdBy}}</text>
+						</view>
+						<view class="task_collect">
+							<view class="preview">
+								<image class="img" src="@/static/image/icon/preview.png"></image>
+								<text class="text">{{state?.details?.watchCount || 0}}</text>
+							</view>
+							<view class="collect">
+								<image class="img" src="@/static/image/icon/collect.png"></image>
+								<text class="text">{{state?.details?.followCount || 0}}</text>
+							</view>
+						</view>
+					</view>
+					<view class="task_time">
+						<view class="time_day">
+							<text class="time_item">{{state?.details?.courseStartDatetime?.split(' ')?.[0]}}</text>
+							<template v-if="state?.details?.courseType===0">
+								<text class="time_item">至</text>
+								<text class="time_item">{{state?.details?.courseEndDatetime?.split(' ')?.[0]}}</text>
+							</template>
+							<text class="time_item"
+								v-if="state?.details?.courseType===0 && state?.details?.courseStatus!=2">剩余{{state?.details?.remainingTime}}</text>
+						</view>
+						<view
+							v-if="state?.details?.courseType===0 || (state?.details?.courseStatus===0 || state?.details?.courseStatus===2)"
+							:class="['task_status', {'going':state?.details?.courseStatus===0,'finished':state?.details?.courseStatus===2}]">
+							{{state?.details?.courseStatus===0 ? '进行中' : '已结束'}}
+						</view>
+					</view>
+					<view :class="['task_desc',{'over':!state.isExpand}]">
+						课程简介:{{state?.details?.courseContent}}
+					</view>
+					<view class="task_desc_all">
+						课程简介:{{state?.details?.courseContent}}
+					</view>
+					<view class="expand_btn" v-if="state.showExpandBtn" @click="toggleExpand"><text
+							class="expand_text">{{!state.isExpand?'展开':'收起'}}</text><uni-icons class="expand_icon"
+							:type="!state.isExpand?'down':'up'"></uni-icons></view>
+				</view>
+				<view class="row_gap"></view>
+				<!-- 吸顶 -->
+				<!-- <uv-sticky style="top:98rpx"> -->
+				<view class="search_tabs">
+					<!-- 搜索框 -->
+					<uni-easyinput class="search_box" v-model="state.searchWord" trim="all" :styles="state.searchInputStyles"
+						:placeholderStyle="state.searchInputPlaceholderStyle" placeholder="请输入关键字搜索" @input="HandleSearchInput">
+						<template #left>
+							<image src="/static/image/overview/search.png" class="search_icon"></image>
+						</template>
+					</uni-easyinput>
+					<scroll-view class="scroll_tabs" scroll-x="true" scroll-left="0" :show-scrollbar="false">
+						<view :class="['tab_item',{'selected':item.value==state.tabsSelected}]" v-for="item in state.tabList"
+							:key="item.value" @click="SelectTabsValue(item.value)">
+							{{item.label}}
+						</view>
+					</scroll-view>
+				</view>	
+				<!-- </uv-sticky> -->
+				<view class="page_content page_content_data">
+						<view class="total">
+							<template v-if="state?.details?.courseType===0">
+								<template v-if="state.tabsSelected==''">共 {{state?.details?.learnCount || 0}} 人</template>
+								<template v-else-if="state.tabsSelected=='3'">共 {{state?.details?.learnUnOverCount || 0}}
+									人</template>
+								<template v-else>共 {{state?.details?.learnFinishCount || 0}} 人</template>
+							</template>
+							<template v-else>
+								<template v-if="state.tabsSelected=='4'">共 {{state?.details?.learnFinishCount || 0}}
+									人</template>
+								<template v-else>共 {{state?.details?.learnUnOverCount || 0}} 人</template>
+							</template>
+						</view>
+						<view class="list_item" v-for="(item,index) in state.tabListData" :Key="index">
+							<view class="created_progress_status">
+								<text class="created_by">{{item.studentName}}</text>
+								<view class="item_progress">
+									<view class="progress_bar">
+										<view class="bar_width" :style="{'width': `${item.progress.replace(/%/g, '')}%`}">
+										</view>
+									</view>
+									<view class="progress_label">{{`${item.progress.replace(/%/g, '') || '0'}`}}%</view>
+								</view>
+								<view
+									:class="['item_status',{'await':item.learnStatus == 1 || item.learnStatus == 3,'finish':item.learnStatus == 4}]"
+									v-if="state.courseType==='0' || (state.courseType==='1' && state.tabsSelected =='4')">
+									{{item.learnStatus == 1 || item.learnStatus == 3 ?'待完成':'已完成'}}
+								</view>
+							</view>
+							<view class="item_time"
+								v-if="(item.learnStartDatetime && item.learnStartDatetime!='-') || (item.learnEndDatetime && item.learnEndDatetime!='-')">
+								<text class="time"
+									v-if="item.learnStartDatetime && item.learnStartDatetime!='-'">开始时间:{{item.learnStartDatetime}}</text>
+								<text class="time"
+									v-if="item.learnEndDatetime && item.learnEndDatetime!='-'">结束时间:{{item.learnEndDatetime}}</text>
+							</view>
+						</view>
+						<view class="no_data" v-if="!state.isLoading && state.tabListData.length == 0">
+							<image class="no_data_img" src="@/static/image/bg/no_data.png"></image>
+							<text class="no_data_text">暂无数据</text>
+						</view>
+				</view>
+				<uni-load-more v-if="state.tabListData.length > 0" :status="state.loadStatus" />
+			</scroll-view>	
+		</view>
+	</view>
+</template>
+
+<script setup>
+	import uniEasyinput from '@/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue';
+	import uniIcons from '@/uni_modules/uni-icons/components/uni-icons/uni-icons.vue';
+	import uvSticky from '@/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue'; //吸顶
+	import navBar from '@/components/nav-bar.vue';
+	import {
+		queryTeacherMinitorDetailData
+	} from '@/reqApi/studentStudy.js';
+	import {
+		onLoad
+	} from '@dcloudio/uni-app';
+	import {
+		reactive,
+		ref,
+		nextTick,
+		getCurrentInstance,
+		onMounted
+	} from 'vue';
+	const state = reactive({
+		id: '', //任务id
+		courseType: '', //学习场景
+		searchWord: '', //搜索关键词
+		searchInputStyles: { //搜素框样式
+			borderColor: '#DCDFE6',
+			color: '#333333'
+		},
+		searchInputPlaceholderStyle: 'color: #C0C4CC;fontSize: 28rpx', //搜素框样式
+		tabsSelected: '', //默认选中tab值
+		tabList: [], //tab列表
+		mustTabList: [{
+			label: '全部',
+			value: ''
+		}, {
+			label: '待完成',
+			value: '3'
+		}, {
+			label: '已完成',
+			value: '4'
+		}], //必修任务
+		selfTabList: [{
+			label: '已完成',
+			value: '4'
+		}, {
+			label: '学习中',
+			value: '3'
+		}], //自主研修
+		showExpandBtn: false, //是否显示展开按钮
+		isExpand: false, //是否展开
+		pageSize: 10,
+		pageNum: 1,
+		scrollTop: 0,
+		oldScrollTop: 0,
+		isRefreshing: false, //设置当前下拉刷新状态,true 表示下拉刷新已经被触发,false 表示下拉刷新未被触发
+		isLoading: true, //加载中
+		noMoreData: false, //没有更多数据了
+		loadStatus: 'more', //loading状态
+		details: {}, //详情信息
+		tabListData: [], //数据
+		searchBoxTop:0,//搜索框距离顶部的高度
+		isSticky:false,//是否吸顶
+	});
+	onLoad((option) => {
+		state.id = option.id;
+		state.courseType = option.courseType;
+		state.tabList = option.courseType === '0' ? [...state.mustTabList] : [...state.selfTabList];
+		state.tabsSelected = option.courseType === '0' ? '' : '4';
+	})
+	onMounted(() => {
+		OnLoadData(true,true); // 数据加载完成后触发 checkTextOverflow
+	});
+
+	const checkTextOverflow = () => {
+		nextTick(() => {
+			const instance = getCurrentInstance();
+			// 安全保护
+			if (!instance || !instance.proxy) {
+				// 备用方案:全局查询(要求元素 class 唯一)
+				let taskDescAllHeight = 0,
+					taskDescHeight = 0;
+				const query = uni.createSelectorQuery();
+				query.select('.task_desc_all').boundingClientRect((rect) => {
+					taskDescAllHeight = rect?.height || 0;
+				});
+				query.select('.task_desc').boundingClientRect((rect) => {
+					taskDescHeight = rect?.height || 0;
+				});
+				query.select('.page_content_data').boundingClientRect((rect) => {
+					state.searchBoxTop = rect?.top || 0;
+				});
+				query.exec(() => {
+					// 所有回调执行完毕后触发
+					state.showExpandBtn = taskDescAllHeight > taskDescHeight + 1;
+				});
+				return;
+			}
+			let taskDescAllHeight = 0,
+				taskDescHeight = 0;
+			const query = uni.createSelectorQuery().in(instance.proxy);
+			query.select('.task_desc_all').boundingClientRect((rect) => {
+				taskDescAllHeight = rect?.height || 0;
+			});
+			query.select('.task_desc').boundingClientRect((rect) => {
+				taskDescHeight = rect?.height || 0;
+			});
+			query.select('.page_content_data').boundingClientRect((rect) => {
+				state.searchBoxTop = rect?.top || 0;
+			});
+			query.exec(() => {
+				// 所有回调执行完毕后触发
+				state.showExpandBtn = taskDescAllHeight > taskDescHeight + 1;
+			});
+		});
+	}
+	// 展开收起切换
+	const toggleExpand = () => {
+		state.isExpand = !state.isExpand;
+	}
+	//切换tab
+	const SelectTabsValue = (val) => {
+		state.tabsSelected = val;
+		OnLoadData(true);
+	}
+	//搜索
+	const HandleSearchInput = (val) => {
+		state.searchWord = val;
+		OnLoadData(true);
+	}
+	/*
+	 *详情
+	 * initPage:初始分页 从第一开始
+	 * initData:初始加载
+	 */
+	const OnLoadData = (initPage,initData = false) => {
+		if (initPage) state.pageNum = 1; //如果是下拉刷新、重新查询 默认加载第一页
+		state.isLoading = true;
+		state.loadStatus = 'loading';
+		queryTeacherMinitorDetailData({
+			id: state.id,
+			learnStatus: state.tabsSelected,
+			queryStr: state.searchWord,
+			pageSize: state.pageSize,
+			pageNum: state.pageNum
+		}).then(res => {
+			if (res.code == 200) {
+				state.details = res?.data || null;
+				let total = 0,
+					tabListData = []; //总数
+				if (res?.data?.courseType === 0) { //必修任务
+					tabListData = res?.data?.tableTaskData?.records || [];
+					total = res?.data?.tableTaskData?.total || '0';
+				} else {
+					if (state.tabsSelected == '4') { //自主研修-已完成
+						tabListData = res?.data?.tableSelfOverData?.records || [];
+						total = res?.data?.tableSelfOverData?.total || '0';
+					} else { //自主研修-学习中
+						tabListData = res?.data?.tableSelfUnOverData?.records || [];
+						total = res?.data?.tableSelfUnOverData?.total || '0';
+					}
+				}
+				const pages = Math.ceil(total / state.pageSize); //总页数
+				state.tabListData = initPage ? tabListData : [...state.tabListData, ...tabListData];
+				state.noMoreData = state.pageNum == pages;
+				state.pageNum++;
+				if(initData){
+					checkTextOverflow();
+				}
+			}
+		}).finally(() => {
+			state.isLoading = false;
+			state.isRefreshing = false; //下拉刷新未被触发
+			if (state.noMoreData) {
+				state.loadStatus = 'no-more';
+			} else {
+				state.loadStatus = 'more';
+			}
+			//返回到页面顶部
+			if (initPage) {
+				GoTop();
+			}
+		})
+	}
+	// 自定义下拉刷新被触发	 下拉刷新
+	const OnRefresh = () => {
+		state.isRefreshing = true; //下拉刷新已经被触发
+		OnLoadData(true);
+	}
+	//滚动到底部/右边 触发上拉刷新
+	const OnLoadMore = () => {
+		if (state.isLoading || state.noMoreData) return;
+		OnLoadData(false);
+	}
+	//	滚动时触发
+	const OnScroll = (e) => {
+		const scrollTop = e.detail.scrollTop;
+		if(scrollTop > state.searchBoxTop){
+			state.isSticky = true;
+		}else{
+			state.isSticky = false;
+		}
+		state.oldScrollTop = scrollTop;
+	}
+	//返回到顶部
+	const GoTop = () => {
+		// 解决view层不同步的问题
+		state.scrollTop = state.oldScrollTop;
+		nextTick(() => {
+			state.scrollTop = 0
+		});
+	}
+	//返回
+	const GoBack = () => {
+		uni.navigateBack({
+			delta: 1
+		});
+	}
+</script>
+
+<style scoped lang="scss">
+	.page_body{
+		height: 100%;
+		min-height: auto;
+		.scroll_view_box{
+			width: 100%;
+			display: flex;
+			flex-direction: column;
+			height: calc(100% - 96rpx);
+		}
+		.scroll_view_y {
+			height: 100%;
+		
+			.refresh_loading {
+				padding: 10rpx 0;
+			}
+		}
+	}
+	.page_content {
+		&.padding_btm {
+			padding-bottom: 24rpx;
+
+			.task_title {
+				font-weight: 500;
+				font-size: 32rpx;
+				color: #333333;
+				margin-top: 24rpx;
+			}
+
+			.task_class_collect {
+				display: flex;
+				align-items: flex-start;
+				width: 100%;
+				margin-top: 16rpx;
+
+				.task_class_name {
+					display: inline-flex;
+					align-items: center;
+					flex-wrap: wrap;
+					flex: 1;
+					gap: 16rpx;
+
+					.class_item {
+						font-weight: 400;
+						font-size: 24rpx;
+						color: #999999;
+					}
+				}
+
+				.task_collect {
+					display: inline-flex;
+					gap: 40rpx;
+
+					.preview,
+					.collect {
+						display: inline-flex;
+						align-items: center;
+					}
+
+					.img {
+						width: 24rpx;
+						height: 24rpx;
+						margin-right: 12rpx;
+					}
+
+					.text {
+						font-weight: 400;
+						font-size: 24rpx;
+						color: #999999;
+					}
+				}
+			}
+
+			.task_time {
+				display: flex;
+				align-items: flex-start;
+				width: 100%;
+				margin-top: 16rpx;
+
+				.time_day {
+					display: inline-flex;
+					align-items: center;
+					flex-wrap: wrap;
+					flex: 1;
+
+					.time_item {
+						font-weight: 400;
+						font-size: 24rpx;
+						line-height: 48rpx;
+						color: #999999;
+
+						&:nth-child(2) {
+							margin: 0 8rpx;
+						}
+
+						&:nth-child(4) {
+							color: #2E64FA;
+							margin-left: 16rpx;
+						}
+					}
+				}
+
+				.task_status {
+					display: inline-flex;
+					align-items: center;
+					height: 48rpx;
+					padding: 0 12rpx;
+					border-radius: 8rpx;
+					font-weight: 400;
+					font-size: 24rpx;
+
+					&.going {
+						background: rgba(43, 198, 68, 0.1);
+						color: #2BC644;
+					}
+
+					&.finished {
+						background: rgba(245, 108, 108, 0.1);
+						color: #F56C6C;
+					}
+				}
+			}
+
+			.task_desc {
+				margin-top: 24rpx;
+				display: flex;
+				width: 100%;
+				padding-top: 24rpx;
+				border-top: 2rpx solid #F3F3F3;
+				font-weight: 400;
+				font-size: 28rpx;
+				color: #999999;
+				line-height: 44rpx;
+				box-sizing: border-box;
+				position: relative;
+
+				&.over {
+					max-height: 168rpx;
+					overflow: hidden;
+					transition: all 0.25s;
+					display: -webkit-box;
+					-webkit-line-clamp: 3;
+					-webkit-box-orient: vertical;
+				}
+			}
+
+			.task_desc_all {
+				display: flex;
+				width: 100%;
+				padding-top: 24rpx;
+				border-top: 2rpx solid #F3F3F3;
+				font-weight: 400;
+				font-size: 28rpx;
+				color: #999999;
+				line-height: 44rpx;
+				box-sizing: border-box;
+				position: absolute;
+				left: -9999px;
+				top: 0;
+				visibility: hidden; // 不可见但占据空间(不影响布局,因为absolute)
+				pointer-events: none;
+			}
+
+			.expand_btn {
+				width: 100%;
+				height: 40rpx;
+				background-color: #FFFFFF;
+				display: flex;
+				justify-content: flex-end;
+				align-items: center;
+
+				.expand_text {
+					font-weight: 400;
+					font-size: 28rpx;
+					color: #2E64FA;
+					margin-right: 8rpx;
+				}
+
+				.expand_icon {
+					font-size: 32rpx !important;
+					color: #2E64FA !important;
+				}
+			}
+		}
+	}
+
+	.row_gap {
+		background-color: #F8F9FD;
+		width: 100%;
+		height: 24rpx;
+	}
+	:deep(.search_tabs){
+		display: flex;
+		width: 100%;
+		flex-direction: column;
+		.search_box {
+			display: flex;
+			align-items: center;
+			box-sizing: border-box;
+			width: 100%;
+			padding: 24rpx;
+			box-sizing: border-box;
+			background-color: #FFFFFF;
+		
+			.is-input-border {
+				border-radius: 8rpx;
+				border: 2rpx solid #DCDFE6;
+				border-color: #DCDFE6 !important;
+			}
+		
+			.search_icon {
+				width: 32rpx;
+				height: 32rpx;
+				margin-left: 24rpx;
+			}
+		
+			.uni-easyinput__content-input {
+				padding-left: 8rpx !important;
+				font-size: 28rpx;
+				color: #333333;
+				height: 72rpx;
+			}
+		}
+	}
+
+	.scroll_tabs {
+		padding-bottom: 24rpx;
+		background-color: #FFFFFF;
+	}
+
+	.total {
+		width: 100%;
+		display: flex;
+		font-weight: 400;
+		font-size: 28rpx;
+		color: #333333;
+		padding-bottom: 24rpx;
+		border-bottom: 2rpx solid #F3F3F3;
+	}
+
+	.list_item {
+		display: flex;
+		flex-direction: column;
+		width: 100%;
+		padding: 24rpx 0;
+		border-bottom: 2rpx solid #F3F3F3;
+
+		.created_progress_status {
+			display: flex;
+			width: 100%;
+			justify-content: space-between;
+			align-items: center;
+
+			.created_by {
+				flex: 1;
+				font-weight: 500;
+				font-size: 32rpx;
+				color: #333333;
+			}
+
+			.item_progress {
+				display: inline-flex;
+				align-items: center;
+				width: 346rpx;
+
+				.progress_bar {
+					width: 200rpx;
+					height: 12rpx;
+					background-color: #E2E6F0;
+					border-radius: 14rpx;
+					position: relative;
+					flex-shrink: 0;
+
+					.bar_width {
+						position: absolute;
+						left: 0;
+						top: 0;
+						height: 12rpx;
+						background-color: #2E64FA;
+						border-radius: 14rpx;
+					}
+				}
+
+				.progress_label {
+					flex: 1;
+					margin-left: 24rpx;
+					font-weight: 400;
+					font-size: 32rpx;
+					color: #666666;
+				}
+			}
+
+			.item_status {
+				display: inline-flex;
+				align-items: center;
+				justify-content: center;
+				width: 96rpx;
+				height: 48rpx;
+				border-radius: 8rpx;
+				font-weight: 400;
+				font-size: 24rpx;
+				margin-left: 30rpx;
+
+				&.await {
+					background-color: rgba(46, 100, 250, 0.1);
+					color: #2E64FA;
+				}
+
+				&.finish {
+					background-color: rgba(43, 198, 68, 0.1);
+					color: #2BC644;
+				}
+			}
+		}
+
+		.item_time {
+			display: flex;
+			width: 100%;
+			align-items: center;
+			flex-wrap: wrap;
+			gap: 16rpx;
+			margin-top: 18rpx;
+
+			.time {
+				font-weight: 400;
+				font-size: 24rpx;
+				color: #999999;
+			}
+		}
+	}
+	.no_data{
+		margin-top: 24rpx;
+	}
+</style>

+ 360 - 0
pages/studentStudy/myLearning/index.vue

@@ -0,0 +1,360 @@
+<template>
+	<!-- 头部 -->
+	<nav-bar height="312" backPath="workspace" title="学生学习" :filterPickerData="state.filterPickerData" :tabList="state.tabList" :onlyTitle="false" :showFilterPicker="true" :showTabs="true" rightWidth="0rpx" @CommonFilterData="CommonFilterData"></nav-bar>
+	<view class="page_content">
+		<scroll-view
+		    class="scroll_view_y"
+			:scroll-top="state.scrollTop"
+			scroll-y="true"
+			:refresher-enabled="false" 
+			:enable-back-to-top="true"
+			:show-scrollbar="false" 
+			:scroll-with-animation="true" 
+			refresher-default-style="none"
+			refresher-background="#F8F9FD" 
+			:refresher-triggered="state.isRefreshing" 
+			@scrolltolower="OnLoadMore"
+			@refresherrefresh="OnRefresh"
+			@scroll="OnScroll">
+			<view class="refresh_loading" v-if="state.isRefreshing"><uni-load-more status="loading" /></view>
+			<view class="page_list">
+				<view class="list_item" v-for="item in state.pageList" :key="item.id" @click="GoVideoDetails(item.id)">
+					<view class="item_img_box">
+						<image class="item_img" mode="aspectFill" :src="item.videoCoverUrl"></image>
+						<view v-if="(item.learnStatus == 3 || item.learnStatus == 4 || item.learnStatus == 1) && state.courseType == '0'" :class="['remaining_days',{wait:item.learnStatus == 3,finish:item.learnStatus == 4,overtime:item.learnStatus == 1}]">
+							<template v-if="item.learnStatus == 3">剩余{{item.remainingTime}}</template>
+							<template v-if="item.learnStatus == 4">已完成</template>
+							<template v-if="item.learnStatus == 1">已结束</template>
+						</view>
+						<view class="progress"><view class="done" :style="{width:item.progress}"></view></view>
+					</view>
+					<view class="item_title">{{item.courseName}}</view>
+					<view class="item_time">
+						<image class="img" src="@/static/image/icon/time2x.png"></image>
+						<text class="time">{{item.courseStartDatetime}}</text>
+					</view>
+				</view>
+			</view>
+			<view class="no_data" v-if="!state.isLoading && state.pageList.length == 0">
+				<image class="no_data_img" src="@/static/image/bg/no_data.png"></image>
+				<text class="no_data_text">暂无数据</text>
+			</view>
+			<uni-load-more v-if="state.pageList.length > 0" :status="state.loadStatus" />
+		</scroll-view>
+	</view>
+</template>
+
+<script setup>
+	import navBar from '@/components/nav-bar.vue';
+	import {queryTeacherCourseTypeList,teacherRecordPageListData} from '@/reqApi/studentStudy.js';
+	import {
+		reactive,
+		ref,
+		onMounted,
+		nextTick
+	} from 'vue';
+	const state = reactive({
+		courseTypeData:[],//顶部查询数据 
+		filterPickerData: [{
+			valueIndex:0,//默认值索引
+			defaultValue:'0',//默认值
+			list:[{
+				label:'必修任务',
+				value:'0',
+			},{
+				label:'自主研修',
+				value:'1',
+			}]
+		},{
+			valueIndex:0,//默认值索引
+			defaultValue:'',//默认值
+			list:[]
+		},{
+			valueIndex:0,//默认值索引
+			defaultValue:'',//默认值
+			list:[]
+		}],//必修任务tab
+		tabList:[],
+		mustTabList: [{
+			label: '全部',
+			value: ''
+		}, {
+			label: '待完成',
+			value: '3'
+		}, {
+			label: '已完成',
+			value: '4'
+		}, {
+			label: '已结束',
+			value: '1'
+		}],
+		selftabList: [{
+			label: '学习中',
+			value: '3'
+		}, {
+			label: '已完成',
+			value: '4'
+		}, {
+			label: '已关注',
+			value: '5'
+		}],//自主研修tab
+		pageList:[],//列表数据
+		queryStr: '',
+		courseType:'0',//默认必修任务
+		studCourseTypeId: '',//内容领域	
+		studCourseTypeClassId: '',//学习专题
+		learnStatus: '',//tab选中值
+		pageSize: 30,
+		pageNum: 1,
+		scrollTop:0,
+		oldScrollTop:0,
+		isRefreshing:false,//设置当前下拉刷新状态,true 表示下拉刷新已经被触发,false 表示下拉刷新未被触发
+		isLoading:true,//加载中
+		noMoreData:false,//没有更多数据了
+		loadStatus:'more',//loading状态
+	})
+	onMounted(() => {
+		state.tabList = [...state.mustTabList];
+		getCourseTypeDataList();
+		OnLoadData(true);
+	});
+	//获取顶部查询项
+	const getCourseTypeDataList = () => {
+		queryTeacherCourseTypeList().then(res => {
+			if(res.code == 200){
+				const defaultData = [{
+					label:'内容领域',
+					id:'',
+					value:''
+				}];
+				const resData = res?.data || [];
+				state.courseTypeData = defaultData.concat(resData);
+				//内容领域
+				state.filterPickerData[1].list = state.courseTypeData.map(item=>({
+					...item,
+					value:item.id
+				}))
+			}
+		})
+	}
+	//切换条件选择器
+	const CommonFilterData = (searchWord,filterPicker,tabsSelected,type) => {
+		const {valueIndex, index,filterPickerValue} = filterPicker;
+		state.queryStr = searchWord;
+		state.courseType = filterPickerValue[0];
+		state.studCourseTypeId = filterPickerValue[1];
+		state.studCourseTypeClassId = filterPickerValue[2];
+		state.learnStatus = tabsSelected;
+		if(type == 'filterPicker'){
+			state.filterPickerData[index].valueIndex = valueIndex;//学习场景、内容领域、学习专题选中项的索引
+			if(index==1){//切换内容领域选中项
+				//学习专题默认切换到全部 同时获取学习专题所有选项
+				state.filterPickerData[2].valueIndex = 0;
+				const childrenData = state.courseTypeData?.[valueIndex]?.children || [];
+				const childrenList = childrenData.map(item=>({
+					...item,
+					value:item?.id ?? ''
+				}))
+				if(childrenList.length){
+					childrenList.unshift({
+						label:'学习专题',
+						id:'',
+						value:''
+					})
+				}
+				state.filterPickerData[2].list = childrenList;
+			}else{
+				if(index == 0){
+					state.filterPickerData[1].valueIndex = 0;//内容领域
+					state.filterPickerData[2].valueIndex = 0;//学习专题
+					state.filterPickerData[2].list = [];//学习专题选项
+					state.tabList = valueIndex == 0 ? [...state.mustTabList] : [...state.selftabList];
+					state.learnStatus = valueIndex == 0 ? '' : '3';
+				}
+			}
+		}
+		OnLoadData(true)
+	}
+	/*
+	*获取数据
+	* initPage:初始分页 从第一开始
+	*/
+	const OnLoadData = (initPage) => {
+		// uni.showLoading({
+		// 	title: '加载中'
+		// });
+		if (initPage) state.pageNum = 1;//如果是下拉刷新、重新查询 默认加载第一页
+		state.isLoading = true;
+		state.loadStatus = 'loading';
+		teacherRecordPageListData({
+			queryStr:state.queryStr,
+			courseType:state.courseType,
+			studCourseTypeId:state.studCourseTypeId,
+			studCourseTypeClassId:state.studCourseTypeClassId,
+			learnStatus:state.learnStatus,
+			pageSize:state.pageSize,
+			pageNum:state.pageNum
+		}).then(res=>{
+			if(res.code == 200){
+				const total = Number(res?.data?.dateList?.total) || 0;//总数
+				const pages = Math.ceil(total / state.pageSize);//总页数
+				const recordsData = res?.data?.dateList?.records || [];
+				state.pageList = initPage ? recordsData : [...state.pageList,...recordsData];
+				state.noMoreData = state.pageNum == pages;
+				state.pageNum++;
+			}
+		}).finally(()=>{
+			// uni.hideLoading();
+			state.isLoading = false;
+			state.isRefreshing = false;//下拉刷新未被触发
+			if(state.noMoreData){
+				state.loadStatus = 'no-more';
+			}else{
+				state.loadStatus = 'more';
+			}
+			//返回到页面顶部
+			if(initPage){
+				GoTop();
+			}
+		})
+	}
+	// 自定义下拉刷新被触发	 下拉刷新
+	const OnRefresh = () =>{
+		state.isRefreshing = true;//下拉刷新已经被触发
+		OnLoadData(true);
+	}
+	//滚动到底部/右边 触发上拉刷新
+	const OnLoadMore = () => {
+		if (state.isLoading || state.noMoreData) return;
+		OnLoadData(false);
+	}
+	//	滚动时触发
+	const OnScroll = (e) => {
+		state.oldScrollTop = e.detail.scrollTop;
+	}
+	//返回到顶部
+	const GoTop = () => {
+		// 解决view层不同步的问题
+		state.scrollTop = state.oldScrollTop;
+		nextTick(() => {
+			state.scrollTop = 0
+		});
+	}
+	//视频详情
+	const GoVideoDetails = (id) => {
+		uni.navigateTo({
+			url: `/pages/studentStudy/videoDetails?id=${id}`
+		});
+	}
+</script>
+
+<style lang="scss" scoped>
+	.page_content{
+		height: calc(100% - 448rpx);
+		.scroll_view_y{
+			height: 100%;
+			.refresh_loading{
+				padding: 10rpx 0;
+			}
+		}
+		.page_list{
+			display: flex;
+			width: 100%;
+			flex-wrap: wrap;
+			gap:32rpx;
+			.list_item{
+				&:nth-child(1){
+					margin-top: 16rpx;
+				}
+				&:nth-child(2){
+					margin-top: 16rpx;
+				}
+				width: calc((100% - 32rpx) / 2);
+				overflow: hidden;
+				display: flex;
+				flex-direction: column;
+				.item_img_box{
+					width: 100%;
+					height: 220rpx;
+					border-radius: 8rpx;
+					overflow: hidden;
+					position: relative;
+					.item_img{
+						width: 100%;
+						height: 100%;
+						border-radius: 8rpx;
+					}
+					.remaining_days{
+						position: absolute;
+						top:0;
+						right: 0;
+						border-radius: 0px 8px 0px 8px;
+						font-weight: 400;
+						font-size: 28rpx;
+						color: #FFFFFF;
+						text-align: center;
+						height: 48rpx;
+						line-height: 48rpx;
+						&.wait{
+							min-width: 134rpx;
+							padding:0 16rpx;
+							box-sizing: border-box;
+							background-color: #2E64FA;
+						}
+						&.finish{
+							width: 116rpx;
+							background-color: #90CB75;
+						}
+						&.overtime{
+							width: 116rpx;
+							background-color: #F56C6C;
+						}
+					}
+					.progress{
+						width: 100%;
+						height: 12rpx;
+						position: absolute;
+						left: 0;
+						bottom: 0;
+						.done{
+							height: 12rpx;
+							background-color: #2E64FA;
+							display: flex;
+							width: 70%;
+						}
+					}
+				}
+				
+				.item_title{
+					display: flex;
+					width: 100%;
+					margin:8rpx 0;
+					font-weight: 400;
+					font-size: 24rpx;
+					color: #333333;
+					display: -webkit-box;
+					-webkit-line-clamp: 2;
+					-webkit-box-orient: vertical;
+					overflow: hidden;
+					text-overflow: ellipsis;
+				}
+				.item_time{
+					display: flex;
+					align-items: center;
+					width: 100%;
+					.img{
+						width: 28rpx;
+						height: 28rpx;
+						margin-right: 8rpx;
+					}
+					.time{
+						font-weight: 400;
+						font-size: 24rpx;
+						color: #999999;
+					}
+				}
+			}
+		}
+		
+	}
+</style>

+ 368 - 0
pages/studentStudy/videoDetails.vue

@@ -0,0 +1,368 @@
+<template>
+	<view class="page_body">
+		<!-- 头部 -->
+		<nav-bar height="96" title="视频详情" :onlyTitle="true" :showHeaderborder="true" @GoBack="GoBack"></nav-bar>
+		<view class="page_content">
+			<view class="video_content">
+				<!-- duration:指定视频时长,单位为秒(s) initial-time:指定视频初始播放位置,单位为秒(s) -->
+				<video 
+					ref="myVideoRef"
+					id="myVideoRef"
+					:title="state?.videoInfo?.courseName || ''"
+					:initial-time="state?.videoInfo?.initialTime"
+					:duration="state?.videoInfo?.duration"
+					:show-mute-btn="true"
+					:poster="state?.videoInfo?.videoCoverUrl"
+					:src="state?.videoInfo?.attachmentUrl"
+					style="width: 100%; height: 100%; object-fit: contain;"
+					@timeupdate="videoTimeupdate"
+				>
+				</video>
+			</view>
+			<view class="video_title">{{state?.videoInfo?.courseName}}</view>
+			<view class="video_progress">
+				<view class="video_progress_box">
+					<text class="video_progress_text" v-if="state?.videoInfo?.courseType===0">必修任务:{{state.videoInfo.courseStatus===0?`剩余${state.videoInfo.remainingTime}`:'已结束'}}</text>
+					<text class="video_progress_text">观看进度:{{state?.videoInfo?.progress}}</text>
+				</view>
+				<view class="task_collect">
+					<view class="preview">
+						<image class="img" src="@/static/image/icon/preview.png"></image>
+						<text class="text">{{state?.videoInfo?.watchCount || 0}}</text>
+					</view>
+					<view class="collect" v-if="state?.videoInfo?.courseType===1" @click="ChangeFollowStatus()">
+						<uni-icons v-if="state?.videoInfo?.followStatus==1" class="img filled" type="heart-filled"></uni-icons>
+						<uni-icons v-else class="img" type="heart"></uni-icons>
+						<text :class="['text',{'filled':state?.videoInfo?.followStatus==1}]">{{state?.videoInfo?.followCount || 0}}</text>
+					</view>
+				</view>
+			</view>
+			<view class="video_class_name">
+				<text class="class_name_item">{{state?.videoInfo?.teachCourseTypeName}}</text>
+				<text class="class_name_item">{{state?.videoInfo?.teachCourseTypeClassName}}</text>
+				<text class="class_name_item">{{state?.videoInfo?.createdBy}}</text>
+			</view>
+			<view class="video_time">
+				<text class="time_item">{{state?.videoInfo?.courseType===0 ?'开始':'上传'}}时间:{{state?.videoInfo?.courseStartDatetime}}</text>
+				<text class="time_item" v-if="state?.videoInfo?.courseType===0">结束时间:{{state.videoInfo.courseEndDatetime}}</text>
+			</view>
+			<view class="video_desc">
+				课程简介:{{state?.videoInfo?.courseContent}}
+			</view>
+		</view>
+		<!-- 提示框 -->
+		<custom-popup-dialog ref="popupDialogRef" title="试题弹出" dialogWidth="702" :isMaskClick="false" :showDialogClose="false" :showCloseBtn="false" @DialogConfirm="DialogConfirm">
+			<view class="dialog_questions_input">
+				<view class="questions_title">{{state?.question?.codeName}}:{{state?.question?.questionsName}}</view>
+				<uni-easyinput type="textarea" v-model="state.questionsAnswer" :style="state.easyinputStyle" placeholder="请输入你的回答" placeholderStyle="font-weight: 400;font-size: 28rpx;color: #999999;"></uni-easyinput>
+			</view>
+		</custom-popup-dialog>	
+	</view>
+</template>
+
+<script setup>
+	import uniEasyinput from '@/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue';
+	import uniIcons from '@/uni_modules/uni-icons/components/uni-icons/uni-icons.vue';
+	import navBar from '@/components/nav-bar.vue';
+	import customPopupDialog from '@/components/custom-popup-dialog.vue';
+	import { teacherSelectCourseDetail,addQuestionAnswerData,updateFollowCountTeacher,synTeachLearnData } from '@/reqApi/studentStudy.js';
+	import {
+		onLoad,
+		onUnload
+	} from '@dcloudio/uni-app';
+	import {
+		reactive,
+		ref,
+		getCurrentInstance
+	} from 'vue';
+	const state = reactive({
+		id: '', //视频id
+		videoInfo:{},
+		currentTime:'',//播放进度时分秒
+		question:null,//试题弹出信息
+		easyinputStyle:{
+			color: '#303133',
+			borderColor: '#E9E9E9'
+		},
+		questionsAnswer:'',
+		lastValidTime:'',//上一次的播放进度
+	});
+	//提示框
+	const popupDialogRef = ref(null);
+	const myVideoRef = ref(null);
+	const videoCtx = ref(null);//播放器
+	onLoad((option) => {
+		state.id = option.id;
+		const instance = getCurrentInstance();
+		videoCtx.value = uni.createVideoContext('myVideoRef', instance.proxy);
+		GetCourseDetail();
+	})
+	//视频详情
+	const GetCourseDetail = () => {
+		teacherSelectCourseDetail(state.id).then(res => {
+			if(res.code == 200){
+				const resData = res.data;
+				resData.initialTime = timeToSecond(resData.courseLearnTime ?? '');//视频初始播放位置
+				state.lastValidTime = timeToSecond(resData.courseLearnTime ?? '');
+				resData.duration = timeToSecond(resData.videoTime ?? '');//视频时长,单位为秒(s)
+				if(resData?.questionsList?.length > 0){
+					resData.questionsList.forEach(item=>{
+						const showTimeDate = timeToSecond(item.showTime);
+						item.isWriteAnswer = showTimeDate < resData.initialTime;//是否已作答 true 已作答
+					})
+				}
+				state.videoInfo = resData;
+			}
+		})
+	}
+	//计算秒数
+	const timeToSecond = (timeStr) => {
+		if(timeStr == '') return 0
+		const timeArr = timeStr.split(':');
+		const [h, m, s] = timeArr.map(item => Number(item));
+		return h * 3600 + m * 60 + s;
+    }
+	//播放进度变化时触发,event.detail = {currentTime, duration} 。触发频率 250ms 一次
+	const videoTimeupdate = (event) => {
+		const currentTime = event.detail.currentTime;
+		if(currentTime > 0){
+			// 1. 判断:如果当前时间小于记录值,说明在回退
+			const diff = (Number(currentTime) - Number(state.lastValidTime)).toFixed(2);
+			const dragStatus = state.videoInfo.dragStatus || 0;//0 不可拖拽、默认不可拖拽
+			const learnStatus = state.videoInfo.learnStatus ?? 3;//学习状态
+			const progress = state.videoInfo.progress;//进度
+			if (diff > 0.35 && dragStatus == 0 && (learnStatus!=4 || (learnStatus!=1 && progress!='100%'))) {
+				videoCtx.value.seek(state.lastValidTime);
+			}
+			state.currentTime = formatSecondsToHms(currentTime);
+			const questionsList = state?.videoInfo?.questionsList || [];
+			const question = questionsList.find(item=>item.showTime == state.currentTime);//视频显示的时间
+			if(question && !question.isWriteAnswer){//未作答
+				videoCtx?.value?.pause();//暂停播放
+				state.questionsAnswer = '';
+				state.question = question;//试题弹框信息
+				popupDialogRef.value.OpenDialog();
+			}
+			state.lastValidTime = currentTime;//上一次播放进度
+			// 教师学习进度更新接口
+			if(learnStatus!=4 || (learnStatus!=1 && progress!='100%')){
+				state.videoInfo.progress = Math.min(currentTime / Number(state.videoInfo.duration) * 100, 100).toFixed(2) + '%';
+				setSynTeachLearnData();
+			}
+		}
+		
+	}
+	//提交试题
+	const DialogConfirm = () => {
+		if(state.questionsAnswer == ''){
+			uni.showToast({
+				title: '请输入答案!',
+				icon: 'none'
+			})
+			return false
+		}
+		addQuestionAnswerData({
+			teachCourseId: state.id,
+			teachQuestionsId: state?.question?.id || '',
+			teachQuestionsAnswer: state.questionsAnswer
+		}).then(res=>{
+			if(res.code == 200){
+				state.question.isWriteAnswer = true;//状态修改成已作答
+				popupDialogRef.value.CloseDialog();//关闭弹框
+				videoCtx?.value?.play();//播放
+			}else{
+				uni.showToast({
+					title: res.msg || '请求异常',
+					icon: 'none'
+				})
+			}
+		})
+	}
+	//教师学习进度更新接口
+	const setSynTeachLearnData = () => {
+		const videoTime = state.videoInfo.videoTime ?? '';//视频时长
+		// 学习状态: 1-已结束(原已过期状态-课程结束了,但是用户没学完),2-待开始,3-未完成,4-已完成
+		const learnStatus = state.videoInfo.learnStatus ?? 3;
+		synTeachLearnData({
+			teachCourseId:state.id,
+			courseLearnTime:state.currentTime,
+			learnStatus:state.currentTime==videoTime && learnStatus!=1 && learnStatus!=4?4:learnStatus
+		}).then(res=>{
+			if(res.code==200 && state.currentTime==videoTime && learnStatus!=1 && learnStatus!=4){
+				state.videoInfo.learnStatus = 4;//学习状态
+				state.videoInfo.progress = '100%';//进度
+			}
+		})
+	}
+	// 数字补零工具
+	const addZero = (num) => {
+	  return num < 10 ? '0' + num : String(num);
+	}
+	//转换时分秒
+	const formatSecondsToHms = (seconds) => {
+	  let total = Math.floor(seconds);
+	  const h = Math.floor(total / 3600);
+	  const m = Math.floor((total % 3600) / 60);
+	  const s = total % 60;
+	
+	  const hh = addZero(h);
+	  const mm = addZero(m);
+	  const ss = addZero(s);
+	  return `${hh}:${mm}:${ss}`;
+	}
+	//收藏
+	const ChangeFollowStatus = () => {
+		updateFollowCountTeacher(state.id).then(res=>{
+			if(res.code == 200){
+				state.videoInfo.followStatus = state.videoInfo.followStatus===1?0:1;
+				state.videoInfo.followCount = res.data;
+			}
+		})
+	}
+	//页面销毁时触发
+	onUnload(()=>{
+		videoCtx?.value?.pause();//暂停播放
+	})
+	//返回
+	const GoBack = () => {
+		uni.navigateBack({
+			delta: 1
+		});
+	}
+</script>
+
+<style scoped lang="scss">
+	.video_content {
+		width: 100%;
+		border-radius: 8rpx;
+		margin-top: 24rpx;
+		height: 398rpx;
+		overflow: hidden;
+	}
+	.video_title{
+		width: 100%;
+		margin-top: 32rpx;
+		font-weight: 500;
+		font-size: 36rpx;
+		color: #333333;
+		display: -webkit-box;
+		-webkit-line-clamp: 2;
+		-webkit-box-orient: vertical;
+		overflow: hidden;
+		text-overflow: ellipsis;
+	}
+	.video_progress{
+		display: flex;
+		justify-content: space-between;
+		width: 100%;
+		margin-top: 16rpx;
+		align-items: flex-start;
+		.video_progress_box{
+			display: inline-flex;
+			flex-wrap: wrap;
+			gap: 20rpx;
+			.video_progress_text{
+				font-weight: 400;
+				font-size: 24rpx;
+				color: #2E64FA;
+			}
+		}
+		.task_collect {
+			display: inline-flex;
+			gap: 20rpx;
+		
+			.preview,
+			.collect {
+				display: inline-flex;
+				align-items: center;
+			}
+		
+			.img {
+				width: 24rpx;
+				height: 24rpx;
+				margin-right: 12rpx;
+				font-size: 24rpx !important;
+				color: #999999 !important;
+				&.filled{
+					color: #2e64fa !important;
+				}
+			}
+		
+			.text {
+				font-weight: 400;
+				font-size: 24rpx;
+				color: #999999;
+				&.filled{
+					color: #2e64fa;
+				}
+			}
+		}
+		
+	}
+	.video_class_name{
+		display: flex;
+		width: 100%;
+		margin-top: 16rpx;
+		gap: 16rpx 24rpx;
+		flex-wrap: wrap;
+		.class_name_item{
+			font-weight: 400;
+			font-size: 24rpx;
+			color: #666666;
+		}
+	}
+	.video_time{
+		display: flex;
+		width: 100%;
+		margin-top: 16rpx;
+		gap: 16rpx;
+		flex-wrap: wrap;
+		.time_item{
+			font-weight: 400;
+			font-size: 24rpx;
+			color: #666666;
+		}
+	}
+	.video_desc{
+		display: flex;
+		width: 100%;
+		margin-top: 32rpx;
+		flex-wrap: wrap;
+		word-break: break-all;
+		font-weight: 400;
+		font-size: 24rpx;
+		color: #999999;
+		line-height: 44rpx;
+	}
+	.dialog_questions_input{
+		display: flex;
+		width: 100%;
+		flex-direction: column;
+		.questions_title{
+			display: flex;
+			width: 100%;
+			font-weight: 400;
+			font-size: 32rpx;
+			color: #303133;
+			text-align: left;
+			word-break: break-all;
+		}
+		:deep(.uni-easyinput){
+			margin-top: 20rpx;
+			font-size: 28rpx;
+			.is-input-border{
+				border-radius: 8rpx;
+				border-color: #E9E9E9 !important;
+			}
+			.uni-easyinput__content-textarea{
+				height: 440rpx;
+				min-height: 440rpx;
+				font-size: 28rpx;
+				margin:20rpx 24rpx 20rpx 14rpx;
+			}
+			.input-padding{
+				padding-left: 10rpx;
+			}
+		}
+	}
+</style>

+ 1 - 1
pages/teacherStudy/courseCenter/index.vue

@@ -128,7 +128,7 @@
 				}))
 				if(childrenList.length){
 					childrenList.unshift({
-						label:'内容领域',
+						label:'研修专题',
 						id:'',
 						value:''
 					})

+ 6 - 2
pages/workspace/index.vue

@@ -176,7 +176,7 @@ const systemItems = ref([
 	{ name: '选择题判分', key:'', image: '/static/image/workspace/icon1.png', isLarge: false, visible: true },
 	{ name: '材料采集', key:'', image: '/static/image/workspace/icon2.png', isLarge: false, visible: true },
 	{ name: '教师研修', key:'teacherStudy', image: '/static/image/workspace/icon3.png', isLarge: false, visible: true },
-	{ name: '学生学习', key:'', image: '/static/image/workspace/icon4.png', isLarge: false, visible: true },
+	{ name: '学生学习', key:'studentStudy', image: '/static/image/workspace/icon4.png', isLarge: false, visible: true },
 	{ name: '智能选课', key:'', image: '/static/image/workspace/icon5.png', isLarge: false, visible: true },
 	{ name: '教师发展', key:'', image: '/static/image/workspace/icon6.png', isLarge: false, visible: true },
 	{ name: '协同备课', key:'', image: '/static/image/workspace/icon7.png', isLarge: false, visible: true },
@@ -350,10 +350,14 @@ const handleSystemClick = (item) => {
 				url: '/pages/notice/mine/index?hideTabbar=true'
 			});
 		}
-	}else if(item.key == 'teacherStudy'){
+	}else if(item.key == 'teacherStudy'){//教师研修
 		uni.navigateTo({
 			url: '/pages/teacherStudy/index'
 		});
+	}else if(item.key == 'studentStudy'){//学生学习
+		uni.navigateTo({
+			url: '/pages/studentStudy/index'
+		});
 	} else {
 		uni.showToast({ title: `即将打开:${item.name}`, icon: 'none' });
 	}

+ 30 - 0
reqApi/studentStudy.js

@@ -0,0 +1,30 @@
+// 教师研修
+import request from '@/common/request.js';
+// 教师权限
+export function queryTeacherCourseTypeList(data) {//获取顶部查询项
+	return request.get('/api/v1/studCourseType/queryTeacherCourseTypeList', data)
+}
+export function teacherCenterPageData(data) {//课程中心分页列表
+	return request.post('/api/v1/studCourseCenter/teacherCenterPageData', data)
+}
+export function teacherRecordPageListData(data) {//我的学习分页列表
+	return request.post('/api/v1/studCourseRecord/teacherRecordPageListData', data)
+}
+export function teacherMinitorPageListData(data) {//学习监控分页列表
+	return request.post('/api/v1/studCourseMinitor/teacherMinitorPageListData', data)
+}
+export function teacherSelectCourseDetail(id) {//视频详情
+	return request.get(`/api/v1/studCourseRecord/teacherSelectCourseDetail/${id}`)
+}
+export function addQuestionAnswerData(data) {//教师学习课程答案信息填报接口
+	return request.post('/api/v1/teachCourse/addQuestionAnswerData', data)
+}
+export function queryTeacherMinitorDetailData(data) {//查询学习监控页面详细信息接口
+	return request.post('/api/v1/studCourseMinitor/queryTeacherMinitorDetailData', data)
+}
+export function updateFollowCountTeacher(teachingCourseId) {//关注-取消关注课程接口,返回关注数量
+	return request.get(`/api/v1/studCourse/updateFollowCountTeacher/${teachingCourseId}`)
+}
+export function synTeachLearnData(data) {//教师学习进度更新接口
+	return request.post('/api/v1/teachCourseCenter/synTeachLearnData',data)
+}

BIN
unpackage/cache/apk/__UNI__07352BD_cm.apk


+ 1 - 1
unpackage/cache/apk/apkurl

@@ -1 +1 @@
-https://app.liuyingyong.cn/build/download/8ac17c80-85a1-11f1-b56d-bdee4bf60bd3
+https://app.liuyingyong.cn/build/download/0f0792c0-898c-11f1-a412-37e9dbd62d2f

File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/apk/cmManifestCache.json


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/app-service.js


BIN
unpackage/cache/wgt/__UNI__07352BD/assets/uvicons.04d281cc.ttf


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/login/agreement.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/my/updatePassword.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/notice/mine/detail.css


File diff suppressed because it is too large
+ 0 - 1
unpackage/cache/wgt/__UNI__07352BD/pages/notice/mine/preview.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/notice/publish/personList.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/teacherStudy/index.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/teacherStudy/learningMonitor/taskDetails.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/teacherStudy/videoDetails.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/workspace/index.css


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__07352BD/pages/workspace/schedule.css


+ 2 - 9
unpackage/dist/cache/.vite/deps/_metadata.json

@@ -2,14 +2,7 @@
   "hash": "567e918b",
   "configHash": "1b48dfbe",
   "lockfileHash": "3f808f5a",
-  "browserHash": "63141172",
-  "optimized": {
-    "jsencrypt": {
-      "src": "../../../../../node_modules/jsencrypt/lib/index.js",
-      "file": "jsencrypt.js",
-      "fileHash": "24bb345a",
-      "needsInterop": false
-    }
-  },
+  "browserHash": "a04cf648",
+  "optimized": {},
   "chunks": {}
 }

+ 0 - 3813
unpackage/dist/cache/.vite/deps/jsencrypt.js

@@ -1,3813 +0,0 @@
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/jsbn/util.js
-var BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz";
-function int2char(n) {
-  return BI_RM.charAt(n);
-}
-function op_and(x, y) {
-  return x & y;
-}
-function op_or(x, y) {
-  return x | y;
-}
-function op_xor(x, y) {
-  return x ^ y;
-}
-function op_andnot(x, y) {
-  return x & ~y;
-}
-function lbit(x) {
-  if (x == 0) {
-    return -1;
-  }
-  var r = 0;
-  if ((x & 65535) == 0) {
-    x >>= 16;
-    r += 16;
-  }
-  if ((x & 255) == 0) {
-    x >>= 8;
-    r += 8;
-  }
-  if ((x & 15) == 0) {
-    x >>= 4;
-    r += 4;
-  }
-  if ((x & 3) == 0) {
-    x >>= 2;
-    r += 2;
-  }
-  if ((x & 1) == 0) {
-    ++r;
-  }
-  return r;
-}
-function cbit(x) {
-  var r = 0;
-  while (x != 0) {
-    x &= x - 1;
-    ++r;
-  }
-  return r;
-}
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/jsbn/base64.js
-var b64map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-var b64pad = "=";
-function hex2b64(h) {
-  var i;
-  var c;
-  var ret = "";
-  for (i = 0; i + 3 <= h.length; i += 3) {
-    c = parseInt(h.substring(i, i + 3), 16);
-    ret += b64map.charAt(c >> 6) + b64map.charAt(c & 63);
-  }
-  if (i + 1 == h.length) {
-    c = parseInt(h.substring(i, i + 1), 16);
-    ret += b64map.charAt(c << 2);
-  } else if (i + 2 == h.length) {
-    c = parseInt(h.substring(i, i + 2), 16);
-    ret += b64map.charAt(c >> 2) + b64map.charAt((c & 3) << 4);
-  }
-  while ((ret.length & 3) > 0) {
-    ret += b64pad;
-  }
-  return ret;
-}
-function b64tohex(s) {
-  var ret = "";
-  var i;
-  var k = 0;
-  var slop = 0;
-  for (i = 0; i < s.length; ++i) {
-    if (s.charAt(i) == b64pad) {
-      break;
-    }
-    var v = b64map.indexOf(s.charAt(i));
-    if (v < 0) {
-      continue;
-    }
-    if (k == 0) {
-      ret += int2char(v >> 2);
-      slop = v & 3;
-      k = 1;
-    } else if (k == 1) {
-      ret += int2char(slop << 2 | v >> 4);
-      slop = v & 15;
-      k = 2;
-    } else if (k == 2) {
-      ret += int2char(slop);
-      ret += int2char(v >> 2);
-      slop = v & 3;
-      k = 3;
-    } else {
-      ret += int2char(slop << 2 | v >> 4);
-      ret += int2char(v & 15);
-      k = 0;
-    }
-  }
-  if (k == 1) {
-    ret += int2char(slop << 2);
-  }
-  return ret;
-}
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/asn1js/hex.js
-var decoder;
-var Hex = {
-  decode: function(a) {
-    var i;
-    if (decoder === void 0) {
-      var hex = "0123456789ABCDEF";
-      var ignore = " \f\n\r	 \u2028\u2029";
-      decoder = {};
-      for (i = 0; i < 16; ++i) {
-        decoder[hex.charAt(i)] = i;
-      }
-      hex = hex.toLowerCase();
-      for (i = 10; i < 16; ++i) {
-        decoder[hex.charAt(i)] = i;
-      }
-      for (i = 0; i < ignore.length; ++i) {
-        decoder[ignore.charAt(i)] = -1;
-      }
-    }
-    var out = [];
-    var bits = 0;
-    var char_count = 0;
-    for (i = 0; i < a.length; ++i) {
-      var c = a.charAt(i);
-      if (c == "=") {
-        break;
-      }
-      c = decoder[c];
-      if (c == -1) {
-        continue;
-      }
-      if (c === void 0) {
-        throw new Error("Illegal character at offset " + i);
-      }
-      bits |= c;
-      if (++char_count >= 2) {
-        out[out.length] = bits;
-        bits = 0;
-        char_count = 0;
-      } else {
-        bits <<= 4;
-      }
-    }
-    if (char_count) {
-      throw new Error("Hex encoding incomplete: 4 bits missing");
-    }
-    return out;
-  }
-};
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/asn1js/base64.js
-var decoder2;
-var Base64 = {
-  decode: function(a) {
-    var i;
-    if (decoder2 === void 0) {
-      var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-      var ignore = "= \f\n\r	 \u2028\u2029";
-      decoder2 = /* @__PURE__ */ Object.create(null);
-      for (i = 0; i < 64; ++i) {
-        decoder2[b64.charAt(i)] = i;
-      }
-      decoder2["-"] = 62;
-      decoder2["_"] = 63;
-      for (i = 0; i < ignore.length; ++i) {
-        decoder2[ignore.charAt(i)] = -1;
-      }
-    }
-    var out = [];
-    var bits = 0;
-    var char_count = 0;
-    for (i = 0; i < a.length; ++i) {
-      var c = a.charAt(i);
-      if (c == "=") {
-        break;
-      }
-      c = decoder2[c];
-      if (c == -1) {
-        continue;
-      }
-      if (c === void 0) {
-        throw new Error("Illegal character at offset " + i);
-      }
-      bits |= c;
-      if (++char_count >= 4) {
-        out[out.length] = bits >> 16;
-        out[out.length] = bits >> 8 & 255;
-        out[out.length] = bits & 255;
-        bits = 0;
-        char_count = 0;
-      } else {
-        bits <<= 6;
-      }
-    }
-    switch (char_count) {
-      case 1:
-        throw new Error("Base64 encoding incomplete: at least 2 bits missing");
-      case 2:
-        out[out.length] = bits >> 10;
-        break;
-      case 3:
-        out[out.length] = bits >> 16;
-        out[out.length] = bits >> 8 & 255;
-        break;
-    }
-    return out;
-  },
-  re: /-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,
-  unarmor: function(a) {
-    var m = Base64.re.exec(a);
-    if (m) {
-      if (m[1]) {
-        a = m[1];
-      } else if (m[2]) {
-        a = m[2];
-      } else {
-        throw new Error("RegExp out of sync");
-      }
-    }
-    return Base64.decode(a);
-  }
-};
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/asn1js/int10.js
-var max = 1e13;
-var Int10 = (
-  /** @class */
-  function() {
-    function Int102(value) {
-      this.buf = [+value || 0];
-    }
-    Int102.prototype.mulAdd = function(m, c) {
-      var b = this.buf;
-      var l = b.length;
-      var i;
-      var t;
-      for (i = 0; i < l; ++i) {
-        t = b[i] * m + c;
-        if (t < max) {
-          c = 0;
-        } else {
-          c = 0 | t / max;
-          t -= c * max;
-        }
-        b[i] = t;
-      }
-      if (c > 0) {
-        b[i] = c;
-      }
-    };
-    Int102.prototype.sub = function(c) {
-      var b = this.buf;
-      var l = b.length;
-      var i;
-      var t;
-      for (i = 0; i < l; ++i) {
-        t = b[i] - c;
-        if (t < 0) {
-          t += max;
-          c = 1;
-        } else {
-          c = 0;
-        }
-        b[i] = t;
-      }
-      while (b[b.length - 1] === 0) {
-        b.pop();
-      }
-    };
-    Int102.prototype.toString = function(base) {
-      if ((base || 10) != 10) {
-        throw new Error("only base 10 is supported");
-      }
-      var b = this.buf;
-      var s = b[b.length - 1].toString();
-      for (var i = b.length - 2; i >= 0; --i) {
-        s += (max + b[i]).toString().substring(1);
-      }
-      return s;
-    };
-    Int102.prototype.valueOf = function() {
-      var b = this.buf;
-      var v = 0;
-      for (var i = b.length - 1; i >= 0; --i) {
-        v = v * max + b[i];
-      }
-      return v;
-    };
-    Int102.prototype.simplify = function() {
-      var b = this.buf;
-      return b.length == 1 ? b[0] : this;
-    };
-    return Int102;
-  }()
-);
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/asn1js/asn1.js
-var ellipsis = "…";
-var reTimeS = /^(\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)?)?$/;
-var reTimeL = /^(\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)?)?$/;
-function stringCut(str, len) {
-  if (str.length > len) {
-    str = str.substring(0, len) + ellipsis;
-  }
-  return str;
-}
-var Stream = (
-  /** @class */
-  function() {
-    function Stream2(enc, pos) {
-      this.hexDigits = "0123456789ABCDEF";
-      if (enc instanceof Stream2) {
-        this.enc = enc.enc;
-        this.pos = enc.pos;
-      } else {
-        this.enc = enc;
-        this.pos = pos;
-      }
-    }
-    Stream2.prototype.get = function(pos) {
-      if (pos === void 0) {
-        pos = this.pos++;
-      }
-      if (pos >= this.enc.length) {
-        throw new Error("Requesting byte offset ".concat(pos, " on a stream of length ").concat(this.enc.length));
-      }
-      return "string" === typeof this.enc ? this.enc.charCodeAt(pos) : this.enc[pos];
-    };
-    Stream2.prototype.hexByte = function(b) {
-      return this.hexDigits.charAt(b >> 4 & 15) + this.hexDigits.charAt(b & 15);
-    };
-    Stream2.prototype.hexDump = function(start, end, raw) {
-      var s = "";
-      for (var i = start; i < end; ++i) {
-        s += this.hexByte(this.get(i));
-        if (raw !== true) {
-          switch (i & 15) {
-            case 7:
-              s += "  ";
-              break;
-            case 15:
-              s += "\n";
-              break;
-            default:
-              s += " ";
-          }
-        }
-      }
-      return s;
-    };
-    Stream2.prototype.isASCII = function(start, end) {
-      for (var i = start; i < end; ++i) {
-        var c = this.get(i);
-        if (c < 32 || c > 176) {
-          return false;
-        }
-      }
-      return true;
-    };
-    Stream2.prototype.parseStringISO = function(start, end) {
-      var s = "";
-      for (var i = start; i < end; ++i) {
-        s += String.fromCharCode(this.get(i));
-      }
-      return s;
-    };
-    Stream2.prototype.parseStringUTF = function(start, end) {
-      var s = "";
-      for (var i = start; i < end; ) {
-        var c = this.get(i++);
-        if (c < 128) {
-          s += String.fromCharCode(c);
-        } else if (c > 191 && c < 224) {
-          s += String.fromCharCode((c & 31) << 6 | this.get(i++) & 63);
-        } else {
-          s += String.fromCharCode((c & 15) << 12 | (this.get(i++) & 63) << 6 | this.get(i++) & 63);
-        }
-      }
-      return s;
-    };
-    Stream2.prototype.parseStringBMP = function(start, end) {
-      var str = "";
-      var hi;
-      var lo;
-      for (var i = start; i < end; ) {
-        hi = this.get(i++);
-        lo = this.get(i++);
-        str += String.fromCharCode(hi << 8 | lo);
-      }
-      return str;
-    };
-    Stream2.prototype.parseTime = function(start, end, shortYear) {
-      var s = this.parseStringISO(start, end);
-      var m = (shortYear ? reTimeS : reTimeL).exec(s);
-      if (!m) {
-        return "Unrecognized time: " + s;
-      }
-      if (shortYear) {
-        m[1] = +m[1];
-        m[1] += +m[1] < 70 ? 2e3 : 1900;
-      }
-      s = m[1] + "-" + m[2] + "-" + m[3] + " " + m[4];
-      if (m[5]) {
-        s += ":" + m[5];
-        if (m[6]) {
-          s += ":" + m[6];
-          if (m[7]) {
-            s += "." + m[7];
-          }
-        }
-      }
-      if (m[8]) {
-        s += " UTC";
-        if (m[8] != "Z") {
-          s += m[8];
-          if (m[9]) {
-            s += ":" + m[9];
-          }
-        }
-      }
-      return s;
-    };
-    Stream2.prototype.parseInteger = function(start, end) {
-      var v = this.get(start);
-      var neg = v > 127;
-      var pad = neg ? 255 : 0;
-      var len;
-      var s = "";
-      while (v == pad && ++start < end) {
-        v = this.get(start);
-      }
-      len = end - start;
-      if (len === 0) {
-        return neg ? -1 : 0;
-      }
-      if (len > 4) {
-        s = v;
-        len <<= 3;
-        while (((+s ^ pad) & 128) == 0) {
-          s = +s << 1;
-          --len;
-        }
-        s = "(" + len + " bit)\n";
-      }
-      if (neg) {
-        v = v - 256;
-      }
-      var n = new Int10(v);
-      for (var i = start + 1; i < end; ++i) {
-        n.mulAdd(256, this.get(i));
-      }
-      return s + n.toString();
-    };
-    Stream2.prototype.parseBitString = function(start, end, maxLength) {
-      var unusedBit = this.get(start);
-      var lenBit = (end - start - 1 << 3) - unusedBit;
-      var intro = "(" + lenBit + " bit)\n";
-      var s = "";
-      for (var i = start + 1; i < end; ++i) {
-        var b = this.get(i);
-        var skip = i == end - 1 ? unusedBit : 0;
-        for (var j = 7; j >= skip; --j) {
-          s += b >> j & 1 ? "1" : "0";
-        }
-        if (s.length > maxLength) {
-          return intro + stringCut(s, maxLength);
-        }
-      }
-      return intro + s;
-    };
-    Stream2.prototype.parseOctetString = function(start, end, maxLength) {
-      if (this.isASCII(start, end)) {
-        return stringCut(this.parseStringISO(start, end), maxLength);
-      }
-      var len = end - start;
-      var s = "(" + len + " byte)\n";
-      maxLength /= 2;
-      if (len > maxLength) {
-        end = start + maxLength;
-      }
-      for (var i = start; i < end; ++i) {
-        s += this.hexByte(this.get(i));
-      }
-      if (len > maxLength) {
-        s += ellipsis;
-      }
-      return s;
-    };
-    Stream2.prototype.parseOID = function(start, end, maxLength) {
-      var s = "";
-      var n = new Int10();
-      var bits = 0;
-      for (var i = start; i < end; ++i) {
-        var v = this.get(i);
-        n.mulAdd(128, v & 127);
-        bits += 7;
-        if (!(v & 128)) {
-          if (s === "") {
-            n = n.simplify();
-            if (n instanceof Int10) {
-              n.sub(80);
-              s = "2." + n.toString();
-            } else {
-              var m = n < 80 ? n < 40 ? 0 : 1 : 2;
-              s = m + "." + (n - m * 40);
-            }
-          } else {
-            s += "." + n.toString();
-          }
-          if (s.length > maxLength) {
-            return stringCut(s, maxLength);
-          }
-          n = new Int10();
-          bits = 0;
-        }
-      }
-      if (bits > 0) {
-        s += ".incomplete";
-      }
-      return s;
-    };
-    return Stream2;
-  }()
-);
-var ASN1 = (
-  /** @class */
-  function() {
-    function ASN12(stream, header, length, tag, sub) {
-      if (!(tag instanceof ASN1Tag)) {
-        throw new Error("Invalid tag value.");
-      }
-      this.stream = stream;
-      this.header = header;
-      this.length = length;
-      this.tag = tag;
-      this.sub = sub;
-    }
-    ASN12.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();
-      }
-    };
-    ASN12.prototype.content = function(maxLength) {
-      if (this.tag === void 0) {
-        return null;
-      }
-      if (maxLength === void 0) {
-        maxLength = Infinity;
-      }
-      var content = this.posContent();
-      var len = Math.abs(this.length);
-      if (!this.tag.isUniversal()) {
-        if (this.sub !== null) {
-          return "(" + this.sub.length + " elem)";
-        }
-        return this.stream.parseOctetString(content, content + len, maxLength);
-      }
-      switch (this.tag.tagNumber) {
-        case 1:
-          return this.stream.get(content) === 0 ? "false" : "true";
-        case 2:
-          return this.stream.parseInteger(content, content + len);
-        case 3:
-          return this.sub ? "(" + this.sub.length + " elem)" : this.stream.parseBitString(content, content + len, maxLength);
-        case 4:
-          return this.sub ? "(" + this.sub.length + " elem)" : this.stream.parseOctetString(content, content + len, maxLength);
-        case 6:
-          return this.stream.parseOID(content, content + len, maxLength);
-        case 16:
-        case 17:
-          if (this.sub !== null) {
-            return "(" + this.sub.length + " elem)";
-          } else {
-            return "(no elem)";
-          }
-        case 12:
-          return stringCut(this.stream.parseStringUTF(content, content + len), maxLength);
-        case 18:
-        case 19:
-        case 20:
-        case 21:
-        case 22:
-        case 26:
-          return stringCut(this.stream.parseStringISO(content, content + len), maxLength);
-        case 30:
-          return stringCut(this.stream.parseStringBMP(content, content + len), maxLength);
-        case 23:
-        case 24:
-          return this.stream.parseTime(content, content + len, this.tag.tagNumber == 23);
-      }
-      return null;
-    };
-    ASN12.prototype.toString = function() {
-      return this.typeName() + "@" + this.stream.pos + "[header:" + this.header + ",length:" + this.length + ",sub:" + (this.sub === null ? "null" : this.sub.length) + "]";
-    };
-    ASN12.prototype.toPrettyString = function(indent) {
-      if (indent === void 0) {
-        indent = "";
-      }
-      var s = indent + this.typeName() + " @" + this.stream.pos;
-      if (this.length >= 0) {
-        s += "+";
-      }
-      s += this.length;
-      if (this.tag.tagConstructed) {
-        s += " (constructed)";
-      } else if (this.tag.isUniversal() && (this.tag.tagNumber == 3 || this.tag.tagNumber == 4) && this.sub !== null) {
-        s += " (encapsulates)";
-      }
-      s += "\n";
-      if (this.sub !== null) {
-        indent += "  ";
-        for (var i = 0, max2 = this.sub.length; i < max2; ++i) {
-          s += this.sub[i].toPrettyString(indent);
-        }
-      }
-      return s;
-    };
-    ASN12.prototype.posStart = function() {
-      return this.stream.pos;
-    };
-    ASN12.prototype.posContent = function() {
-      return this.stream.pos + this.header;
-    };
-    ASN12.prototype.posEnd = function() {
-      return this.stream.pos + this.header + Math.abs(this.length);
-    };
-    ASN12.prototype.toHexString = function() {
-      return this.stream.hexDump(this.posStart(), this.posEnd(), true);
-    };
-    ASN12.decodeLength = function(stream) {
-      var buf = stream.get();
-      var len = buf & 127;
-      if (len == buf) {
-        return len;
-      }
-      if (len > 6) {
-        throw new Error("Length over 48 bits not supported at position " + (stream.pos - 1));
-      }
-      if (len === 0) {
-        return null;
-      }
-      buf = 0;
-      for (var i = 0; i < len; ++i) {
-        buf = buf * 256 + stream.get();
-      }
-      return buf;
-    };
-    ASN12.prototype.getHexStringValue = function() {
-      var hexString = this.toHexString();
-      var offset = this.header * 2;
-      var length = this.length * 2;
-      return hexString.substr(offset, length);
-    };
-    ASN12.decode = function(str) {
-      var stream;
-      if (!(str instanceof Stream)) {
-        stream = new Stream(str, 0);
-      } else {
-        stream = str;
-      }
-      var streamStart = new Stream(stream);
-      var tag = new ASN1Tag(stream);
-      var len = ASN12.decodeLength(stream);
-      var start = stream.pos;
-      var header = start - streamStart.pos;
-      var sub = null;
-      var getSub = function() {
-        var ret = [];
-        if (len !== null) {
-          var end = start + len;
-          while (stream.pos < end) {
-            ret[ret.length] = ASN12.decode(stream);
-          }
-          if (stream.pos != end) {
-            throw new Error("Content size is not correct for container starting at offset " + start);
-          }
-        } else {
-          try {
-            for (; ; ) {
-              var s = ASN12.decode(stream);
-              if (s.tag.isEOC()) {
-                break;
-              }
-              ret[ret.length] = s;
-            }
-            len = start - stream.pos;
-          } catch (e) {
-            throw new Error("Exception while decoding undefined length content: " + e);
-          }
-        }
-        return ret;
-      };
-      if (tag.tagConstructed) {
-        sub = getSub();
-      } else if (tag.isUniversal() && (tag.tagNumber == 3 || tag.tagNumber == 4)) {
-        try {
-          if (tag.tagNumber == 3) {
-            if (stream.get() != 0) {
-              throw new Error("BIT STRINGs with unused bits cannot encapsulate.");
-            }
-          }
-          sub = getSub();
-          for (var i = 0; i < sub.length; ++i) {
-            if (sub[i].tag.isEOC()) {
-              throw new Error("EOC is not supposed to be actual content.");
-            }
-          }
-        } catch (e) {
-          sub = null;
-        }
-      }
-      if (sub === null) {
-        if (len === null) {
-          throw new Error("We can't skip over an invalid tag with undefined length at offset " + start);
-        }
-        stream.pos = start + Math.abs(len);
-      }
-      return new ASN12(streamStart, header, len, tag, sub);
-    };
-    return ASN12;
-  }()
-);
-var ASN1Tag = (
-  /** @class */
-  function() {
-    function ASN1Tag2(stream) {
-      var buf = stream.get();
-      this.tagClass = buf >> 6;
-      this.tagConstructed = (buf & 32) !== 0;
-      this.tagNumber = buf & 31;
-      if (this.tagNumber == 31) {
-        var n = new Int10();
-        do {
-          buf = stream.get();
-          n.mulAdd(128, buf & 127);
-        } while (buf & 128);
-        this.tagNumber = n.simplify();
-      }
-    }
-    ASN1Tag2.prototype.isUniversal = function() {
-      return this.tagClass === 0;
-    };
-    ASN1Tag2.prototype.isEOC = function() {
-      return this.tagClass === 0 && this.tagNumber === 0;
-    };
-    return ASN1Tag2;
-  }()
-);
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js
-var dbits;
-var canary = 244837814094590;
-var j_lm = (canary & 16777215) == 15715070;
-var lowprimes = [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];
-var lplim = (1 << 26) / lowprimes[lowprimes.length - 1];
-var BigInteger = (
-  /** @class */
-  function() {
-    function BigInteger2(a, b, c) {
-      if (a != null) {
-        if ("number" == typeof a) {
-          this.fromNumber(a, b, c);
-        } else if (b == null && "string" != typeof a) {
-          this.fromString(a, 256);
-        } else {
-          this.fromString(a, b);
-        }
-      }
-    }
-    BigInteger2.prototype.toString = function(b) {
-      if (this.s < 0) {
-        return "-" + this.negate().toString(b);
-      }
-      var k;
-      if (b == 16) {
-        k = 4;
-      } else if (b == 8) {
-        k = 3;
-      } else if (b == 2) {
-        k = 1;
-      } else if (b == 32) {
-        k = 5;
-      } else if (b == 4) {
-        k = 2;
-      } else {
-        return this.toRadix(b);
-      }
-      var km = (1 << k) - 1;
-      var d;
-      var m = false;
-      var r = "";
-      var i = this.t;
-      var p = this.DB - i * this.DB % k;
-      if (i-- > 0) {
-        if (p < this.DB && (d = this[i] >> p) > 0) {
-          m = true;
-          r = int2char(d);
-        }
-        while (i >= 0) {
-          if (p < k) {
-            d = (this[i] & (1 << p) - 1) << k - p;
-            d |= this[--i] >> (p += this.DB - k);
-          } else {
-            d = this[i] >> (p -= k) & km;
-            if (p <= 0) {
-              p += this.DB;
-              --i;
-            }
-          }
-          if (d > 0) {
-            m = true;
-          }
-          if (m) {
-            r += int2char(d);
-          }
-        }
-      }
-      return m ? r : "0";
-    };
-    BigInteger2.prototype.negate = function() {
-      var r = nbi();
-      BigInteger2.ZERO.subTo(this, r);
-      return r;
-    };
-    BigInteger2.prototype.abs = function() {
-      return this.s < 0 ? this.negate() : this;
-    };
-    BigInteger2.prototype.compareTo = function(a) {
-      var r = this.s - a.s;
-      if (r != 0) {
-        return r;
-      }
-      var i = this.t;
-      r = i - a.t;
-      if (r != 0) {
-        return this.s < 0 ? -r : r;
-      }
-      while (--i >= 0) {
-        if ((r = this[i] - a[i]) != 0) {
-          return r;
-        }
-      }
-      return 0;
-    };
-    BigInteger2.prototype.bitLength = function() {
-      if (this.t <= 0) {
-        return 0;
-      }
-      return this.DB * (this.t - 1) + nbits(this[this.t - 1] ^ this.s & this.DM);
-    };
-    BigInteger2.prototype.mod = function(a) {
-      var r = nbi();
-      this.abs().divRemTo(a, null, r);
-      if (this.s < 0 && r.compareTo(BigInteger2.ZERO) > 0) {
-        a.subTo(r, r);
-      }
-      return r;
-    };
-    BigInteger2.prototype.modPowInt = function(e, m) {
-      var z;
-      if (e < 256 || m.isEven()) {
-        z = new Classic(m);
-      } else {
-        z = new Montgomery(m);
-      }
-      return this.exp(e, z);
-    };
-    BigInteger2.prototype.clone = function() {
-      var r = nbi();
-      this.copyTo(r);
-      return r;
-    };
-    BigInteger2.prototype.intValue = function() {
-      if (this.s < 0) {
-        if (this.t == 1) {
-          return this[0] - this.DV;
-        } else if (this.t == 0) {
-          return -1;
-        }
-      } else if (this.t == 1) {
-        return this[0];
-      } else if (this.t == 0) {
-        return 0;
-      }
-      return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0];
-    };
-    BigInteger2.prototype.byteValue = function() {
-      return this.t == 0 ? this.s : this[0] << 24 >> 24;
-    };
-    BigInteger2.prototype.shortValue = function() {
-      return this.t == 0 ? this.s : this[0] << 16 >> 16;
-    };
-    BigInteger2.prototype.signum = function() {
-      if (this.s < 0) {
-        return -1;
-      } else if (this.t <= 0 || this.t == 1 && this[0] <= 0) {
-        return 0;
-      } else {
-        return 1;
-      }
-    };
-    BigInteger2.prototype.toByteArray = function() {
-      var i = this.t;
-      var r = [];
-      r[0] = this.s;
-      var p = this.DB - i * this.DB % 8;
-      var d;
-      var k = 0;
-      if (i-- > 0) {
-        if (p < this.DB && (d = this[i] >> p) != (this.s & this.DM) >> p) {
-          r[k++] = d | this.s << this.DB - p;
-        }
-        while (i >= 0) {
-          if (p < 8) {
-            d = (this[i] & (1 << p) - 1) << 8 - p;
-            d |= this[--i] >> (p += this.DB - 8);
-          } else {
-            d = this[i] >> (p -= 8) & 255;
-            if (p <= 0) {
-              p += this.DB;
-              --i;
-            }
-          }
-          if ((d & 128) != 0) {
-            d |= -256;
-          }
-          if (k == 0 && (this.s & 128) != (d & 128)) {
-            ++k;
-          }
-          if (k > 0 || d != this.s) {
-            r[k++] = d;
-          }
-        }
-      }
-      return r;
-    };
-    BigInteger2.prototype.equals = function(a) {
-      return this.compareTo(a) == 0;
-    };
-    BigInteger2.prototype.min = function(a) {
-      return this.compareTo(a) < 0 ? this : a;
-    };
-    BigInteger2.prototype.max = function(a) {
-      return this.compareTo(a) > 0 ? this : a;
-    };
-    BigInteger2.prototype.and = function(a) {
-      var r = nbi();
-      this.bitwiseTo(a, op_and, r);
-      return r;
-    };
-    BigInteger2.prototype.or = function(a) {
-      var r = nbi();
-      this.bitwiseTo(a, op_or, r);
-      return r;
-    };
-    BigInteger2.prototype.xor = function(a) {
-      var r = nbi();
-      this.bitwiseTo(a, op_xor, r);
-      return r;
-    };
-    BigInteger2.prototype.andNot = function(a) {
-      var r = nbi();
-      this.bitwiseTo(a, op_andnot, r);
-      return r;
-    };
-    BigInteger2.prototype.not = function() {
-      var r = nbi();
-      for (var i = 0; i < this.t; ++i) {
-        r[i] = this.DM & ~this[i];
-      }
-      r.t = this.t;
-      r.s = ~this.s;
-      return r;
-    };
-    BigInteger2.prototype.shiftLeft = function(n) {
-      var r = nbi();
-      if (n < 0) {
-        this.rShiftTo(-n, r);
-      } else {
-        this.lShiftTo(n, r);
-      }
-      return r;
-    };
-    BigInteger2.prototype.shiftRight = function(n) {
-      var r = nbi();
-      if (n < 0) {
-        this.lShiftTo(-n, r);
-      } else {
-        this.rShiftTo(n, r);
-      }
-      return r;
-    };
-    BigInteger2.prototype.getLowestSetBit = function() {
-      for (var i = 0; i < this.t; ++i) {
-        if (this[i] != 0) {
-          return i * this.DB + lbit(this[i]);
-        }
-      }
-      if (this.s < 0) {
-        return this.t * this.DB;
-      }
-      return -1;
-    };
-    BigInteger2.prototype.bitCount = function() {
-      var r = 0;
-      var x = this.s & this.DM;
-      for (var i = 0; i < this.t; ++i) {
-        r += cbit(this[i] ^ x);
-      }
-      return r;
-    };
-    BigInteger2.prototype.testBit = function(n) {
-      var j = Math.floor(n / this.DB);
-      if (j >= this.t) {
-        return this.s != 0;
-      }
-      return (this[j] & 1 << n % this.DB) != 0;
-    };
-    BigInteger2.prototype.setBit = function(n) {
-      return this.changeBit(n, op_or);
-    };
-    BigInteger2.prototype.clearBit = function(n) {
-      return this.changeBit(n, op_andnot);
-    };
-    BigInteger2.prototype.flipBit = function(n) {
-      return this.changeBit(n, op_xor);
-    };
-    BigInteger2.prototype.add = function(a) {
-      var r = nbi();
-      this.addTo(a, r);
-      return r;
-    };
-    BigInteger2.prototype.subtract = function(a) {
-      var r = nbi();
-      this.subTo(a, r);
-      return r;
-    };
-    BigInteger2.prototype.multiply = function(a) {
-      var r = nbi();
-      this.multiplyTo(a, r);
-      return r;
-    };
-    BigInteger2.prototype.divide = function(a) {
-      var r = nbi();
-      this.divRemTo(a, r, null);
-      return r;
-    };
-    BigInteger2.prototype.remainder = function(a) {
-      var r = nbi();
-      this.divRemTo(a, null, r);
-      return r;
-    };
-    BigInteger2.prototype.divideAndRemainder = function(a) {
-      var q = nbi();
-      var r = nbi();
-      this.divRemTo(a, q, r);
-      return [q, r];
-    };
-    BigInteger2.prototype.modPow = function(e, m) {
-      var i = e.bitLength();
-      var k;
-      var r = nbv(1);
-      var z;
-      if (i <= 0) {
-        return r;
-      } else if (i < 18) {
-        k = 1;
-      } else if (i < 48) {
-        k = 3;
-      } else if (i < 144) {
-        k = 4;
-      } else if (i < 768) {
-        k = 5;
-      } else {
-        k = 6;
-      }
-      if (i < 8) {
-        z = new Classic(m);
-      } else if (m.isEven()) {
-        z = new Barrett(m);
-      } else {
-        z = new Montgomery(m);
-      }
-      var g = [];
-      var n = 3;
-      var k1 = k - 1;
-      var km = (1 << k) - 1;
-      g[1] = z.convert(this);
-      if (k > 1) {
-        var g2 = nbi();
-        z.sqrTo(g[1], g2);
-        while (n <= km) {
-          g[n] = nbi();
-          z.mulTo(g2, g[n - 2], g[n]);
-          n += 2;
-        }
-      }
-      var j = e.t - 1;
-      var w;
-      var is1 = true;
-      var r2 = nbi();
-      var t;
-      i = nbits(e[j]) - 1;
-      while (j >= 0) {
-        if (i >= k1) {
-          w = e[j] >> i - k1 & km;
-        } else {
-          w = (e[j] & (1 << i + 1) - 1) << k1 - i;
-          if (j > 0) {
-            w |= e[j - 1] >> this.DB + i - k1;
-          }
-        }
-        n = k;
-        while ((w & 1) == 0) {
-          w >>= 1;
-          --n;
-        }
-        if ((i -= n) < 0) {
-          i += this.DB;
-          --j;
-        }
-        if (is1) {
-          g[w].copyTo(r);
-          is1 = false;
-        } else {
-          while (n > 1) {
-            z.sqrTo(r, r2);
-            z.sqrTo(r2, r);
-            n -= 2;
-          }
-          if (n > 0) {
-            z.sqrTo(r, r2);
-          } else {
-            t = r;
-            r = r2;
-            r2 = t;
-          }
-          z.mulTo(r2, g[w], r);
-        }
-        while (j >= 0 && (e[j] & 1 << i) == 0) {
-          z.sqrTo(r, r2);
-          t = r;
-          r = r2;
-          r2 = t;
-          if (--i < 0) {
-            i = this.DB - 1;
-            --j;
-          }
-        }
-      }
-      return z.revert(r);
-    };
-    BigInteger2.prototype.modInverse = function(m) {
-      var ac = m.isEven();
-      if (this.isEven() && ac || m.signum() == 0) {
-        return BigInteger2.ZERO;
-      }
-      var u = m.clone();
-      var v = this.clone();
-      var a = nbv(1);
-      var b = nbv(0);
-      var c = nbv(0);
-      var d = nbv(1);
-      while (u.signum() != 0) {
-        while (u.isEven()) {
-          u.rShiftTo(1, u);
-          if (ac) {
-            if (!a.isEven() || !b.isEven()) {
-              a.addTo(this, a);
-              b.subTo(m, b);
-            }
-            a.rShiftTo(1, a);
-          } else if (!b.isEven()) {
-            b.subTo(m, b);
-          }
-          b.rShiftTo(1, b);
-        }
-        while (v.isEven()) {
-          v.rShiftTo(1, v);
-          if (ac) {
-            if (!c.isEven() || !d.isEven()) {
-              c.addTo(this, c);
-              d.subTo(m, d);
-            }
-            c.rShiftTo(1, c);
-          } else if (!d.isEven()) {
-            d.subTo(m, d);
-          }
-          d.rShiftTo(1, d);
-        }
-        if (u.compareTo(v) >= 0) {
-          u.subTo(v, u);
-          if (ac) {
-            a.subTo(c, a);
-          }
-          b.subTo(d, b);
-        } else {
-          v.subTo(u, v);
-          if (ac) {
-            c.subTo(a, c);
-          }
-          d.subTo(b, d);
-        }
-      }
-      if (v.compareTo(BigInteger2.ONE) != 0) {
-        return BigInteger2.ZERO;
-      }
-      if (d.compareTo(m) >= 0) {
-        return d.subtract(m);
-      }
-      if (d.signum() < 0) {
-        d.addTo(m, d);
-      } else {
-        return d;
-      }
-      if (d.signum() < 0) {
-        return d.add(m);
-      } else {
-        return d;
-      }
-    };
-    BigInteger2.prototype.pow = function(e) {
-      return this.exp(e, new NullExp());
-    };
-    BigInteger2.prototype.gcd = function(a) {
-      var x = this.s < 0 ? this.negate() : this.clone();
-      var y = a.s < 0 ? a.negate() : a.clone();
-      if (x.compareTo(y) < 0) {
-        var t = x;
-        x = y;
-        y = t;
-      }
-      var i = x.getLowestSetBit();
-      var g = y.getLowestSetBit();
-      if (g < 0) {
-        return x;
-      }
-      if (i < g) {
-        g = i;
-      }
-      if (g > 0) {
-        x.rShiftTo(g, x);
-        y.rShiftTo(g, y);
-      }
-      while (x.signum() > 0) {
-        if ((i = x.getLowestSetBit()) > 0) {
-          x.rShiftTo(i, x);
-        }
-        if ((i = y.getLowestSetBit()) > 0) {
-          y.rShiftTo(i, y);
-        }
-        if (x.compareTo(y) >= 0) {
-          x.subTo(y, x);
-          x.rShiftTo(1, x);
-        } else {
-          y.subTo(x, y);
-          y.rShiftTo(1, y);
-        }
-      }
-      if (g > 0) {
-        y.lShiftTo(g, y);
-      }
-      return y;
-    };
-    BigInteger2.prototype.isProbablePrime = function(t) {
-      var i;
-      var x = this.abs();
-      if (x.t == 1 && x[0] <= lowprimes[lowprimes.length - 1]) {
-        for (i = 0; i < lowprimes.length; ++i) {
-          if (x[0] == lowprimes[i]) {
-            return true;
-          }
-        }
-        return false;
-      }
-      if (x.isEven()) {
-        return false;
-      }
-      i = 1;
-      while (i < lowprimes.length) {
-        var m = lowprimes[i];
-        var j = i + 1;
-        while (j < lowprimes.length && m < lplim) {
-          m *= lowprimes[j++];
-        }
-        m = x.modInt(m);
-        while (i < j) {
-          if (m % lowprimes[i++] == 0) {
-            return false;
-          }
-        }
-      }
-      return x.millerRabin(t);
-    };
-    BigInteger2.prototype.copyTo = function(r) {
-      for (var i = this.t - 1; i >= 0; --i) {
-        r[i] = this[i];
-      }
-      r.t = this.t;
-      r.s = this.s;
-    };
-    BigInteger2.prototype.fromInt = function(x) {
-      this.t = 1;
-      this.s = x < 0 ? -1 : 0;
-      if (x > 0) {
-        this[0] = x;
-      } else if (x < -1) {
-        this[0] = x + this.DV;
-      } else {
-        this.t = 0;
-      }
-    };
-    BigInteger2.prototype.fromString = function(s, b) {
-      var k;
-      if (b == 16) {
-        k = 4;
-      } else if (b == 8) {
-        k = 3;
-      } else if (b == 256) {
-        k = 8;
-      } else if (b == 2) {
-        k = 1;
-      } else if (b == 32) {
-        k = 5;
-      } else if (b == 4) {
-        k = 2;
-      } else {
-        this.fromRadix(s, b);
-        return;
-      }
-      this.t = 0;
-      this.s = 0;
-      var i = s.length;
-      var mi = false;
-      var sh = 0;
-      while (--i >= 0) {
-        var x = k == 8 ? +s[i] & 255 : intAt(s, i);
-        if (x < 0) {
-          if (s.charAt(i) == "-") {
-            mi = true;
-          }
-          continue;
-        }
-        mi = false;
-        if (sh == 0) {
-          this[this.t++] = x;
-        } else if (sh + k > this.DB) {
-          this[this.t - 1] |= (x & (1 << this.DB - sh) - 1) << sh;
-          this[this.t++] = x >> this.DB - sh;
-        } else {
-          this[this.t - 1] |= x << sh;
-        }
-        sh += k;
-        if (sh >= this.DB) {
-          sh -= this.DB;
-        }
-      }
-      if (k == 8 && (+s[0] & 128) != 0) {
-        this.s = -1;
-        if (sh > 0) {
-          this[this.t - 1] |= (1 << this.DB - sh) - 1 << sh;
-        }
-      }
-      this.clamp();
-      if (mi) {
-        BigInteger2.ZERO.subTo(this, this);
-      }
-    };
-    BigInteger2.prototype.clamp = function() {
-      var c = this.s & this.DM;
-      while (this.t > 0 && this[this.t - 1] == c) {
-        --this.t;
-      }
-    };
-    BigInteger2.prototype.dlShiftTo = function(n, r) {
-      var i;
-      for (i = this.t - 1; i >= 0; --i) {
-        r[i + n] = this[i];
-      }
-      for (i = n - 1; i >= 0; --i) {
-        r[i] = 0;
-      }
-      r.t = this.t + n;
-      r.s = this.s;
-    };
-    BigInteger2.prototype.drShiftTo = function(n, r) {
-      for (var i = n; i < this.t; ++i) {
-        r[i - n] = this[i];
-      }
-      r.t = Math.max(this.t - n, 0);
-      r.s = this.s;
-    };
-    BigInteger2.prototype.lShiftTo = function(n, r) {
-      var bs = n % this.DB;
-      var cbs = this.DB - bs;
-      var bm = (1 << cbs) - 1;
-      var ds = Math.floor(n / this.DB);
-      var c = this.s << bs & this.DM;
-      for (var i = this.t - 1; i >= 0; --i) {
-        r[i + ds + 1] = this[i] >> cbs | c;
-        c = (this[i] & bm) << bs;
-      }
-      for (var i = ds - 1; i >= 0; --i) {
-        r[i] = 0;
-      }
-      r[ds] = c;
-      r.t = this.t + ds + 1;
-      r.s = this.s;
-      r.clamp();
-    };
-    BigInteger2.prototype.rShiftTo = function(n, r) {
-      r.s = this.s;
-      var ds = Math.floor(n / this.DB);
-      if (ds >= this.t) {
-        r.t = 0;
-        return;
-      }
-      var bs = n % this.DB;
-      var cbs = this.DB - bs;
-      var bm = (1 << bs) - 1;
-      r[0] = this[ds] >> bs;
-      for (var i = ds + 1; i < this.t; ++i) {
-        r[i - ds - 1] |= (this[i] & bm) << cbs;
-        r[i - ds] = this[i] >> bs;
-      }
-      if (bs > 0) {
-        r[this.t - ds - 1] |= (this.s & bm) << cbs;
-      }
-      r.t = this.t - ds;
-      r.clamp();
-    };
-    BigInteger2.prototype.subTo = function(a, r) {
-      var i = 0;
-      var c = 0;
-      var m = Math.min(a.t, this.t);
-      while (i < m) {
-        c += this[i] - a[i];
-        r[i++] = c & this.DM;
-        c >>= this.DB;
-      }
-      if (a.t < this.t) {
-        c -= a.s;
-        while (i < this.t) {
-          c += this[i];
-          r[i++] = c & this.DM;
-          c >>= this.DB;
-        }
-        c += this.s;
-      } else {
-        c += this.s;
-        while (i < a.t) {
-          c -= a[i];
-          r[i++] = c & this.DM;
-          c >>= this.DB;
-        }
-        c -= a.s;
-      }
-      r.s = c < 0 ? -1 : 0;
-      if (c < -1) {
-        r[i++] = this.DV + c;
-      } else if (c > 0) {
-        r[i++] = c;
-      }
-      r.t = i;
-      r.clamp();
-    };
-    BigInteger2.prototype.multiplyTo = function(a, r) {
-      var x = this.abs();
-      var y = a.abs();
-      var i = x.t;
-      r.t = i + y.t;
-      while (--i >= 0) {
-        r[i] = 0;
-      }
-      for (i = 0; i < y.t; ++i) {
-        r[i + x.t] = x.am(0, y[i], r, i, 0, x.t);
-      }
-      r.s = 0;
-      r.clamp();
-      if (this.s != a.s) {
-        BigInteger2.ZERO.subTo(r, r);
-      }
-    };
-    BigInteger2.prototype.squareTo = function(r) {
-      var x = this.abs();
-      var i = r.t = 2 * x.t;
-      while (--i >= 0) {
-        r[i] = 0;
-      }
-      for (i = 0; i < x.t - 1; ++i) {
-        var c = x.am(i, x[i], r, 2 * i, 0, 1);
-        if ((r[i + x.t] += x.am(i + 1, 2 * x[i], r, 2 * i + 1, c, x.t - i - 1)) >= x.DV) {
-          r[i + x.t] -= x.DV;
-          r[i + x.t + 1] = 1;
-        }
-      }
-      if (r.t > 0) {
-        r[r.t - 1] += x.am(i, x[i], r, 2 * i, 0, 1);
-      }
-      r.s = 0;
-      r.clamp();
-    };
-    BigInteger2.prototype.divRemTo = function(m, q, r) {
-      var pm = m.abs();
-      if (pm.t <= 0) {
-        return;
-      }
-      var pt = this.abs();
-      if (pt.t < pm.t) {
-        if (q != null) {
-          q.fromInt(0);
-        }
-        if (r != null) {
-          this.copyTo(r);
-        }
-        return;
-      }
-      if (r == null) {
-        r = nbi();
-      }
-      var y = nbi();
-      var ts = this.s;
-      var ms = m.s;
-      var nsh = this.DB - nbits(pm[pm.t - 1]);
-      if (nsh > 0) {
-        pm.lShiftTo(nsh, y);
-        pt.lShiftTo(nsh, r);
-      } else {
-        pm.copyTo(y);
-        pt.copyTo(r);
-      }
-      var ys = y.t;
-      var y0 = y[ys - 1];
-      if (y0 == 0) {
-        return;
-      }
-      var yt = y0 * (1 << this.F1) + (ys > 1 ? y[ys - 2] >> this.F2 : 0);
-      var d1 = this.FV / yt;
-      var d2 = (1 << this.F1) / yt;
-      var e = 1 << this.F2;
-      var i = r.t;
-      var j = i - ys;
-      var t = q == null ? nbi() : q;
-      y.dlShiftTo(j, t);
-      if (r.compareTo(t) >= 0) {
-        r[r.t++] = 1;
-        r.subTo(t, r);
-      }
-      BigInteger2.ONE.dlShiftTo(ys, t);
-      t.subTo(y, y);
-      while (y.t < ys) {
-        y[y.t++] = 0;
-      }
-      while (--j >= 0) {
-        var qd = r[--i] == y0 ? this.DM : Math.floor(r[i] * d1 + (r[i - 1] + e) * d2);
-        if ((r[i] += y.am(0, qd, r, j, 0, ys)) < qd) {
-          y.dlShiftTo(j, t);
-          r.subTo(t, r);
-          while (r[i] < --qd) {
-            r.subTo(t, r);
-          }
-        }
-      }
-      if (q != null) {
-        r.drShiftTo(ys, q);
-        if (ts != ms) {
-          BigInteger2.ZERO.subTo(q, q);
-        }
-      }
-      r.t = ys;
-      r.clamp();
-      if (nsh > 0) {
-        r.rShiftTo(nsh, r);
-      }
-      if (ts < 0) {
-        BigInteger2.ZERO.subTo(r, r);
-      }
-    };
-    BigInteger2.prototype.invDigit = function() {
-      if (this.t < 1) {
-        return 0;
-      }
-      var x = this[0];
-      if ((x & 1) == 0) {
-        return 0;
-      }
-      var y = x & 3;
-      y = y * (2 - (x & 15) * y) & 15;
-      y = y * (2 - (x & 255) * y) & 255;
-      y = y * (2 - ((x & 65535) * y & 65535)) & 65535;
-      y = y * (2 - x * y % this.DV) % this.DV;
-      return y > 0 ? this.DV - y : -y;
-    };
-    BigInteger2.prototype.isEven = function() {
-      return (this.t > 0 ? this[0] & 1 : this.s) == 0;
-    };
-    BigInteger2.prototype.exp = function(e, z) {
-      if (e > 4294967295 || e < 1) {
-        return BigInteger2.ONE;
-      }
-      var r = nbi();
-      var r2 = nbi();
-      var g = z.convert(this);
-      var i = nbits(e) - 1;
-      g.copyTo(r);
-      while (--i >= 0) {
-        z.sqrTo(r, r2);
-        if ((e & 1 << i) > 0) {
-          z.mulTo(r2, g, r);
-        } else {
-          var t = r;
-          r = r2;
-          r2 = t;
-        }
-      }
-      return z.revert(r);
-    };
-    BigInteger2.prototype.chunkSize = function(r) {
-      return Math.floor(Math.LN2 * this.DB / Math.log(r));
-    };
-    BigInteger2.prototype.toRadix = function(b) {
-      if (b == null) {
-        b = 10;
-      }
-      if (this.signum() == 0 || b < 2 || b > 36) {
-        return "0";
-      }
-      var cs = this.chunkSize(b);
-      var a = Math.pow(b, cs);
-      var d = nbv(a);
-      var y = nbi();
-      var z = nbi();
-      var r = "";
-      this.divRemTo(d, y, z);
-      while (y.signum() > 0) {
-        r = (a + z.intValue()).toString(b).substr(1) + r;
-        y.divRemTo(d, y, z);
-      }
-      return z.intValue().toString(b) + r;
-    };
-    BigInteger2.prototype.fromRadix = function(s, b) {
-      this.fromInt(0);
-      if (b == null) {
-        b = 10;
-      }
-      var cs = this.chunkSize(b);
-      var d = Math.pow(b, cs);
-      var mi = false;
-      var j = 0;
-      var w = 0;
-      for (var i = 0; i < s.length; ++i) {
-        var x = intAt(s, i);
-        if (x < 0) {
-          if (s.charAt(i) == "-" && this.signum() == 0) {
-            mi = true;
-          }
-          continue;
-        }
-        w = b * w + x;
-        if (++j >= cs) {
-          this.dMultiply(d);
-          this.dAddOffset(w, 0);
-          j = 0;
-          w = 0;
-        }
-      }
-      if (j > 0) {
-        this.dMultiply(Math.pow(b, j));
-        this.dAddOffset(w, 0);
-      }
-      if (mi) {
-        BigInteger2.ZERO.subTo(this, this);
-      }
-    };
-    BigInteger2.prototype.fromNumber = function(a, b, c) {
-      if ("number" == typeof b) {
-        if (a < 2) {
-          this.fromInt(1);
-        } else {
-          this.fromNumber(a, c);
-          if (!this.testBit(a - 1)) {
-            this.bitwiseTo(BigInteger2.ONE.shiftLeft(a - 1), op_or, this);
-          }
-          if (this.isEven()) {
-            this.dAddOffset(1, 0);
-          }
-          while (!this.isProbablePrime(b)) {
-            this.dAddOffset(2, 0);
-            if (this.bitLength() > a) {
-              this.subTo(BigInteger2.ONE.shiftLeft(a - 1), this);
-            }
-          }
-        }
-      } else {
-        var x = [];
-        var t = a & 7;
-        x.length = (a >> 3) + 1;
-        b.nextBytes(x);
-        if (t > 0) {
-          x[0] &= (1 << t) - 1;
-        } else {
-          x[0] = 0;
-        }
-        this.fromString(x, 256);
-      }
-    };
-    BigInteger2.prototype.bitwiseTo = function(a, op, r) {
-      var i;
-      var f;
-      var m = Math.min(a.t, this.t);
-      for (i = 0; i < m; ++i) {
-        r[i] = op(this[i], a[i]);
-      }
-      if (a.t < this.t) {
-        f = a.s & this.DM;
-        for (i = m; i < this.t; ++i) {
-          r[i] = op(this[i], f);
-        }
-        r.t = this.t;
-      } else {
-        f = this.s & this.DM;
-        for (i = m; i < a.t; ++i) {
-          r[i] = op(f, a[i]);
-        }
-        r.t = a.t;
-      }
-      r.s = op(this.s, a.s);
-      r.clamp();
-    };
-    BigInteger2.prototype.changeBit = function(n, op) {
-      var r = BigInteger2.ONE.shiftLeft(n);
-      this.bitwiseTo(r, op, r);
-      return r;
-    };
-    BigInteger2.prototype.addTo = function(a, r) {
-      var i = 0;
-      var c = 0;
-      var m = Math.min(a.t, this.t);
-      while (i < m) {
-        c += this[i] + a[i];
-        r[i++] = c & this.DM;
-        c >>= this.DB;
-      }
-      if (a.t < this.t) {
-        c += a.s;
-        while (i < this.t) {
-          c += this[i];
-          r[i++] = c & this.DM;
-          c >>= this.DB;
-        }
-        c += this.s;
-      } else {
-        c += this.s;
-        while (i < a.t) {
-          c += a[i];
-          r[i++] = c & this.DM;
-          c >>= this.DB;
-        }
-        c += a.s;
-      }
-      r.s = c < 0 ? -1 : 0;
-      if (c > 0) {
-        r[i++] = c;
-      } else if (c < -1) {
-        r[i++] = this.DV + c;
-      }
-      r.t = i;
-      r.clamp();
-    };
-    BigInteger2.prototype.dMultiply = function(n) {
-      this[this.t] = this.am(0, n - 1, this, 0, 0, this.t);
-      ++this.t;
-      this.clamp();
-    };
-    BigInteger2.prototype.dAddOffset = function(n, w) {
-      if (n == 0) {
-        return;
-      }
-      while (this.t <= w) {
-        this[this.t++] = 0;
-      }
-      this[w] += n;
-      while (this[w] >= this.DV) {
-        this[w] -= this.DV;
-        if (++w >= this.t) {
-          this[this.t++] = 0;
-        }
-        ++this[w];
-      }
-    };
-    BigInteger2.prototype.multiplyLowerTo = function(a, n, r) {
-      var i = Math.min(this.t + a.t, n);
-      r.s = 0;
-      r.t = i;
-      while (i > 0) {
-        r[--i] = 0;
-      }
-      for (var j = r.t - this.t; i < j; ++i) {
-        r[i + this.t] = this.am(0, a[i], r, i, 0, this.t);
-      }
-      for (var j = Math.min(a.t, n); i < j; ++i) {
-        this.am(0, a[i], r, i, 0, n - i);
-      }
-      r.clamp();
-    };
-    BigInteger2.prototype.multiplyUpperTo = function(a, n, r) {
-      --n;
-      var i = r.t = this.t + a.t - n;
-      r.s = 0;
-      while (--i >= 0) {
-        r[i] = 0;
-      }
-      for (i = Math.max(n - this.t, 0); i < a.t; ++i) {
-        r[this.t + i - n] = this.am(n - i, a[i], r, 0, 0, this.t + i - n);
-      }
-      r.clamp();
-      r.drShiftTo(1, r);
-    };
-    BigInteger2.prototype.modInt = function(n) {
-      if (n <= 0) {
-        return 0;
-      }
-      var d = this.DV % n;
-      var r = this.s < 0 ? n - 1 : 0;
-      if (this.t > 0) {
-        if (d == 0) {
-          r = this[0] % n;
-        } else {
-          for (var i = this.t - 1; i >= 0; --i) {
-            r = (d * r + this[i]) % n;
-          }
-        }
-      }
-      return r;
-    };
-    BigInteger2.prototype.millerRabin = function(t) {
-      var n1 = this.subtract(BigInteger2.ONE);
-      var k = n1.getLowestSetBit();
-      if (k <= 0) {
-        return false;
-      }
-      var r = n1.shiftRight(k);
-      t = t + 1 >> 1;
-      if (t > lowprimes.length) {
-        t = lowprimes.length;
-      }
-      var a = nbi();
-      for (var i = 0; i < t; ++i) {
-        a.fromInt(lowprimes[Math.floor(Math.random() * lowprimes.length)]);
-        var y = a.modPow(r, this);
-        if (y.compareTo(BigInteger2.ONE) != 0 && y.compareTo(n1) != 0) {
-          var j = 1;
-          while (j++ < k && y.compareTo(n1) != 0) {
-            y = y.modPowInt(2, this);
-            if (y.compareTo(BigInteger2.ONE) == 0) {
-              return false;
-            }
-          }
-          if (y.compareTo(n1) != 0) {
-            return false;
-          }
-        }
-      }
-      return true;
-    };
-    BigInteger2.prototype.square = function() {
-      var r = nbi();
-      this.squareTo(r);
-      return r;
-    };
-    BigInteger2.prototype.gcda = function(a, callback) {
-      var x = this.s < 0 ? this.negate() : this.clone();
-      var y = a.s < 0 ? a.negate() : a.clone();
-      if (x.compareTo(y) < 0) {
-        var t = x;
-        x = y;
-        y = t;
-      }
-      var i = x.getLowestSetBit();
-      var g = y.getLowestSetBit();
-      if (g < 0) {
-        callback(x);
-        return;
-      }
-      if (i < g) {
-        g = i;
-      }
-      if (g > 0) {
-        x.rShiftTo(g, x);
-        y.rShiftTo(g, y);
-      }
-      var gcda1 = function() {
-        if ((i = x.getLowestSetBit()) > 0) {
-          x.rShiftTo(i, x);
-        }
-        if ((i = y.getLowestSetBit()) > 0) {
-          y.rShiftTo(i, y);
-        }
-        if (x.compareTo(y) >= 0) {
-          x.subTo(y, x);
-          x.rShiftTo(1, x);
-        } else {
-          y.subTo(x, y);
-          y.rShiftTo(1, y);
-        }
-        if (!(x.signum() > 0)) {
-          if (g > 0) {
-            y.lShiftTo(g, y);
-          }
-          setTimeout(function() {
-            callback(y);
-          }, 0);
-        } else {
-          setTimeout(gcda1, 0);
-        }
-      };
-      setTimeout(gcda1, 10);
-    };
-    BigInteger2.prototype.fromNumberAsync = function(a, b, c, callback) {
-      if ("number" == typeof b) {
-        if (a < 2) {
-          this.fromInt(1);
-        } else {
-          this.fromNumber(a, c);
-          if (!this.testBit(a - 1)) {
-            this.bitwiseTo(BigInteger2.ONE.shiftLeft(a - 1), op_or, this);
-          }
-          if (this.isEven()) {
-            this.dAddOffset(1, 0);
-          }
-          var bnp_1 = this;
-          var bnpfn1_1 = function() {
-            bnp_1.dAddOffset(2, 0);
-            if (bnp_1.bitLength() > a) {
-              bnp_1.subTo(BigInteger2.ONE.shiftLeft(a - 1), bnp_1);
-            }
-            if (bnp_1.isProbablePrime(b)) {
-              setTimeout(function() {
-                callback();
-              }, 0);
-            } else {
-              setTimeout(bnpfn1_1, 0);
-            }
-          };
-          setTimeout(bnpfn1_1, 0);
-        }
-      } else {
-        var x = [];
-        var t = a & 7;
-        x.length = (a >> 3) + 1;
-        b.nextBytes(x);
-        if (t > 0) {
-          x[0] &= (1 << t) - 1;
-        } else {
-          x[0] = 0;
-        }
-        this.fromString(x, 256);
-      }
-    };
-    return BigInteger2;
-  }()
-);
-var NullExp = (
-  /** @class */
-  function() {
-    function NullExp2() {
-    }
-    NullExp2.prototype.convert = function(x) {
-      return x;
-    };
-    NullExp2.prototype.revert = function(x) {
-      return x;
-    };
-    NullExp2.prototype.mulTo = function(x, y, r) {
-      x.multiplyTo(y, r);
-    };
-    NullExp2.prototype.sqrTo = function(x, r) {
-      x.squareTo(r);
-    };
-    return NullExp2;
-  }()
-);
-var Classic = (
-  /** @class */
-  function() {
-    function Classic2(m) {
-      this.m = m;
-    }
-    Classic2.prototype.convert = function(x) {
-      if (x.s < 0 || x.compareTo(this.m) >= 0) {
-        return x.mod(this.m);
-      } else {
-        return x;
-      }
-    };
-    Classic2.prototype.revert = function(x) {
-      return x;
-    };
-    Classic2.prototype.reduce = function(x) {
-      x.divRemTo(this.m, null, x);
-    };
-    Classic2.prototype.mulTo = function(x, y, r) {
-      x.multiplyTo(y, r);
-      this.reduce(r);
-    };
-    Classic2.prototype.sqrTo = function(x, r) {
-      x.squareTo(r);
-      this.reduce(r);
-    };
-    return Classic2;
-  }()
-);
-var Montgomery = (
-  /** @class */
-  function() {
-    function Montgomery2(m) {
-      this.m = m;
-      this.mp = m.invDigit();
-      this.mpl = this.mp & 32767;
-      this.mph = this.mp >> 15;
-      this.um = (1 << m.DB - 15) - 1;
-      this.mt2 = 2 * m.t;
-    }
-    Montgomery2.prototype.convert = function(x) {
-      var r = nbi();
-      x.abs().dlShiftTo(this.m.t, r);
-      r.divRemTo(this.m, null, r);
-      if (x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) {
-        this.m.subTo(r, r);
-      }
-      return r;
-    };
-    Montgomery2.prototype.revert = function(x) {
-      var r = nbi();
-      x.copyTo(r);
-      this.reduce(r);
-      return r;
-    };
-    Montgomery2.prototype.reduce = function(x) {
-      while (x.t <= this.mt2) {
-        x[x.t++] = 0;
-      }
-      for (var i = 0; i < this.m.t; ++i) {
-        var j = x[i] & 32767;
-        var u0 = j * this.mpl + ((j * this.mph + (x[i] >> 15) * this.mpl & this.um) << 15) & x.DM;
-        j = i + this.m.t;
-        x[j] += this.m.am(0, u0, x, i, 0, this.m.t);
-        while (x[j] >= x.DV) {
-          x[j] -= x.DV;
-          x[++j]++;
-        }
-      }
-      x.clamp();
-      x.drShiftTo(this.m.t, x);
-      if (x.compareTo(this.m) >= 0) {
-        x.subTo(this.m, x);
-      }
-    };
-    Montgomery2.prototype.mulTo = function(x, y, r) {
-      x.multiplyTo(y, r);
-      this.reduce(r);
-    };
-    Montgomery2.prototype.sqrTo = function(x, r) {
-      x.squareTo(r);
-      this.reduce(r);
-    };
-    return Montgomery2;
-  }()
-);
-var Barrett = (
-  /** @class */
-  function() {
-    function Barrett2(m) {
-      this.m = m;
-      this.r2 = nbi();
-      this.q3 = nbi();
-      BigInteger.ONE.dlShiftTo(2 * m.t, this.r2);
-      this.mu = this.r2.divide(m);
-    }
-    Barrett2.prototype.convert = function(x) {
-      if (x.s < 0 || x.t > 2 * this.m.t) {
-        return x.mod(this.m);
-      } else if (x.compareTo(this.m) < 0) {
-        return x;
-      } else {
-        var r = nbi();
-        x.copyTo(r);
-        this.reduce(r);
-        return r;
-      }
-    };
-    Barrett2.prototype.revert = function(x) {
-      return x;
-    };
-    Barrett2.prototype.reduce = function(x) {
-      x.drShiftTo(this.m.t - 1, this.r2);
-      if (x.t > this.m.t + 1) {
-        x.t = this.m.t + 1;
-        x.clamp();
-      }
-      this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3);
-      this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2);
-      while (x.compareTo(this.r2) < 0) {
-        x.dAddOffset(1, this.m.t + 1);
-      }
-      x.subTo(this.r2, x);
-      while (x.compareTo(this.m) >= 0) {
-        x.subTo(this.m, x);
-      }
-    };
-    Barrett2.prototype.mulTo = function(x, y, r) {
-      x.multiplyTo(y, r);
-      this.reduce(r);
-    };
-    Barrett2.prototype.sqrTo = function(x, r) {
-      x.squareTo(r);
-      this.reduce(r);
-    };
-    return Barrett2;
-  }()
-);
-function nbi() {
-  return new BigInteger(null);
-}
-function parseBigInt(str, r) {
-  return new BigInteger(str, r);
-}
-var inBrowser = typeof navigator !== "undefined";
-if (inBrowser && j_lm && navigator.appName == "Microsoft Internet Explorer") {
-  BigInteger.prototype.am = function am2(i, x, w, j, c, n) {
-    var xl = x & 32767;
-    var xh = x >> 15;
-    while (--n >= 0) {
-      var l = this[i] & 32767;
-      var h = this[i++] >> 15;
-      var m = xh * l + h * xl;
-      l = xl * l + ((m & 32767) << 15) + w[j] + (c & 1073741823);
-      c = (l >>> 30) + (m >>> 15) + xh * h + (c >>> 30);
-      w[j++] = l & 1073741823;
-    }
-    return c;
-  };
-  dbits = 30;
-} else if (inBrowser && j_lm && navigator.appName != "Netscape") {
-  BigInteger.prototype.am = function am1(i, x, w, j, c, n) {
-    while (--n >= 0) {
-      var v = x * this[i++] + w[j] + c;
-      c = Math.floor(v / 67108864);
-      w[j++] = v & 67108863;
-    }
-    return c;
-  };
-  dbits = 26;
-} else {
-  BigInteger.prototype.am = function am3(i, x, w, j, c, n) {
-    var xl = x & 16383;
-    var xh = x >> 14;
-    while (--n >= 0) {
-      var l = this[i] & 16383;
-      var h = this[i++] >> 14;
-      var m = xh * l + h * xl;
-      l = xl * l + ((m & 16383) << 14) + w[j] + c;
-      c = (l >> 28) + (m >> 14) + xh * h;
-      w[j++] = l & 268435455;
-    }
-    return c;
-  };
-  dbits = 28;
-}
-BigInteger.prototype.DB = dbits;
-BigInteger.prototype.DM = (1 << dbits) - 1;
-BigInteger.prototype.DV = 1 << dbits;
-var BI_FP = 52;
-BigInteger.prototype.FV = Math.pow(2, BI_FP);
-BigInteger.prototype.F1 = BI_FP - dbits;
-BigInteger.prototype.F2 = 2 * dbits - BI_FP;
-var BI_RC = [];
-var rr;
-var vv;
-rr = "0".charCodeAt(0);
-for (vv = 0; vv <= 9; ++vv) {
-  BI_RC[rr++] = vv;
-}
-rr = "a".charCodeAt(0);
-for (vv = 10; vv < 36; ++vv) {
-  BI_RC[rr++] = vv;
-}
-rr = "A".charCodeAt(0);
-for (vv = 10; vv < 36; ++vv) {
-  BI_RC[rr++] = vv;
-}
-function intAt(s, i) {
-  var c = BI_RC[s.charCodeAt(i)];
-  return c == null ? -1 : c;
-}
-function nbv(i) {
-  var r = nbi();
-  r.fromInt(i);
-  return r;
-}
-function nbits(x) {
-  var r = 1;
-  var t;
-  if ((t = x >>> 16) != 0) {
-    x = t;
-    r += 16;
-  }
-  if ((t = x >> 8) != 0) {
-    x = t;
-    r += 8;
-  }
-  if ((t = x >> 4) != 0) {
-    x = t;
-    r += 4;
-  }
-  if ((t = x >> 2) != 0) {
-    x = t;
-    r += 2;
-  }
-  if ((t = x >> 1) != 0) {
-    x = t;
-    r += 1;
-  }
-  return r;
-}
-BigInteger.ZERO = nbv(0);
-BigInteger.ONE = nbv(1);
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/jsbn/prng4.js
-var Arcfour = (
-  /** @class */
-  function() {
-    function Arcfour2() {
-      this.i = 0;
-      this.j = 0;
-      this.S = [];
-    }
-    Arcfour2.prototype.init = function(key) {
-      var i;
-      var j;
-      var t;
-      for (i = 0; i < 256; ++i) {
-        this.S[i] = i;
-      }
-      j = 0;
-      for (i = 0; i < 256; ++i) {
-        j = j + this.S[i] + key[i % key.length] & 255;
-        t = this.S[i];
-        this.S[i] = this.S[j];
-        this.S[j] = t;
-      }
-      this.i = 0;
-      this.j = 0;
-    };
-    Arcfour2.prototype.next = function() {
-      var t;
-      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;
-      return this.S[t + this.S[this.i] & 255];
-    };
-    return Arcfour2;
-  }()
-);
-function prng_newstate() {
-  return new Arcfour();
-}
-var rng_psize = 256;
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/jsbn/rng.js
-var rng_state;
-var rng_pool = null;
-var rng_pptr;
-if (rng_pool == null) {
-  rng_pool = [];
-  rng_pptr = 0;
-  t = void 0;
-  if (typeof window !== "undefined" && window.crypto && window.crypto.getRandomValues) {
-    z = new Uint32Array(256);
-    window.crypto.getRandomValues(z);
-    for (t = 0; t < z.length; ++t) {
-      rng_pool[rng_pptr++] = z[t] & 255;
-    }
-  }
-  count = 0;
-  onMouseMoveListener_1 = function(ev) {
-    count = count || 0;
-    if (count >= 256 || rng_pptr >= rng_psize) {
-      if (window.removeEventListener) {
-        window.removeEventListener("mousemove", onMouseMoveListener_1, false);
-      } else if (window.detachEvent) {
-        window.detachEvent("onmousemove", onMouseMoveListener_1);
-      }
-      return;
-    }
-    try {
-      var mouseCoordinates = ev.x + ev.y;
-      rng_pool[rng_pptr++] = mouseCoordinates & 255;
-      count += 1;
-    } catch (e) {
-    }
-  };
-  if (typeof window !== "undefined") {
-    if (window.addEventListener) {
-      window.addEventListener("mousemove", onMouseMoveListener_1, false);
-    } else if (window.attachEvent) {
-      window.attachEvent("onmousemove", onMouseMoveListener_1);
-    }
-  }
-}
-var t;
-var z;
-var count;
-var onMouseMoveListener_1;
-function rng_get_byte() {
-  if (rng_state == null) {
-    rng_state = prng_newstate();
-    while (rng_pptr < rng_psize) {
-      var random = Math.floor(65536 * Math.random());
-      rng_pool[rng_pptr++] = random & 255;
-    }
-    rng_state.init(rng_pool);
-    for (rng_pptr = 0; rng_pptr < rng_pool.length; ++rng_pptr) {
-      rng_pool[rng_pptr] = 0;
-    }
-    rng_pptr = 0;
-  }
-  return rng_state.next();
-}
-var SecureRandom = (
-  /** @class */
-  function() {
-    function SecureRandom2() {
-    }
-    SecureRandom2.prototype.nextBytes = function(ba) {
-      for (var i = 0; i < ba.length; ++i) {
-        ba[i] = rng_get_byte();
-      }
-    };
-    return SecureRandom2;
-  }()
-);
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/jsbn/rsa.js
-function pkcs1pad1(s, n) {
-  if (n < s.length + 22) {
-    console.error("Message too long for RSA");
-    return null;
-  }
-  var len = n - s.length - 6;
-  var filler = "";
-  for (var f = 0; f < len; f += 2) {
-    filler += "ff";
-  }
-  var m = "0001" + filler + "00" + s;
-  return parseBigInt(m, 16);
-}
-function pkcs1pad2(s, n) {
-  if (n < s.length + 11) {
-    console.error("Message too long for RSA");
-    return null;
-  }
-  var ba = [];
-  var i = s.length - 1;
-  while (i >= 0 && n > 0) {
-    var c = s.charCodeAt(i--);
-    if (c < 128) {
-      ba[--n] = c;
-    } else if (c > 127 && c < 2048) {
-      ba[--n] = c & 63 | 128;
-      ba[--n] = c >> 6 | 192;
-    } else {
-      ba[--n] = c & 63 | 128;
-      ba[--n] = c >> 6 & 63 | 128;
-      ba[--n] = c >> 12 | 224;
-    }
-  }
-  ba[--n] = 0;
-  var rng = new SecureRandom();
-  var x = [];
-  while (n > 2) {
-    x[0] = 0;
-    while (x[0] == 0) {
-      rng.nextBytes(x);
-    }
-    ba[--n] = x[0];
-  }
-  ba[--n] = 2;
-  ba[--n] = 0;
-  return new BigInteger(ba);
-}
-var RSAKey = (
-  /** @class */
-  function() {
-    function RSAKey2() {
-      this.n = null;
-      this.e = 0;
-      this.d = null;
-      this.p = null;
-      this.q = null;
-      this.dmp1 = null;
-      this.dmq1 = null;
-      this.coeff = null;
-    }
-    RSAKey2.prototype.doPublic = function(x) {
-      return x.modPowInt(this.e, this.n);
-    };
-    RSAKey2.prototype.doPrivate = function(x) {
-      if (this.p == null || this.q == null) {
-        return x.modPow(this.d, this.n);
-      }
-      var xp = x.mod(this.p).modPow(this.dmp1, this.p);
-      var xq = x.mod(this.q).modPow(this.dmq1, this.q);
-      while (xp.compareTo(xq) < 0) {
-        xp = xp.add(this.p);
-      }
-      return xp.subtract(xq).multiply(this.coeff).mod(this.p).multiply(this.q).add(xq);
-    };
-    RSAKey2.prototype.setPublic = function(N, E) {
-      if (N != null && E != null && N.length > 0 && E.length > 0) {
-        this.n = parseBigInt(N, 16);
-        this.e = parseInt(E, 16);
-      } else {
-        console.error("Invalid RSA public key");
-      }
-    };
-    RSAKey2.prototype.encrypt = function(text) {
-      var maxLength = this.n.bitLength() + 7 >> 3;
-      var m = pkcs1pad2(text, maxLength);
-      if (m == null) {
-        return null;
-      }
-      var c = this.doPublic(m);
-      if (c == null) {
-        return null;
-      }
-      var h = c.toString(16);
-      var length = h.length;
-      for (var i = 0; i < maxLength * 2 - length; i++) {
-        h = "0" + h;
-      }
-      return h;
-    };
-    RSAKey2.prototype.setPrivate = function(N, E, D) {
-      if (N != null && E != null && N.length > 0 && E.length > 0) {
-        this.n = parseBigInt(N, 16);
-        this.e = parseInt(E, 16);
-        this.d = parseBigInt(D, 16);
-      } else {
-        console.error("Invalid RSA private key");
-      }
-    };
-    RSAKey2.prototype.setPrivateEx = function(N, E, D, P, Q, DP, DQ, C) {
-      if (N != null && E != null && N.length > 0 && E.length > 0) {
-        this.n = parseBigInt(N, 16);
-        this.e = parseInt(E, 16);
-        this.d = parseBigInt(D, 16);
-        this.p = parseBigInt(P, 16);
-        this.q = parseBigInt(Q, 16);
-        this.dmp1 = parseBigInt(DP, 16);
-        this.dmq1 = parseBigInt(DQ, 16);
-        this.coeff = parseBigInt(C, 16);
-      } else {
-        console.error("Invalid RSA private key");
-      }
-    };
-    RSAKey2.prototype.generate = function(B, E) {
-      var rng = new SecureRandom();
-      var qs = B >> 1;
-      this.e = parseInt(E, 16);
-      var ee = new BigInteger(E, 16);
-      for (; ; ) {
-        for (; ; ) {
-          this.p = new BigInteger(B - qs, 1, rng);
-          if (this.p.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) == 0 && this.p.isProbablePrime(10)) {
-            break;
-          }
-        }
-        for (; ; ) {
-          this.q = new BigInteger(qs, 1, rng);
-          if (this.q.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) == 0 && this.q.isProbablePrime(10)) {
-            break;
-          }
-        }
-        if (this.p.compareTo(this.q) <= 0) {
-          var t = this.p;
-          this.p = this.q;
-          this.q = t;
-        }
-        var p1 = this.p.subtract(BigInteger.ONE);
-        var q1 = this.q.subtract(BigInteger.ONE);
-        var phi = p1.multiply(q1);
-        if (phi.gcd(ee).compareTo(BigInteger.ONE) == 0) {
-          this.n = this.p.multiply(this.q);
-          this.d = ee.modInverse(phi);
-          this.dmp1 = this.d.mod(p1);
-          this.dmq1 = this.d.mod(q1);
-          this.coeff = this.q.modInverse(this.p);
-          break;
-        }
-      }
-    };
-    RSAKey2.prototype.decrypt = function(ctext) {
-      var c = parseBigInt(ctext, 16);
-      var m = this.doPrivate(c);
-      if (m == null) {
-        return null;
-      }
-      return pkcs1unpad2(m, this.n.bitLength() + 7 >> 3);
-    };
-    RSAKey2.prototype.generateAsync = function(B, E, callback) {
-      var rng = new SecureRandom();
-      var qs = B >> 1;
-      this.e = parseInt(E, 16);
-      var ee = new BigInteger(E, 16);
-      var rsa = this;
-      var loop1 = function() {
-        var loop4 = function() {
-          if (rsa.p.compareTo(rsa.q) <= 0) {
-            var t = rsa.p;
-            rsa.p = rsa.q;
-            rsa.q = t;
-          }
-          var p1 = rsa.p.subtract(BigInteger.ONE);
-          var q1 = rsa.q.subtract(BigInteger.ONE);
-          var phi = p1.multiply(q1);
-          if (phi.gcd(ee).compareTo(BigInteger.ONE) == 0) {
-            rsa.n = rsa.p.multiply(rsa.q);
-            rsa.d = ee.modInverse(phi);
-            rsa.dmp1 = rsa.d.mod(p1);
-            rsa.dmq1 = rsa.d.mod(q1);
-            rsa.coeff = rsa.q.modInverse(rsa.p);
-            setTimeout(function() {
-              callback();
-            }, 0);
-          } else {
-            setTimeout(loop1, 0);
-          }
-        };
-        var loop3 = function() {
-          rsa.q = nbi();
-          rsa.q.fromNumberAsync(qs, 1, rng, function() {
-            rsa.q.subtract(BigInteger.ONE).gcda(ee, function(r) {
-              if (r.compareTo(BigInteger.ONE) == 0 && rsa.q.isProbablePrime(10)) {
-                setTimeout(loop4, 0);
-              } else {
-                setTimeout(loop3, 0);
-              }
-            });
-          });
-        };
-        var loop2 = function() {
-          rsa.p = nbi();
-          rsa.p.fromNumberAsync(B - qs, 1, rng, function() {
-            rsa.p.subtract(BigInteger.ONE).gcda(ee, function(r) {
-              if (r.compareTo(BigInteger.ONE) == 0 && rsa.p.isProbablePrime(10)) {
-                setTimeout(loop3, 0);
-              } else {
-                setTimeout(loop2, 0);
-              }
-            });
-          });
-        };
-        setTimeout(loop2, 0);
-      };
-      setTimeout(loop1, 0);
-    };
-    RSAKey2.prototype.sign = function(text, digestMethod, digestName) {
-      var header = getDigestHeader(digestName);
-      var digest = header + digestMethod(text).toString();
-      var m = pkcs1pad1(digest, this.n.bitLength() / 4);
-      if (m == null) {
-        return null;
-      }
-      var c = this.doPrivate(m);
-      if (c == null) {
-        return null;
-      }
-      var h = c.toString(16);
-      if ((h.length & 1) == 0) {
-        return h;
-      } else {
-        return "0" + h;
-      }
-    };
-    RSAKey2.prototype.verify = function(text, signature, digestMethod) {
-      var c = parseBigInt(signature, 16);
-      var m = this.doPublic(c);
-      if (m == null) {
-        return null;
-      }
-      var unpadded = m.toString(16).replace(/^1f+00/, "");
-      var digest = removeDigestHeader(unpadded);
-      return digest == digestMethod(text).toString();
-    };
-    return RSAKey2;
-  }()
-);
-function pkcs1unpad2(d, n) {
-  var b = d.toByteArray();
-  var i = 0;
-  while (i < b.length && b[i] == 0) {
-    ++i;
-  }
-  if (b.length - i != n - 1 || b[i] != 2) {
-    return null;
-  }
-  ++i;
-  while (b[i] != 0) {
-    if (++i >= b.length) {
-      return null;
-    }
-  }
-  var ret = "";
-  while (++i < b.length) {
-    var c = b[i] & 255;
-    if (c < 128) {
-      ret += String.fromCharCode(c);
-    } else if (c > 191 && c < 224) {
-      ret += String.fromCharCode((c & 31) << 6 | b[i + 1] & 63);
-      ++i;
-    } else {
-      ret += String.fromCharCode((c & 15) << 12 | (b[i + 1] & 63) << 6 | b[i + 2] & 63);
-      i += 2;
-    }
-  }
-  return ret;
-}
-var DIGEST_HEADERS = {
-  md2: "3020300c06082a864886f70d020205000410",
-  md5: "3020300c06082a864886f70d020505000410",
-  sha1: "3021300906052b0e03021a05000414",
-  sha224: "302d300d06096086480165030402040500041c",
-  sha256: "3031300d060960864801650304020105000420",
-  sha384: "3041300d060960864801650304020205000430",
-  sha512: "3051300d060960864801650304020305000440",
-  ripemd160: "3021300906052b2403020105000414"
-};
-function getDigestHeader(name) {
-  return DIGEST_HEADERS[name] || "";
-}
-function removeDigestHeader(str) {
-  for (var name_1 in DIGEST_HEADERS) {
-    if (DIGEST_HEADERS.hasOwnProperty(name_1)) {
-      var header = DIGEST_HEADERS[name_1];
-      var len = header.length;
-      if (str.substr(0, len) == header) {
-        return str.substr(len);
-      }
-    }
-  }
-  return str;
-}
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js
-var YAHOO = {};
-YAHOO.lang = {
-  /**
-   * Utility to set up the prototype, constructor and superclass properties to
-   * support an inheritance strategy that can chain constructors and methods.
-   * Static members will not be inherited.
-   *
-   * @method extend
-   * @static
-   * @param {Function} subc   the object to modify
-   * @param {Function} superc the object to inherit
-   * @param {Object} overrides  additional properties/methods to add to the
-   *                              subclass prototype.  These will override the
-   *                              matching items obtained from the superclass
-   *                              if present.
-   */
-  extend: function(subc, superc, overrides) {
-    if (!superc || !subc) {
-      throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");
-    }
-    var F = function() {
-    };
-    F.prototype = superc.prototype;
-    subc.prototype = new F();
-    subc.prototype.constructor = subc;
-    subc.superclass = superc.prototype;
-    if (superc.prototype.constructor == Object.prototype.constructor) {
-      superc.prototype.constructor = superc;
-    }
-    if (overrides) {
-      var i;
-      for (i in overrides) {
-        subc.prototype[i] = overrides[i];
-      }
-      var _IEEnumFix = function() {
-      }, ADD = ["toString", "valueOf"];
-      try {
-        if (/MSIE/.test(navigator.userAgent)) {
-          _IEEnumFix = function(r, s) {
-            for (i = 0; i < ADD.length; i = i + 1) {
-              var fname = ADD[i], f = s[fname];
-              if (typeof f === "function" && f != Object.prototype[fname]) {
-                r[fname] = f;
-              }
-            }
-          };
-        }
-      } catch (ex) {
-      }
-      ;
-      _IEEnumFix(subc.prototype, overrides);
-    }
-  }
-};
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js
-var KJUR = {};
-if (typeof KJUR.asn1 == "undefined" || !KJUR.asn1)
-  KJUR.asn1 = {};
-KJUR.asn1.ASN1Util = new function() {
-  this.integerToByteHex = function(i) {
-    var h = i.toString(16);
-    if (h.length % 2 == 1)
-      h = "0" + h;
-    return h;
-  };
-  this.bigIntToMinTwosComplementsHex = function(bigIntegerValue) {
-    var h = bigIntegerValue.toString(16);
-    if (h.substr(0, 1) != "-") {
-      if (h.length % 2 == 1) {
-        h = "0" + h;
-      } else {
-        if (!h.match(/^[0-7]/)) {
-          h = "00" + h;
-        }
-      }
-    } else {
-      var hPos = h.substr(1);
-      var xorLen = hPos.length;
-      if (xorLen % 2 == 1) {
-        xorLen += 1;
-      } else {
-        if (!h.match(/^[0-7]/)) {
-          xorLen += 2;
-        }
-      }
-      var hMask = "";
-      for (var i = 0; i < xorLen; i++) {
-        hMask += "f";
-      }
-      var biMask = new BigInteger(hMask, 16);
-      var biNeg = biMask.xor(bigIntegerValue).add(BigInteger.ONE);
-      h = biNeg.toString(16).replace(/^-/, "");
-    }
-    return h;
-  };
-  this.getPEMStringFromHex = function(dataHex, pemHeader) {
-    return hextopem(dataHex, pemHeader);
-  };
-  this.newObject = function(param) {
-    var _KJUR = KJUR, _KJUR_asn1 = _KJUR.asn1, _DERBoolean = _KJUR_asn1.DERBoolean, _DERInteger = _KJUR_asn1.DERInteger, _DERBitString = _KJUR_asn1.DERBitString, _DEROctetString = _KJUR_asn1.DEROctetString, _DERNull = _KJUR_asn1.DERNull, _DERObjectIdentifier = _KJUR_asn1.DERObjectIdentifier, _DEREnumerated = _KJUR_asn1.DEREnumerated, _DERUTF8String = _KJUR_asn1.DERUTF8String, _DERNumericString = _KJUR_asn1.DERNumericString, _DERPrintableString = _KJUR_asn1.DERPrintableString, _DERTeletexString = _KJUR_asn1.DERTeletexString, _DERIA5String = _KJUR_asn1.DERIA5String, _DERUTCTime = _KJUR_asn1.DERUTCTime, _DERGeneralizedTime = _KJUR_asn1.DERGeneralizedTime, _DERSequence = _KJUR_asn1.DERSequence, _DERSet = _KJUR_asn1.DERSet, _DERTaggedObject = _KJUR_asn1.DERTaggedObject, _newObject = _KJUR_asn1.ASN1Util.newObject;
-    var keys = Object.keys(param);
-    if (keys.length != 1)
-      throw "key of param shall be only one.";
-    var key = keys[0];
-    if (":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + key + ":") == -1)
-      throw "undefined key: " + key;
-    if (key == "bool")
-      return new _DERBoolean(param[key]);
-    if (key == "int")
-      return new _DERInteger(param[key]);
-    if (key == "bitstr")
-      return new _DERBitString(param[key]);
-    if (key == "octstr")
-      return new _DEROctetString(param[key]);
-    if (key == "null")
-      return new _DERNull(param[key]);
-    if (key == "oid")
-      return new _DERObjectIdentifier(param[key]);
-    if (key == "enum")
-      return new _DEREnumerated(param[key]);
-    if (key == "utf8str")
-      return new _DERUTF8String(param[key]);
-    if (key == "numstr")
-      return new _DERNumericString(param[key]);
-    if (key == "prnstr")
-      return new _DERPrintableString(param[key]);
-    if (key == "telstr")
-      return new _DERTeletexString(param[key]);
-    if (key == "ia5str")
-      return new _DERIA5String(param[key]);
-    if (key == "utctime")
-      return new _DERUTCTime(param[key]);
-    if (key == "gentime")
-      return new _DERGeneralizedTime(param[key]);
-    if (key == "seq") {
-      var paramList = param[key];
-      var a = [];
-      for (var i = 0; i < paramList.length; i++) {
-        var asn1Obj = _newObject(paramList[i]);
-        a.push(asn1Obj);
-      }
-      return new _DERSequence({ "array": a });
-    }
-    if (key == "set") {
-      var paramList = param[key];
-      var a = [];
-      for (var i = 0; i < paramList.length; i++) {
-        var asn1Obj = _newObject(paramList[i]);
-        a.push(asn1Obj);
-      }
-      return new _DERSet({ "array": a });
-    }
-    if (key == "tag") {
-      var tagParam = param[key];
-      if (Object.prototype.toString.call(tagParam) === "[object Array]" && tagParam.length == 3) {
-        var obj = _newObject(tagParam[2]);
-        return new _DERTaggedObject({
-          tag: tagParam[0],
-          explicit: tagParam[1],
-          obj
-        });
-      } else {
-        var newParam = {};
-        if (tagParam.explicit !== void 0)
-          newParam.explicit = tagParam.explicit;
-        if (tagParam.tag !== void 0)
-          newParam.tag = tagParam.tag;
-        if (tagParam.obj === void 0)
-          throw "obj shall be specified for 'tag'.";
-        newParam.obj = _newObject(tagParam.obj);
-        return new _DERTaggedObject(newParam);
-      }
-    }
-  };
-  this.jsonToASN1HEX = function(param) {
-    var asn1Obj = this.newObject(param);
-    return asn1Obj.getEncodedHex();
-  };
-}();
-KJUR.asn1.ASN1Util.oidHexToInt = function(hex) {
-  var s = "";
-  var i01 = parseInt(hex.substr(0, 2), 16);
-  var i0 = Math.floor(i01 / 40);
-  var i1 = i01 % 40;
-  var s = i0 + "." + i1;
-  var binbuf = "";
-  for (var i = 2; i < hex.length; i += 2) {
-    var value = parseInt(hex.substr(i, 2), 16);
-    var bin = ("00000000" + value.toString(2)).slice(-8);
-    binbuf = binbuf + bin.substr(1, 7);
-    if (bin.substr(0, 1) == "0") {
-      var bi = new BigInteger(binbuf, 2);
-      s = s + "." + bi.toString(10);
-      binbuf = "";
-    }
-  }
-  ;
-  return s;
-};
-KJUR.asn1.ASN1Util.oidIntToHex = function(oidString) {
-  var itox = function(i2) {
-    var h2 = i2.toString(16);
-    if (h2.length == 1)
-      h2 = "0" + h2;
-    return h2;
-  };
-  var roidtox = function(roid) {
-    var h2 = "";
-    var bi = new BigInteger(roid, 10);
-    var b = bi.toString(2);
-    var padLen = 7 - b.length % 7;
-    if (padLen == 7)
-      padLen = 0;
-    var bPad = "";
-    for (var i2 = 0; i2 < padLen; i2++)
-      bPad += "0";
-    b = bPad + b;
-    for (var i2 = 0; i2 < b.length - 1; i2 += 7) {
-      var b8 = b.substr(i2, 7);
-      if (i2 != b.length - 7)
-        b8 = "1" + b8;
-      h2 += itox(parseInt(b8, 2));
-    }
-    return h2;
-  };
-  if (!oidString.match(/^[0-9.]+$/)) {
-    throw "malformed oid string: " + oidString;
-  }
-  var h = "";
-  var a = oidString.split(".");
-  var i0 = parseInt(a[0]) * 40 + parseInt(a[1]);
-  h += itox(i0);
-  a.splice(0, 2);
-  for (var i = 0; i < a.length; i++) {
-    h += roidtox(a[i]);
-  }
-  return h;
-};
-KJUR.asn1.ASN1Object = function() {
-  var isModified = true;
-  var hTLV = null;
-  var hT = "00";
-  var hL = "00";
-  var hV = "";
-  this.getLengthHexFromValue = function() {
-    if (typeof this.hV == "undefined" || this.hV == null) {
-      throw "this.hV is null or undefined.";
-    }
-    if (this.hV.length % 2 == 1) {
-      throw "value hex must be even length: n=" + hV.length + ",v=" + this.hV;
-    }
-    var n = this.hV.length / 2;
-    var hN = n.toString(16);
-    if (hN.length % 2 == 1) {
-      hN = "0" + hN;
-    }
-    if (n < 128) {
-      return hN;
-    } else {
-      var hNlen = hN.length / 2;
-      if (hNlen > 15) {
-        throw "ASN.1 length too long to represent by 8x: n = " + n.toString(16);
-      }
-      var head = 128 + hNlen;
-      return head.toString(16) + hN;
-    }
-  };
-  this.getEncodedHex = function() {
-    if (this.hTLV == null || this.isModified) {
-      this.hV = this.getFreshValueHex();
-      this.hL = this.getLengthHexFromValue();
-      this.hTLV = this.hT + this.hL + this.hV;
-      this.isModified = false;
-    }
-    return this.hTLV;
-  };
-  this.getValueHex = function() {
-    this.getEncodedHex();
-    return this.hV;
-  };
-  this.getFreshValueHex = function() {
-    return "";
-  };
-};
-KJUR.asn1.DERAbstractString = function(params) {
-  KJUR.asn1.DERAbstractString.superclass.constructor.call(this);
-  var s = null;
-  var hV = null;
-  this.getString = function() {
-    return this.s;
-  };
-  this.setString = function(newS) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.s = newS;
-    this.hV = stohex(this.s);
-  };
-  this.setStringHex = function(newHexString) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.s = null;
-    this.hV = newHexString;
-  };
-  this.getFreshValueHex = function() {
-    return this.hV;
-  };
-  if (typeof params != "undefined") {
-    if (typeof params == "string") {
-      this.setString(params);
-    } else if (typeof params["str"] != "undefined") {
-      this.setString(params["str"]);
-    } else if (typeof params["hex"] != "undefined") {
-      this.setStringHex(params["hex"]);
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERAbstractString, KJUR.asn1.ASN1Object);
-KJUR.asn1.DERAbstractTime = function(params) {
-  KJUR.asn1.DERAbstractTime.superclass.constructor.call(this);
-  var s = null;
-  var date = null;
-  this.localDateToUTC = function(d) {
-    utc = d.getTime() + d.getTimezoneOffset() * 6e4;
-    var utcDate = new Date(utc);
-    return utcDate;
-  };
-  this.formatDate = function(dateObject, type, withMillis) {
-    var pad = this.zeroPadding;
-    var d = this.localDateToUTC(dateObject);
-    var year = String(d.getFullYear());
-    if (type == "utc")
-      year = year.substr(2, 2);
-    var month = pad(String(d.getMonth() + 1), 2);
-    var day = pad(String(d.getDate()), 2);
-    var hour = pad(String(d.getHours()), 2);
-    var min = pad(String(d.getMinutes()), 2);
-    var sec = pad(String(d.getSeconds()), 2);
-    var s2 = year + month + day + hour + min + sec;
-    if (withMillis === true) {
-      var millis = d.getMilliseconds();
-      if (millis != 0) {
-        var sMillis = pad(String(millis), 3);
-        sMillis = sMillis.replace(/[0]+$/, "");
-        s2 = s2 + "." + sMillis;
-      }
-    }
-    return s2 + "Z";
-  };
-  this.zeroPadding = function(s2, len) {
-    if (s2.length >= len)
-      return s2;
-    return new Array(len - s2.length + 1).join("0") + s2;
-  };
-  this.getString = function() {
-    return this.s;
-  };
-  this.setString = function(newS) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.s = newS;
-    this.hV = stohex(newS);
-  };
-  this.setByDateValue = function(year, month, day, hour, min, sec) {
-    var dateObject = new Date(Date.UTC(year, month - 1, day, hour, min, sec, 0));
-    this.setByDate(dateObject);
-  };
-  this.getFreshValueHex = function() {
-    return this.hV;
-  };
-};
-YAHOO.lang.extend(KJUR.asn1.DERAbstractTime, KJUR.asn1.ASN1Object);
-KJUR.asn1.DERAbstractStructured = function(params) {
-  KJUR.asn1.DERAbstractString.superclass.constructor.call(this);
-  var asn1Array = null;
-  this.setByASN1ObjectArray = function(asn1ObjectArray) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.asn1Array = asn1ObjectArray;
-  };
-  this.appendASN1Object = function(asn1Object) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.asn1Array.push(asn1Object);
-  };
-  this.asn1Array = new Array();
-  if (typeof params != "undefined") {
-    if (typeof params["array"] != "undefined") {
-      this.asn1Array = params["array"];
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERAbstractStructured, KJUR.asn1.ASN1Object);
-KJUR.asn1.DERBoolean = function() {
-  KJUR.asn1.DERBoolean.superclass.constructor.call(this);
-  this.hT = "01";
-  this.hTLV = "0101ff";
-};
-YAHOO.lang.extend(KJUR.asn1.DERBoolean, KJUR.asn1.ASN1Object);
-KJUR.asn1.DERInteger = function(params) {
-  KJUR.asn1.DERInteger.superclass.constructor.call(this);
-  this.hT = "02";
-  this.setByBigInteger = function(bigIntegerValue) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.hV = KJUR.asn1.ASN1Util.bigIntToMinTwosComplementsHex(bigIntegerValue);
-  };
-  this.setByInteger = function(intValue) {
-    var bi = new BigInteger(String(intValue), 10);
-    this.setByBigInteger(bi);
-  };
-  this.setValueHex = function(newHexString) {
-    this.hV = newHexString;
-  };
-  this.getFreshValueHex = function() {
-    return this.hV;
-  };
-  if (typeof params != "undefined") {
-    if (typeof params["bigint"] != "undefined") {
-      this.setByBigInteger(params["bigint"]);
-    } else if (typeof params["int"] != "undefined") {
-      this.setByInteger(params["int"]);
-    } else if (typeof params == "number") {
-      this.setByInteger(params);
-    } else if (typeof params["hex"] != "undefined") {
-      this.setValueHex(params["hex"]);
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERInteger, KJUR.asn1.ASN1Object);
-KJUR.asn1.DERBitString = function(params) {
-  if (params !== void 0 && typeof params.obj !== "undefined") {
-    var o = KJUR.asn1.ASN1Util.newObject(params.obj);
-    params.hex = "00" + o.getEncodedHex();
-  }
-  KJUR.asn1.DERBitString.superclass.constructor.call(this);
-  this.hT = "03";
-  this.setHexValueIncludingUnusedBits = function(newHexStringIncludingUnusedBits) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.hV = newHexStringIncludingUnusedBits;
-  };
-  this.setUnusedBitsAndHexValue = function(unusedBits, hValue) {
-    if (unusedBits < 0 || 7 < unusedBits) {
-      throw "unused bits shall be from 0 to 7: u = " + unusedBits;
-    }
-    var hUnusedBits = "0" + unusedBits;
-    this.hTLV = null;
-    this.isModified = true;
-    this.hV = hUnusedBits + hValue;
-  };
-  this.setByBinaryString = function(binaryString) {
-    binaryString = binaryString.replace(/0+$/, "");
-    var unusedBits = 8 - binaryString.length % 8;
-    if (unusedBits == 8)
-      unusedBits = 0;
-    for (var i = 0; i <= unusedBits; i++) {
-      binaryString += "0";
-    }
-    var h = "";
-    for (var i = 0; i < binaryString.length - 1; i += 8) {
-      var b = binaryString.substr(i, 8);
-      var x = parseInt(b, 2).toString(16);
-      if (x.length == 1)
-        x = "0" + x;
-      h += x;
-    }
-    this.hTLV = null;
-    this.isModified = true;
-    this.hV = "0" + unusedBits + h;
-  };
-  this.setByBooleanArray = function(booleanArray) {
-    var s = "";
-    for (var i = 0; i < booleanArray.length; i++) {
-      if (booleanArray[i] == true) {
-        s += "1";
-      } else {
-        s += "0";
-      }
-    }
-    this.setByBinaryString(s);
-  };
-  this.newFalseArray = function(nLength) {
-    var a = new Array(nLength);
-    for (var i = 0; i < nLength; i++) {
-      a[i] = false;
-    }
-    return a;
-  };
-  this.getFreshValueHex = function() {
-    return this.hV;
-  };
-  if (typeof params != "undefined") {
-    if (typeof params == "string" && params.toLowerCase().match(/^[0-9a-f]+$/)) {
-      this.setHexValueIncludingUnusedBits(params);
-    } else if (typeof params["hex"] != "undefined") {
-      this.setHexValueIncludingUnusedBits(params["hex"]);
-    } else if (typeof params["bin"] != "undefined") {
-      this.setByBinaryString(params["bin"]);
-    } else if (typeof params["array"] != "undefined") {
-      this.setByBooleanArray(params["array"]);
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERBitString, KJUR.asn1.ASN1Object);
-KJUR.asn1.DEROctetString = function(params) {
-  if (params !== void 0 && typeof params.obj !== "undefined") {
-    var o = KJUR.asn1.ASN1Util.newObject(params.obj);
-    params.hex = o.getEncodedHex();
-  }
-  KJUR.asn1.DEROctetString.superclass.constructor.call(this, params);
-  this.hT = "04";
-};
-YAHOO.lang.extend(KJUR.asn1.DEROctetString, KJUR.asn1.DERAbstractString);
-KJUR.asn1.DERNull = function() {
-  KJUR.asn1.DERNull.superclass.constructor.call(this);
-  this.hT = "05";
-  this.hTLV = "0500";
-};
-YAHOO.lang.extend(KJUR.asn1.DERNull, KJUR.asn1.ASN1Object);
-KJUR.asn1.DERObjectIdentifier = function(params) {
-  var itox = function(i) {
-    var h = i.toString(16);
-    if (h.length == 1)
-      h = "0" + h;
-    return h;
-  };
-  var roidtox = function(roid) {
-    var h = "";
-    var bi = new BigInteger(roid, 10);
-    var b = bi.toString(2);
-    var padLen = 7 - b.length % 7;
-    if (padLen == 7)
-      padLen = 0;
-    var bPad = "";
-    for (var i = 0; i < padLen; i++)
-      bPad += "0";
-    b = bPad + b;
-    for (var i = 0; i < b.length - 1; i += 7) {
-      var b8 = b.substr(i, 7);
-      if (i != b.length - 7)
-        b8 = "1" + b8;
-      h += itox(parseInt(b8, 2));
-    }
-    return h;
-  };
-  KJUR.asn1.DERObjectIdentifier.superclass.constructor.call(this);
-  this.hT = "06";
-  this.setValueHex = function(newHexString) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.s = null;
-    this.hV = newHexString;
-  };
-  this.setValueOidString = function(oidString) {
-    if (!oidString.match(/^[0-9.]+$/)) {
-      throw "malformed oid string: " + oidString;
-    }
-    var h = "";
-    var a = oidString.split(".");
-    var i0 = parseInt(a[0]) * 40 + parseInt(a[1]);
-    h += itox(i0);
-    a.splice(0, 2);
-    for (var i = 0; i < a.length; i++) {
-      h += roidtox(a[i]);
-    }
-    this.hTLV = null;
-    this.isModified = true;
-    this.s = null;
-    this.hV = h;
-  };
-  this.setValueName = function(oidName) {
-    var oid = KJUR.asn1.x509.OID.name2oid(oidName);
-    if (oid !== "") {
-      this.setValueOidString(oid);
-    } else {
-      throw "DERObjectIdentifier oidName undefined: " + oidName;
-    }
-  };
-  this.getFreshValueHex = function() {
-    return this.hV;
-  };
-  if (params !== void 0) {
-    if (typeof params === "string") {
-      if (params.match(/^[0-2].[0-9.]+$/)) {
-        this.setValueOidString(params);
-      } else {
-        this.setValueName(params);
-      }
-    } else if (params.oid !== void 0) {
-      this.setValueOidString(params.oid);
-    } else if (params.hex !== void 0) {
-      this.setValueHex(params.hex);
-    } else if (params.name !== void 0) {
-      this.setValueName(params.name);
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERObjectIdentifier, KJUR.asn1.ASN1Object);
-KJUR.asn1.DEREnumerated = function(params) {
-  KJUR.asn1.DEREnumerated.superclass.constructor.call(this);
-  this.hT = "0a";
-  this.setByBigInteger = function(bigIntegerValue) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.hV = KJUR.asn1.ASN1Util.bigIntToMinTwosComplementsHex(bigIntegerValue);
-  };
-  this.setByInteger = function(intValue) {
-    var bi = new BigInteger(String(intValue), 10);
-    this.setByBigInteger(bi);
-  };
-  this.setValueHex = function(newHexString) {
-    this.hV = newHexString;
-  };
-  this.getFreshValueHex = function() {
-    return this.hV;
-  };
-  if (typeof params != "undefined") {
-    if (typeof params["int"] != "undefined") {
-      this.setByInteger(params["int"]);
-    } else if (typeof params == "number") {
-      this.setByInteger(params);
-    } else if (typeof params["hex"] != "undefined") {
-      this.setValueHex(params["hex"]);
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DEREnumerated, KJUR.asn1.ASN1Object);
-KJUR.asn1.DERUTF8String = function(params) {
-  KJUR.asn1.DERUTF8String.superclass.constructor.call(this, params);
-  this.hT = "0c";
-};
-YAHOO.lang.extend(KJUR.asn1.DERUTF8String, KJUR.asn1.DERAbstractString);
-KJUR.asn1.DERNumericString = function(params) {
-  KJUR.asn1.DERNumericString.superclass.constructor.call(this, params);
-  this.hT = "12";
-};
-YAHOO.lang.extend(KJUR.asn1.DERNumericString, KJUR.asn1.DERAbstractString);
-KJUR.asn1.DERPrintableString = function(params) {
-  KJUR.asn1.DERPrintableString.superclass.constructor.call(this, params);
-  this.hT = "13";
-};
-YAHOO.lang.extend(KJUR.asn1.DERPrintableString, KJUR.asn1.DERAbstractString);
-KJUR.asn1.DERTeletexString = function(params) {
-  KJUR.asn1.DERTeletexString.superclass.constructor.call(this, params);
-  this.hT = "14";
-};
-YAHOO.lang.extend(KJUR.asn1.DERTeletexString, KJUR.asn1.DERAbstractString);
-KJUR.asn1.DERIA5String = function(params) {
-  KJUR.asn1.DERIA5String.superclass.constructor.call(this, params);
-  this.hT = "16";
-};
-YAHOO.lang.extend(KJUR.asn1.DERIA5String, KJUR.asn1.DERAbstractString);
-KJUR.asn1.DERUTCTime = function(params) {
-  KJUR.asn1.DERUTCTime.superclass.constructor.call(this, params);
-  this.hT = "17";
-  this.setByDate = function(dateObject) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.date = dateObject;
-    this.s = this.formatDate(this.date, "utc");
-    this.hV = stohex(this.s);
-  };
-  this.getFreshValueHex = function() {
-    if (typeof this.date == "undefined" && typeof this.s == "undefined") {
-      this.date = /* @__PURE__ */ new Date();
-      this.s = this.formatDate(this.date, "utc");
-      this.hV = stohex(this.s);
-    }
-    return this.hV;
-  };
-  if (params !== void 0) {
-    if (params.str !== void 0) {
-      this.setString(params.str);
-    } else if (typeof params == "string" && params.match(/^[0-9]{12}Z$/)) {
-      this.setString(params);
-    } else if (params.hex !== void 0) {
-      this.setStringHex(params.hex);
-    } else if (params.date !== void 0) {
-      this.setByDate(params.date);
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERUTCTime, KJUR.asn1.DERAbstractTime);
-KJUR.asn1.DERGeneralizedTime = function(params) {
-  KJUR.asn1.DERGeneralizedTime.superclass.constructor.call(this, params);
-  this.hT = "18";
-  this.withMillis = false;
-  this.setByDate = function(dateObject) {
-    this.hTLV = null;
-    this.isModified = true;
-    this.date = dateObject;
-    this.s = this.formatDate(this.date, "gen", this.withMillis);
-    this.hV = stohex(this.s);
-  };
-  this.getFreshValueHex = function() {
-    if (this.date === void 0 && this.s === void 0) {
-      this.date = /* @__PURE__ */ new Date();
-      this.s = this.formatDate(this.date, "gen", this.withMillis);
-      this.hV = stohex(this.s);
-    }
-    return this.hV;
-  };
-  if (params !== void 0) {
-    if (params.str !== void 0) {
-      this.setString(params.str);
-    } else if (typeof params == "string" && params.match(/^[0-9]{14}Z$/)) {
-      this.setString(params);
-    } else if (params.hex !== void 0) {
-      this.setStringHex(params.hex);
-    } else if (params.date !== void 0) {
-      this.setByDate(params.date);
-    }
-    if (params.millis === true) {
-      this.withMillis = true;
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERGeneralizedTime, KJUR.asn1.DERAbstractTime);
-KJUR.asn1.DERSequence = function(params) {
-  KJUR.asn1.DERSequence.superclass.constructor.call(this, params);
-  this.hT = "30";
-  this.getFreshValueHex = function() {
-    var h = "";
-    for (var i = 0; i < this.asn1Array.length; i++) {
-      var asn1Obj = this.asn1Array[i];
-      h += asn1Obj.getEncodedHex();
-    }
-    this.hV = h;
-    return this.hV;
-  };
-};
-YAHOO.lang.extend(KJUR.asn1.DERSequence, KJUR.asn1.DERAbstractStructured);
-KJUR.asn1.DERSet = function(params) {
-  KJUR.asn1.DERSet.superclass.constructor.call(this, params);
-  this.hT = "31";
-  this.sortFlag = true;
-  this.getFreshValueHex = function() {
-    var a = new Array();
-    for (var i = 0; i < this.asn1Array.length; i++) {
-      var asn1Obj = this.asn1Array[i];
-      a.push(asn1Obj.getEncodedHex());
-    }
-    if (this.sortFlag == true)
-      a.sort();
-    this.hV = a.join("");
-    return this.hV;
-  };
-  if (typeof params != "undefined") {
-    if (typeof params.sortflag != "undefined" && params.sortflag == false)
-      this.sortFlag = false;
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERSet, KJUR.asn1.DERAbstractStructured);
-KJUR.asn1.DERTaggedObject = function(params) {
-  KJUR.asn1.DERTaggedObject.superclass.constructor.call(this);
-  this.hT = "a0";
-  this.hV = "";
-  this.isExplicit = true;
-  this.asn1Object = null;
-  this.setASN1Object = function(isExplicitFlag, tagNoHex, asn1Object) {
-    this.hT = tagNoHex;
-    this.isExplicit = isExplicitFlag;
-    this.asn1Object = asn1Object;
-    if (this.isExplicit) {
-      this.hV = this.asn1Object.getEncodedHex();
-      this.hTLV = null;
-      this.isModified = true;
-    } else {
-      this.hV = null;
-      this.hTLV = asn1Object.getEncodedHex();
-      this.hTLV = this.hTLV.replace(/^../, tagNoHex);
-      this.isModified = false;
-    }
-  };
-  this.getFreshValueHex = function() {
-    return this.hV;
-  };
-  if (typeof params != "undefined") {
-    if (typeof params["tag"] != "undefined") {
-      this.hT = params["tag"];
-    }
-    if (typeof params["explicit"] != "undefined") {
-      this.isExplicit = params["explicit"];
-    }
-    if (typeof params["obj"] != "undefined") {
-      this.asn1Object = params["obj"];
-      this.setASN1Object(this.isExplicit, this.hT, this.asn1Object);
-    }
-  }
-};
-YAHOO.lang.extend(KJUR.asn1.DERTaggedObject, KJUR.asn1.ASN1Object);
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/JSEncryptRSAKey.js
-var __extends = /* @__PURE__ */ function() {
-  var extendStatics = function(d, b) {
-    extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
-      d2.__proto__ = b2;
-    } || function(d2, b2) {
-      for (var p in b2)
-        if (Object.prototype.hasOwnProperty.call(b2, p))
-          d2[p] = b2[p];
-    };
-    return extendStatics(d, b);
-  };
-  return function(d, b) {
-    if (typeof b !== "function" && b !== null)
-      throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-    extendStatics(d, b);
-    function __() {
-      this.constructor = d;
-    }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-  };
-}();
-var JSEncryptRSAKey = (
-  /** @class */
-  function(_super) {
-    __extends(JSEncryptRSAKey2, _super);
-    function JSEncryptRSAKey2(key) {
-      var _this = _super.call(this) || this;
-      if (key) {
-        if (typeof key === "string") {
-          _this.parseKey(key);
-        } else if (JSEncryptRSAKey2.hasPrivateKeyProperty(key) || JSEncryptRSAKey2.hasPublicKeyProperty(key)) {
-          _this.parsePropertiesFrom(key);
-        }
-      }
-      return _this;
-    }
-    JSEncryptRSAKey2.prototype.parseKey = function(pem) {
-      try {
-        var modulus = 0;
-        var public_exponent = 0;
-        var reHex = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/;
-        var der = reHex.test(pem) ? Hex.decode(pem) : Base64.unarmor(pem);
-        var asn1 = ASN1.decode(der);
-        if (asn1.sub.length === 3) {
-          asn1 = asn1.sub[2].sub[0];
-        }
-        if (asn1.sub.length === 9) {
-          modulus = asn1.sub[1].getHexStringValue();
-          this.n = parseBigInt(modulus, 16);
-          public_exponent = asn1.sub[2].getHexStringValue();
-          this.e = parseInt(public_exponent, 16);
-          var private_exponent = asn1.sub[3].getHexStringValue();
-          this.d = parseBigInt(private_exponent, 16);
-          var prime1 = asn1.sub[4].getHexStringValue();
-          this.p = parseBigInt(prime1, 16);
-          var prime2 = asn1.sub[5].getHexStringValue();
-          this.q = parseBigInt(prime2, 16);
-          var exponent1 = asn1.sub[6].getHexStringValue();
-          this.dmp1 = parseBigInt(exponent1, 16);
-          var exponent2 = asn1.sub[7].getHexStringValue();
-          this.dmq1 = parseBigInt(exponent2, 16);
-          var coefficient = asn1.sub[8].getHexStringValue();
-          this.coeff = parseBigInt(coefficient, 16);
-        } else if (asn1.sub.length === 2) {
-          if (asn1.sub[0].sub) {
-            var bit_string = asn1.sub[1];
-            var sequence = bit_string.sub[0];
-            modulus = sequence.sub[0].getHexStringValue();
-            this.n = parseBigInt(modulus, 16);
-            public_exponent = sequence.sub[1].getHexStringValue();
-            this.e = parseInt(public_exponent, 16);
-          } else {
-            modulus = asn1.sub[0].getHexStringValue();
-            this.n = parseBigInt(modulus, 16);
-            public_exponent = asn1.sub[1].getHexStringValue();
-            this.e = parseInt(public_exponent, 16);
-          }
-        } else {
-          return false;
-        }
-        return true;
-      } catch (ex) {
-        return false;
-      }
-    };
-    JSEncryptRSAKey2.prototype.getPrivateBaseKey = function() {
-      var options = {
-        array: [
-          new KJUR.asn1.DERInteger({ int: 0 }),
-          new KJUR.asn1.DERInteger({ bigint: this.n }),
-          new KJUR.asn1.DERInteger({ int: this.e }),
-          new KJUR.asn1.DERInteger({ bigint: this.d }),
-          new KJUR.asn1.DERInteger({ bigint: this.p }),
-          new KJUR.asn1.DERInteger({ bigint: this.q }),
-          new KJUR.asn1.DERInteger({ bigint: this.dmp1 }),
-          new KJUR.asn1.DERInteger({ bigint: this.dmq1 }),
-          new KJUR.asn1.DERInteger({ bigint: this.coeff })
-        ]
-      };
-      var seq = new KJUR.asn1.DERSequence(options);
-      return seq.getEncodedHex();
-    };
-    JSEncryptRSAKey2.prototype.getPrivateBaseKeyB64 = function() {
-      return hex2b64(this.getPrivateBaseKey());
-    };
-    JSEncryptRSAKey2.prototype.getPublicBaseKey = function() {
-      var first_sequence = new KJUR.asn1.DERSequence({
-        array: [
-          new KJUR.asn1.DERObjectIdentifier({ oid: "1.2.840.113549.1.1.1" }),
-          new KJUR.asn1.DERNull()
-        ]
-      });
-      var second_sequence = new KJUR.asn1.DERSequence({
-        array: [
-          new KJUR.asn1.DERInteger({ bigint: this.n }),
-          new KJUR.asn1.DERInteger({ int: this.e })
-        ]
-      });
-      var bit_string = new KJUR.asn1.DERBitString({
-        hex: "00" + second_sequence.getEncodedHex()
-      });
-      var seq = new KJUR.asn1.DERSequence({
-        array: [first_sequence, bit_string]
-      });
-      return seq.getEncodedHex();
-    };
-    JSEncryptRSAKey2.prototype.getPublicBaseKeyB64 = function() {
-      return hex2b64(this.getPublicBaseKey());
-    };
-    JSEncryptRSAKey2.wordwrap = function(str, width) {
-      width = width || 64;
-      if (!str) {
-        return str;
-      }
-      var regex = "(.{1," + width + "})( +|$\n?)|(.{1," + width + "})";
-      return str.match(RegExp(regex, "g")).join("\n");
-    };
-    JSEncryptRSAKey2.prototype.getPrivateKey = function() {
-      var key = "-----BEGIN RSA PRIVATE KEY-----\n";
-      key += JSEncryptRSAKey2.wordwrap(this.getPrivateBaseKeyB64()) + "\n";
-      key += "-----END RSA PRIVATE KEY-----";
-      return key;
-    };
-    JSEncryptRSAKey2.prototype.getPublicKey = function() {
-      var key = "-----BEGIN PUBLIC KEY-----\n";
-      key += JSEncryptRSAKey2.wordwrap(this.getPublicBaseKeyB64()) + "\n";
-      key += "-----END PUBLIC KEY-----";
-      return key;
-    };
-    JSEncryptRSAKey2.hasPublicKeyProperty = function(obj) {
-      obj = obj || {};
-      return obj.hasOwnProperty("n") && obj.hasOwnProperty("e");
-    };
-    JSEncryptRSAKey2.hasPrivateKeyProperty = function(obj) {
-      obj = obj || {};
-      return obj.hasOwnProperty("n") && obj.hasOwnProperty("e") && obj.hasOwnProperty("d") && obj.hasOwnProperty("p") && obj.hasOwnProperty("q") && obj.hasOwnProperty("dmp1") && obj.hasOwnProperty("dmq1") && obj.hasOwnProperty("coeff");
-    };
-    JSEncryptRSAKey2.prototype.parsePropertiesFrom = function(obj) {
-      this.n = obj.n;
-      this.e = obj.e;
-      if (obj.hasOwnProperty("d")) {
-        this.d = obj.d;
-        this.p = obj.p;
-        this.q = obj.q;
-        this.dmp1 = obj.dmp1;
-        this.dmq1 = obj.dmq1;
-        this.coeff = obj.coeff;
-      }
-    };
-    return JSEncryptRSAKey2;
-  }(RSAKey)
-);
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/JSEncrypt.js
-var _a;
-var version = typeof process !== "undefined" ? (_a = process.env) === null || _a === void 0 ? void 0 : _a.npm_package_version : void 0;
-var JSEncrypt = (
-  /** @class */
-  function() {
-    function JSEncrypt2(options) {
-      if (options === void 0) {
-        options = {};
-      }
-      options = options || {};
-      this.default_key_size = options.default_key_size ? parseInt(options.default_key_size, 10) : 1024;
-      this.default_public_exponent = options.default_public_exponent || "010001";
-      this.log = options.log || false;
-      this.key = null;
-    }
-    JSEncrypt2.prototype.setKey = function(key) {
-      if (this.log && this.key) {
-        console.warn("A key was already set, overriding existing.");
-      }
-      this.key = new JSEncryptRSAKey(key);
-    };
-    JSEncrypt2.prototype.setPrivateKey = function(privkey) {
-      this.setKey(privkey);
-    };
-    JSEncrypt2.prototype.setPublicKey = function(pubkey) {
-      this.setKey(pubkey);
-    };
-    JSEncrypt2.prototype.decrypt = function(str) {
-      try {
-        return this.getKey().decrypt(b64tohex(str));
-      } catch (ex) {
-        return false;
-      }
-    };
-    JSEncrypt2.prototype.encrypt = function(str) {
-      try {
-        return hex2b64(this.getKey().encrypt(str));
-      } catch (ex) {
-        return false;
-      }
-    };
-    JSEncrypt2.prototype.sign = function(str, digestMethod, digestName) {
-      try {
-        return hex2b64(this.getKey().sign(str, digestMethod, digestName));
-      } catch (ex) {
-        return false;
-      }
-    };
-    JSEncrypt2.prototype.verify = function(str, signature, digestMethod) {
-      try {
-        return this.getKey().verify(str, b64tohex(signature), digestMethod);
-      } catch (ex) {
-        return false;
-      }
-    };
-    JSEncrypt2.prototype.getKey = function(cb) {
-      if (!this.key) {
-        this.key = new JSEncryptRSAKey();
-        if (cb && {}.toString.call(cb) === "[object Function]") {
-          this.key.generateAsync(this.default_key_size, this.default_public_exponent, cb);
-          return;
-        }
-        this.key.generate(this.default_key_size, this.default_public_exponent);
-      }
-      return this.key;
-    };
-    JSEncrypt2.prototype.getPrivateKey = function() {
-      return this.getKey().getPrivateKey();
-    };
-    JSEncrypt2.prototype.getPrivateKeyB64 = function() {
-      return this.getKey().getPrivateBaseKeyB64();
-    };
-    JSEncrypt2.prototype.getPublicKey = function() {
-      return this.getKey().getPublicKey();
-    };
-    JSEncrypt2.prototype.getPublicKeyB64 = function() {
-      return this.getKey().getPublicBaseKeyB64();
-    };
-    JSEncrypt2.version = version;
-    return JSEncrypt2;
-  }()
-);
-
-// D:/huijiaoyan/mobile8.1/workApp/node_modules/jsencrypt/lib/index.js
-var lib_default = JSEncrypt;
-export {
-  JSEncrypt,
-  lib_default as default
-};
-/*! Bundled license information:
-
-jsencrypt/lib/lib/jsrsasign/yahoo.js:
-  (*!
-  Copyright (c) 2011, Yahoo! Inc. All rights reserved.
-  Code licensed under the BSD License:
-  http://developer.yahoo.com/yui/license.html
-  version: 2.9.0
-  *)
-
-jsencrypt/lib/lib/jsrsasign/asn1-1.0.js:
-  (**
-   * @fileOverview
-   * @name asn1-1.0.js
-   * @author Kenji Urushima kenji.urushima@gmail.com
-   * @version asn1 1.0.13 (2017-Jun-02)
-   * @since jsrsasign 2.1
-   * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
-   *)
-*/
-//# sourceMappingURL=jsencrypt.js.map

File diff suppressed because it is too large
+ 0 - 3
unpackage/dist/cache/.vite/deps/jsencrypt.js.map


BIN
unpackage/release/apk/__UNI__07352BD__20260722154818.apk


BIN
unpackage/release/apk/__UNI__07352BD__20260722154709.apk → unpackage/release/apk/__UNI__07352BD__20260727152326.apk


Some files were not shown because too many files changed in this diff