jordium-gantt-vue3 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,311 @@
1
+ "use strict";const l=require("vue"),lc={"zh-CN":{taskName:"任务名称",predecessor:"前置任务",assignee:"分配人",startDate:"开始日期",endDate:"结束日期",estimatedHours:"预计工时(hr)",actualHours:"实际工时(hr)",progress:"进度",type:"类型",description:"描述",csvHeaders:{id:"ID",taskName:"任务名称",predecessor:"前置任务",assignee:"分配人",startDate:"开始日期",endDate:"结束日期",estimatedHours:"预计工时(hr)",actualHours:"实际工时(hr)",progress:"进度(%)",type:"类型",description:"描述"},yearMonthFormat:(t,e)=>`${t}年${String(e).padStart(2,"0")}月`,milestone:"里程碑",today:"今天",milestoneDetails:"里程碑详情",milestoneName:"里程碑名称",milestoneDate:"里程碑日期",milestoneIcon:"里程碑图标",diamond:"菱形",rocket:"火箭",enterMilestoneName:"请输入里程碑名称",enterAssignee:"请输入负责人",enterDescription:"请输入描述信息",milestoneNameRequired:"里程碑名称为必填项",milestoneDateRequired:"里程碑日期为必填项",save:"保存",close:"关闭",confirm:"确认",delete:"删除",confirmDelete:"确定要删除这个里程碑吗?",addTask:"新增需求/任务",addMilestone:"新增里程碑",todayLocate:"今日",todayLocateTooltip:"定位到今天",exportCsv:"导出 CSV",exportPdf:"导出 PDF",language:"中文",languageTooltip:"选择语言",lightMode:"明亮模式",darkMode:"暗黑模式",fullscreen:"全屏",exitFullscreen:"退出全屏",githubDocs:"查看Github文档",giteeDocs:"查看Gitee文档",confirmDialogMessage:"是否需要保留该设置?",newTask:"新建任务",taskNamePlaceholder:"请输入任务名称",assigneePlaceholder:"请输入负责人",progressPlaceholder:"0-100",hoursPlaceholder:"工时",descriptionPlaceholder:"请输入任务描述...",hours:"小时",create:"创建",taskNameRequired:"任务名称不能为空",startDateRequired:"开始日期不能为空",endDateRequired:"结束日期不能为空",endDateInvalid:"结束日期不能早于开始日期",newMilestone:"新建里程碑",editMilestone:"编辑里程碑",cancel:"取消",pdfExportLoading:"正在生成PDF,请稍候...",pdfExportTitle:"甘特图导出",pdfExportDate:"导出日期",milestoneGroup:"里程碑",collapseTaskList:"收起任务列表",expandTaskList:"展开任务列表",taskType:"任务类型",taskTypeRequired:"请选择任务类型",taskTypeMap:{task:"任务",milestone:"里程碑",story:"需求",epic:"史诗",bug:"缺陷"},editTask:"编辑任务",parentTask:"上级任务",noParentTask:"无上级任务",update:"更新",taskNameTooLong:"任务名称不能超过50个字符",predecessorPlaceholder:"请选择前置任务",operationFailed:"操作失败,请重试",taskUpdateSuccess:"任务更新成功",taskCreateSuccess:"任务创建成功",confirmDeleteTask:'确定要删除任务"{name}"吗?此操作不可撤销。',taskDeleteFailed:"删除失败,请重试",confirmDeleteStory:"是否删除该需求{name}及其所有的子任务?该操作不可撤回",storyDeleteYes:"是, 继续",storyDeleteNo:"不,仅删除需求",storyDeleteAllSuccess:"已删除需求【{name}】及其所有子任务",storyDeleteOnlySuccess:"已删除需求【{name}】,{count}个子任务已升级保留",storyNotFound:"未找到要删除的需求,ID:{id}",milestoneDeleteSuccess:"里程碑删除成功",taskDeletedSuccess:"已删除任务",selectAssignee:"请选择负责人",customCsvExportCalled:"自定义CSV导出被调用",languageSwitchedTo:"语言切换到:{language}",themeSwitchedTo:"主题切换到:{theme}",lightModeText:"明亮模式",darkModeText:"暗黑模式",taskNotFound:"未找到要更新的任务,ID:{id}",newParentTaskNotFound:"未找到新父任务,ID:{parentId},将作为顶级任务添加",inPlaceUpdateFailed:"就地更新失败,未找到任务,ID:{id}",taskToDeleteNotFound:"未找到要删除的任务,ID:{id}",milestoneIconUpdateNotFound:"未找到要更新图标的里程碑,ID:{id}",overtime:"超",overdue:"逾期",days:"天"},"en-US":{taskName:"Task Name",predecessor:"Predecessor",assignee:"Assignee",startDate:"Start Date",endDate:"End Date",estimatedHours:"Est. Hours",actualHours:"Act. Hours",progress:"Progress",type:"Type",csvHeaders:{id:"ID",taskName:"Task Name",predecessor:"Predecessor",assignee:"Assignee",startDate:"Start Date",endDate:"End Date",estimatedHours:"Est. Hours",actualHours:"Act. Hours",progress:"Progress (%)",type:"Type",description:"Description"},yearMonthFormat:(t,e)=>`${t}/${String(e).padStart(2,"0")}`,milestone:"Milestone",today:"Today",milestoneDetails:"Milestone Details",milestoneName:"Milestone Name",milestoneDate:"Milestone Date",milestoneIcon:"Milestone Icon",diamond:"Diamond",rocket:"Rocket",enterMilestoneName:"Enter milestone name",enterAssignee:"Enter assignee",enterDescription:"Enter description",milestoneNameRequired:"Milestone name is required",milestoneDateRequired:"Milestone date is required",save:"Save",close:"Close",confirm:"Confirm",description:"Description",delete:"Delete",confirmDelete:"Are you sure you want to delete this milestone?",addTask:"Add Requirement/Task",addMilestone:"Add Milestone",todayLocate:"Today",todayLocateTooltip:"Locate to today",exportCsv:"Export CSV",exportPdf:"Export PDF",language:"English",languageTooltip:"Select language",lightMode:"Light Mode",darkMode:"Dark Mode",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",githubDocs:"GitHub Docs",giteeDocs:"Gitee Docs",confirmDialogMessage:"Do you want to save this setting?",taskNamePlaceholder:"Enter task name",assigneePlaceholder:"Enter assignee",progressPlaceholder:"0-100",hoursPlaceholder:"Hours",descriptionPlaceholder:"Enter task description...",hours:"Hours",create:"Create",taskNameRequired:"Task name is required",startDateRequired:"Start date is required",endDateRequired:"End date is required",endDateInvalid:"End date cannot be earlier than start date",newMilestone:"New Milestone",editMilestone:"Edit Milestone",cancel:"Cancel",pdfExportLoading:"Generating PDF, please wait...",pdfExportTitle:"Gantt Chart Export",pdfExportDate:"Export Date",milestoneGroup:"Milestone",collapseTaskList:"Collapse Task List",expandTaskList:"Expand Task List",taskType:"Task Type",taskTypeRequired:"Please select task type",taskTypeMap:{task:"Task",milestone:"Milestone",story:"Story",epic:"Epic",bug:"Bug"},editTask:"Edit Task",newTask:"New Task",parentTask:"Parent Task",noParentTask:"No Parent Task",update:"Update",taskNameTooLong:"Task name cannot exceed 50 characters",predecessorPlaceholder:"Select predecessor",operationFailed:"Operation failed, please try again",taskUpdateSuccess:"Task updated successfully",taskCreateSuccess:"Task created successfully",confirmDeleteTask:'Are you sure you want to delete task "{name}"? This action cannot be undone.',taskDeleteFailed:"Delete failed, please try again",confirmDeleteStory:"Do you want to delete the requirement {name} and all its subtasks? This action cannot be undone",storyDeleteYes:"Yes, Continue",storyDeleteNo:"No, Delete Requirement Only",storyDeleteAllSuccess:"Deleted requirement [{name}] and all its subtasks",storyDeleteOnlySuccess:"Deleted requirement [{name}], {count} subtasks have been promoted",storyNotFound:"Requirement not found, ID: {id}",milestoneDeleteSuccess:"Milestone deleted successfully",taskDeletedSuccess:"Task deleted",selectAssignee:"Select assignee",customCsvExportCalled:"Custom CSV export called",languageSwitchedTo:"Language switched to: {language}",themeSwitchedTo:"Theme switched to: {theme}",lightModeText:"Light Mode",darkModeText:"Dark Mode",taskNotFound:"Task not found for update, ID: {id}",newParentTaskNotFound:"New parent task not found, ID: {parentId}, will be added as top-level task",inPlaceUpdateFailed:"In-place update failed, task not found, ID: {id}",taskToDeleteNotFound:"Task to delete not found, ID: {id}",milestoneIconUpdateNotFound:"Milestone not found for icon update, ID: {id}",overtime:"Over",overdue:"Overdue",days:" days"}};function xu(t,e){lc[t]&&Object.assign(lc[t],e)}const gg="gantt-locale",pg=()=>{if(typeof window<"u"){const t=localStorage.getItem(gg);if(t&&(t==="zh-CN"||t==="en-US"))return t}return"zh-CN"},Sl=l.ref(pg());function Gn(){const t=l.computed(()=>lc[Sl.value]),e=s=>{const o=t.value[s];return typeof o=="string"?o:s},A=(s,o)=>{let u=e(s);return Object.keys(o).forEach(d=>{u=u.replace(new RegExp(`{${d}}`,"g"),String(o[d]))}),u},r=s=>{Sl.value=s,window.dispatchEvent(new CustomEvent("locale-changed",{detail:{locale:s}}))},n=l.computed(()=>Sl.value);return{t,getTranslation:e,formatTranslation:A,locale:n,setLocale:r,formatYearMonth:(s,o)=>t.value.yearMonthFormat(s,o)}}const Bg={width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},wg={key:0,points:"9,18 15,12 9,6"},vg={key:1,points:"18,15 12,9 6,15"},mg={key:1,class:"milestone-spacer"},Cg={class:"task-icon"},yg={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"milestone-group-icon"},Fg={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Qg={key:2,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},bg=["title"],Ug={key:0,class:"status-badge overtime"},Eg={key:1,class:"status-badge overdue"},Lg={class:"col col-pre"},xg={class:"col col-assignee"},Ig={class:"assignee-info"},Sg={class:"avatar"},Ng={class:"assignee-name"},kg={class:"col col-date"},Dg={class:"col col-date"},Hg={class:"col col-hours"},_g={class:"col col-hours"},Tg={class:"col col-progress"},Mg=10,Pg=l.defineComponent({__name:"TaskRow",props:{task:{},level:{},onDoubleClick:{type:Function},isHovered:{type:Boolean},hoveredTaskId:{},onHover:{type:Function}},emits:["toggle","dblclick"],setup(t,{emit:e}){const A=t,r=e,{t:n}=Gn(),a=l.computed(()=>{var q;return((q=n.value)==null?void 0:q.overtime)??""}),s=l.computed(()=>{var q;return((q=n.value)==null?void 0:q.overdue)??""}),o=l.computed(()=>{var q;return((q=n.value)==null?void 0:q.days)??""}),u=`${Mg+A.level*20}px`;function d(){r("toggle",A.task)}function B(){(A.task.type==="story"||A.task.children&&A.task.children.length>0)&&A.task.type!=="milestone-group"&&r("toggle",A.task)}const g=q=>{q.stopPropagation(),A.onDoubleClick&&typeof A.onDoubleClick=="function"?A.onDoubleClick(A.task):r("dblclick",A.task)},v=()=>{m.value||A.onHover&&A.onHover(A.task.id)},p=()=>{m.value||A.onHover&&A.onHover(null)};function b(){const q=A.task.progress||0,W=new Date,j=A.task.endDate?new Date(A.task.endDate):null;return j&&W>j&&q<100?"progress-danger":q>=100?"progress-success":q>0?"progress-warning":""}function F(){return A.task.actualHours&&A.task.estimatedHours&&A.task.actualHours>A.task.estimatedHours}function H(){const q=new Date,W=A.task.endDate?new Date(A.task.endDate):null,j=A.task.progress||0;if(W&&q>W&&j<100){const X=new Date(q.getFullYear(),q.getMonth(),q.getDate()),k=new Date(W.getFullYear(),W.getMonth(),W.getDate());return Math.floor((X.getTime()-k.getTime())/(1e3*60*60*24))}return 0}const m=l.ref(!1),E=()=>{m.value=!0},R=()=>{m.value=!1};return l.onMounted(()=>{window.addEventListener("splitter-drag-start",E),window.addEventListener("splitter-drag-end",R)}),l.onUnmounted(()=>{window.removeEventListener("splitter-drag-start",E),window.removeEventListener("splitter-drag-end",R)}),(q,W)=>{const j=l.resolveComponent("TaskRow",!0);return l.openBlock(),l.createElementBlock("div",null,[l.createElementVNode("div",{class:l.normalizeClass(["task-row",{"task-row-hovered":q.isHovered,"parent-task":A.task.type==="story"||A.task.children&&A.task.children.length>0||A.task.type==="milestone-group","milestone-group-row":A.task.type==="milestone-group","task-type-story":A.task.type==="story","task-type-task":A.task.type==="task","task-type-milestone":A.task.type==="milestone"}]),onClick:B,onDblclick:g,onMouseenter:v,onMouseleave:p},[l.createElementVNode("div",{class:"col col-name",style:l.normalizeStyle({paddingLeft:u})},[(A.task.type==="story"||A.task.children&&A.task.children.length>0)&&A.task.type!=="milestone-group"?(l.openBlock(),l.createElementBlock("span",{key:0,class:"collapse-btn",onClick:l.withModifiers(d,["stop"])},[(l.openBlock(),l.createElementBlock("svg",Bg,[A.task.collapsed?(l.openBlock(),l.createElementBlock("polyline",wg)):(l.openBlock(),l.createElementBlock("polyline",vg))]))])):l.createCommentVNode("",!0),A.task.type==="milestone-group"?(l.openBlock(),l.createElementBlock("span",mg)):l.createCommentVNode("",!0),l.createElementVNode("span",Cg,[A.task.type==="milestone-group"?(l.openBlock(),l.createElementBlock("svg",yg,W[2]||(W[2]=[l.createElementVNode("polygon",{points:"12,2 22,12 12,22 2,12"},null,-1)]))):A.task.type==="story"||A.task.children&&A.task.children.length>0?(l.openBlock(),l.createElementBlock("svg",Fg,W[3]||(W[3]=[l.createElementVNode("path",{d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-5l-2-2H5a2 2 0 00-2 2z"},null,-1)]))):(l.openBlock(),l.createElementBlock("svg",Qg,W[4]||(W[4]=[l.createStaticVNode('<path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" data-v-36676023></path><polyline points="14,2 14,8 20,8" data-v-36676023></polyline><line x1="16" y1="13" x2="8" y2="13" data-v-36676023></line><line x1="16" y1="17" x2="8" y2="17" data-v-36676023></line><polyline points="10,9 9,9 8,9" data-v-36676023></polyline>',5)])))]),l.createElementVNode("span",{class:l.normalizeClass(["task-name-text",{"parent-task":A.task.type==="story"||A.task.children&&A.task.children.length>0||A.task.type==="milestone-group"}]),title:A.task.name},[l.createTextVNode(l.toDisplayString(A.task.name)+" ",1),F()?(l.openBlock(),l.createElementBlock("span",Ug,l.toDisplayString(a.value),1)):l.createCommentVNode("",!0),H()>0?(l.openBlock(),l.createElementBlock("span",Eg,l.toDisplayString(s.value)+l.toDisplayString(H()>0?H()+o.value:""),1)):l.createCommentVNode("",!0)],10,bg)],4),A.task.type==="milestone-group"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[W[5]||(W[5]=l.createStaticVNode('<div class="col col-pre milestone-empty-col" data-v-36676023></div><div class="col col-assignee milestone-empty-col" data-v-36676023></div><div class="col col-date milestone-empty-col" data-v-36676023></div><div class="col col-date milestone-empty-col" data-v-36676023></div><div class="col col-hours milestone-empty-col" data-v-36676023></div><div class="col col-hours milestone-empty-col" data-v-36676023></div><div class="col col-progress milestone-empty-col" data-v-36676023></div>',7))],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createElementVNode("div",Lg,l.toDisplayString(A.task.predecessor||"-"),1),l.createElementVNode("div",xg,[l.createElementVNode("div",Ig,[l.createElementVNode("div",Sg,l.toDisplayString(A.task.assignee?A.task.assignee.charAt(0):"-"),1),l.createElementVNode("span",Ng,l.toDisplayString(A.task.assignee||"-"),1)])]),l.createElementVNode("div",kg,l.toDisplayString(A.task.startDate||"-"),1),l.createElementVNode("div",Dg,l.toDisplayString(A.task.endDate||"-"),1),l.createElementVNode("div",Hg,l.toDisplayString(A.task.estimatedHours||"-"),1),l.createElementVNode("div",_g,l.toDisplayString(A.task.actualHours||"-"),1),l.createElementVNode("div",Tg,[l.createElementVNode("span",{class:l.normalizeClass(["progress-value",b()])},l.toDisplayString(A.task.progress!=null?A.task.progress+"%":"-"),3)])],64))],34),A.task.children&&!A.task.collapsed&&A.task.type!=="milestone-group"?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:0},l.renderList(A.task.children,X=>(l.openBlock(),l.createBlock(j,{key:X.id,task:X,level:A.level+1,"is-hovered":A.hoveredTaskId===X.id,"hovered-task-id":A.hoveredTaskId,"on-double-click":A.onDoubleClick,"on-hover":A.onHover,onToggle:W[0]||(W[0]=k=>r("toggle",k)),onDblclick:W[1]||(W[1]=k=>r("dblclick",k))},null,8,["task","level","is-hovered","hovered-task-id","on-double-click","on-hover"]))),128)):l.createCommentVNode("",!0)])}}}),hr=(t,e)=>{const A=t.__vccOpts||t;for(const[r,n]of e)A[r]=n;return A},Yf=hr(Pg,[["__scopeId","data-v-36676023"]]),Og={class:"task-list"},Kg={class:"task-list-header"},Rg={class:"col col-name"},Vg={class:"col col-pre"},Gg={class:"col col-assignee"},jg={class:"col col-date"},qg={class:"col col-date"},Wg={class:"col col-hours"},zg={class:"col col-hours"},Xg={class:"col col-progress"},Jg=l.defineComponent({__name:"TaskList",props:{tasks:{},onTaskDoubleClick:{type:Function},editComponent:{},useDefaultDrawer:{type:Boolean}},emits:["task-collapse-change"],setup(t,{emit:e}){const A=t,r=e,{t:n}=Gn(),a=l.ref([]),s=l.ref(null),o=l.ref(!1),u=()=>{o.value=!0},d=()=>{o.value=!1},B=k=>{o.value||(s.value=k,window.dispatchEvent(new CustomEvent("task-list-hover",{detail:k})))},g=k=>{s.value=k.detail},v=k=>{k.type==="milestone"||k.type==="milestone-group"||(A.onTaskDoubleClick&&typeof A.onTaskDoubleClick=="function"?A.onTaskDoubleClick(k):A.useDefaultDrawer&&window.dispatchEvent(new CustomEvent("task-row-double-click",{detail:k})))},p=k=>{if(!k.children||k.children.length===0)return{progress:k.progress||0,startDate:k.startDate||"",endDate:k.endDate||""};const G=[],tA=_=>{_.forEach(z=>{G.push(z),z.children&&z.children.length>0&&tA(z.children)})};tA(k.children);const I=G.reduce((_,z)=>_+(z.progress||0),0),Q=G.length>0?Math.round(I/G.length):0,T=G.filter(_=>_.startDate&&_.endDate);if(T.length===0)return{progress:Q,startDate:k.startDate||"",endDate:k.endDate||""};const O=T.map(_=>new Date(_.startDate)),lA=T.map(_=>new Date(_.endDate)),oA=new Date(Math.min(...O.map(_=>_.getTime()))),aA=new Date(Math.max(...lA.map(_=>_.getTime())));return{progress:Q,startDate:oA.toISOString().split("T")[0],endDate:aA.toISOString().split("T")[0]}},b=()=>{const k=G=>G.map(tA=>{if(tA.children&&tA.children.length>0){const I=k(tA.children),Q=p({...tA,children:I});return{...tA,progress:Q.progress,startDate:Q.startDate,endDate:Q.endDate,children:I}}return tA});a.value=k(a.value)},F=k=>{const G=[],tA=I=>{I.forEach(Q=>{G.push(Q),Q.children&&Q.children.length>0&&tA(Q.children)})};return tA(k),G};l.watch(()=>A.tasks,k=>{a.value=k||[],b()},{immediate:!0,deep:!0});function H(k){k.collapsed=!k.collapsed,r("task-collapse-change",k)}const m=k=>{const G=tA=>tA.map(I=>I.id===k.id?{...I,...k,children:I.children}:I.children?{...I,children:G(I.children)}:I);a.value=G(a.value),b()},E=k=>{const G=k.detail;m(G)},R=k=>{const G=k.detail;a.value.push(G),b()},q=()=>{const k=F(a.value);window.dispatchEvent(new CustomEvent("task-list-updated",{detail:k}))},W=k=>{const{milestoneId:G,icon:tA}=k.detail,I=Q=>{for(const T of Q){if(T.type==="milestone-group"&&T.children){const O=T.children.find(lA=>lA.id===G);if(O)return O.icon=tA,!0}if(T.children&&I(T.children))return!0}return!1};I(a.value)},j=k=>{const G=k.target;if(!G)return;const tA=G.scrollTop;window.dispatchEvent(new CustomEvent("task-list-vertical-scroll",{detail:{scrollTop:tA}}))},X=k=>{const{scrollTop:G}=k.detail,tA=document.querySelector(".task-list-body");tA&&tA.scrollTop!==G&&(tA.scrollTop=G)};return l.onMounted(async()=>{window.addEventListener("task-updated",E),window.addEventListener("task-added",R),window.addEventListener("request-task-list",q),window.addEventListener("timeline-task-hover",g),window.addEventListener("timeline-vertical-scroll",X),window.addEventListener("milestone-icon-changed",W),window.addEventListener("splitter-drag-start",u),window.addEventListener("splitter-drag-end",d),b()}),l.onUnmounted(()=>{window.removeEventListener("task-updated",E),window.removeEventListener("task-added",R),window.removeEventListener("request-task-list",q),window.removeEventListener("timeline-task-hover",g),window.removeEventListener("timeline-vertical-scroll",X),window.removeEventListener("milestone-icon-changed",W),window.removeEventListener("splitter-drag-start",u),window.removeEventListener("splitter-drag-end",d)}),(k,G)=>(l.openBlock(),l.createElementBlock("div",Og,[l.createElementVNode("div",Kg,[l.createElementVNode("div",Rg,l.toDisplayString(l.unref(n).taskName),1),l.createElementVNode("div",Vg,l.toDisplayString(l.unref(n).predecessor),1),l.createElementVNode("div",Gg,l.toDisplayString(l.unref(n).assignee),1),l.createElementVNode("div",jg,l.toDisplayString(l.unref(n).startDate),1),l.createElementVNode("div",qg,l.toDisplayString(l.unref(n).endDate),1),l.createElementVNode("div",Wg,l.toDisplayString(l.unref(n).estimatedHours),1),l.createElementVNode("div",zg,l.toDisplayString(l.unref(n).actualHours),1),l.createElementVNode("div",Xg,l.toDisplayString(l.unref(n).progress),1)]),l.createElementVNode("div",{class:"task-list-body",onScroll:j},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(a.value,tA=>(l.openBlock(),l.createBlock(Yf,{key:tA.id,task:tA,level:0,"is-hovered":s.value===tA.id,"hovered-task-id":s.value,"on-double-click":A.onTaskDoubleClick,"on-hover":B,onToggle:H,onDblclick:v},null,8,["task","is-hovered","hovered-task-id","on-double-click"]))),128))],32)]))}}),$f=hr(Jg,[["__scopeId","data-v-777d0247"]]),Yg={key:0,class:"parent-label"},$g={class:"task-name"},Zg={key:0,class:"task-progress"},Ap=l.defineComponent({__name:"TaskBar",props:{task:{},rowHeight:{},dayWidth:{},startDate:{},isParent:{type:Boolean},onDoubleClick:{type:Function}},emits:["update:task","bar-mounted","dblclick","drag-end","resize-end"],setup(t,{emit:e}){const A=t,r=e,n=Q=>{if(!Q)return null;if(Q instanceof Date)return Q;if(typeof Q=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(Q)){const[O,lA,oA]=Q.split("-").map(Number);return new Date(O,lA-1,oA)}const T=new Date(Q);return isNaN(T.getTime())?null:T},a=()=>{const Q=new Date;return new Date(Q.getFullYear(),Q.getMonth(),Q.getDate())},s=Q=>{const T=Q.getFullYear(),O=String(Q.getMonth()+1).padStart(2,"0"),lA=String(Q.getDate()).padStart(2,"0");return`${T}-${O}-${lA}`},o=(Q,T)=>{const O=new Date(Q);return O.setDate(O.getDate()+T),O},u=l.ref(!1),d=l.ref(!1),B=l.ref(!1),g=l.ref(0),v=l.ref(0),p=l.ref(0),b=l.ref(0),F=l.ref(0),H=l.ref(0),m=l.ref(null),E=l.ref(null),R=l.computed(()=>{var z,rA;const Q=((z=m.value)==null?void 0:z.startDate)||A.task.startDate,T=((rA=m.value)==null?void 0:rA.endDate)||A.task.endDate,O=n(Q),lA=n(T),oA=n(A.startDate);if(!O||!lA||!oA)return{left:"0px",width:"0px",height:`${A.rowHeight-10}px`,top:"4px"};const aA=Math.floor((O.getTime()-oA.getTime())/(1e3*60*60*24)),_=Math.floor((lA.getTime()-O.getTime())/(1e3*60*60*24))+1;return{left:`${aA*A.dayWidth}px`,width:`${_*A.dayWidth}px`,height:`${A.rowHeight-10}px`,top:"4px"}}),q=l.computed(()=>{if(A.isParent)return{type:"parent",color:"#409eff",bgColor:"#409eff",borderColor:"#409eff"};const Q=a(),T=n(A.task.endDate||""),O=A.task.progress||0;return O>=100?{type:"completed",color:"#909399",bgColor:"#f4f4f5",borderColor:"#d3d4d6"}:T&&T<Q&&O<100?{type:"delayed",color:"#f56c6c",bgColor:"#fef0f0",borderColor:"#fbc4c4"}:T&&T>=Q&&O>0?{type:"in-progress",color:"#e6a23c",bgColor:"#fdf6ec",borderColor:"#f5dab1"}:{type:"not-started",color:"#409eff",bgColor:"#ecf5ff",borderColor:"#b3d8ff"}}),W=l.computed(()=>(A.task.progress||0)>=100),j=l.computed(()=>{const Q=A.task.progress||0,T=parseInt(R.value.width);return`${Q/100*T}px`}),X=(Q,T)=>{W.value||A.isParent||(Q.preventDefault(),Q.stopPropagation(),m.value=null,T==="drag"?(u.value=!0,g.value=Q.clientX,v.value=parseInt(R.value.left),p.value=parseInt(R.value.width)):T==="resize-left"?(d.value=!0,b.value=Q.clientX,F.value=parseInt(R.value.width),H.value=parseInt(R.value.left)):T==="resize-right"&&(B.value=!0,b.value=Q.clientX,F.value=parseInt(R.value.width),H.value=parseInt(R.value.left)),document.addEventListener("mousemove",G),document.addEventListener("mouseup",tA))};function k(){if(E.value){const Q=E.value.getBoundingClientRect();r("bar-mounted",{id:A.task.id,left:Q.left,top:Q.top,width:Q.width,height:Q.height})}}const G=Q=>{if(u.value){const T=Q.clientX-g.value,O=Math.max(0,v.value+T),lA=o(A.startDate,O/A.dayWidth),oA=p.value/A.dayWidth,aA=o(lA,oA-1);m.value={startDate:s(lA),endDate:s(aA)}}else if(d.value){const T=Q.clientX-b.value,O=Math.max(0,H.value+T),lA=o(A.startDate,O/A.dayWidth);m.value={startDate:s(lA),endDate:A.task.endDate}}else if(B.value){const T=Q.clientX-b.value,lA=Math.max(A.dayWidth,F.value+T)/A.dayWidth,oA=o(A.startDate,H.value/A.dayWidth+lA-1);m.value={startDate:A.task.startDate,endDate:s(oA)}}},tA=()=>{if(m.value){const Q={...A.task,...m.value};u.value?r("drag-end",Q):(d.value||B.value)&&r("resize-end",Q),r("update:task",Q),m.value=null,l.nextTick(()=>{k()})}u.value=!1,d.value=!1,B.value=!1,document.removeEventListener("mousemove",G),document.removeEventListener("mouseup",tA)};l.onMounted(()=>{l.nextTick(()=>{k()})}),l.watch(()=>[A.task.startDate,A.task.endDate],()=>{l.nextTick(()=>{k()})},{deep:!0});const I=Q=>{Q.stopPropagation(),Q.preventDefault(),u.value=!1,d.value=!1,B.value=!1,m.value=null,document.removeEventListener("mousemove",G),document.removeEventListener("mouseup",tA),A.onDoubleClick&&typeof A.onDoubleClick=="function"?A.onDoubleClick(A.task):r("dblclick",A.task)};return l.onUnmounted(()=>{document.removeEventListener("mousemove",G),document.removeEventListener("mouseup",tA)}),(Q,T)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"barRef",ref:E,class:l.normalizeClass(["task-bar",{dragging:u.value,resizing:d.value||B.value,completed:W.value,"parent-task":Q.isParent}]),style:l.normalizeStyle({...R.value,backgroundColor:q.value.bgColor,borderColor:q.value.borderColor,color:q.value.color,cursor:W.value||Q.isParent?"default":"move"}),onDblclick:I},[Q.isParent?(l.openBlock(),l.createElementBlock("div",Yg,l.toDisplayString(Q.task.name)+" ("+l.toDisplayString(Q.task.progress||0)+"%)",1)):l.createCommentVNode("",!0),!Q.isParent&&Q.task.progress&&Q.task.progress>0?(l.openBlock(),l.createElementBlock("div",{key:1,class:"progress-bar",style:l.normalizeStyle({width:j.value,backgroundColor:q.value.color})},null,4)):l.createCommentVNode("",!0),!W.value&&!Q.isParent?(l.openBlock(),l.createElementBlock("div",{key:2,class:"resize-handle resize-handle-left",onMousedown:T[0]||(T[0]=O=>X(O,"resize-left"))},null,32)):l.createCommentVNode("",!0),Q.isParent?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",{key:3,class:"task-bar-content",onMousedown:T[1]||(T[1]=O=>X(O,"drag"))},[l.createElementVNode("div",$g,l.toDisplayString(Q.task.name),1),Q.task.progress!==void 0?(l.openBlock(),l.createElementBlock("div",Zg,l.toDisplayString(Q.task.progress)+"%",1)):l.createCommentVNode("",!0)],32)),!W.value&&!Q.isParent?(l.openBlock(),l.createElementBlock("div",{key:4,class:"resize-handle resize-handle-right",onMousedown:T[2]||(T[2]=O=>X(O,"resize-right"))},null,32)):l.createCommentVNode("",!0)],38))}}),Zf=hr(Ap,[["__scopeId","data-v-8b57e917"]]),ep=["title"],tp={width:24,height:24,viewBox:"0 0 24 24"},rp={key:0,transform:"rotate(45 16 16)"},np=["fill","stroke"],ap={key:1},ip={key:2,transform:"rotate(45 16 16)"},sp=["fill","stroke"],op={key:0,class:"milestone-label milestone-label-right"},lp=l.defineComponent({__name:"MilestonePoint",props:{date:{},rowHeight:{},dayWidth:{},startDate:{},name:{},milestone:{}},emits:["milestone-double-click","update:milestone","drag-end"],setup(t,{emit:e}){const A=t,r=e,n=l.ref(!1),a=l.ref(0),s=l.ref(0),o=l.ref(null),u=E=>{if(E.preventDefault(),E.stopPropagation(),n.value=!1,o.value=null,document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",p),A.milestone)r("milestone-double-click",A.milestone);else{const R={name:A.name||"里程碑",startDate:A.date,type:"milestone"};r("milestone-double-click",R)}},d=(E,R)=>{const q=new Date(E);return q.setDate(q.getDate()+R),q},B=E=>{const R=E.getFullYear(),q=String(E.getMonth()+1).padStart(2,"0"),W=String(E.getDate()).padStart(2,"0");return`${R}-${q}-${W}`},g=E=>{E.preventDefault(),E.stopPropagation(),a.value=E.clientX,s.value=parseInt(b.value.left),o.value=null,document.addEventListener("mousemove",v),document.addEventListener("mouseup",p)},v=E=>{const R=E.clientX-a.value;if(Math.abs(R)>3){n.value=!0;const q=Math.max(0,s.value+R),W=d(A.startDate,q/A.dayWidth);o.value={startDate:B(W)}}},p=()=>{if(n.value&&o.value&&A.milestone){const E={...A.milestone,...o.value};r("update:milestone",E),r("drag-end",E)}n.value=!1,o.value=null,document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",p)},b=l.computed(()=>{var W;const E=(W=o.value)!=null&&W.startDate?new Date(o.value.startDate):new Date(A.date);if(!A.startDate||isNaN(new Date(A.date).getTime()))return{left:"0px",top:"0px",width:"auto",height:"auto"};const R=Math.floor((E.getTime()-A.startDate.getTime())/(1e3*60*60*24)),q=Math.min(A.rowHeight,A.dayWidth*1.2,24);return{left:`${R*A.dayWidth+A.dayWidth/2-q/2}px`,top:`${(A.rowHeight-q)/2}px`,width:"auto",height:"auto"}}),F=l.computed(()=>"var(--gantt-danger, #f56c6c)"),H=l.computed(()=>"var(--gantt-danger-light, #fab6b6)"),m=l.computed(()=>{var E;return((E=A.milestone)==null?void 0:E.icon)||"diamond"});return l.onUnmounted(()=>{n.value=!1,o.value=null,document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",p)}),(E,R)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["milestone",{dragging:n.value}]),style:l.normalizeStyle(b.value),title:A.name||"里程碑",onDblclick:u,onMousedown:g},[(l.openBlock(),l.createElementBlock("svg",tp,[m.value==="diamond"?(l.openBlock(),l.createElementBlock("g",rp,[l.createElementVNode("rect",{x:"4",y:"8",width:"15",height:"15",rx:"6",ry:"6",fill:F.value,stroke:H.value,"stroke-width":"2"},null,8,np)])):m.value==="rocket"?(l.openBlock(),l.createElementBlock("g",ap,R[0]||(R[0]=[l.createElementVNode("foreignObject",{x:"0",y:"0",width:"24",height:"24"},[l.createElementVNode("div",{class:"rocket-emoji"},"🚀")],-1)]))):(l.openBlock(),l.createElementBlock("g",ip,[l.createElementVNode("rect",{x:"4",y:"8",width:"15",height:"15",rx:"6",ry:"6",fill:F.value,stroke:H.value,"stroke-width":"2"},null,8,sp)]))])),A.name?(l.openBlock(),l.createElementBlock("span",op,l.toDisplayString(A.name),1)):l.createCommentVNode("",!0)],46,ep))}}),Ah=hr(lp,[["__scopeId","data-v-2b6a4847"]]),cp={success:"#67c23a",warning:"#e6a23c",error:"#f56c6c",info:"#909399"};let _n=null;function up(){return _n||(_n=document.createElement("div"),_n.className="message-container",_n.style.cssText=`
2
+ position: fixed;
3
+ top: 20px;
4
+ right: 20px;
5
+ z-index: 9999;
6
+ display: flex;
7
+ flex-direction: column;
8
+ align-items: flex-end;
9
+ gap: 12px;
10
+ pointer-events: none;
11
+ `,document.body.appendChild(_n)),_n}const Ds=new Map,Iu=1e3;function jc(){return{showMessage:(e,A="success",r)=>{const n=Date.now(),a=`${A}:${e}`,s=Ds.get(a);if(!(r!=null&&r.allowDuplicate)&&s&&n-s<Iu)return;Ds.set(a,n);for(const[b,F]of Ds.entries())n-F>Iu*2&&Ds.delete(b);const o=document.createElement("div");o.className=`message ${A}`,o.textContent=e,o.style.cssText=`
12
+ min-width: 180px;
13
+ max-width: 360px;
14
+ margin: 0;
15
+ padding: 12px 20px 12px 20px;
16
+ border-radius: 4px;
17
+ color: white;
18
+ font-size: 14px;
19
+ background: ${cp[A]};
20
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
21
+ pointer-events: auto;
22
+ opacity: 0;
23
+ display: flex;
24
+ align-items: center;
25
+ gap: 12px;
26
+ transform: translateY(-20px);
27
+ transition: opacity 0.25s, transform 0.25s;
28
+ position: relative;
29
+ `;let u=!1;const d=(r==null?void 0:r.closable)??!1;if(d){const b=document.createElement("button");b.innerHTML='<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>',b.style.cssText=`
30
+ background: transparent;
31
+ border: none;
32
+ color: white;
33
+ cursor: pointer;
34
+ margin-left: 8px;
35
+ padding: 0;
36
+ display: flex;
37
+ align-items: center;
38
+ opacity: 0.7;
39
+ transition: opacity 0.2s;
40
+ `,b.onmouseenter=()=>b.style.opacity="1",b.onmouseleave=()=>b.style.opacity="0.7",b.onclick=()=>p(),o.appendChild(b)}const B=up();B.appendChild(o),setTimeout(()=>{o.style.opacity="0.98",o.style.transform="translateY(0)"},10);const g=(r==null?void 0:r.duration)??(d?0:3e3);let v;!d&&g>0&&(v=window.setTimeout(()=>p(),g));function p(){u||(u=!0,o.style.opacity="0",o.style.transform="translateY(-20px)",v&&clearTimeout(v),setTimeout(()=>{o.parentNode&&(B.removeChild(o),B.childElementCount===0&&(B.remove(),_n=null))},250))}}}}const fp={class:"el-input__wrapper"},hp={class:"el-input__inner"},dp=["value","placeholder","disabled"],gp={class:"el-input__suffix"},pp={class:"el-input__suffix-inner"},Bp={key:1,class:"el-input__icon"},wp={key:0,class:"el-year-picker"},vp={class:"el-year-picker__header"},mp={class:"el-year-picker__header-label"},Cp={class:"el-year-picker__content"},yp=["onClick"],Fp={key:1,class:"el-month-picker"},Qp={class:"el-month-picker__header"},bp={class:"el-month-picker__content"},Up=["onClick"],Ep={key:2,class:"el-date-picker__content-wrapper"},Lp={class:"el-date-picker__header"},xp={class:"el-date-picker__header-label"},Ip={class:"el-date-picker__content"},Sp={class:"el-date-table__header"},Np={class:"el-date-table__body"},kp=["onClick"],Dp={class:"el-date-table__cell-inner"},Hp=l.defineComponent({__name:"DatePicker",props:{modelValue:{default:""},type:{default:"date"},placeholder:{default:"请选择日期"},startPlaceholder:{default:"开始日期"},endPlaceholder:{default:"结束日期"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},size:{default:"default"},format:{default:"YYYY-MM-DD"},valueFormat:{default:"YYYY-MM-DD"},rangeSeparator:{default:"至"}},emits:["update:modelValue","change","focus","blur"],setup(t,{emit:e}){const A=t,r=e,n=l.ref(!1),a=l.ref(!1),s=l.ref(!1),o=l.ref(!1),u=l.ref(!1),d=l.ref(),B=l.ref(),g=l.ref(null),v=l.ref(0),p=l.ref(new Date().getFullYear()),b=l.ref(new Date().getMonth()),F=l.ref(Math.floor(new Date().getFullYear()/10)*10),H=l.ref(""),m=l.ref(""),E=l.ref(""),R=l.ref("start"),q=$=>{if(!$)return"";const BA=new Date($);return`${BA.getFullYear()}-${String(BA.getMonth()+1).padStart(2,"0")}-${String(BA.getDate()).padStart(2,"0")}`},W=l.computed(()=>{if(A.type==="daterange"){const $=m.value?q(m.value):"",BA=E.value?q(E.value):"";return $&&BA?`${$} ${A.rangeSeparator} ${BA}`:$||BA||""}return H.value?q(H.value):""});l.watch(()=>A.modelValue,$=>{A.type==="daterange"?Array.isArray($)&&$.length===2?(m.value=$[0]||"",E.value=$[1]||""):(m.value="",E.value=""):H.value=$||""},{immediate:!0});const j=()=>{A.type==="daterange"?(m.value="",E.value="",r("update:modelValue",["",""]),r("change",["",""])):(H.value="",r("update:modelValue",""),r("change","")),s.value=!1},X=()=>{if(!A.disabled&&(s.value=!s.value,s.value)){tA.x=window.scrollX,tA.y=window.scrollY,v.value++;let $;A.type==="daterange"?$=m.value?new Date(m.value):new Date:$=H.value?new Date(H.value):new Date,p.value=$.getFullYear(),b.value=$.getMonth()}},k=()=>{s.value=!1,o.value=!1,u.value=!1,n.value=!1,g.value&&(clearTimeout(g.value),g.value=null)},G=$=>{var sA,pA;const BA=$.target;!((sA=d.value)!=null&&sA.contains(BA))&&!((pA=B.value)!=null&&pA.contains(BA))&&k()},tA={x:0,y:0},I=()=>{if(s.value){const $=window.scrollX,BA=window.scrollY,sA=Math.abs($-tA.x),pA=Math.abs(BA-tA.y);sA<50&&pA<50?v.value++:k(),tA.x=$,tA.y=BA}},Q=()=>{s.value&&v.value++},T=l.computed(()=>{const $=new Date(p.value,b.value,1),BA=new Date($);BA.setDate(BA.getDate()-$.getDay());const sA=[];for(let pA=0;pA<42;pA++){const FA=new Date(BA);FA.setDate(BA.getDate()+pA);const UA=`${FA.getFullYear()}-${String(FA.getMonth()+1).padStart(2,"0")}-${String(FA.getDate()).padStart(2,"0")}`,IA=FA.getMonth()===b.value,QA=UA===new Date().toISOString().split("T")[0],yA=A.type==="daterange"?UA===m.value||UA===E.value:UA===H.value,_A=A.type==="daterange"&&m.value&&E.value?UA>=m.value&&UA<=E.value:!1;sA.push({date:FA,dateStr:UA,day:FA.getDate(),isCurrentMonth:IA,isToday:QA,isSelected:yA,isInRange:_A})}return sA}),O=$=>{if(A.type==="daterange")if(R.value==="start"||!m.value||m.value&&E.value)m.value=$,E.value="",R.value="end";else{$<m.value?(E.value=m.value,m.value=$):E.value=$,R.value="start";const BA=[m.value,E.value];r("update:modelValue",BA),r("change",BA),setTimeout(()=>{k()},150)}else H.value=$,r("update:modelValue",$),r("change",$),setTimeout(()=>{k()},150)},lA=$=>{$&&($.preventDefault(),$.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),b.value===0?(b.value=11,p.value--):b.value--},oA=$=>{$&&($.preventDefault(),$.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),b.value===11?(b.value=0,p.value++):b.value++},aA=$=>{$&&($.preventDefault(),$.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),p.value--},_=$=>{$&&($.preventDefault(),$.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),p.value++},z=$=>{$&&($.preventDefault(),$.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),o.value=!0,u.value=!1,F.value=Math.floor(p.value/10)*10},rA=$=>{$&&($.preventDefault(),$.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),u.value=!0,o.value=!1},TA=($,BA)=>{BA&&(BA.preventDefault(),BA.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),p.value=$,o.value=!1,u.value=!0},L=($,BA)=>{BA&&(BA.preventDefault(),BA.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),b.value=$,u.value=!1},P=$=>{$&&($.preventDefault(),$.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),F.value-=10},V=$=>{$&&($.preventDefault(),$.stopPropagation()),g.value&&(clearTimeout(g.value),g.value=null),F.value+=10},J=l.computed(()=>{const $=[];for(let BA=0;BA<10;BA++)$.push(F.value+BA);return $}),eA=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],uA=["日","一","二","三","四","五","六"];l.onMounted(()=>{document.addEventListener("click",G),window.addEventListener("scroll",I,!0),window.addEventListener("resize",Q),tA.x=window.scrollX,tA.y=window.scrollY}),l.onUnmounted(()=>{document.removeEventListener("click",G),window.removeEventListener("scroll",I,!0),window.removeEventListener("resize",Q),g.value&&(clearTimeout(g.value),g.value=null)});const dA=$=>{g.value&&(clearTimeout(g.value),g.value=null),n.value=!0,r("focus",$)},gA=$=>{g.value=setTimeout(()=>{n.value=!1,k(),r("blur",$)},150)},HA=()=>{g.value&&(clearTimeout(g.value),g.value=null)},NA=()=>{g.value=setTimeout(()=>{k()},150)},MA=()=>{a.value=!0},PA=()=>{a.value=!1},YA=l.computed(()=>["el-date-picker",`el-date-picker--${A.size}`,{"is-disabled":A.disabled,"is-focused":n.value,"is-range":A.type==="daterange"}]),wA=l.computed(()=>!A.clearable||A.disabled?!1:A.type==="daterange"?(m.value||E.value)&&a.value:H.value&&a.value),D=l.computed(()=>{if(!d.value||!s.value)return{};const $=d.value.getBoundingClientRect(),BA=280,sA=300,pA=4,FA=window.innerWidth,UA=window.innerHeight,IA={position:"fixed",zIndex:"10000"},QA=UA-$.bottom,yA=$.top;QA>=sA+pA||QA>=yA?IA.top=`${$.bottom+pA}px`:IA.top=`${$.top-sA-pA}px`;const _A=FA-$.left,XA=$.right;if(_A>=BA)IA.left=`${$.left}px`;else if(XA>=BA)IA.left=`${$.right-BA}px`;else{const Ae=$.left+($.width-BA)/2,OA=pA,_e=FA-BA-pA;IA.left=`${Math.max(OA,Math.min(Ae,_e))}px`}const ie=parseFloat(IA.top),WA=parseFloat(IA.left);return ie<pA?IA.top=`${pA}px`:ie+sA>UA-pA&&(IA.top=`${UA-sA-pA}px`),WA<pA?IA.left=`${pA}px`:WA+BA>FA-pA&&(IA.left=`${FA-BA-pA}px`),IA});return($,BA)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(YA.value),onMouseenter:MA,onMouseleave:PA},[l.createElementVNode("div",{ref_key:"inputRef",ref:d,class:"el-input",onClick:X},[l.createElementVNode("div",fp,[l.createElementVNode("div",hp,[l.createElementVNode("input",{value:W.value,type:"text",class:"el-input__inner-input",placeholder:$.type==="daterange"?`${$.startPlaceholder} ${$.rangeSeparator} ${$.endPlaceholder}`:$.placeholder,disabled:$.disabled,readonly:"",onFocus:dA,onBlur:gA},null,40,dp)]),l.createElementVNode("div",gp,[l.createElementVNode("div",pp,[wA.value?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"el-input__clear",onClick:l.withModifiers(j,["stop"])},BA[3]||(BA[3]=[l.createElementVNode("svg",{class:"el-icon",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})],-1)]))):(l.openBlock(),l.createElementBlock("span",Bp,BA[4]||(BA[4]=[l.createElementVNode("svg",{class:"el-icon",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V384H128zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32z"}),l.createElementVNode("path",{fill:"currentColor",d:"M288 128a32 32 0 0 1 64 0v192a32 32 0 0 1-64 0V128zm384 0a32 32 0 0 1 64 0v192a32 32 0 0 1-64 0V128z"}),l.createElementVNode("path",{fill:"currentColor",d:"M96 320h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32z"})],-1)])))])])])],512),(l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[l.createVNode(l.Transition,{name:"picker-fade"},{default:l.withCtx(()=>[s.value?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"pickerRef",ref:B,class:"el-picker-panel",style:l.normalizeStyle(D.value),tabindex:"-1",onFocus:HA,onBlur:NA},[o.value?(l.openBlock(),l.createElementBlock("div",wp,[l.createElementVNode("div",vp,[l.createElementVNode("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:P}," << "),l.createElementVNode("span",mp,l.toDisplayString(F.value)+" - "+l.toDisplayString(F.value+9),1),l.createElementVNode("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:V}," >> ")]),l.createElementVNode("div",Cp,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(J.value,sA=>(l.openBlock(),l.createElementBlock("div",{key:sA,class:l.normalizeClass(["el-year-picker__item",{"is-current":sA===p.value}]),onClick:pA=>TA(sA,pA)},l.toDisplayString(sA),11,yp))),128))])])):u.value?(l.openBlock(),l.createElementBlock("div",Fp,[l.createElementVNode("div",Qp,[l.createElementVNode("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:aA}," << "),l.createElementVNode("span",{class:"el-month-picker__header-label",onClick:BA[0]||(BA[0]=sA=>z(sA))},l.toDisplayString(p.value)+"年 ",1),l.createElementVNode("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:_}," >> ")]),l.createElementVNode("div",bp,[(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(eA,(sA,pA)=>l.createElementVNode("div",{key:pA,class:l.normalizeClass(["el-month-picker__item",{"is-current":pA===b.value}]),onClick:FA=>L(pA,FA)},l.toDisplayString(sA),11,Up)),64))])])):(l.openBlock(),l.createElementBlock("div",Ep,[l.createElementVNode("div",Lp,[l.createElementVNode("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:aA}," << "),l.createElementVNode("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:lA}," < "),l.createElementVNode("span",xp,[l.createElementVNode("span",{class:"el-date-picker__header-year",onClick:BA[1]||(BA[1]=sA=>z(sA))},l.toDisplayString(p.value)+"年 ",1),l.createElementVNode("span",{class:"el-date-picker__header-month",onClick:BA[2]||(BA[2]=sA=>rA(sA))},l.toDisplayString(eA[b.value]),1)]),l.createElementVNode("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:oA}," > "),l.createElementVNode("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:_}," >> ")]),l.createElementVNode("div",Ip,[l.createElementVNode("div",Sp,[(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(uA,sA=>l.createElementVNode("div",{key:sA,class:"el-date-table__header-cell"},l.toDisplayString(sA),1)),64))]),l.createElementVNode("div",Np,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(T.value,sA=>(l.openBlock(),l.createElementBlock("div",{key:`${sA.date.getTime()}`,class:l.normalizeClass(["el-date-table__cell",{"is-other-month":!sA.isCurrentMonth,"is-today":sA.isToday,"is-selected":sA.isSelected,"is-in-range":sA.isInRange,"is-range-start":$.type==="daterange"&&sA.dateStr===m.value,"is-range-end":$.type==="daterange"&&sA.dateStr===E.value}]),onClick:pA=>O(sA.dateStr)},[l.createElementVNode("div",Dp,l.toDisplayString(sA.day),1)],10,kp))),128))])])]))],36)):l.createCommentVNode("",!0)]),_:1})]))],34))}}),cc=hr(Hp,[["__scopeId","data-v-fec0bd04"]]),_p={class:"gantt-confirm-header"},Tp={class:"gantt-confirm-title"},Mp={class:"gantt-confirm-content"},Pp={class:"gantt-confirm-footer"},Op={class:"gantt-confirm-footer-right"},Kp=l.defineComponent({__name:"GanttConfirmDialog",props:{visible:Boolean,title:{type:String,default:"确认"},message:{type:String,default:""},confirmText:{type:String,default:"确认"},cancelText:{type:String,default:"取消"},yesText:{type:String,default:"是"},noText:{type:String,default:"否"},type:{type:String,default:"confirm-cancel"}},emits:["confirm","cancel","yes","no"],setup(t,{emit:e}){const A=t,r=e,n=()=>r("confirm"),a=()=>r("cancel"),s=()=>r("yes"),o=()=>r("no");return(u,d)=>t.visible?(l.openBlock(),l.createElementBlock("div",{key:0,class:"gantt-confirm-overlay",onClick:a},[l.createElementVNode("div",{class:"gantt-confirm-dialog",onClick:d[0]||(d[0]=l.withModifiers(()=>{},["stop"]))},[l.createElementVNode("div",_p,[l.createElementVNode("h4",Tp,l.toDisplayString(A.title),1)]),l.createElementVNode("div",Mp,[l.createElementVNode("p",null,l.toDisplayString(A.message),1)]),l.createElementVNode("div",Pp,[A.type==="yes-no-cancel"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createElementVNode("button",{type:"button",class:"btn btn-default",onClick:a},l.toDisplayString(A.cancelText),1),l.createElementVNode("div",Op,[l.createElementVNode("button",{type:"button",class:"btn btn-warning",onClick:o},l.toDisplayString(A.noText),1),l.createElementVNode("button",{type:"button",class:"btn btn-danger",onClick:s},l.toDisplayString(A.yesText),1)])],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createElementVNode("button",{type:"button",class:"btn btn-default",onClick:a},l.toDisplayString(A.cancelText),1),l.createElementVNode("button",{type:"button",class:"btn btn-danger",onClick:n},l.toDisplayString(A.confirmText),1)],64))])])])):l.createCommentVNode("",!0)}}),eh=hr(Kp,[["__scopeId","data-v-200a3102"]]),Rp={class:"drawer-header"},Vp={class:"drawer-title"},Gp={class:"drawer-body"},jp={class:"form-group"},qp={class:"form-label",for:"task-name"},Wp=["placeholder"],zp={key:0,class:"error-text"},Xp={class:"form-group"},Jp={class:"form-label",for:"task-type"},Yp={value:"story"},$p={value:"task"},Zp={value:"bug"},A1={key:0,class:"error-text"},e1={class:"form-group"},t1={class:"form-label",for:"task-assignee"},r1={value:""},n1={class:"form-group"},a1={class:"form-label",for:"task-parent"},i1={value:void 0},s1=["value"],o1={class:"form-row"},l1={class:"form-group"},c1={class:"form-label",for:"task-start-date"},u1={key:0,class:"error-text"},f1={class:"form-group"},h1={class:"form-label",for:"task-end-date"},d1={key:0,class:"error-text"},g1={class:"form-group"},p1={class:"form-label",for:"task-predecessor"},B1={value:""},w1=["value"],v1={class:"form-row"},m1={class:"form-group"},C1={class:"form-label",for:"task-estimated-hours"},y1={class:"form-group"},F1={class:"form-label",for:"task-actual-hours"},Q1={class:"form-group"},b1={class:"form-label",for:"task-progress"},U1={class:"progress-container"},E1={class:"progress-input-group"},L1={class:"form-group"},x1={class:"form-label",for:"task-description"},I1=["placeholder"],S1={class:"drawer-footer"},N1={class:"footer-left"},k1=["disabled"],D1={key:0,class:"loading-spinner"},H1={class:"footer-right"},_1=["disabled"],T1={key:0,class:"loading-spinner"},M1=l.defineComponent({__name:"TaskDrawer",props:{visible:{type:Boolean,default:!1},task:{default:null},isEdit:{type:Boolean,default:!1},onDelete:{type:Function,default:void 0}},emits:["update:visible","submit","close","delete"],setup(t,{emit:e}){const A=t,r=e,{t:n}=Gn(),{showMessage:a}=jc(),s=l.ref(!1),o=l.ref(A.visible),u=l.ref(!1),d=l.computed(()=>{var _;return((_=A.task)==null?void 0:_.type)==="story"?"yes-no-cancel":"confirm-cancel"}),B=l.computed(()=>{var _,z,rA;return((_=A.task)==null?void 0:_.type)==="story"?n.value.confirmDeleteStory.replace("{name}",((z=A.task)==null?void 0:z.name)||""):n.value.confirmDeleteTask.replace("{name}",((rA=A.task)==null?void 0:rA.name)||"")}),g=l.reactive({id:0,name:"",type:"task",assignee:"",startDate:"",endDate:"",predecessor:"",estimatedHours:0,actualHours:0,progress:0,description:"",parentId:void 0}),v=l.ref([]),p=l.computed(()=>v.value.filter(_=>{var z;return _.type==="task"&&_.id!==((z=A.task)==null?void 0:z.id)})),b=l.computed(()=>v.value.filter(_=>{var z;return _.id!==((z=A.task)==null?void 0:z.id)&&(_.type==="story"||_.type==="task")}).map(_=>({..._,displayName:`${_.name} (${F(_.type||"task")})`}))),F=_=>{var z;return((z=n.value.taskTypeMap)==null?void 0:z[_])||_},H=l.computed(()=>({"--progress-percent":`${g.progress||0}%`})),m=l.ref("0"),E=_=>{const z=_.target;let rA=z.value;rA=rA.replace(/[^\d]/g,""),z.value=rA,m.value=rA},R=()=>{const _=m.value;let z=parseInt(_)||0;z<0||isNaN(z)?z=0:z>100&&(z=100),g.progress=z,m.value=z.toString()},q=_=>{const z=_.target;setTimeout(()=>{z.select()},0)},W=_=>{const z=_.key,rA=["Backspace","Delete","Tab","Escape","Enter","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","Control","Meta","Alt","Shift"],TA=/^\d$/.test(z),L=rA.includes(z);_.ctrlKey||_.metaKey||!TA&&!L&&_.preventDefault()},j=l.reactive({name:"",type:"",startDate:"",endDate:""});l.watch(()=>A.visible,_=>{o.value=_,_&&(X(),A.task&&A.isEdit&&Object.assign(g,A.task),window.dispatchEvent(new CustomEvent("request-task-list")))}),l.watch(o,_=>{r("update:visible",_)});const X=()=>{Object.assign(g,{name:"",type:"task",assignee:"",startDate:"",endDate:"",predecessor:"",estimatedHours:0,actualHours:0,progress:0,description:"",parentId:void 0}),Object.keys(j).forEach(_=>{j[_]=""})},k=()=>{var z;let _=!0;return Object.keys(j).forEach(rA=>{j[rA]=""}),(z=g.name)!=null&&z.trim()?g.name.length>50&&(j.name=n.value.taskNameTooLong,_=!1):(j.name=n.value.taskNameRequired,_=!1),g.type||(j.type=n.value.taskTypeRequired,_=!1),g.startDate||(j.startDate=n.value.startDateRequired,_=!1),g.endDate?g.startDate&&new Date(g.endDate)<new Date(g.startDate)&&(j.endDate=n.value.endDateInvalid,_=!1):(j.endDate=n.value.endDateRequired,_=!1),_},G=()=>{o.value=!1,r("close")},tA=()=>{G()},I=async()=>{if(k())try{s.value=!0;const _={...g,id:A.isEdit&&A.task?A.task.id:Date.now()};r("submit",_),a(A.isEdit?n.value.taskUpdateSuccess:n.value.taskCreateSuccess,"success"),G()}catch{a(n.value.operationFailed,"error")}finally{s.value=!1}},Q=()=>{u.value=!0},T=()=>{if(u.value=!1,A.task&&A.isEdit)try{s.value=!0,r("delete",A.task),G()}catch{a(n.value.taskDeleteFailed,"error")}finally{s.value=!1}},O=()=>{u.value=!1},lA=()=>{if(u.value=!1,A.task&&A.isEdit)try{s.value=!0,r("delete",A.task,!0),G()}catch{a(n.value.taskDeleteFailed,"error")}finally{s.value=!1}},oA=()=>{if(u.value=!1,A.task&&A.isEdit)try{s.value=!0,r("delete",A.task,!1),G()}catch{a(n.value.taskDeleteFailed,"error")}finally{s.value=!1}},aA=_=>{v.value=_.detail||[]};return l.onMounted(()=>{window.addEventListener("task-list-updated",aA),window.dispatchEvent(new CustomEvent("request-task-list"))}),l.onUnmounted(()=>{window.removeEventListener("task-list-updated",aA)}),l.watch(()=>g.progress,_=>{m.value=(_||0).toString()},{immediate:!0}),(_,z)=>o.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"drawer-overlay",onClick:tA},[l.createElementVNode("div",{class:"drawer-container",onClick:z[12]||(z[12]=l.withModifiers(()=>{},["stop"]))},[l.createElementVNode("div",Rp,[l.createElementVNode("h3",Vp,l.toDisplayString(_.isEdit?l.unref(n).editTask:l.unref(n).newTask),1),l.createElementVNode("button",{class:"drawer-close-btn",type:"button",onClick:G},z[13]||(z[13]=[l.createElementVNode("svg",{class:"close-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"},[l.createElementVNode("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),l.createElementVNode("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)]))]),l.createElementVNode("div",Gp,[l.createElementVNode("form",{class:"task-form",onSubmit:l.withModifiers(I,["prevent"])},[l.createElementVNode("div",jp,[l.createElementVNode("label",qp,[l.createTextVNode(l.toDisplayString(l.unref(n).taskName)+" ",1),z[14]||(z[14]=l.createElementVNode("span",{class:"required"},"*",-1))]),l.withDirectives(l.createElementVNode("input",{id:"task-name","onUpdate:modelValue":z[0]||(z[0]=rA=>g.name=rA),type:"text",class:l.normalizeClass(["form-input",{error:j.name}]),placeholder:l.unref(n).taskNamePlaceholder},null,10,Wp),[[l.vModelText,g.name]]),j.name?(l.openBlock(),l.createElementBlock("span",zp,l.toDisplayString(j.name),1)):l.createCommentVNode("",!0)]),l.createElementVNode("div",Xp,[l.createElementVNode("label",Jp,[l.createTextVNode(l.toDisplayString(l.unref(n).taskType)+" ",1),z[15]||(z[15]=l.createElementVNode("span",{class:"required"},"*",-1))]),l.withDirectives(l.createElementVNode("select",{id:"task-type","onUpdate:modelValue":z[1]||(z[1]=rA=>g.type=rA),class:l.normalizeClass(["form-select",{error:j.type}])},[l.createElementVNode("option",Yp,l.toDisplayString(l.unref(n).taskTypeMap.story),1),l.createElementVNode("option",$p,l.toDisplayString(l.unref(n).taskTypeMap.task),1),l.createElementVNode("option",Zp,l.toDisplayString(l.unref(n).taskTypeMap.bug),1)],2),[[l.vModelSelect,g.type]]),j.type?(l.openBlock(),l.createElementBlock("span",A1,l.toDisplayString(j.type),1)):l.createCommentVNode("",!0)]),l.createElementVNode("div",e1,[l.createElementVNode("label",t1,l.toDisplayString(l.unref(n).assignee),1),l.withDirectives(l.createElementVNode("select",{id:"task-assignee","onUpdate:modelValue":z[2]||(z[2]=rA=>g.assignee=rA),class:"form-select"},[l.createElementVNode("option",r1,l.toDisplayString(l.unref(n).selectAssignee),1),z[16]||(z[16]=l.createStaticVNode('<option value="张三" data-v-077ca457>张三</option><option value="李四" data-v-077ca457>李四</option><option value="王五" data-v-077ca457>王五</option><option value="赵六" data-v-077ca457>赵六</option><option value="钱七" data-v-077ca457>钱七</option>',5))],512),[[l.vModelSelect,g.assignee]])]),l.createElementVNode("div",n1,[l.createElementVNode("label",a1,l.toDisplayString(l.unref(n).parentTask),1),l.withDirectives(l.createElementVNode("select",{id:"task-parent","onUpdate:modelValue":z[3]||(z[3]=rA=>g.parentId=rA),class:"form-select"},[l.createElementVNode("option",i1,l.toDisplayString(l.unref(n).noParentTask),1),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(b.value,rA=>(l.openBlock(),l.createElementBlock("option",{key:rA.id,value:rA.id},l.toDisplayString(rA.displayName),9,s1))),128))],512),[[l.vModelSelect,g.parentId]])]),l.createElementVNode("div",o1,[l.createElementVNode("div",l1,[l.createElementVNode("label",c1,[l.createTextVNode(l.toDisplayString(l.unref(n).startDate)+" ",1),z[17]||(z[17]=l.createElementVNode("span",{class:"required"},"*",-1))]),l.createVNode(cc,{id:"task-start-date",modelValue:g.startDate,"onUpdate:modelValue":z[4]||(z[4]=rA=>g.startDate=rA),type:"date",placeholder:l.unref(n).startDateRequired,class:l.normalizeClass({error:j.startDate})},null,8,["modelValue","placeholder","class"]),j.startDate?(l.openBlock(),l.createElementBlock("span",u1,l.toDisplayString(j.startDate),1)):l.createCommentVNode("",!0)]),l.createElementVNode("div",f1,[l.createElementVNode("label",h1,[l.createTextVNode(l.toDisplayString(l.unref(n).endDate)+" ",1),z[18]||(z[18]=l.createElementVNode("span",{class:"required"},"*",-1))]),l.createVNode(cc,{id:"task-end-date",modelValue:g.endDate,"onUpdate:modelValue":z[5]||(z[5]=rA=>g.endDate=rA),type:"date",placeholder:l.unref(n).endDateRequired,class:l.normalizeClass({error:j.endDate})},null,8,["modelValue","placeholder","class"]),j.endDate?(l.openBlock(),l.createElementBlock("span",d1,l.toDisplayString(j.endDate),1)):l.createCommentVNode("",!0)])]),l.createElementVNode("div",g1,[l.createElementVNode("label",p1,l.toDisplayString(l.unref(n).predecessor),1),l.withDirectives(l.createElementVNode("select",{id:"task-predecessor","onUpdate:modelValue":z[6]||(z[6]=rA=>g.predecessor=rA),class:"form-select"},[l.createElementVNode("option",B1,l.toDisplayString(l.unref(n).predecessorPlaceholder),1),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(p.value,rA=>(l.openBlock(),l.createElementBlock("option",{key:rA.id,value:rA.id},l.toDisplayString(rA.name)+" (ID: "+l.toDisplayString(rA.id)+") ",9,w1))),128))],512),[[l.vModelSelect,g.predecessor]])]),l.createElementVNode("div",v1,[l.createElementVNode("div",m1,[l.createElementVNode("label",C1,l.toDisplayString(l.unref(n).estimatedHours),1),l.withDirectives(l.createElementVNode("input",{id:"task-estimated-hours","onUpdate:modelValue":z[7]||(z[7]=rA=>g.estimatedHours=rA),type:"number",class:"form-input",placeholder:"0",min:"0",max:"999"},null,512),[[l.vModelText,g.estimatedHours,void 0,{number:!0}]])]),l.createElementVNode("div",y1,[l.createElementVNode("label",F1,l.toDisplayString(l.unref(n).actualHours),1),l.withDirectives(l.createElementVNode("input",{id:"task-actual-hours","onUpdate:modelValue":z[8]||(z[8]=rA=>g.actualHours=rA),type:"number",class:"form-input",placeholder:"0",min:"0",max:"999"},null,512),[[l.vModelText,g.actualHours,void 0,{number:!0}]])])]),l.createElementVNode("div",Q1,[l.createElementVNode("label",b1,l.toDisplayString(l.unref(n).progress),1),l.createElementVNode("div",U1,[l.withDirectives(l.createElementVNode("input",{id:"task-progress","onUpdate:modelValue":z[9]||(z[9]=rA=>g.progress=rA),type:"range",class:"progress-slider",style:l.normalizeStyle(H.value),min:"0",max:"100",step:"5"},null,4),[[l.vModelText,g.progress,void 0,{number:!0}]]),l.createElementVNode("div",E1,[l.withDirectives(l.createElementVNode("input",{"onUpdate:modelValue":z[10]||(z[10]=rA=>m.value=rA),type:"text",class:"progress-input",placeholder:"0",maxlength:"3",onBlur:R,onKeyup:l.withKeys(R,["enter"]),onInput:E,onFocus:q,onKeydown:W},null,544),[[l.vModelText,m.value]]),z[19]||(z[19]=l.createElementVNode("span",{class:"progress-unit"},"%",-1))])])]),l.createElementVNode("div",L1,[l.createElementVNode("label",x1,l.toDisplayString(l.unref(n).description),1),l.withDirectives(l.createElementVNode("textarea",{id:"task-description","onUpdate:modelValue":z[11]||(z[11]=rA=>g.description=rA),class:"form-textarea",placeholder:l.unref(n).descriptionPlaceholder,rows:"3"},null,8,I1),[[l.vModelText,g.description]])])],32)]),l.createElementVNode("div",S1,[l.createElementVNode("div",N1,[_.isEdit&&_.task?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"btn btn-danger",disabled:s.value,onClick:Q},[s.value?(l.openBlock(),l.createElementBlock("span",D1)):l.createCommentVNode("",!0),l.createTextVNode(" "+l.toDisplayString(l.unref(n).delete),1)],8,k1)):l.createCommentVNode("",!0),l.createVNode(eh,{visible:u.value,title:l.unref(n).delete,type:d.value,message:B.value,"confirm-text":l.unref(n).confirm,"cancel-text":l.unref(n).cancel,"yes-text":l.unref(n).storyDeleteYes,"no-text":l.unref(n).storyDeleteNo,onConfirm:T,onYes:lA,onNo:oA,onCancel:O},null,8,["visible","title","type","message","confirm-text","cancel-text","yes-text","no-text"])]),l.createElementVNode("div",H1,[l.createElementVNode("button",{type:"button",class:"btn btn-default",onClick:G},l.toDisplayString(l.unref(n).cancel),1),l.createElementVNode("button",{type:"button",class:"btn btn-primary",disabled:s.value,onClick:I},[s.value?(l.openBlock(),l.createElementBlock("span",T1)):l.createCommentVNode("",!0),l.createTextVNode(" "+l.toDisplayString(_.isEdit?l.unref(n).update:l.unref(n).create),1)],8,_1)])])])])):l.createCommentVNode("",!0)}}),th=hr(M1,[["__scopeId","data-v-077ca457"]]),P1={class:"milestone-dialog-header"},O1={class:"milestone-dialog-title"},K1=["title"],R1={class:"milestone-dialog-content"},V1={class:"milestone-form-row"},G1={class:"milestone-form-item milestone-form-item-full"},j1={class:"milestone-form-label required",for:"milestone-name"},q1=["placeholder"],W1={key:0,class:"milestone-form-error"},z1={class:"milestone-form-row"},X1={class:"milestone-form-item"},J1={class:"milestone-form-label required",for:"milestone-date"},Y1={key:0,class:"milestone-form-error"},$1={class:"milestone-form-item"},Z1={class:"milestone-form-label",for:"milestone-icon"},A0=["aria-expanded"],e0={class:"selected-icon"},t0={key:0,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},r0={key:1,class:"rocket-emoji-mini"},n0={key:0,class:"milestone-icon-options"},a0={class:"milestone-form-row"},i0={class:"milestone-form-item milestone-form-item-full"},s0={class:"milestone-form-label",for:"milestone-description"},o0={class:"textarea-wrapper"},l0=["placeholder"],c0={class:"textarea-footer"},u0={class:"char-count"},f0={class:"milestone-dialog-footer"},h0={class:"milestone-dialog-footer-left"},d0={class:"milestone-dialog-footer-right"},g0=["disabled"],p0=l.defineComponent({__name:"MilestoneDialog",props:{visible:{type:Boolean},milestone:{}},emits:["update:visible","close","save","delete"],setup(t,{emit:e}){const A=t,r=e,n=l.reactive({name:"",startDate:"",assignee:"",type:"milestone",icon:"diamond",description:""}),a=l.reactive({name:"",startDate:""}),s=l.ref(!1),o=l.ref(!1),u=l.ref(null),d=()=>{const j=u.value;j&&(j.style.height="auto",j.style.height=`${Math.min(j.scrollHeight,120)}px`)};l.watch(()=>A.milestone,j=>{j?Object.assign(n,{id:j.id,name:j.name||"",startDate:j.startDate||"",assignee:j.assignee||"",type:j.type||"milestone",icon:j.icon||"diamond",description:j.description||""}):Object.assign(n,{id:void 0,name:"",startDate:"",assignee:"",type:"milestone",icon:"diamond",description:""}),a.name="",a.startDate=""},{immediate:!0});const B=()=>{a.name="",a.startDate="";let j=!0;return n.name.trim()||(a.name=W("milestoneNameRequired"),j=!1),n.startDate||(a.startDate=W("milestoneDateRequired"),j=!1),j},g=l.computed(()=>n.name.trim()&&n.startDate),v=j=>{n.icon=j,s.value=!1},p=()=>{B()&&(r("save",{...n}),E())},b=()=>{n.id&&(o.value=!0)},F=()=>{n.id&&(r("delete",n.id),o.value=!1,E())},H=()=>{o.value=!1},m=l.computed(()=>A.milestone&&A.milestone.id),E=()=>{s.value=!1,r("update:visible",!1),r("close")},R=()=>{E()},{t:q}=Gn(),W=j=>q.value[j]||j;return(j,X)=>{var k;return j.visible?(l.openBlock(),l.createElementBlock("div",{key:0,class:"milestone-dialog-overlay",onClick:R},[l.createElementVNode("div",{class:"milestone-dialog",onClick:X[6]||(X[6]=l.withModifiers(()=>{},["stop"]))},[l.createElementVNode("div",P1,[l.createElementVNode("h3",O1,[X[7]||(X[7]=l.createElementVNode("svg",{class:"milestone-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[l.createElementVNode("g",{transform:"rotate(45 12 12)"},[l.createElementVNode("rect",{x:"4",y:"4",width:"16",height:"16",rx:"4",ry:"4",fill:"currentColor",opacity:"0.1"}),l.createElementVNode("rect",{x:"4",y:"4",width:"16",height:"16",rx:"4",ry:"4",stroke:"currentColor",fill:"none"})])],-1)),l.createTextVNode(" "+l.toDisplayString(m.value?l.unref(q).editMilestone:l.unref(q).newMilestone),1)]),l.createElementVNode("button",{class:"milestone-dialog-close",title:W("close"),onClick:E},"×",8,K1)]),l.createElementVNode("div",R1,[l.createElementVNode("form",{class:"milestone-form",onSubmit:l.withModifiers(p,["prevent"])},[l.createElementVNode("div",V1,[l.createElementVNode("div",G1,[l.createElementVNode("label",j1,l.toDisplayString(W("milestoneName")),1),l.withDirectives(l.createElementVNode("input",{id:"milestone-name","onUpdate:modelValue":X[0]||(X[0]=G=>n.name=G),type:"text",class:l.normalizeClass(["milestone-form-input",{error:a.name}]),placeholder:W("enterMilestoneName"),required:""},null,10,q1),[[l.vModelText,n.name]]),a.name?(l.openBlock(),l.createElementBlock("span",W1,l.toDisplayString(a.name),1)):l.createCommentVNode("",!0)])]),l.createElementVNode("div",z1,[l.createElementVNode("div",X1,[l.createElementVNode("label",J1,l.toDisplayString(W("milestoneDate")),1),l.createVNode(cc,{id:"milestone-date",modelValue:n.startDate,"onUpdate:modelValue":X[1]||(X[1]=G=>n.startDate=G),type:"date",placeholder:"请选择里程碑日期",class:l.normalizeClass({error:a.startDate})},null,8,["modelValue","class"]),a.startDate?(l.openBlock(),l.createElementBlock("span",Y1,l.toDisplayString(a.startDate),1)):l.createCommentVNode("",!0)]),l.createElementVNode("div",$1,[l.createElementVNode("label",Z1,l.toDisplayString(W("milestoneIcon")),1),l.createElementVNode("div",{class:l.normalizeClass(["milestone-icon-dropdown",{active:s.value}])},[l.createElementVNode("button",{id:"milestone-icon",type:"button",class:"milestone-icon-trigger","aria-expanded":s.value,"aria-haspopup":"listbox",onClick:X[2]||(X[2]=G=>s.value=!s.value)},[l.createElementVNode("div",e0,[n.icon==="diamond"?(l.openBlock(),l.createElementBlock("svg",t0,X[8]||(X[8]=[l.createElementVNode("g",{transform:"rotate(45 12 12)"},[l.createElementVNode("rect",{x:"6",y:"6",width:"12",height:"12",rx:"3",ry:"3",fill:"currentColor"})],-1)]))):n.icon==="rocket"?(l.openBlock(),l.createElementBlock("div",r0,"🚀")):l.createCommentVNode("",!0),l.createElementVNode("span",null,l.toDisplayString(W(n.icon||"diamond")),1)]),X[9]||(X[9]=l.createElementVNode("svg",{class:"dropdown-arrow",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[l.createElementVNode("polyline",{points:"6,9 12,15 18,9"})],-1))],8,A0),s.value?(l.openBlock(),l.createElementBlock("div",n0,[l.createElementVNode("div",{class:l.normalizeClass(["icon-option",{selected:n.icon==="diamond"}]),onClick:X[3]||(X[3]=G=>v("diamond"))},[X[10]||(X[10]=l.createElementVNode("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[l.createElementVNode("g",{transform:"rotate(45 12 12)"},[l.createElementVNode("rect",{x:"6",y:"6",width:"12",height:"12",rx:"3",ry:"3",fill:"currentColor"})])],-1)),l.createElementVNode("span",null,l.toDisplayString(W("diamond")),1)],2),l.createElementVNode("div",{class:l.normalizeClass(["icon-option",{selected:n.icon==="rocket"}]),onClick:X[4]||(X[4]=G=>v("rocket"))},[X[11]||(X[11]=l.createElementVNode("div",{class:"rocket-emoji-option"},"🚀",-1)),l.createElementVNode("span",null,l.toDisplayString(W("rocket")),1)],2)])):l.createCommentVNode("",!0)],2)])]),l.createElementVNode("div",a0,[l.createElementVNode("div",i0,[l.createElementVNode("label",s0,l.toDisplayString(W("description")),1),l.createElementVNode("div",o0,[l.withDirectives(l.createElementVNode("textarea",{id:"milestone-description",ref_key:"descriptionTextarea",ref:u,"onUpdate:modelValue":X[5]||(X[5]=G=>n.description=G),class:"milestone-form-textarea",placeholder:W("enterDescription"),rows:"4",maxlength:"500",onInput:d},null,40,l0),[[l.vModelText,n.description]]),l.createElementVNode("div",c0,[l.createElementVNode("span",u0,l.toDisplayString(((k=n.description)==null?void 0:k.length)||0)+"/500",1)])])])])],32)]),l.createElementVNode("div",f0,[l.createElementVNode("div",h0,[m.value?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"btn btn-danger",onClick:b},l.toDisplayString(l.unref(q).delete),1)):l.createCommentVNode("",!0)]),l.createElementVNode("div",d0,[l.createElementVNode("button",{type:"button",class:"btn btn-default",onClick:E},l.toDisplayString(l.unref(q).cancel),1),l.createElementVNode("button",{type:"button",class:"btn btn-primary",disabled:!g.value,onClick:p},l.toDisplayString(l.unref(q).confirm),9,g0)])])]),l.createVNode(eh,{visible:o.value,title:l.unref(q).delete,message:l.unref(q).confirmDelete,"confirm-text":l.unref(q).confirm,"cancel-text":l.unref(q).cancel,onConfirm:F,onCancel:H},null,8,["visible","title","message","confirm-text","cancel-text"])])):l.createCommentVNode("",!0)}}}),rh=hr(p0,[["__scopeId","data-v-67a961b6"]]),B0={class:"timeline-header"},w0={class:"timeline-header-row year-month-row"},v0={class:"year-month-label"},m0={class:"timeline-header-row days-row"},C0={class:"day-label"},y0=["width","height"],F0=["d"],Q0=["onMouseenter"],b0=l.defineComponent({__name:"Timeline",props:{tasks:{default:()=>[]},milestones:{default:()=>[]},onTaskDoubleClick:{type:Function,default:void 0},editComponent:{default:void 0},useDefaultDrawer:{type:Boolean,default:!0},onTaskDelete:{type:Function,default:void 0},onMilestoneSave:{type:Function,default:void 0},startDate:{default:void 0},endDate:{default:void 0}},setup(t,{expose:e}){const A=t,{formatYearMonth:r}=Gn(),n=()=>{const mA=new Date,DA=new Date(mA.getFullYear(),mA.getMonth()-6,1),xA=new Date(mA.getFullYear(),mA.getMonth()+6+1,0);return{startDate:DA,endDate:xA}},a=l.computed(()=>A.startDate?new Date(A.startDate):n().startDate),s=l.computed(()=>A.endDate?new Date(A.endDate):n().endDate),o=l.ref({startDate:a.value,endDate:s.value,zoomLevel:1});l.watch([a,s],([mA,DA])=>{o.value.startDate=mA,o.value.endDate=DA});const u=l.computed(()=>A.tasks||[]),d=l.ref(!1),B=l.ref(null),g=l.ref(!1),v=l.ref(!1),p=l.ref(null),b=l.ref(null),F=l.ref(!1),H=l.ref(!1),m=l.ref(!1),E=l.ref(0),R=l.ref(!1);let q=null;const W=l.ref(0);let j=null;const X=()=>{F.value=!0},k=()=>{F.value=!1},G=mA=>{F.value||(b.value=mA,window.dispatchEvent(new CustomEvent("timeline-task-hover",{detail:mA})))},tA=l.computed(()=>{const xA=u.value.length*51;return Math.max(xA,400,W.value)}),I=mA=>{b.value=mA.detail},Q=mA=>{const DA=mA.detail;dA(DA)},T=()=>{L.value=rA()},O=mA=>{p.value=mA,v.value=!0},lA=()=>{v.value=!1,p.value=null},oA=(mA,DA)=>{window.dispatchEvent(new CustomEvent("milestone-icon-changed",{detail:{milestoneId:mA,icon:DA}}))},aA=mA=>{A.onMilestoneSave&&typeof A.onMilestoneSave=="function"&&A.onMilestoneSave(mA),lA(),window.dispatchEvent(new CustomEvent("milestone-data-updated",{detail:{milestone:mA}}))},_=mA=>{lA(),window.dispatchEvent(new CustomEvent("milestone-deleted",{detail:{milestoneId:mA}})),window.dispatchEvent(new CustomEvent("milestone-data-changed",{detail:{milestoneId:mA}}))},z=mA=>{A.onMilestoneSave&&typeof A.onMilestoneSave=="function"&&A.onMilestoneSave(mA),window.dispatchEvent(new CustomEvent("milestone-data-updated",{detail:{milestone:mA}}))},rA=()=>{const mA=[],DA=new Date(o.value.startDate);for(;DA<=o.value.endDate;){const xA=DA.getFullYear(),JA=DA.getMonth()+1,de=[],re=new Date(xA,JA,0).getDate();for(let be=1;be<=re;be++){const fe=new Date(xA,JA-1,be),ke=fe.getDay(),Ke=ke===0||ke===6;de.push({day:be,date:fe,label:String(be).padStart(2,"0"),isToday:TA(fe),isWeekend:Ke})}mA.push({year:xA,month:JA,yearMonthLabel:r(xA,JA),startDate:new Date(DA),endDate:new Date(xA,JA,0),days:de}),DA.setMonth(DA.getMonth()+1)}return mA},TA=mA=>{const DA=new Date;return mA.getDate()===DA.getDate()&&mA.getMonth()===DA.getMonth()&&mA.getFullYear()===DA.getFullYear()},L=l.ref(rA());l.watch(()=>[o.value.startDate,o.value.endDate],()=>{L.value=rA()});let P=!1;l.watch(()=>[L.value,o.value.startDate,o.value.endDate],()=>{P||l.nextTick(()=>{V(),P=!0})},{deep:!0});const V=(mA=0)=>{const DA=new Date,xA=o.value.startDate,JA=new Date(DA.getFullYear(),DA.getMonth(),DA.getDate()),de=new Date(xA.getFullYear(),xA.getMonth(),xA.getDate()),re=JA.getTime()-de.getTime(),fe=Math.floor(re/(1e3*60*60*24))*30,ke=document.querySelector(".timeline"),Ke=ke.clientWidth;if(Ke===0&&mA<10){setTimeout(()=>V(mA+1),60);return}const he=fe-Ke/2+15;typeof ke.scrollTo=="function"?ke.scrollTo({left:Math.max(0,he),behavior:"smooth"}):ke.scrollLeft=Math.max(0,he)},J=()=>{if(u.value.length===0){eA();return}const mA=u.value.map(he=>he.startDate).filter(he=>!!he).map(he=>new Date(he));if(mA.length===0){eA();return}const DA=new Date(Math.min(...mA.map(he=>he.getTime()))),xA=DA.getFullYear(),JA=DA.getMonth(),de=DA.getDate();let re=0;for(let he=0;he<JA;he++)re+=new Date(xA,he+1,0).getDate();re+=de;const be=document.querySelector(".gantt-panel-right"),fe=be==null?void 0:be.clientWidth,ke=(re-1)*30-(fe?fe/2:200),Ke=document.querySelector(".timeline");Ke&&(Ke.scrollLeft=Math.max(0,ke))},eA=()=>{const mA=new Date,DA=o.value.startDate,xA=new Date(mA.getFullYear(),mA.getMonth(),mA.getDate()),JA=new Date(DA.getFullYear(),DA.getMonth(),DA.getDate()),de=xA.getTime()-JA.getTime(),re=Math.floor(de/(1e3*60*60*24));if(re<0||xA>o.value.endDate)return;const be=re*30,fe=document.querySelector(".timeline");if(!fe)return;const ke=fe.clientWidth,Ke=be-ke/2+15;fe.scrollTo({left:Math.max(0,Ke),behavior:"smooth"}),setTimeout(()=>{document.querySelectorAll(".day-column.today").forEach(ae=>{ae.classList.add("today-highlight"),setTimeout(()=>{ae.classList.remove("today-highlight")},2e3)})},500)},uA=mA=>{window.dispatchEvent(new CustomEvent("task-updated",{detail:mA}))},dA=mA=>{A.onTaskDoubleClick&&typeof A.onTaskDoubleClick=="function"?A.onTaskDoubleClick(mA):A.useDefaultDrawer&&(B.value=mA,g.value=!0,d.value=!0)},gA=mA=>{g.value?uA(mA):window.dispatchEvent(new CustomEvent("task-added",{detail:mA})),d.value=!1},HA=()=>{B.value=null,g.value=!1},NA=l.ref({}),MA=l.ref(null),PA=l.ref(0),YA=l.ref(0);function wA(){MA.value&&(PA.value=MA.value.offsetWidth,YA.value=tA.value)}function D(mA){if(!MA.value)return;const DA=MA.value.getBoundingClientRect();NA.value[mA.id]={left:mA.left-DA.left,top:mA.top-DA.top,width:mA.width,height:mA.height},wA()}const $=mA=>{window.dispatchEvent(new CustomEvent("taskbar-drag-end",{detail:mA}))},BA=mA=>{window.dispatchEvent(new CustomEvent("taskbar-resize-end",{detail:mA}))},sA=mA=>{window.dispatchEvent(new CustomEvent("milestone-drag-end",{detail:mA}))},pA=l.computed(()=>{const mA=[];for(const DA of u.value)if(DA.predecessor&&NA.value[DA.id]&&NA.value[Number(DA.predecessor)]){const xA=NA.value[Number(DA.predecessor)],JA=NA.value[DA.id],de=xA.left+xA.width,re=xA.top+xA.height/2,be=JA.left,fe=JA.top+JA.height/2,ke=de+40,Ke=re,he=be-40,ve=`M${de},${re} C${ke},${Ke} ${he},${fe} ${be},${fe}`;mA.push({from:Number(DA.predecessor),to:DA.id,path:ve})}return mA});l.onMounted(()=>{l.nextTick(()=>{setTimeout(()=>{V()},60)}),window.addEventListener("task-row-double-click",Q),window.addEventListener("task-list-hover",I),window.addEventListener("task-list-vertical-scroll",FA),window.addEventListener("locale-changed",T),window.addEventListener("splitter-drag-start",X),window.addEventListener("splitter-drag-end",k),l.nextTick(()=>{const mA=document.querySelector(".timeline-body");mA&&(W.value=mA.clientHeight,j=new ResizeObserver(DA=>{for(const xA of DA)W.value=xA.contentRect.height}),j.observe(mA))}),setTimeout(()=>{V(),wA()},200),window.addEventListener("resize",wA),window.addEventListener("scroll",WA)});const FA=mA=>{const{scrollTop:DA}=mA.detail,xA=document.querySelector(".timeline-body");xA&&xA.scrollTop!==DA&&(xA.scrollTop=DA)};l.watch(()=>u.value.length,()=>{l.nextTick(()=>{wA()})},{immediate:!0});const UA=l.ref(!1),IA=l.ref(0),QA=l.ref(0),yA=l.ref(null),_A=mA=>{var de;const DA=mA.target,xA=DA.closest(".timeline-header"),JA=DA.closest(".timeline-body");!xA&&!JA||JA&&[".task-bar",".milestone","button","input","select","textarea",".task-bar-content",".progress-bar",".task-name",".task-controls"].some(fe=>DA.closest(fe))||(UA.value=!0,IA.value=mA.pageX,QA.value=((de=yA.value)==null?void 0:de.scrollLeft)||0,yA.value&&(yA.value.style.cursor="grabbing",yA.value.style.userSelect="none"),mA.preventDefault(),document.addEventListener("mousemove",XA),document.addEventListener("mouseup",ie))},XA=mA=>{if(!UA.value||!yA.value)return;mA.preventDefault();const xA=(mA.pageX-IA.value)*1.5;yA.value.scrollLeft=QA.value-xA},ie=()=>{UA.value=!1,yA.value&&(yA.value.style.cursor="grab",yA.value.style.userSelect="auto"),document.removeEventListener("mousemove",XA),document.removeEventListener("mouseup",ie)},WA=mA=>{const DA=mA.target;if(!DA)return;const xA=DA.scrollLeft,JA=DA.scrollTop,de=DA.scrollWidth,re=DA.clientWidth,be=de-re;E.value=be>0?xA/be:0,H.value=xA>20,m.value=xA<be-20,JA>=0&&window.dispatchEvent(new CustomEvent("timeline-vertical-scroll",{detail:{scrollTop:JA}})),R.value=!0,DA&&"classList"in DA&&typeof DA.classList.add=="function"&&DA.classList.add("scrolling"),q&&clearTimeout(q),q=setTimeout(()=>{R.value=!1,DA&&"classList"in DA&&typeof DA.classList.remove=="function"&&DA.classList.remove("scrolling")},500)};l.onUnmounted(()=>{document.removeEventListener("mousemove",XA),document.removeEventListener("mouseup",ie),window.removeEventListener("task-row-double-click",Q),window.removeEventListener("task-list-hover",I),window.removeEventListener("task-list-vertical-scroll",FA),window.removeEventListener("locale-changed",T),window.removeEventListener("splitter-drag-start",X),window.removeEventListener("splitter-drag-end",k),window.removeEventListener("resize",wA),window.removeEventListener("scroll",WA),j&&(j.disconnect(),j=null)});const Ae=(mA,DA)=>{if(A.onTaskDelete&&typeof A.onTaskDelete=="function"){const xA=u.value.find(JA=>JA.id===mA);xA&&A.onTaskDelete(xA,DA)}window.dispatchEvent(new CustomEvent("task-deleted",{detail:mA})),d.value=!1,B.value=null,g.value=!1},OA=(mA,DA)=>{Ae(mA.id,DA)};e({scrollToTasks:J,scrollToToday:eA,scrollToTodayCenter:V,timelineConfig:o});const _e=mA=>{const DA=mA.startDate||mA.endDate||"";return{...mA,type:"milestone",startDate:DA,endDate:mA.startDate||mA.endDate}};return(mA,DA)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"timelineContainer",ref:yA,class:"timeline",onMousedown:_A},[l.createElementVNode("div",B0,[l.createElementVNode("div",w0,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(L.value,xA=>(l.openBlock(),l.createElementBlock("div",{key:`year-month-${xA.year}-${xA.month}`,class:"timeline-month",style:l.normalizeStyle({width:`${xA.days.length*30}px`})},[l.createElementVNode("div",v0,l.toDisplayString(xA.yearMonthLabel),1)],4))),128))]),l.createElementVNode("div",m0,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(L.value,xA=>(l.openBlock(),l.createElementBlock("div",{key:`days-${xA.year}-${xA.month}`,class:"timeline-month-days",style:l.normalizeStyle({width:`${xA.days.length*30}px`})},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(xA.days,JA=>(l.openBlock(),l.createElementBlock("div",{key:`day-${xA.year}-${xA.month}-${JA.day}`,class:l.normalizeClass(["timeline-day",{today:JA.isToday,weekend:JA.isWeekend&&!JA.isToday}])},[l.createElementVNode("div",C0,l.toDisplayString(JA.label),1)],2))),128))],4))),128))])]),l.createElementVNode("div",{class:"timeline-body",onScroll:WA},[l.createElementVNode("div",{ref_key:"bodyContentRef",ref:MA,class:"timeline-body-content"},[(l.openBlock(),l.createElementBlock("svg",{class:"gantt-links",width:PA.value,height:YA.value,style:{position:"absolute",left:"0",top:"0","z-index":"25","pointer-events":"none"}},[DA[3]||(DA[3]=l.createElementVNode("defs",null,[l.createElementVNode("marker",{id:"arrow",markerWidth:"4",markerHeight:"4",refX:"4",refY:"2",orient:"auto",markerUnits:"strokeWidth"},[l.createElementVNode("polygon",{points:"0,0 4,2 0,4",fill:"#c0c4cc"})])],-1)),l.createElementVNode("g",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(pA.value,xA=>(l.openBlock(),l.createElementBlock("path",{key:xA.from+"-"+xA.to,d:xA.path,stroke:"#c0c4cc","stroke-width":"2","stroke-dasharray":"6,4",fill:"none","marker-end":"url(#arrow)"},null,8,F0))),128))])],8,y0)),l.createElementVNode("div",{class:"day-columns",style:l.normalizeStyle({height:`${tA.value}px`})},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(L.value,xA=>(l.openBlock(),l.createElementBlock("div",{key:`day-col-${xA.year}-${xA.month}`,class:"month-day-columns",style:l.normalizeStyle({width:`${xA.days.length*30}px`,height:`${tA.value}px`})},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(xA.days,JA=>(l.openBlock(),l.createElementBlock("div",{key:`day-col-${xA.year}-${xA.month}-${JA.day}`,class:l.normalizeClass(["day-column",{weekend:JA.isWeekend,today:JA.isToday}]),style:l.normalizeStyle({height:`${tA.value}px`})},null,6))),128))],4))),128))],4),l.createElementVNode("div",{class:"task-bar-container",style:l.normalizeStyle({height:`${tA.value}px`})},[l.createElementVNode("div",{class:"task-rows",style:l.normalizeStyle({height:`${tA.value}px`})},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(u.value,(xA,JA)=>(l.openBlock(),l.createElementBlock("div",{key:xA.id,class:l.normalizeClass(["task-row",{"task-row-hovered":b.value===xA.id}]),style:l.normalizeStyle({top:`${JA*51}px`}),onMouseenter:de=>G(xA.id),onMouseleave:DA[0]||(DA[0]=de=>G(null))},[xA.type==="milestone-group"&&xA.children?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:0},l.renderList(xA.children,de=>(l.openBlock(),l.createBlock(Ah,{key:de.id,date:de.startDate||"","row-height":50,"day-width":30,"start-date":o.value.startDate,name:de.name,milestone:_e(de),onMilestoneDoubleClick:O,"onUpdate:milestone":z,onDragEnd:sA},null,8,["date","start-date","name","milestone"]))),128)):xA.type!=="milestone-group"&&xA.type!=="milestone"?(l.openBlock(),l.createBlock(Zf,{key:1,task:xA,"row-height":50,"day-width":30,"start-date":o.value.startDate,"is-parent":xA.isParent,"on-double-click":A.onTaskDoubleClick,"edit-component":A.editComponent,"onUpdate:task":uA,onBarMounted:D,onDblclick:de=>dA(xA),onDragEnd:$,onResizeEnd:BA},null,8,["task","start-date","is-parent","on-double-click","edit-component","onDblclick"])):l.createCommentVNode("",!0)],46,Q0))),128))],4)],4)],512)],32),A.useDefaultDrawer?(l.openBlock(),l.createBlock(th,{key:0,visible:d.value,"onUpdate:visible":DA[1]||(DA[1]=xA=>d.value=xA),task:B.value,"is-edit":g.value,onSubmit:gA,onClose:HA,onDelete:OA},null,8,["visible","task","is-edit"])):l.createCommentVNode("",!0),l.createVNode(rh,{visible:v.value,"onUpdate:visible":DA[2]||(DA[2]=xA=>v.value=xA),milestone:p.value,onClose:lA,onSave:aA,onDelete:_,onIconChanged:oA},null,8,["visible","milestone"])],544))}}),nh=hr(b0,[["__scopeId","data-v-b2a999ff"]]),U0={class:"gantt-toolbar"},E0={class:"toolbar-left"},L0={key:0,class:"btn-group add-btn-group"},x0=["title"],I0=["title"],S0={key:1,class:"btn-group"},N0=["title"],k0=["title"],D0={class:"toolbar-right"},H0={key:0,class:"language-dropdown"},_0=["title"],T0={class:"lang-text"},M0={key:0,class:"language-menu"},P0=["onClick"],O0={class:"option-text"},K0={key:0,class:"check-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},R0=["title"],V0=["title"],G0={key:0,class:"btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},j0={key:1,class:"btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},q0={class:"icon-fallback"},W0=["title"],z0={key:0,class:"btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},X0={key:1,class:"btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},J0={class:"icon-fallback"},Y0={key:0,class:"confirm-dialog"},$0={class:"dialog-content"},Z0={class:"dialog-message"},AB={class:"dialog-actions"},Nl="gantt-theme",eB="gantt-locale",tB=l.defineComponent({__name:"GanttToolbar",props:{config:{default:()=>({})},onAddTask:{type:Function,default:void 0},onAddMilestone:{type:Function,default:void 0},onTodayLocate:{type:Function,default:void 0},onExportCsv:{type:Function,default:void 0},onExportPdf:{type:Function,default:void 0},onLanguageChange:{type:Function,default:void 0},onThemeChange:{type:Function,default:void 0},onFullscreenChange:{type:Function,default:void 0},onSettingsConfirm:{type:Function,default:void 0}},emits:["add-task","add-milestone","today-locate","export-csv","export-pdf","language-change","theme-change","fullscreen-change"],setup(t,{emit:e}){const A=t,r=e,n={zh:"zh-CN",en:"en-US"},a=()=>{if(typeof window<"u"){const aA=localStorage.getItem(Nl);return aA!==null?aA==="dark":window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}return!1},{locale:s,setLocale:o,getTranslation:u}=Gn(),d=l.ref("zh"),B=l.ref(a()),g=l.ref(!1),v=l.ref(!1),p=aA=>u(aA),b=l.computed(()=>p("language")),F=l.ref(!1),H=l.ref(null),m=l.ref(null),E=()=>{A.onAddTask&&typeof A.onAddTask=="function"?A.onAddTask():r("add-task")},R=()=>{A.onAddMilestone&&typeof A.onAddMilestone=="function"?A.onAddMilestone():r("add-milestone")},q=()=>{A.onTodayLocate&&typeof A.onTodayLocate=="function"?A.onTodayLocate():r("today-locate")},W=()=>{A.onExportCsv&&typeof A.onExportCsv=="function"?A.onExportCsv():r("export-csv")},j=()=>{A.onExportPdf&&typeof A.onExportPdf=="function"?A.onExportPdf():r("export-pdf")},X=()=>{v.value=!v.value},k=aA=>{d.value=aA,v.value=!1;const _=n[d.value];o(_),A.onLanguageChange&&typeof A.onLanguageChange=="function"?A.onLanguageChange(_):r("language-change",_),m.value=_,H.value="language",F.value=!0},G=async()=>{if(!H.value||m.value===null){T();return}if(A.onSettingsConfirm&&typeof A.onSettingsConfirm=="function")try{if(!await A.onSettingsConfirm(H.value,m.value)){T();return}}catch{T();return}H.value==="theme"?tA():H.value==="language"&&I(),T()},tA=()=>{typeof window<"u"&&typeof m.value=="boolean"&&localStorage.setItem(Nl,m.value?"dark":"light")},I=()=>{typeof window<"u"&&typeof m.value=="string"&&localStorage.setItem(eB,m.value)},Q=()=>{T()},T=()=>{F.value=!1,H.value=null,m.value=null},O=()=>{const aA=!B.value;B.value=aA,document.documentElement.setAttribute("data-theme",aA?"dark":"light"),A.onThemeChange&&typeof A.onThemeChange=="function"?A.onThemeChange(aA):r("theme-change",aA),m.value=aA,H.value="theme",F.value=!0},lA=()=>{g.value=!g.value,window.dispatchEvent(new CustomEvent("fullscreen-toggle",{detail:g.value})),A.onFullscreenChange&&typeof A.onFullscreenChange=="function"?A.onFullscreenChange(g.value):r("fullscreen-change",g.value)},oA=aA=>{!aA.target.closest(".language-dropdown")&&v.value&&(v.value=!1)};return l.onMounted(()=>{const aA=s.value;d.value=aA==="zh-CN"?"zh":"en",document.documentElement.setAttribute("data-theme",B.value?"dark":"light"),document.addEventListener("click",oA),window.matchMedia&&typeof window<"u"&&!localStorage.getItem(Nl)&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",_=>{B.value=_.matches,document.documentElement.setAttribute("data-theme",_.matches?"dark":"light")})}),l.onUnmounted(()=>{document.removeEventListener("click",oA)}),(aA,_)=>(l.openBlock(),l.createElementBlock("div",U0,[l.createElementVNode("div",E0,[aA.config.showAddTask!==!1||aA.config.showAddMilestone!==!1?(l.openBlock(),l.createElementBlock("div",L0,[aA.config.showAddTask!==!1?(l.openBlock(),l.createElementBlock("button",{key:0,class:"btn-group-item",title:p("addTask"),onClick:E},[_[0]||(_[0]=l.createElementVNode("svg",{class:"btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[l.createElementVNode("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),l.createElementVNode("line",{x1:"5",y1:"12",x2:"19",y2:"12"})],-1)),l.createTextVNode(" "+l.toDisplayString(p("addTask")),1)],8,x0)):l.createCommentVNode("",!0),aA.config.showAddMilestone!==!1?(l.openBlock(),l.createElementBlock("button",{key:1,class:"btn-group-item",title:p("addMilestone"),onClick:R},[_[1]||(_[1]=l.createStaticVNode('<svg class="btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-fe8c679e><g transform="rotate(45 12 12)" data-v-fe8c679e><rect x="4" y="4" width="16" height="16" rx="4" ry="4" fill="none" stroke="currentColor" data-v-fe8c679e></rect></g><line x1="12" y1="8" x2="12" y2="16" data-v-fe8c679e></line><line x1="8" y1="12" x2="16" y2="12" data-v-fe8c679e></line></svg>',1)),l.createTextVNode(" "+l.toDisplayString(p("addMilestone")),1)],8,I0)):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0),aA.config.showExportCsv!==!1||aA.config.showExportPdf!==!1?(l.openBlock(),l.createElementBlock("div",S0,[aA.config.showExportCsv!==!1?(l.openBlock(),l.createElementBlock("button",{key:0,class:"btn-group-item",title:p("exportCsv"),onClick:W},[_[2]||(_[2]=l.createStaticVNode('<svg class="btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-fe8c679e><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" data-v-fe8c679e></path><polyline points="14,2 14,8 20,8" data-v-fe8c679e></polyline><line x1="16" y1="13" x2="8" y2="13" data-v-fe8c679e></line><line x1="16" y1="17" x2="8" y2="17" data-v-fe8c679e></line><polyline points="10,9 9,9 8,9" data-v-fe8c679e></polyline></svg>',1)),l.createTextVNode(" "+l.toDisplayString(p("exportCsv")),1)],8,N0)):l.createCommentVNode("",!0),aA.config.showExportPdf!==!1?(l.openBlock(),l.createElementBlock("button",{key:1,class:"btn-group-item",title:p("exportPdf"),onClick:j},[_[3]||(_[3]=l.createStaticVNode('<svg class="btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-fe8c679e><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" data-v-fe8c679e></path><polyline points="14,2 14,8 20,8" data-v-fe8c679e></polyline><line x1="16" y1="13" x2="8" y2="13" data-v-fe8c679e></line><line x1="16" y1="17" x2="8" y2="17" data-v-fe8c679e></line><line x1="12" y1="13" x2="12" y2="17" data-v-fe8c679e></line></svg>',1)),l.createTextVNode(" "+l.toDisplayString(p("exportPdf")),1)],8,k0)):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)]),l.createElementVNode("div",D0,[aA.config.showLanguage!==!1?(l.openBlock(),l.createElementBlock("div",H0,[l.createElementVNode("button",{class:"toolbar-lang-btn",title:p("languageTooltip"),onClick:X},[_[4]||(_[4]=l.createElementVNode("svg",{class:"btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[l.createElementVNode("circle",{cx:"12",cy:"12",r:"10"}),l.createElementVNode("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),l.createElementVNode("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})],-1)),l.createElementVNode("span",T0,l.toDisplayString(b.value),1),_[5]||(_[5]=l.createElementVNode("svg",{class:"dropdown-arrow",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[l.createElementVNode("polyline",{points:"6,9 12,15 18,9"})],-1))],8,_0),v.value?(l.openBlock(),l.createElementBlock("div",M0,[(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(["zh","en"],z=>l.createElementVNode("div",{key:z,class:l.normalizeClass(["language-option",{active:d.value===z}]),onClick:rA=>k(z)},[l.createElementVNode("span",O0,l.toDisplayString(z==="zh"?"中文":"English"),1),d.value===z?(l.openBlock(),l.createElementBlock("svg",K0,_[6]||(_[6]=[l.createElementVNode("polyline",{points:"20,6 9,17 4,12"},null,-1)]))):l.createCommentVNode("",!0)],10,P0)),64))])):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0),aA.config.showTodayLocate!==!1?(l.openBlock(),l.createElementBlock("button",{key:1,class:"toolbar-icon-btn today-locate-btn",title:p("todayLocateTooltip"),onClick:q},_[7]||(_[7]=[l.createStaticVNode('<svg class="btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-fe8c679e><rect x="3" y="4" width="18" height="18" rx="2" ry="2" data-v-fe8c679e></rect><line x1="16" y1="2" x2="16" y2="6" data-v-fe8c679e></line><line x1="8" y1="2" x2="8" y2="6" data-v-fe8c679e></line><line x1="3" y1="10" x2="21" y2="10" data-v-fe8c679e></line><circle cx="12" cy="16" r="1" data-v-fe8c679e></circle></svg>',1)]),8,R0)):l.createCommentVNode("",!0),aA.config.showTheme!==!1?(l.openBlock(),l.createElementBlock("button",{key:2,class:"toolbar-icon-btn",title:p(B.value?"lightMode":"darkMode"),onClick:O},[B.value?(l.openBlock(),l.createElementBlock("svg",G0,_[8]||(_[8]=[l.createStaticVNode('<circle cx="12" cy="12" r="5" data-v-fe8c679e></circle><line x1="12" y1="1" x2="12" y2="3" data-v-fe8c679e></line><line x1="12" y1="21" x2="12" y2="23" data-v-fe8c679e></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64" data-v-fe8c679e></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78" data-v-fe8c679e></line><line x1="1" y1="12" x2="3" y2="12" data-v-fe8c679e></line><line x1="21" y1="12" x2="23" y2="12" data-v-fe8c679e></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36" data-v-fe8c679e></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22" data-v-fe8c679e></line>',9)]))):(l.openBlock(),l.createElementBlock("svg",j0,_[9]||(_[9]=[l.createElementVNode("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"},null,-1)]))),l.createElementVNode("span",q0,l.toDisplayString(B.value?"☀️":"🌙"),1)],8,V0)):l.createCommentVNode("",!0),aA.config.showFullscreen!==!1?(l.openBlock(),l.createElementBlock("button",{key:3,class:"toolbar-icon-btn",title:p(g.value?"exitFullscreen":"fullscreen"),onClick:lA},[g.value?(l.openBlock(),l.createElementBlock("svg",z0,_[10]||(_[10]=[l.createElementVNode("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"},null,-1)]))):(l.openBlock(),l.createElementBlock("svg",X0,_[11]||(_[11]=[l.createElementVNode("path",{d:"M8 3H5a2 2 0 00-2 2v3m18 0V5a2 2 0 00-2-2h-3m0 18h3a2 2 0 002-2v-3M3 16v3a2 2 0 002 2h3"},null,-1)]))),l.createElementVNode("span",J0,l.toDisplayString(g.value?"⇲":"⇱"),1)],8,W0)):l.createCommentVNode("",!0)]),F.value?(l.openBlock(),l.createElementBlock("div",Y0,[l.createElementVNode("div",$0,[l.createElementVNode("p",Z0,l.toDisplayString(p("confirmDialogMessage")),1),l.createElementVNode("div",AB,[l.createElementVNode("button",{class:"btn btn-default",onClick:Q},l.toDisplayString(p("cancel")),1),l.createElementVNode("button",{class:"btn btn-primary",onClick:G},l.toDisplayString(p("confirm")),1)])])])):l.createCommentVNode("",!0)]))}}),rB=hr(tB,[["__scopeId","data-v-fe8c679e"]]);function ye(t){"@babel/helpers - typeof";return ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(t)}var yt=Uint8Array,Kt=Uint16Array,qc=Int32Array,Io=new yt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),So=new yt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),uc=new yt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ah=function(t,e){for(var A=new Kt(31),r=0;r<31;++r)A[r]=e+=1<<t[r-1];for(var n=new qc(A[30]),r=1;r<30;++r)for(var a=A[r];a<A[r+1];++a)n[a]=a-A[r]<<5|r;return{b:A,r:n}},ih=ah(Io,2),sh=ih.b,fc=ih.r;sh[28]=258,fc[258]=28;var oh=ah(So,0),nB=oh.b,Su=oh.r,hc=new Kt(32768);for(var De=0;De<32768;++De){var ln=(De&43690)>>1|(De&21845)<<1;ln=(ln&52428)>>2|(ln&13107)<<2,ln=(ln&61680)>>4|(ln&3855)<<4,hc[De]=((ln&65280)>>8|(ln&255)<<8)>>1}var xr=function(t,e,A){for(var r=t.length,n=0,a=new Kt(e);n<r;++n)t[n]&&++a[t[n]-1];var s=new Kt(e);for(n=1;n<e;++n)s[n]=s[n-1]+a[n-1]<<1;var o;if(A){o=new Kt(1<<e);var u=15-e;for(n=0;n<r;++n)if(t[n])for(var d=n<<4|t[n],B=e-t[n],g=s[t[n]-1]++<<B,v=g|(1<<B)-1;g<=v;++g)o[hc[g]>>u]=d}else for(o=new Kt(r),n=0;n<r;++n)t[n]&&(o[n]=hc[s[t[n]-1]++]>>15-t[n]);return o},mn=new yt(288);for(var De=0;De<144;++De)mn[De]=8;for(var De=144;De<256;++De)mn[De]=9;for(var De=256;De<280;++De)mn[De]=7;for(var De=280;De<288;++De)mn[De]=8;var Mi=new yt(32);for(var De=0;De<32;++De)Mi[De]=5;var aB=xr(mn,9,0),iB=xr(mn,9,1),sB=xr(Mi,5,0),oB=xr(Mi,5,1),kl=function(t){for(var e=t[0],A=1;A<t.length;++A)t[A]>e&&(e=t[A]);return e},lr=function(t,e,A){var r=e/8|0;return(t[r]|t[r+1]<<8)>>(e&7)&A},Dl=function(t,e){var A=e/8|0;return(t[A]|t[A+1]<<8|t[A+2]<<16)>>(e&7)},Wc=function(t){return(t+7)/8|0},lh=function(t,e,A){return(A==null||A>t.length)&&(A=t.length),new yt(t.subarray(e,A))},lB=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],fr=function(t,e,A){var r=new Error(e||lB[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,fr),!A)throw r;return r},cB=function(t,e,A,r){var n=t.length,a=0;if(!n||e.f&&!e.l)return A||new yt(0);var s=!A,o=s||e.i!=2,u=e.i;s&&(A=new yt(n*3));var d=function(NA){var MA=A.length;if(NA>MA){var PA=new yt(Math.max(MA*2,NA));PA.set(A),A=PA}},B=e.f||0,g=e.p||0,v=e.b||0,p=e.l,b=e.d,F=e.m,H=e.n,m=n*8;do{if(!p){B=lr(t,g,1);var E=lr(t,g+1,3);if(g+=3,E)if(E==1)p=iB,b=oB,F=9,H=5;else if(E==2){var j=lr(t,g,31)+257,X=lr(t,g+10,15)+4,k=j+lr(t,g+5,31)+1;g+=14;for(var G=new yt(k),tA=new yt(19),I=0;I<X;++I)tA[uc[I]]=lr(t,g+I*3,7);g+=X*3;for(var Q=kl(tA),T=(1<<Q)-1,O=xr(tA,Q,1),I=0;I<k;){var lA=O[lr(t,g,T)];g+=lA&15;var R=lA>>4;if(R<16)G[I++]=R;else{var oA=0,aA=0;for(R==16?(aA=3+lr(t,g,3),g+=2,oA=G[I-1]):R==17?(aA=3+lr(t,g,7),g+=3):R==18&&(aA=11+lr(t,g,127),g+=7);aA--;)G[I++]=oA}}var _=G.subarray(0,j),z=G.subarray(j);F=kl(_),H=kl(z),p=xr(_,F,1),b=xr(z,H,1)}else fr(1);else{var R=Wc(g)+4,q=t[R-4]|t[R-3]<<8,W=R+q;if(W>n){u&&fr(0);break}o&&d(v+q),A.set(t.subarray(R,W),v),e.b=v+=q,e.p=g=W*8,e.f=B;continue}if(g>m){u&&fr(0);break}}o&&d(v+131072);for(var rA=(1<<F)-1,TA=(1<<H)-1,L=g;;L=g){var oA=p[Dl(t,g)&rA],P=oA>>4;if(g+=oA&15,g>m){u&&fr(0);break}if(oA||fr(2),P<256)A[v++]=P;else if(P==256){L=g,p=null;break}else{var V=P-254;if(P>264){var I=P-257,J=Io[I];V=lr(t,g,(1<<J)-1)+sh[I],g+=J}var eA=b[Dl(t,g)&TA],uA=eA>>4;eA||fr(3),g+=eA&15;var z=nB[uA];if(uA>3){var J=So[uA];z+=Dl(t,g)&(1<<J)-1,g+=J}if(g>m){u&&fr(0);break}o&&d(v+131072);var dA=v+V;if(v<z){var gA=a-z,HA=Math.min(z,dA);for(gA+v<0&&fr(3);v<HA;++v)A[v]=r[gA+v]}for(;v<dA;++v)A[v]=A[v-z]}}e.l=p,e.p=L,e.b=v,e.f=B,p&&(B=1,e.m=F,e.d=b,e.n=H)}while(!B);return v!=A.length&&s?lh(A,0,v):A.subarray(0,v)},Vr=function(t,e,A){A<<=e&7;var r=e/8|0;t[r]|=A,t[r+1]|=A>>8},vi=function(t,e,A){A<<=e&7;var r=e/8|0;t[r]|=A,t[r+1]|=A>>8,t[r+2]|=A>>16},Hl=function(t,e){for(var A=[],r=0;r<t.length;++r)t[r]&&A.push({s:r,f:t[r]});var n=A.length,a=A.slice();if(!n)return{t:uh,l:0};if(n==1){var s=new yt(A[0].s+1);return s[A[0].s]=1,{t:s,l:1}}A.sort(function(W,j){return W.f-j.f}),A.push({s:-1,f:25001});var o=A[0],u=A[1],d=0,B=1,g=2;for(A[0]={s:-1,f:o.f+u.f,l:o,r:u};B!=n-1;)o=A[A[d].f<A[g].f?d++:g++],u=A[d!=B&&A[d].f<A[g].f?d++:g++],A[B++]={s:-1,f:o.f+u.f,l:o,r:u};for(var v=a[0].s,r=1;r<n;++r)a[r].s>v&&(v=a[r].s);var p=new Kt(v+1),b=dc(A[B-1],p,0);if(b>e){var r=0,F=0,H=b-e,m=1<<H;for(a.sort(function(j,X){return p[X.s]-p[j.s]||j.f-X.f});r<n;++r){var E=a[r].s;if(p[E]>e)F+=m-(1<<b-p[E]),p[E]=e;else break}for(F>>=H;F>0;){var R=a[r].s;p[R]<e?F-=1<<e-p[R]++-1:++r}for(;r>=0&&F;--r){var q=a[r].s;p[q]==e&&(--p[q],++F)}b=e}return{t:new yt(p),l:b}},dc=function(t,e,A){return t.s==-1?Math.max(dc(t.l,e,A+1),dc(t.r,e,A+1)):e[t.s]=A},Nu=function(t){for(var e=t.length;e&&!t[--e];);for(var A=new Kt(++e),r=0,n=t[0],a=1,s=function(u){A[r++]=u},o=1;o<=e;++o)if(t[o]==n&&o!=e)++a;else{if(!n&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(n),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(n);a=1,n=t[o]}return{c:A.subarray(0,r),n:e}},mi=function(t,e){for(var A=0,r=0;r<e.length;++r)A+=t[r]*e[r];return A},ch=function(t,e,A){var r=A.length,n=Wc(e+2);t[n]=r&255,t[n+1]=r>>8,t[n+2]=t[n]^255,t[n+3]=t[n+1]^255;for(var a=0;a<r;++a)t[n+a+4]=A[a];return(n+4+r)*8},ku=function(t,e,A,r,n,a,s,o,u,d,B){Vr(e,B++,A),++n[256];for(var g=Hl(n,15),v=g.t,p=g.l,b=Hl(a,15),F=b.t,H=b.l,m=Nu(v),E=m.c,R=m.n,q=Nu(F),W=q.c,j=q.n,X=new Kt(19),k=0;k<E.length;++k)++X[E[k]&31];for(var k=0;k<W.length;++k)++X[W[k]&31];for(var G=Hl(X,7),tA=G.t,I=G.l,Q=19;Q>4&&!tA[uc[Q-1]];--Q);var T=d+5<<3,O=mi(n,mn)+mi(a,Mi)+s,lA=mi(n,v)+mi(a,F)+s+14+3*Q+mi(X,tA)+2*X[16]+3*X[17]+7*X[18];if(u>=0&&T<=O&&T<=lA)return ch(e,B,t.subarray(u,u+d));var oA,aA,_,z;if(Vr(e,B,1+(lA<O)),B+=2,lA<O){oA=xr(v,p,0),aA=v,_=xr(F,H,0),z=F;var rA=xr(tA,I,0);Vr(e,B,R-257),Vr(e,B+5,j-1),Vr(e,B+10,Q-4),B+=14;for(var k=0;k<Q;++k)Vr(e,B+3*k,tA[uc[k]]);B+=3*Q;for(var TA=[E,W],L=0;L<2;++L)for(var P=TA[L],k=0;k<P.length;++k){var V=P[k]&31;Vr(e,B,rA[V]),B+=tA[V],V>15&&(Vr(e,B,P[k]>>5&127),B+=P[k]>>12)}}else oA=aB,aA=mn,_=sB,z=Mi;for(var k=0;k<o;++k){var J=r[k];if(J>255){var V=J>>18&31;vi(e,B,oA[V+257]),B+=aA[V+257],V>7&&(Vr(e,B,J>>23&31),B+=Io[V]);var eA=J&31;vi(e,B,_[eA]),B+=z[eA],eA>3&&(vi(e,B,J>>5&8191),B+=So[eA])}else vi(e,B,oA[J]),B+=aA[J]}return vi(e,B,oA[256]),B+aA[256]},uB=new qc([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),uh=new yt(0),fB=function(t,e,A,r,n,a){var s=a.z||t.length,o=new yt(r+s+5*(1+Math.ceil(s/7e3))+n),u=o.subarray(r,o.length-n),d=a.l,B=(a.r||0)&7;if(e){B&&(u[0]=a.r>>3);for(var g=uB[e-1],v=g>>13,p=g&8191,b=(1<<A)-1,F=a.p||new Kt(32768),H=a.h||new Kt(b+1),m=Math.ceil(A/3),E=2*m,R=function(YA){return(t[YA]^t[YA+1]<<m^t[YA+2]<<E)&b},q=new qc(25e3),W=new Kt(288),j=new Kt(32),X=0,k=0,G=a.i||0,tA=0,I=a.w||0,Q=0;G+2<s;++G){var T=R(G),O=G&32767,lA=H[T];if(F[O]=lA,H[T]=O,I<=G){var oA=s-G;if((X>7e3||tA>24576)&&(oA>423||!d)){B=ku(t,u,0,q,W,j,k,tA,Q,G-Q,B),tA=X=k=0,Q=G;for(var aA=0;aA<286;++aA)W[aA]=0;for(var aA=0;aA<30;++aA)j[aA]=0}var _=2,z=0,rA=p,TA=O-lA&32767;if(oA>2&&T==R(G-TA))for(var L=Math.min(v,oA)-1,P=Math.min(32767,G),V=Math.min(258,oA);TA<=P&&--rA&&O!=lA;){if(t[G+_]==t[G+_-TA]){for(var J=0;J<V&&t[G+J]==t[G+J-TA];++J);if(J>_){if(_=J,z=TA,J>L)break;for(var eA=Math.min(TA,J-2),uA=0,aA=0;aA<eA;++aA){var dA=G-TA+aA&32767,gA=F[dA],HA=dA-gA&32767;HA>uA&&(uA=HA,lA=dA)}}}O=lA,lA=F[O],TA+=O-lA&32767}if(z){q[tA++]=268435456|fc[_]<<18|Su[z];var NA=fc[_]&31,MA=Su[z]&31;k+=Io[NA]+So[MA],++W[257+NA],++j[MA],I=G+_,++X}else q[tA++]=t[G],++W[t[G]]}}for(G=Math.max(G,I);G<s;++G)q[tA++]=t[G],++W[t[G]];B=ku(t,u,d,q,W,j,k,tA,Q,G-Q,B),d||(a.r=B&7|u[B/8|0]<<3,B-=7,a.h=H,a.p=F,a.i=G,a.w=I)}else{for(var G=a.w||0;G<s+d;G+=65535){var PA=G+65535;PA>=s&&(u[B/8|0]=d,PA=s),B=ch(u,B+1,t.subarray(G,PA))}a.i=s}return lh(o,0,r+Wc(B)+n)},fh=function(){var t=1,e=0;return{p:function(A){for(var r=t,n=e,a=A.length|0,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)n+=r+=A[s];r=(r&65535)+15*(r>>16),n=(n&65535)+15*(n>>16)}t=r,e=n},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},hB=function(t,e,A,r,n){if(!n&&(n={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),s=new yt(a.length+t.length);s.set(a),s.set(t,a.length),t=s,n.w=a.length}return fB(t,e.level==null?6:e.level,e.mem==null?n.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,A,r,n)},hh=function(t,e,A){for(;A;++e)t[e]=A,A>>>=8},dB=function(t,e){var A=e.level,r=A==0?0:A<6?1:A==9?3:2;if(t[0]=120,t[1]=r<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var n=fh();n.p(e.dictionary),hh(t,2,n.d())}},gB=function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&fr(6,"invalid zlib data"),(t[1]>>5&1)==1&&fr(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function gc(t,e){e||(e={});var A=fh();A.p(t);var r=hB(t,e,e.dictionary?6:2,4);return dB(r,e),hh(r,r.length-4,A.d()),r}function pB(t,e){return cB(t.subarray(gB(t),-4),{i:2},e,e)}var BB=typeof TextDecoder<"u"&&new TextDecoder,wB=0;try{BB.decode(uh,{stream:!0}),wB=1}catch{}/** @license
41
+ *
42
+ * jsPDF - PDF Document creation from JavaScript
43
+ * Version 3.0.1 Built on 2025-03-17T14:19:36.873Z
44
+ * CommitID 00000000
45
+ *
46
+ * Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
47
+ * 2015-2021 yWorks GmbH, http://www.yworks.com
48
+ * 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
49
+ * 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
50
+ * 2010 Aaron Spike, https://github.com/acspike
51
+ * 2012 Willow Systems Corporation, https://github.com/willowsystems
52
+ * 2012 Pablo Hess, https://github.com/pablohess
53
+ * 2012 Florian Jenett, https://github.com/fjenett
54
+ * 2013 Warren Weckesser, https://github.com/warrenweckesser
55
+ * 2013 Youssef Beddad, https://github.com/lifof
56
+ * 2013 Lee Driscoll, https://github.com/lsdriscoll
57
+ * 2013 Stefan Slonevskiy, https://github.com/stefslon
58
+ * 2013 Jeremy Morel, https://github.com/jmorel
59
+ * 2013 Christoph Hartmann, https://github.com/chris-rock
60
+ * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
61
+ * 2014 James Makes, https://github.com/dollaruw
62
+ * 2014 Diego Casorran, https://github.com/diegocr
63
+ * 2014 Steven Spungin, https://github.com/Flamenco
64
+ * 2014 Kenneth Glassey, https://github.com/Gavvers
65
+ *
66
+ * Permission is hereby granted, free of charge, to any person obtaining
67
+ * a copy of this software and associated documentation files (the
68
+ * "Software"), to deal in the Software without restriction, including
69
+ * without limitation the rights to use, copy, modify, merge, publish,
70
+ * distribute, sublicense, and/or sell copies of the Software, and to
71
+ * permit persons to whom the Software is furnished to do so, subject to
72
+ * the following conditions:
73
+ *
74
+ * The above copyright notice and this permission notice shall be
75
+ * included in all copies or substantial portions of the Software.
76
+ *
77
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
78
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
79
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
80
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
81
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
82
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
83
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
84
+ *
85
+ * Contributor(s):
86
+ * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
87
+ * kim3er, mfo, alnorth, Flamenco
88
+ */var ne=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function _l(){ne.console&&typeof ne.console.log=="function"&&ne.console.log.apply(ne.console,arguments)}var xe={log:_l,warn:function(t){ne.console&&(typeof ne.console.warn=="function"?ne.console.warn.apply(ne.console,arguments):_l.call(null,arguments))},error:function(t){ne.console&&(typeof ne.console.error=="function"?ne.console.error.apply(ne.console,arguments):_l(t))}};function Tl(t,e,A){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){Tn(r.response,e,A)},r.onerror=function(){xe.error("could not download file")},r.send()}function Du(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function Hs(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var Ni,pc,Tn=ne.saveAs||((typeof window>"u"?"undefined":ye(window))!=="object"||window!==ne?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,e,A){var r=ne.URL||ne.webkitURL,n=document.createElement("a");e=e||t.name||"download",n.download=e,n.rel="noopener",typeof t=="string"?(n.href=t,n.origin!==location.origin?Du(n.href)?Tl(t,e,A):Hs(n,n.target="_blank"):Hs(n)):(n.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(n.href)},4e4),setTimeout(function(){Hs(n)},0))}:"msSaveOrOpenBlob"in navigator?function(t,e,A){if(e=e||t.name||"download",typeof t=="string")if(Du(t))Tl(t,e,A);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){Hs(r)})}else navigator.msSaveOrOpenBlob(function(n,a){return a===void 0?a={autoBom:!1}:ye(a)!=="object"&&(xe.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(n.type)?new Blob(["\uFEFF",n],{type:n.type}):n}(t,A),e)}:function(t,e,A,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return Tl(t,e,A);var n=t.type==="application/octet-stream",a=/constructor/i.test(ne.HTMLElement)||ne.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||n&&a)&&(typeof FileReader>"u"?"undefined":ye(FileReader))==="object"){var o=new FileReader;o.onloadend=function(){var B=o.result;B=s?B:B.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=B:location=B,r=null},o.readAsDataURL(t)}else{var u=ne.URL||ne.webkitURL,d=u.createObjectURL(t);r?r.location=d:location.href=d,r=null,setTimeout(function(){u.revokeObjectURL(d)},4e4)}});/**
89
+ * A class to parse color values
90
+ * @author Stoyan Stefanov <sstoo@gmail.com>
91
+ * {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
92
+ * @license Use it if you like it
93
+ */function dh(t){var e;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var A=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(o){return[parseInt(o[1]),parseInt(o[2]),parseInt(o[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(o){return[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(o){return[parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16),parseInt(o[3]+o[3],16)]}}],r=0;r<A.length;r++){var n=A[r].re,a=A[r].process,s=n.exec(t);s&&(e=a(s),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var o=this.r.toString(16),u=this.g.toString(16),d=this.b.toString(16);return o.length==1&&(o="0"+o),u.length==1&&(u="0"+u),d.length==1&&(d="0"+d),"#"+o+u+d}}/**
94
+ * @license
95
+ * Joseph Myers does not specify a particular license for his work.
96
+ *
97
+ * Author: Joseph Myers
98
+ * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
99
+ *
100
+ * Modified by: Owen Leong
101
+ */function Ml(t,e){var A=t[0],r=t[1],n=t[2],a=t[3];A=pt(A,r,n,a,e[0],7,-680876936),a=pt(a,A,r,n,e[1],12,-389564586),n=pt(n,a,A,r,e[2],17,606105819),r=pt(r,n,a,A,e[3],22,-1044525330),A=pt(A,r,n,a,e[4],7,-176418897),a=pt(a,A,r,n,e[5],12,1200080426),n=pt(n,a,A,r,e[6],17,-1473231341),r=pt(r,n,a,A,e[7],22,-45705983),A=pt(A,r,n,a,e[8],7,1770035416),a=pt(a,A,r,n,e[9],12,-1958414417),n=pt(n,a,A,r,e[10],17,-42063),r=pt(r,n,a,A,e[11],22,-1990404162),A=pt(A,r,n,a,e[12],7,1804603682),a=pt(a,A,r,n,e[13],12,-40341101),n=pt(n,a,A,r,e[14],17,-1502002290),A=Bt(A,r=pt(r,n,a,A,e[15],22,1236535329),n,a,e[1],5,-165796510),a=Bt(a,A,r,n,e[6],9,-1069501632),n=Bt(n,a,A,r,e[11],14,643717713),r=Bt(r,n,a,A,e[0],20,-373897302),A=Bt(A,r,n,a,e[5],5,-701558691),a=Bt(a,A,r,n,e[10],9,38016083),n=Bt(n,a,A,r,e[15],14,-660478335),r=Bt(r,n,a,A,e[4],20,-405537848),A=Bt(A,r,n,a,e[9],5,568446438),a=Bt(a,A,r,n,e[14],9,-1019803690),n=Bt(n,a,A,r,e[3],14,-187363961),r=Bt(r,n,a,A,e[8],20,1163531501),A=Bt(A,r,n,a,e[13],5,-1444681467),a=Bt(a,A,r,n,e[2],9,-51403784),n=Bt(n,a,A,r,e[7],14,1735328473),A=wt(A,r=Bt(r,n,a,A,e[12],20,-1926607734),n,a,e[5],4,-378558),a=wt(a,A,r,n,e[8],11,-2022574463),n=wt(n,a,A,r,e[11],16,1839030562),r=wt(r,n,a,A,e[14],23,-35309556),A=wt(A,r,n,a,e[1],4,-1530992060),a=wt(a,A,r,n,e[4],11,1272893353),n=wt(n,a,A,r,e[7],16,-155497632),r=wt(r,n,a,A,e[10],23,-1094730640),A=wt(A,r,n,a,e[13],4,681279174),a=wt(a,A,r,n,e[0],11,-358537222),n=wt(n,a,A,r,e[3],16,-722521979),r=wt(r,n,a,A,e[6],23,76029189),A=wt(A,r,n,a,e[9],4,-640364487),a=wt(a,A,r,n,e[12],11,-421815835),n=wt(n,a,A,r,e[15],16,530742520),A=vt(A,r=wt(r,n,a,A,e[2],23,-995338651),n,a,e[0],6,-198630844),a=vt(a,A,r,n,e[7],10,1126891415),n=vt(n,a,A,r,e[14],15,-1416354905),r=vt(r,n,a,A,e[5],21,-57434055),A=vt(A,r,n,a,e[12],6,1700485571),a=vt(a,A,r,n,e[3],10,-1894986606),n=vt(n,a,A,r,e[10],15,-1051523),r=vt(r,n,a,A,e[1],21,-2054922799),A=vt(A,r,n,a,e[8],6,1873313359),a=vt(a,A,r,n,e[15],10,-30611744),n=vt(n,a,A,r,e[6],15,-1560198380),r=vt(r,n,a,A,e[13],21,1309151649),A=vt(A,r,n,a,e[4],6,-145523070),a=vt(a,A,r,n,e[11],10,-1120210379),n=vt(n,a,A,r,e[2],15,718787259),r=vt(r,n,a,A,e[9],21,-343485551),t[0]=dn(A,t[0]),t[1]=dn(r,t[1]),t[2]=dn(n,t[2]),t[3]=dn(a,t[3])}function No(t,e,A,r,n,a){return e=dn(dn(e,t),dn(r,a)),dn(e<<n|e>>>32-n,A)}function pt(t,e,A,r,n,a,s){return No(e&A|~e&r,t,e,n,a,s)}function Bt(t,e,A,r,n,a,s){return No(e&r|A&~r,t,e,n,a,s)}function wt(t,e,A,r,n,a,s){return No(e^A^r,t,e,n,a,s)}function vt(t,e,A,r,n,a,s){return No(A^(e|~r),t,e,n,a,s)}function gh(t){var e,A=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)Ml(r,vB(t.substring(e-64,e)));t=t.substring(e-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)n[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(n[e>>2]|=128<<(e%4<<3),e>55)for(Ml(r,n),e=0;e<16;e++)n[e]=0;return n[14]=8*A,Ml(r,n),r}function vB(t){var e,A=[];for(e=0;e<64;e+=4)A[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return A}Ni=ne.atob.bind(ne),pc=ne.btoa.bind(ne);var Hu="0123456789abcdef".split("");function mB(t){for(var e="",A=0;A<4;A++)e+=Hu[t>>8*A+4&15]+Hu[t>>8*A&15];return e}function CB(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function Bc(t){return gh(t).map(CB).join("")}var yB=function(t){for(var e=0;e<t.length;e++)t[e]=mB(t[e]);return t.join("")}(gh("hello"))!="5d41402abc4b2a76b9719d911017c592";function dn(t,e){if(yB){var A=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(A>>16)<<16|65535&A}return t+e&4294967295}/**
102
+ * @license
103
+ * FPDF is released under a permissive license: there is no usage restriction.
104
+ * You may embed it freely in your application (commercial or not), with or
105
+ * without modifications.
106
+ *
107
+ * Reference: http://www.fpdf.org/en/script/script37.php
108
+ */function wc(t,e){var A,r,n,a;if(t!==A){for(var s=(n=t,a=1+(256/t.length>>0),new Array(a+1).join(n)),o=[],u=0;u<256;u++)o[u]=u;var d=0;for(u=0;u<256;u++){var B=o[u];d=(d+B+s.charCodeAt(u))%256,o[u]=o[d],o[d]=B}A=t,r=o}else o=r;var g=e.length,v=0,p=0,b="";for(u=0;u<g;u++)p=(p+(B=o[v=(v+1)%256]))%256,o[v]=o[p],o[p]=B,s=o[(o[v]+o[p])%256],b+=String.fromCharCode(e.charCodeAt(u)^s);return b}/**
109
+ * @license
110
+ * Licensed under the MIT License.
111
+ * http://opensource.org/licenses/mit-license
112
+ * Author: Owen Leong (@owenl131)
113
+ * Date: 15 Oct 2020
114
+ * References:
115
+ * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
116
+ * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
117
+ * http://www.fpdf.org/en/script/script37.php
118
+ */var _u={print:4,modify:8,copy:16,"annot-forms":32};function Ia(t,e,A,r){this.v=1,this.r=2;var n=192;t.forEach(function(o){if(_u.perm!==void 0)throw new Error("Invalid permission: "+o);n+=_u[o]}),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var a=(e+this.padding).substr(0,32),s=(A+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,s),this.P=-(1+(255^n)),this.encryptionKey=Bc(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=wc(this.encryptionKey,this.padding)}function Sa(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",A=t.length,r=0;r<A;r++){var n=t.charCodeAt(r);n<33||n===35||n===37||n===40||n===41||n===47||n===60||n===62||n===91||n===93||n===123||n===125||n>126?e+="#"+("0"+n.toString(16)).slice(-2):e+=t[r]}return e}function Tu(t){if(ye(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(A,r,n){if(n=n||!1,typeof A!="string"||typeof r!="function"||typeof n!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(A)||(e[A]={});var a=Math.random().toString(35);return e[A][a]=[r,!!n],a},this.unsubscribe=function(A){for(var r in e)if(e[r][A])return delete e[r][A],Object.keys(e[r]).length===0&&delete e[r],!0;return!1},this.publish=function(A){if(e.hasOwnProperty(A)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var a in e[A]){var s=e[A][a];try{s[0].apply(t,r)}catch(o){ne.console&&xe.error("jsPDF PubSub Error",o.message,o)}s[1]&&n.push(a)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function wo(t){if(!(this instanceof wo))return new wo(t);var e="opacity,stroke-opacity".split(",");for(var A in t)t.hasOwnProperty(A)&&e.indexOf(A)>=0&&(this[A]=t[A]);this.id="",this.objectNumber=-1}function ph(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function Mn(t,e,A,r,n){if(!(this instanceof Mn))return new Mn(t,e,A,r,n);this.type=t==="axial"?2:3,this.coords=e,this.colors=A,ph.call(this,r,n)}function Da(t,e,A,r,n){if(!(this instanceof Da))return new Da(t,e,A,r,n);this.boundingBox=t,this.xStep=e,this.yStep=A,this.stream="",this.cloneIndex=0,ph.call(this,r,n)}function te(t){var e,A=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],n=arguments[2],a=arguments[3],s=[],o=1,u=16,d="S",B=null;ye(t=t||{})==="object"&&(A=t.orientation,r=t.unit||r,n=t.format||n,a=t.compress||t.compressPdf||a,(B=t.encryption||null)!==null&&(B.userPassword=B.userPassword||"",B.ownerPassword=B.ownerPassword||"",B.userPermissions=B.userPermissions||[]),o=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(e=t.precision),t.floatPrecision!==void 0&&(u=t.floatPrecision),d=t.defaultPathOperation||"S"),s=t.filters||(a===!0?["FlateEncode"]:s),r=r||"mm",A=(""+(A||"P")).toLowerCase();var g=t.putOnlyUsedFonts||!1,v={},p={internal:{},__private__:{}};p.__private__.PubSub=Tu;var b="1.3",F=p.__private__.getPdfVersion=function(){return b};p.__private__.setPdfVersion=function(f){b=f};var H={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return H};var m=p.__private__.getPageFormat=function(f){return H[f]};n=n||"a4";var E={COMPAT:"compat",ADVANCED:"advanced"},R=E.COMPAT;function q(){this.saveGraphicsState(),D(new ee(OA,0,0,-OA,0,Jr()*OA).toString()+" cm"),this.setFontSize(this.getFontSize()/OA),d="n",R=E.ADVANCED}function W(){this.restoreGraphicsState(),d="S",R=E.COMPAT}var j=p.__private__.combineFontStyleAndFontWeight=function(f,y){if(f=="bold"&&y=="normal"||f=="bold"&&y==400||f=="normal"&&y=="italic"||f=="bold"&&y=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return y&&(f=y==400||y==="normal"?f==="italic"?"italic":"normal":y!=700&&y!=="bold"||f!=="normal"?(y==700?"bold":y)+""+f:"bold"),f};p.advancedAPI=function(f){var y=R===E.COMPAT;return y&&q.call(this),typeof f!="function"||(f(this),y&&W.call(this)),this},p.compatAPI=function(f){var y=R===E.ADVANCED;return y&&W.call(this),typeof f!="function"||(f(this),y&&q.call(this)),this},p.isAdvancedAPI=function(){return R===E.ADVANCED};var X,k=function(f){if(R!==E.ADVANCED)throw new Error(f+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},G=p.roundToPrecision=p.__private__.roundToPrecision=function(f,y){var K=e||y;if(isNaN(f)||isNaN(K))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return f.toFixed(K).replace(/0+$/,"")};X=p.hpf=p.__private__.hpf=typeof u=="number"?function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return G(f,u)}:u==="smart"?function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return G(f,f>-1&&f<1?16:5)}:function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return G(f,16)};var tA=p.f2=p.__private__.f2=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.f2");return G(f,2)},I=p.__private__.f3=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.f3");return G(f,3)},Q=p.scale=p.__private__.scale=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.scale");return R===E.COMPAT?f*OA:R===E.ADVANCED?f:void 0},T=function(f){return R===E.COMPAT?Jr()-f:R===E.ADVANCED?f:void 0},O=function(f){return Q(T(f))};p.__private__.setPrecision=p.setPrecision=function(f){typeof parseInt(f,10)=="number"&&(e=parseInt(f,10))};var lA,oA="00000000000000000000000000000000",aA=p.__private__.getFileId=function(){return oA},_=p.__private__.setFileId=function(f){return oA=f!==void 0&&/^[a-fA-F0-9]{32}$/.test(f)?f.toUpperCase():oA.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),B!==null&&(dt=new Ia(B.userPermissions,B.userPassword,B.ownerPassword,oA)),oA};p.setFileId=function(f){return _(f),this},p.getFileId=function(){return aA()};var z=p.__private__.convertDateToPDFDate=function(f){var y=f.getTimezoneOffset(),K=y<0?"+":"-",Y=Math.floor(Math.abs(y/60)),cA=Math.abs(y%60),CA=[K,V(Y),"'",V(cA),"'"].join("");return["D:",f.getFullYear(),V(f.getMonth()+1),V(f.getDate()),V(f.getHours()),V(f.getMinutes()),V(f.getSeconds()),CA].join("")},rA=p.__private__.convertPDFDateToDate=function(f){var y=parseInt(f.substr(2,4),10),K=parseInt(f.substr(6,2),10)-1,Y=parseInt(f.substr(8,2),10),cA=parseInt(f.substr(10,2),10),CA=parseInt(f.substr(12,2),10),kA=parseInt(f.substr(14,2),10);return new Date(y,K,Y,cA,CA,kA,0)},TA=p.__private__.setCreationDate=function(f){var y;if(f===void 0&&(f=new Date),f instanceof Date)y=z(f);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(f))throw new Error("Invalid argument passed to jsPDF.setCreationDate");y=f}return lA=y},L=p.__private__.getCreationDate=function(f){var y=lA;return f==="jsDate"&&(y=rA(lA)),y};p.setCreationDate=function(f){return TA(f),this},p.getCreationDate=function(f){return L(f)};var P,V=p.__private__.padd2=function(f){return("0"+parseInt(f)).slice(-2)},J=p.__private__.padd2Hex=function(f){return("00"+(f=f.toString())).substr(f.length)},eA=0,uA=[],dA=[],gA=0,HA=[],NA=[],MA=!1,PA=dA,YA=function(){eA=0,gA=0,dA=[],uA=[],HA=[],kr=Je(),er=Je()};p.__private__.setCustomOutputDestination=function(f){MA=!0,PA=f};var wA=function(f){MA||(PA=f)};p.__private__.resetCustomOutputDestination=function(){MA=!1,PA=dA};var D=p.__private__.out=function(f){return f=f.toString(),gA+=f.length+1,PA.push(f),PA},$=p.__private__.write=function(f){return D(arguments.length===1?f.toString():Array.prototype.join.call(arguments," "))},BA=p.__private__.getArrayBuffer=function(f){for(var y=f.length,K=new ArrayBuffer(y),Y=new Uint8Array(K);y--;)Y[y]=f.charCodeAt(y);return K},sA=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return sA};var pA=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(f){return pA=R===E.ADVANCED?f/OA:f,this};var FA,UA=p.__private__.getFontSize=p.getFontSize=function(){return R===E.COMPAT?pA:pA*OA},IA=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(f){return IA=f,this},p.__private__.getR2L=p.getR2L=function(){return IA};var QA,yA=p.__private__.setZoomMode=function(f){var y=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(f))FA=f;else if(isNaN(f)){if(y.indexOf(f)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+f+'" is not recognized.');FA=f}else FA=parseInt(f,10)};p.__private__.getZoomMode=function(){return FA};var _A,XA=p.__private__.setPageMode=function(f){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(f)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+f+'" is not recognized.');QA=f};p.__private__.getPageMode=function(){return QA};var ie=p.__private__.setLayoutMode=function(f){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(f)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+f+'" is not recognized.');_A=f};p.__private__.getLayoutMode=function(){return _A},p.__private__.setDisplayMode=p.setDisplayMode=function(f,y,K){return yA(f),ie(y),XA(K),this};var WA={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(f){if(Object.keys(WA).indexOf(f)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return WA[f]},p.__private__.getDocumentProperties=function(){return WA},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(f){for(var y in WA)WA.hasOwnProperty(y)&&f[y]&&(WA[y]=f[y]);return this},p.__private__.setDocumentProperty=function(f,y){if(Object.keys(WA).indexOf(f)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return WA[f]=y};var Ae,OA,_e,mA,DA,xA={},JA={},de=[],re={},be={},fe={},ke={},Ke=null,he=0,ae=[],ve=new Tu(p),Fn=t.hotfixes||[],lt={},Br={},wr=[],ee=function f(y,K,Y,cA,CA,kA){if(!(this instanceof f))return new f(y,K,Y,cA,CA,kA);isNaN(y)&&(y=1),isNaN(K)&&(K=0),isNaN(Y)&&(Y=0),isNaN(cA)&&(cA=1),isNaN(CA)&&(CA=0),isNaN(kA)&&(kA=0),this._matrix=[y,K,Y,cA,CA,kA]};Object.defineProperty(ee.prototype,"sx",{get:function(){return this._matrix[0]},set:function(f){this._matrix[0]=f}}),Object.defineProperty(ee.prototype,"shy",{get:function(){return this._matrix[1]},set:function(f){this._matrix[1]=f}}),Object.defineProperty(ee.prototype,"shx",{get:function(){return this._matrix[2]},set:function(f){this._matrix[2]=f}}),Object.defineProperty(ee.prototype,"sy",{get:function(){return this._matrix[3]},set:function(f){this._matrix[3]=f}}),Object.defineProperty(ee.prototype,"tx",{get:function(){return this._matrix[4]},set:function(f){this._matrix[4]=f}}),Object.defineProperty(ee.prototype,"ty",{get:function(){return this._matrix[5]},set:function(f){this._matrix[5]=f}}),Object.defineProperty(ee.prototype,"a",{get:function(){return this._matrix[0]},set:function(f){this._matrix[0]=f}}),Object.defineProperty(ee.prototype,"b",{get:function(){return this._matrix[1]},set:function(f){this._matrix[1]=f}}),Object.defineProperty(ee.prototype,"c",{get:function(){return this._matrix[2]},set:function(f){this._matrix[2]=f}}),Object.defineProperty(ee.prototype,"d",{get:function(){return this._matrix[3]},set:function(f){this._matrix[3]=f}}),Object.defineProperty(ee.prototype,"e",{get:function(){return this._matrix[4]},set:function(f){this._matrix[4]=f}}),Object.defineProperty(ee.prototype,"f",{get:function(){return this._matrix[5]},set:function(f){this._matrix[5]=f}}),Object.defineProperty(ee.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ee.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ee.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ee.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ee.prototype.join=function(f){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(X).join(f)},ee.prototype.multiply=function(f){var y=f.sx*this.sx+f.shy*this.shx,K=f.sx*this.shy+f.shy*this.sy,Y=f.shx*this.sx+f.sy*this.shx,cA=f.shx*this.shy+f.sy*this.sy,CA=f.tx*this.sx+f.ty*this.shx+this.tx,kA=f.tx*this.shy+f.ty*this.sy+this.ty;return new ee(y,K,Y,cA,CA,kA)},ee.prototype.decompose=function(){var f=this.sx,y=this.shy,K=this.shx,Y=this.sy,cA=this.tx,CA=this.ty,kA=Math.sqrt(f*f+y*y),GA=(f/=kA)*K+(y/=kA)*Y;K-=f*GA,Y-=y*GA;var $A=Math.sqrt(K*K+Y*Y);return GA/=$A,f*(Y/=$A)<y*(K/=$A)&&(f=-f,y=-y,GA=-GA,kA=-kA),{scale:new ee(kA,0,0,$A,0,0),translate:new ee(1,0,0,1,cA,CA),rotate:new ee(f,y,-y,f,0,0),skew:new ee(1,0,GA,1,0,0)}},ee.prototype.toString=function(f){return this.join(" ")},ee.prototype.inversed=function(){var f=this.sx,y=this.shy,K=this.shx,Y=this.sy,cA=this.tx,CA=this.ty,kA=1/(f*Y-y*K),GA=Y*kA,$A=-y*kA,ce=-K*kA,oe=f*kA;return new ee(GA,$A,ce,oe,-GA*cA-ce*CA,-$A*cA-oe*CA)},ee.prototype.applyToPoint=function(f){var y=f.x*this.sx+f.y*this.shx+this.tx,K=f.x*this.shy+f.y*this.sy+this.ty;return new aa(y,K)},ee.prototype.applyToRectangle=function(f){var y=this.applyToPoint(f),K=this.applyToPoint(new aa(f.x+f.w,f.y+f.h));return new Za(y.x,y.y,K.x-y.x,K.y-y.y)},ee.prototype.clone=function(){var f=this.sx,y=this.shy,K=this.shx,Y=this.sy,cA=this.tx,CA=this.ty;return new ee(f,y,K,Y,cA,CA)},p.Matrix=ee;var Ar=p.matrixMult=function(f,y){return y.multiply(f)},vr=new ee(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=vr;var Et=function(f,y){if(!be[f]){var K=(y instanceof Mn?"Sh":"P")+(Object.keys(re).length+1).toString(10);y.id=K,be[f]=K,re[K]=y,ve.publish("addPattern",y)}};p.ShadingPattern=Mn,p.TilingPattern=Da,p.addShadingPattern=function(f,y){return k("addShadingPattern()"),Et(f,y),this},p.beginTilingPattern=function(f){k("beginTilingPattern()"),os(f.boundingBox[0],f.boundingBox[1],f.boundingBox[2]-f.boundingBox[0],f.boundingBox[3]-f.boundingBox[1],f.matrix)},p.endTilingPattern=function(f,y){k("endTilingPattern()"),y.stream=NA[P].join(`
119
+ `),Et(f,y),ve.publish("endTilingPattern",y),wr.pop().restore()};var et=p.__private__.newObject=function(){var f=Je();return Ht(f,!0),f},Je=p.__private__.newObjectDeferred=function(){return eA++,uA[eA]=function(){return gA},eA},Ht=function(f,y){return y=typeof y=="boolean"&&y,uA[f]=gA,y&&D(f+" 0 obj"),f},qn=p.__private__.newAdditionalObject=function(){var f={objId:Je(),content:""};return HA.push(f),f},kr=Je(),er=Je(),tr=p.__private__.decodeColorString=function(f){var y=f.split(" ");if(y.length!==2||y[1]!=="g"&&y[1]!=="G")y.length===5&&(y[4]==="k"||y[4]==="K")&&(y=[(1-y[0])*(1-y[3]),(1-y[1])*(1-y[3]),(1-y[2])*(1-y[3]),"r"]);else{var K=parseFloat(y[0]);y=[K,K,K,"r"]}for(var Y="#",cA=0;cA<3;cA++)Y+=("0"+Math.floor(255*parseFloat(y[cA])).toString(16)).slice(-2);return Y},rr=p.__private__.encodeColorString=function(f){var y;typeof f=="string"&&(f={ch1:f});var K=f.ch1,Y=f.ch2,cA=f.ch3,CA=f.ch4,kA=f.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof K=="string"&&K.charAt(0)!=="#"){var GA=new dh(K);if(GA.ok)K=GA.toHex();else if(!/^\d*\.?\d*$/.test(K))throw new Error('Invalid color "'+K+'" passed to jsPDF.encodeColorString.')}if(typeof K=="string"&&/^#[0-9A-Fa-f]{3}$/.test(K)&&(K="#"+K[1]+K[1]+K[2]+K[2]+K[3]+K[3]),typeof K=="string"&&/^#[0-9A-Fa-f]{6}$/.test(K)){var $A=parseInt(K.substr(1),16);K=$A>>16&255,Y=$A>>8&255,cA=255&$A}if(Y===void 0||CA===void 0&&K===Y&&Y===cA)if(typeof K=="string")y=K+" "+kA[0];else switch(f.precision){case 2:y=tA(K/255)+" "+kA[0];break;case 3:default:y=I(K/255)+" "+kA[0]}else if(CA===void 0||ye(CA)==="object"){if(CA&&!isNaN(CA.a)&&CA.a===0)return y=["1.","1.","1.",kA[1]].join(" ");if(typeof K=="string")y=[K,Y,cA,kA[1]].join(" ");else switch(f.precision){case 2:y=[tA(K/255),tA(Y/255),tA(cA/255),kA[1]].join(" ");break;default:case 3:y=[I(K/255),I(Y/255),I(cA/255),kA[1]].join(" ")}}else if(typeof K=="string")y=[K,Y,cA,CA,kA[2]].join(" ");else switch(f.precision){case 2:y=[tA(K),tA(Y),tA(cA),tA(CA),kA[2]].join(" ");break;case 3:default:y=[I(K),I(Y),I(cA),I(CA),kA[2]].join(" ")}return y},mr=p.__private__.getFilters=function(){return s},Rt=p.__private__.putStream=function(f){var y=(f=f||{}).data||"",K=f.filters||mr(),Y=f.alreadyAppliedFilters||[],cA=f.addLength1||!1,CA=y.length,kA=f.objectId,GA=function(gt){return gt};if(B!==null&&kA===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");B!==null&&(GA=dt.encryptor(kA,0));var $A={};K===!0&&(K=["FlateEncode"]);var ce=f.additionalKeyValues||[],oe=($A=te.API.processDataByFilters!==void 0?te.API.processDataByFilters(y,K):{data:y,reverseChain:[]}).reverseChain+(Array.isArray(Y)?Y.join(" "):Y.toString());if($A.data.length!==0&&(ce.push({key:"Length",value:$A.data.length}),cA===!0&&ce.push({key:"Length1",value:CA})),oe.length!=0)if(oe.split("/").length-1==1)ce.push({key:"Filter",value:oe});else{ce.push({key:"Filter",value:"["+oe+"]"});for(var Be=0;Be<ce.length;Be+=1)if(ce[Be].key==="DecodeParms"){for(var Te=[],Me=0;Me<$A.reverseChain.split("/").length-1;Me+=1)Te.push("null");Te.push(ce[Be].value),ce[Be].value="["+Te.join(" ")+"]"}}D("<<");for(var Ye=0;Ye<ce.length;Ye++)D("/"+ce[Ye].key+" "+ce[Ye].value);D(">>"),$A.data.length!==0&&(D("stream"),D(GA($A.data)),D("endstream"))},Cr=p.__private__.putPage=function(f){var y=f.number,K=f.data,Y=f.objId,cA=f.contentsObjId;Ht(Y,!0),D("<</Type /Page"),D("/Parent "+f.rootDictionaryObjId+" 0 R"),D("/Resources "+f.resourceDictionaryObjId+" 0 R"),D("/MediaBox ["+parseFloat(X(f.mediaBox.bottomLeftX))+" "+parseFloat(X(f.mediaBox.bottomLeftY))+" "+X(f.mediaBox.topRightX)+" "+X(f.mediaBox.topRightY)+"]"),f.cropBox!==null&&D("/CropBox ["+X(f.cropBox.bottomLeftX)+" "+X(f.cropBox.bottomLeftY)+" "+X(f.cropBox.topRightX)+" "+X(f.cropBox.topRightY)+"]"),f.bleedBox!==null&&D("/BleedBox ["+X(f.bleedBox.bottomLeftX)+" "+X(f.bleedBox.bottomLeftY)+" "+X(f.bleedBox.topRightX)+" "+X(f.bleedBox.topRightY)+"]"),f.trimBox!==null&&D("/TrimBox ["+X(f.trimBox.bottomLeftX)+" "+X(f.trimBox.bottomLeftY)+" "+X(f.trimBox.topRightX)+" "+X(f.trimBox.topRightY)+"]"),f.artBox!==null&&D("/ArtBox ["+X(f.artBox.bottomLeftX)+" "+X(f.artBox.bottomLeftY)+" "+X(f.artBox.topRightX)+" "+X(f.artBox.topRightY)+"]"),typeof f.userUnit=="number"&&f.userUnit!==1&&D("/UserUnit "+f.userUnit),ve.publish("putPage",{objId:Y,pageContext:ae[y],pageNumber:y,page:K}),D("/Contents "+cA+" 0 R"),D(">>"),D("endobj");var CA=K.join(`
120
+ `);return R===E.ADVANCED&&(CA+=`
121
+ Q`),Ht(cA,!0),Rt({data:CA,filters:mr(),objectId:cA}),D("endobj"),Y},Qn=p.__private__.putPages=function(){var f,y,K=[];for(f=1;f<=he;f++)ae[f].objId=Je(),ae[f].contentsObjId=Je();for(f=1;f<=he;f++)K.push(Cr({number:f,data:NA[f],objId:ae[f].objId,contentsObjId:ae[f].contentsObjId,mediaBox:ae[f].mediaBox,cropBox:ae[f].cropBox,bleedBox:ae[f].bleedBox,trimBox:ae[f].trimBox,artBox:ae[f].artBox,userUnit:ae[f].userUnit,rootDictionaryObjId:kr,resourceDictionaryObjId:er}));Ht(kr,!0),D("<</Type /Pages");var Y="/Kids [";for(y=0;y<he;y++)Y+=K[y]+" 0 R ";D(Y+"]"),D("/Count "+he),D(">>"),D("endobj"),ve.publish("postPutPages")},Wn=function(f){ve.publish("putFont",{font:f,out:D,newObject:et,putStream:Rt}),f.isAlreadyPutted!==!0&&(f.objectNumber=et(),D("<<"),D("/Type /Font"),D("/BaseFont /"+Sa(f.postScriptName)),D("/Subtype /Type1"),typeof f.encoding=="string"&&D("/Encoding /"+f.encoding),D("/FirstChar 32"),D("/LastChar 255"),D(">>"),D("endobj"))},zn=function(){for(var f in xA)xA.hasOwnProperty(f)&&(g===!1||g===!0&&v.hasOwnProperty(f))&&Wn(xA[f])},Xn=function(f){f.objectNumber=et();var y=[];y.push({key:"Type",value:"/XObject"}),y.push({key:"Subtype",value:"/Form"}),y.push({key:"BBox",value:"["+[X(f.x),X(f.y),X(f.x+f.width),X(f.y+f.height)].join(" ")+"]"}),y.push({key:"Matrix",value:"["+f.matrix.toString()+"]"});var K=f.pages[1].join(`
122
+ `);Rt({data:K,additionalKeyValues:y,objectId:f.objectNumber}),D("endobj")},Jn=function(){for(var f in lt)lt.hasOwnProperty(f)&&Xn(lt[f])},Gi=function(f,y){var K,Y=[],cA=1/(y-1);for(K=0;K<1;K+=cA)Y.push(K);if(Y.push(1),f[0].offset!=0){var CA={offset:0,color:f[0].color};f.unshift(CA)}if(f[f.length-1].offset!=1){var kA={offset:1,color:f[f.length-1].color};f.push(kA)}for(var GA="",$A=0,ce=0;ce<Y.length;ce++){for(K=Y[ce];K>f[$A+1].offset;)$A++;var oe=f[$A].offset,Be=(K-oe)/(f[$A+1].offset-oe),Te=f[$A].color,Me=f[$A+1].color;GA+=J(Math.round((1-Be)*Te[0]+Be*Me[0]).toString(16))+J(Math.round((1-Be)*Te[1]+Be*Me[1]).toString(16))+J(Math.round((1-Be)*Te[2]+Be*Me[2]).toString(16))}return GA.trim()},Vo=function(f,y){y||(y=21);var K=et(),Y=Gi(f.colors,y),cA=[];cA.push({key:"FunctionType",value:"0"}),cA.push({key:"Domain",value:"[0.0 1.0]"}),cA.push({key:"Size",value:"["+y+"]"}),cA.push({key:"BitsPerSample",value:"8"}),cA.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),cA.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Rt({data:Y,additionalKeyValues:cA,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:K}),D("endobj"),f.objectNumber=et(),D("<< /ShadingType "+f.type),D("/ColorSpace /DeviceRGB");var CA="/Coords ["+X(parseFloat(f.coords[0]))+" "+X(parseFloat(f.coords[1]))+" ";f.type===2?CA+=X(parseFloat(f.coords[2]))+" "+X(parseFloat(f.coords[3])):CA+=X(parseFloat(f.coords[2]))+" "+X(parseFloat(f.coords[3]))+" "+X(parseFloat(f.coords[4]))+" "+X(parseFloat(f.coords[5])),D(CA+="]"),f.matrix&&D("/Matrix ["+f.matrix.toString()+"]"),D("/Function "+K+" 0 R"),D("/Extend [true true]"),D(">>"),D("endobj")},Go=function(f,y){var K=Je(),Y=et();y.push({resourcesOid:K,objectOid:Y}),f.objectNumber=Y;var cA=[];cA.push({key:"Type",value:"/Pattern"}),cA.push({key:"PatternType",value:"1"}),cA.push({key:"PaintType",value:"1"}),cA.push({key:"TilingType",value:"1"}),cA.push({key:"BBox",value:"["+f.boundingBox.map(X).join(" ")+"]"}),cA.push({key:"XStep",value:X(f.xStep)}),cA.push({key:"YStep",value:X(f.yStep)}),cA.push({key:"Resources",value:K+" 0 R"}),f.matrix&&cA.push({key:"Matrix",value:"["+f.matrix.toString()+"]"}),Rt({data:f.stream,additionalKeyValues:cA,objectId:f.objectNumber}),D("endobj")},Yn=function(f){var y;for(y in re)re.hasOwnProperty(y)&&(re[y]instanceof Mn?Vo(re[y]):re[y]instanceof Da&&Go(re[y],f))},ji=function(f){for(var y in f.objectNumber=et(),D("<<"),f)switch(y){case"opacity":D("/ca "+tA(f[y]));break;case"stroke-opacity":D("/CA "+tA(f[y]))}D(">>"),D("endobj")},jo=function(){var f;for(f in fe)fe.hasOwnProperty(f)&&ji(fe[f])},Va=function(){for(var f in D("/XObject <<"),lt)lt.hasOwnProperty(f)&&lt[f].objectNumber>=0&&D("/"+f+" "+lt[f].objectNumber+" 0 R");ve.publish("putXobjectDict"),D(">>")},qo=function(){dt.oid=et(),D("<<"),D("/Filter /Standard"),D("/V "+dt.v),D("/R "+dt.r),D("/U <"+dt.toHexString(dt.U)+">"),D("/O <"+dt.toHexString(dt.O)+">"),D("/P "+dt.P),D(">>"),D("endobj")},qi=function(){for(var f in D("/Font <<"),xA)xA.hasOwnProperty(f)&&(g===!1||g===!0&&v.hasOwnProperty(f))&&D("/"+f+" "+xA[f].objectNumber+" 0 R");D(">>")},Wo=function(){if(Object.keys(re).length>0){for(var f in D("/Shading <<"),re)re.hasOwnProperty(f)&&re[f]instanceof Mn&&re[f].objectNumber>=0&&D("/"+f+" "+re[f].objectNumber+" 0 R");ve.publish("putShadingPatternDict"),D(">>")}},$n=function(f){if(Object.keys(re).length>0){for(var y in D("/Pattern <<"),re)re.hasOwnProperty(y)&&re[y]instanceof p.TilingPattern&&re[y].objectNumber>=0&&re[y].objectNumber<f&&D("/"+y+" "+re[y].objectNumber+" 0 R");ve.publish("putTilingPatternDict"),D(">>")}},zo=function(){if(Object.keys(fe).length>0){var f;for(f in D("/ExtGState <<"),fe)fe.hasOwnProperty(f)&&fe[f].objectNumber>=0&&D("/"+f+" "+fe[f].objectNumber+" 0 R");ve.publish("putGStateDict"),D(">>")}},Re=function(f){Ht(f.resourcesOid,!0),D("<<"),D("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),qi(),Wo(),$n(f.objectOid),zo(),Va(),D(">>"),D("endobj")},Wi=function(){var f=[];zn(),jo(),Jn(),Yn(f),ve.publish("putResources"),f.forEach(Re),Re({resourcesOid:er,objectOid:Number.MAX_SAFE_INTEGER}),ve.publish("postPutResources")},zi=function(){ve.publish("putAdditionalObjects");for(var f=0;f<HA.length;f++){var y=HA[f];Ht(y.objId,!0),D(y.content),D("endobj")}ve.publish("postPutAdditionalObjects")},Xi=function(f){JA[f.fontName]=JA[f.fontName]||{},JA[f.fontName][f.fontStyle]=f.id},Ga=function(f,y,K,Y,cA){var CA={id:"F"+(Object.keys(xA).length+1).toString(10),postScriptName:f,fontName:y,fontStyle:K,encoding:Y,isStandardFont:cA||!1,metadata:{}};return ve.publish("addFont",{font:CA,instance:this}),xA[CA.id]=CA,Xi(CA),CA.id},Xo=function(f){for(var y=0,K=sA.length;y<K;y++){var Y=Ga.call(this,f[y][0],f[y][1],f[y][2],sA[y][3],!0);g===!1&&(v[Y]=!0);var cA=f[y][0].split("-");Xi({id:Y,fontName:cA[0],fontStyle:cA[1]||""})}ve.publish("addFonts",{fonts:xA,dictionary:JA})},nr=function(f){return f.foo=function(){try{return f.apply(this,arguments)}catch(Y){var y=Y.stack||"";~y.indexOf(" at ")&&(y=y.split(" at ")[1]);var K="Error in function "+y.split(`
123
+ `)[0].split("<")[0]+": "+Y.message;if(!ne.console)throw new Error(K);ne.console.error(K,Y),ne.alert&&alert(K)}},f.foo.bar=f,f.foo},Zn=function(f,y){var K,Y,cA,CA,kA,GA,$A,ce,oe;if(cA=(y=y||{}).sourceEncoding||"Unicode",kA=y.outputEncoding,(y.autoencode||kA)&&xA[Ae].metadata&&xA[Ae].metadata[cA]&&xA[Ae].metadata[cA].encoding&&(CA=xA[Ae].metadata[cA].encoding,!kA&&xA[Ae].encoding&&(kA=xA[Ae].encoding),!kA&&CA.codePages&&(kA=CA.codePages[0]),typeof kA=="string"&&(kA=CA[kA]),kA)){for($A=!1,GA=[],K=0,Y=f.length;K<Y;K++)(ce=kA[f.charCodeAt(K)])?GA.push(String.fromCharCode(ce)):GA.push(f[K]),GA[K].charCodeAt(0)>>8&&($A=!0);f=GA.join("")}for(K=f.length;$A===void 0&&K!==0;)f.charCodeAt(K-1)>>8&&($A=!0),K--;if(!$A)return f;for(GA=y.noBOM?[]:[254,255],K=0,Y=f.length;K<Y;K++){if((oe=(ce=f.charCodeAt(K))>>8)>>8)throw new Error("Character at position "+K+" of string '"+f+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");GA.push(oe),GA.push(ce-(oe<<8))}return String.fromCharCode.apply(void 0,GA)},Lt=p.__private__.pdfEscape=p.pdfEscape=function(f,y){return Zn(f,y).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ja=p.__private__.beginPage=function(f){NA[++he]=[],ae[he]={objId:0,contentsObjId:0,userUnit:Number(o),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(f[0]),topRightY:Number(f[1])}},Yi(he),wA(NA[P])},Ji=function(f,y){var K,Y,cA;switch(A=y||A,typeof f=="string"&&(K=m(f.toLowerCase()),Array.isArray(K)&&(Y=K[0],cA=K[1])),Array.isArray(f)&&(Y=f[0]*OA,cA=f[1]*OA),isNaN(Y)&&(Y=n[0],cA=n[1]),(Y>14400||cA>14400)&&(xe.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Y=Math.min(14400,Y),cA=Math.min(14400,cA)),n=[Y,cA],A.substr(0,1)){case"l":cA>Y&&(n=[cA,Y]);break;case"p":Y>cA&&(n=[cA,Y])}ja(n),rs(Xa),D(ar),Ya!==0&&D(Ya+" J"),$a!==0&&D($a+" j"),ve.publish("addPage",{pageNumber:he})},Jo=function(f){f>0&&f<=he&&(NA.splice(f,1),ae.splice(f,1),he--,P>he&&(P=he),this.setPage(P))},Yi=function(f){f>0&&f<=he&&(P=f)},Yo=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return NA.length-1},$i=function(f,y,K){var Y,cA=void 0;return K=K||{},f=f!==void 0?f:xA[Ae].fontName,y=y!==void 0?y:xA[Ae].fontStyle,Y=f.toLowerCase(),JA[Y]!==void 0&&JA[Y][y]!==void 0?cA=JA[Y][y]:JA[f]!==void 0&&JA[f][y]!==void 0?cA=JA[f][y]:K.disableWarning===!1&&xe.warn("Unable to look up font label for font '"+f+"', '"+y+"'. Refer to getFontList() for available fonts."),cA||K.noFallback||(cA=JA.times[y])==null&&(cA=JA.times.normal),cA},$o=p.__private__.putInfo=function(){var f=et(),y=function(Y){return Y};for(var K in B!==null&&(y=dt.encryptor(f,0)),D("<<"),D("/Producer ("+Lt(y("jsPDF "+te.version))+")"),WA)WA.hasOwnProperty(K)&&WA[K]&&D("/"+K.substr(0,1).toUpperCase()+K.substr(1)+" ("+Lt(y(WA[K]))+")");D("/CreationDate ("+Lt(y(lA))+")"),D(">>"),D("endobj")},qa=p.__private__.putCatalog=function(f){var y=(f=f||{}).rootDictionaryObjId||kr;switch(et(),D("<<"),D("/Type /Catalog"),D("/Pages "+y+" 0 R"),FA||(FA="fullwidth"),FA){case"fullwidth":D("/OpenAction [3 0 R /FitH null]");break;case"fullheight":D("/OpenAction [3 0 R /FitV null]");break;case"fullpage":D("/OpenAction [3 0 R /Fit]");break;case"original":D("/OpenAction [3 0 R /XYZ null null 1]");break;default:var K=""+FA;K.substr(K.length-1)==="%"&&(FA=parseInt(FA)/100),typeof FA=="number"&&D("/OpenAction [3 0 R /XYZ null null "+tA(FA)+"]")}switch(_A||(_A="continuous"),_A){case"continuous":D("/PageLayout /OneColumn");break;case"single":D("/PageLayout /SinglePage");break;case"two":case"twoleft":D("/PageLayout /TwoColumnLeft");break;case"tworight":D("/PageLayout /TwoColumnRight")}QA&&D("/PageMode /"+QA),ve.publish("putCatalog"),D(">>"),D("endobj")},Zo=p.__private__.putTrailer=function(){D("trailer"),D("<<"),D("/Size "+(eA+1)),D("/Root "+eA+" 0 R"),D("/Info "+(eA-1)+" 0 R"),B!==null&&D("/Encrypt "+dt.oid+" 0 R"),D("/ID [ <"+oA+"> <"+oA+"> ]"),D(">>")},Al=p.__private__.putHeader=function(){D("%PDF-"+b),D("%ºß¬à")},el=p.__private__.putXRef=function(){var f="0000000000";D("xref"),D("0 "+(eA+1)),D("0000000000 65535 f ");for(var y=1;y<=eA;y++)typeof uA[y]=="function"?D((f+uA[y]()).slice(-10)+" 00000 n "):uA[y]!==void 0?D((f+uA[y]).slice(-10)+" 00000 n "):D("0000000000 00000 n ")},Dr=p.__private__.buildDocument=function(){YA(),wA(dA),ve.publish("buildDocument"),Al(),Qn(),zi(),Wi(),B!==null&&qo(),$o(),qa();var f=gA;return el(),Zo(),D("startxref"),D(""+f),D("%%EOF"),wA(NA[P]),dA.join(`
124
+ `)},Aa=p.__private__.getBlob=function(f){return new Blob([BA(f)],{type:"application/pdf"})},ea=p.output=p.__private__.output=nr(function(f,y){switch(typeof(y=y||{})=="string"?y={filename:y}:y.filename=y.filename||"generated.pdf",f){case void 0:return Dr();case"save":p.save(y.filename);break;case"arraybuffer":return BA(Dr());case"blob":return Aa(Dr());case"bloburi":case"bloburl":if(ne.URL!==void 0&&typeof ne.URL.createObjectURL=="function")return ne.URL&&ne.URL.createObjectURL(Aa(Dr()))||void 0;xe.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var K="",Y=Dr();try{K=pc(Y)}catch{K=pc(unescape(encodeURIComponent(Y)))}return"data:application/pdf;filename="+y.filename+";base64,"+K;case"pdfobjectnewwindow":if(Object.prototype.toString.call(ne)==="[object Window]"){var cA="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",CA=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';y.pdfObjectUrl&&(cA=y.pdfObjectUrl,CA="");var kA='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+cA+'"'+CA+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(y)+");<\/script></body></html>",GA=ne.open();return GA!==null&&GA.document.write(kA),GA}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(ne)==="[object Window]"){var $A='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(y.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+y.filename+'" width="500px" height="400px" /></body></html>',ce=ne.open();if(ce!==null){ce.document.write($A);var oe=this;ce.document.documentElement.querySelector("#pdfViewer").onload=function(){ce.document.title=y.filename,ce.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(oe.output("bloburl"))}}return ce}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(ne)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Be='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",y)+'"></iframe></body></html>',Te=ne.open();if(Te!==null&&(Te.document.write(Be),Te.document.title=y.filename),Te||typeof safari>"u")return Te;break;case"datauri":case"dataurl":return ne.document.location.href=this.output("datauristring",y);default:return null}}),Zi=function(f){return Array.isArray(Fn)===!0&&Fn.indexOf(f)>-1};switch(r){case"pt":OA=1;break;case"mm":OA=72/25.4;break;case"cm":OA=72/2.54;break;case"in":OA=72;break;case"px":OA=Zi("px_scaling")==1?.75:96/72;break;case"pc":case"em":OA=12;break;case"ex":OA=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);OA=r}var dt=null;TA(),_();var tl=function(f){return B!==null?dt.encryptor(f,0):function(y){return y}},As=p.__private__.getPageInfo=p.getPageInfo=function(f){if(isNaN(f)||f%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:ae[f].objId,pageNumber:f,pageContext:ae[f]}},se=p.__private__.getPageInfoByObjId=function(f){if(isNaN(f)||f%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var y in ae)if(ae[y].objId===f)break;return As(y)},rl=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:ae[P].objId,pageNumber:P,pageContext:ae[P]}};p.addPage=function(){return Ji.apply(this,arguments),this},p.setPage=function(){return Yi.apply(this,arguments),wA.call(this,NA[P]),this},p.insertPage=function(f){return this.addPage(),this.movePage(P,f),this},p.movePage=function(f,y){var K,Y;if(f>y){K=NA[f],Y=ae[f];for(var cA=f;cA>y;cA--)NA[cA]=NA[cA-1],ae[cA]=ae[cA-1];NA[y]=K,ae[y]=Y,this.setPage(y)}else if(f<y){K=NA[f],Y=ae[f];for(var CA=f;CA<y;CA++)NA[CA]=NA[CA+1],ae[CA]=ae[CA+1];NA[y]=K,ae[y]=Y,this.setPage(y)}return this},p.deletePage=function(){return Jo.apply(this,arguments),this},p.__private__.text=p.text=function(f,y,K,Y,cA){var CA,kA,GA,$A,ce,oe,Be,Te,Me,Ye=(Y=Y||{}).scope||this;if(typeof f=="number"&&typeof y=="number"&&(typeof K=="string"||Array.isArray(K))){var gt=K;K=y,y=f,f=gt}if(arguments[3]instanceof ee?(k("The transform parameter of text() with a Matrix value"),Me=cA):(GA=arguments[4],$A=arguments[5],ye(Be=arguments[3])==="object"&&Be!==null||(typeof GA=="string"&&($A=GA,GA=null),typeof Be=="string"&&($A=Be,Be=null),typeof Be=="number"&&(GA=Be,Be=null),Y={flags:Be,angle:GA,align:$A})),isNaN(y)||isNaN(K)||f==null)throw new Error("Invalid arguments passed to jsPDF.text");if(f.length===0)return Ye;var nt="",ir=!1,_t=typeof Y.lineHeightFactor=="number"?Y.lineHeightFactor:Un,Qr=Ye.internal.scaleFactor;function ls(Ie){return Ie=Ie.split(" ").join(Array(Y.TabLen||9).join(" ")),Lt(Ie,Be)}function ri(Ie){for(var Se,Ge=Ie.concat(),tt=[],Pr=Ge.length;Pr--;)typeof(Se=Ge.shift())=="string"?tt.push(Se):Array.isArray(Ie)&&(Se.length===1||Se[1]===void 0&&Se[2]===void 0)?tt.push(Se[0]):tt.push([Se[0],Se[1],Se[2]]);return tt}function ni(Ie,Se){var Ge;if(typeof Ie=="string")Ge=Se(Ie)[0];else if(Array.isArray(Ie)){for(var tt,Pr,fi=Ie.concat(),pa=[],ds=fi.length;ds--;)typeof(tt=fi.shift())=="string"?pa.push(Se(tt)[0]):Array.isArray(tt)&&typeof tt[0]=="string"&&(Pr=Se(tt[0],tt[1],tt[2]),pa.push([Pr[0],Pr[1],Pr[2]]));Ge=pa}return Ge}var sa=!1,ai=!0;if(typeof f=="string")sa=!0;else if(Array.isArray(f)){var ii=f.concat();kA=[];for(var oa,ct=ii.length;ct--;)(typeof(oa=ii.shift())!="string"||Array.isArray(oa)&&typeof oa[0]!="string")&&(ai=!1);sa=ai}if(sa===!1)throw new Error('Type of text must be string or Array. "'+f+'" is not recognized.');typeof f=="string"&&(f=f.match(/[\r?\n]/)?f.split(/\r\n|\r|\n/g):[f]);var la=pA/Ye.internal.scaleFactor,ca=la*(_t-1);switch(Y.baseline){case"bottom":K-=ca;break;case"top":K+=la-ca;break;case"hanging":K+=la-2*ca;break;case"middle":K+=la/2-ca}if((oe=Y.maxWidth||0)>0&&(typeof f=="string"?f=Ye.splitTextToSize(f,oe):Object.prototype.toString.call(f)==="[object Array]"&&(f=f.reduce(function(Ie,Se){return Ie.concat(Ye.splitTextToSize(Se,oe))},[]))),CA={text:f,x:y,y:K,options:Y,mutex:{pdfEscape:Lt,activeFontKey:Ae,fonts:xA,activeFontSize:pA}},ve.publish("preProcessText",CA),f=CA.text,GA=(Y=CA.options).angle,!(Me instanceof ee)&&GA&&typeof GA=="number"){GA*=Math.PI/180,Y.rotationDirection===0&&(GA=-GA),R===E.ADVANCED&&(GA=-GA);var ua=Math.cos(GA),si=Math.sin(GA);Me=new ee(ua,si,-si,ua,0,0)}else GA&&GA instanceof ee&&(Me=GA);R!==E.ADVANCED||Me||(Me=vr),(ce=Y.charSpace||na)!==void 0&&(nt+=X(Q(ce))+` Tc
125
+ `,this.setCharSpace(this.getCharSpace()||0)),(Te=Y.horizontalScale)!==void 0&&(nt+=X(100*Te)+` Tz
126
+ `),Y.lang;var xt=-1,hl=Y.renderingMode!==void 0?Y.renderingMode:Y.stroke,oi=Ye.internal.getCurrentPageInfo().pageContext;switch(hl){case 0:case!1:case"fill":xt=0;break;case 1:case!0:case"stroke":xt=1;break;case 2:case"fillThenStroke":xt=2;break;case 3:case"invisible":xt=3;break;case 4:case"fillAndAddForClipping":xt=4;break;case 5:case"strokeAndAddPathForClipping":xt=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":xt=6;break;case 7:case"addToPathForClipping":xt=7}var cs=oi.usedRenderingMode!==void 0?oi.usedRenderingMode:-1;xt!==-1?nt+=xt+` Tr
127
+ `:cs!==-1&&(nt+=`0 Tr
128
+ `),xt!==-1&&(oi.usedRenderingMode=xt),$A=Y.align||"left";var Vt,fa=pA*_t,us=Ye.internal.pageSize.getWidth(),fs=xA[Ae];ce=Y.charSpace||na,oe=Y.maxWidth||0,Be=Object.assign({autoencode:!0,noBOM:!0},Y.flags);var Yr=[],xn=function(Ie){return Ye.getStringUnitWidth(Ie,{font:fs,charSpace:ce,fontSize:pA,doKerning:!1})*pA/Qr};if(Object.prototype.toString.call(f)==="[object Array]"){var It;kA=ri(f),$A!=="left"&&(Vt=kA.map(xn));var Ft,$r=0;if($A==="right"){y-=Vt[0],f=[],ct=kA.length;for(var _r=0;_r<ct;_r++)_r===0?(Ft=Fr(y),It=Hr(K)):(Ft=Q($r-Vt[_r]),It=-fa),f.push([kA[_r],Ft,It]),$r=Vt[_r]}else if($A==="center"){y-=Vt[0]/2,f=[],ct=kA.length;for(var Tr=0;Tr<ct;Tr++)Tr===0?(Ft=Fr(y),It=Hr(K)):(Ft=Q(($r-Vt[Tr])/2),It=-fa),f.push([kA[Tr],Ft,It]),$r=Vt[Tr]}else if($A==="left"){f=[],ct=kA.length;for(var ha=0;ha<ct;ha++)f.push(kA[ha])}else if($A==="justify"&&fs.encoding==="Identity-H"){f=[],ct=kA.length,oe=oe!==0?oe:us;for(var Mr=0,Ve=0;Ve<ct;Ve++)if(It=Ve===0?Hr(K):-fa,Ft=Ve===0?Fr(y):Mr,Ve<ct-1){var li=Q((oe-Vt[Ve])/(kA[Ve].split(" ").length-1)),Qt=kA[Ve].split(" ");f.push([Qt[0]+" ",Ft,It]),Mr=0;for(var Gt=1;Gt<Qt.length;Gt++){var da=(xn(Qt[Gt-1]+" "+Qt[Gt])-xn(Qt[Gt]))*Qr+li;Gt==Qt.length-1?f.push([Qt[Gt],da,0]):f.push([Qt[Gt]+" ",da,0]),Mr-=da}}else f.push([kA[Ve],Ft,It]);f.push(["",Mr,0])}else{if($A!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(f=[],ct=kA.length,oe=oe!==0?oe:us,Ve=0;Ve<ct;Ve++)It=Ve===0?Hr(K):-fa,Ft=Ve===0?Fr(y):0,Ve<ct-1?Yr.push(X(Q((oe-Vt[Ve])/(kA[Ve].split(" ").length-1)))):Yr.push(0),f.push([kA[Ve],Ft,It])}}var hs=typeof Y.R2L=="boolean"?Y.R2L:IA;hs===!0&&(f=ni(f,function(Ie,Se,Ge){return[Ie.split("").reverse().join(""),Se,Ge]})),CA={text:f,x:y,y:K,options:Y,mutex:{pdfEscape:Lt,activeFontKey:Ae,fonts:xA,activeFontSize:pA}},ve.publish("postProcessText",CA),f=CA.text,ir=CA.mutex.isHex||!1;var ci=xA[Ae].encoding;ci!=="WinAnsiEncoding"&&ci!=="StandardEncoding"||(f=ni(f,function(Ie,Se,Ge){return[ls(Ie),Se,Ge]})),kA=ri(f),f=[];for(var In,Sn,Zr,Nn=0,ga=1,kn=Array.isArray(kA[0])?ga:Nn,An="",ui=function(Ie,Se,Ge){var tt="";return Ge instanceof ee?(Ge=typeof Y.angle=="number"?Ar(Ge,new ee(1,0,0,1,Ie,Se)):Ar(new ee(1,0,0,1,Ie,Se),Ge),R===E.ADVANCED&&(Ge=Ar(new ee(1,0,0,-1,0,0),Ge)),tt=Ge.join(" ")+` Tm
129
+ `):tt=X(Ie)+" "+X(Se)+` Td
130
+ `,tt},jt=0;jt<kA.length;jt++){switch(An="",kn){case ga:Zr=(ir?"<":"(")+kA[jt][0]+(ir?">":")"),In=parseFloat(kA[jt][1]),Sn=parseFloat(kA[jt][2]);break;case Nn:Zr=(ir?"<":"(")+kA[jt]+(ir?">":")"),In=Fr(y),Sn=Hr(K)}Yr!==void 0&&Yr[jt]!==void 0&&(An=Yr[jt]+` Tw
131
+ `),jt===0?f.push(An+ui(In,Sn,Me)+Zr):kn===Nn?f.push(An+Zr):kn===ga&&f.push(An+ui(In,Sn,Me)+Zr)}f=kn===Nn?f.join(` Tj
132
+ T* `):f.join(` Tj
133
+ `),f+=` Tj
134
+ `;var qt=`BT
135
+ /`;return qt+=Ae+" "+pA+` Tf
136
+ `,qt+=X(pA*_t)+` TL
137
+ `,qt+=En+`
138
+ `,qt+=nt,qt+=f,D(qt+="ET"),v[Ae]=!0,Ye};var nl=p.__private__.clip=p.clip=function(f){return D(f==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return nl("evenodd")},p.__private__.discardPath=p.discardPath=function(){return D("n"),this};var yr=p.__private__.isValidStyle=function(f){var y=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(f)!==-1&&(y=!0),y};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(f){return yr(f)&&(d=f),this};var es=p.__private__.getStyle=p.getStyle=function(f){var y=d;switch(f){case"D":case"S":y="S";break;case"F":y="f";break;case"FD":case"DF":y="B";break;case"f":case"f*":case"B":case"B*":y=f}return y},ts=p.close=function(){return D("h"),this};p.stroke=function(){return D("S"),this},p.fill=function(f){return ta("f",f),this},p.fillEvenOdd=function(f){return ta("f*",f),this},p.fillStroke=function(f){return ta("B",f),this},p.fillStrokeEvenOdd=function(f){return ta("B*",f),this};var ta=function(f,y){ye(y)==="object"?il(y,f):D(f)},Wa=function(f){f===null||R===E.ADVANCED&&f===void 0||(f=es(f),D(f))};function al(f,y,K,Y,cA){var CA=new Da(y||this.boundingBox,K||this.xStep,Y||this.yStep,this.gState,cA||this.matrix);CA.stream=this.stream;var kA=f+"$$"+this.cloneIndex+++"$$";return Et(kA,CA),CA}var il=function(f,y){var K=be[f.key],Y=re[K];if(Y instanceof Mn)D("q"),D(sl(y)),Y.gState&&p.setGState(Y.gState),D(f.matrix.toString()+" cm"),D("/"+K+" sh"),D("Q");else if(Y instanceof Da){var cA=new ee(1,0,0,-1,0,Jr());f.matrix&&(cA=cA.multiply(f.matrix||vr),K=al.call(Y,f.key,f.boundingBox,f.xStep,f.yStep,cA).id),D("q"),D("/Pattern cs"),D("/"+K+" scn"),Y.gState&&p.setGState(Y.gState),D(y),D("Q")}},sl=function(f){switch(f){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},za=p.moveTo=function(f,y){return D(X(Q(f))+" "+X(O(y))+" m"),this},bn=p.lineTo=function(f,y){return D(X(Q(f))+" "+X(O(y))+" l"),this},zr=p.curveTo=function(f,y,K,Y,cA,CA){return D([X(Q(f)),X(O(y)),X(Q(K)),X(O(Y)),X(Q(cA)),X(O(CA)),"c"].join(" ")),this};p.__private__.line=p.line=function(f,y,K,Y,cA){if(isNaN(f)||isNaN(y)||isNaN(K)||isNaN(Y)||!yr(cA))throw new Error("Invalid arguments passed to jsPDF.line");return R===E.COMPAT?this.lines([[K-f,Y-y]],f,y,[1,1],cA||"S"):this.lines([[K-f,Y-y]],f,y,[1,1]).stroke()},p.__private__.lines=p.lines=function(f,y,K,Y,cA,CA){var kA,GA,$A,ce,oe,Be,Te,Me,Ye,gt,nt,ir;if(typeof f=="number"&&(ir=K,K=y,y=f,f=ir),Y=Y||[1,1],CA=CA||!1,isNaN(y)||isNaN(K)||!Array.isArray(f)||!Array.isArray(Y)||!yr(cA)||typeof CA!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(za(y,K),kA=Y[0],GA=Y[1],ce=f.length,gt=y,nt=K,$A=0;$A<ce;$A++)(oe=f[$A]).length===2?(gt=oe[0]*kA+gt,nt=oe[1]*GA+nt,bn(gt,nt)):(Be=oe[0]*kA+gt,Te=oe[1]*GA+nt,Me=oe[2]*kA+gt,Ye=oe[3]*GA+nt,gt=oe[4]*kA+gt,nt=oe[5]*GA+nt,zr(Be,Te,Me,Ye,gt,nt));return CA&&ts(),Wa(cA),this},p.path=function(f){for(var y=0;y<f.length;y++){var K=f[y],Y=K.c;switch(K.op){case"m":za(Y[0],Y[1]);break;case"l":bn(Y[0],Y[1]);break;case"c":zr.apply(this,Y);break;case"h":ts()}}return this},p.__private__.rect=p.rect=function(f,y,K,Y,cA){if(isNaN(f)||isNaN(y)||isNaN(K)||isNaN(Y)||!yr(cA))throw new Error("Invalid arguments passed to jsPDF.rect");return R===E.COMPAT&&(Y=-Y),D([X(Q(f)),X(O(y)),X(Q(K)),X(Q(Y)),"re"].join(" ")),Wa(cA),this},p.__private__.triangle=p.triangle=function(f,y,K,Y,cA,CA,kA){if(isNaN(f)||isNaN(y)||isNaN(K)||isNaN(Y)||isNaN(cA)||isNaN(CA)||!yr(kA))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[K-f,Y-y],[cA-K,CA-Y],[f-cA,y-CA]],f,y,[1,1],kA,!0),this},p.__private__.roundedRect=p.roundedRect=function(f,y,K,Y,cA,CA,kA){if(isNaN(f)||isNaN(y)||isNaN(K)||isNaN(Y)||isNaN(cA)||isNaN(CA)||!yr(kA))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var GA=4/3*(Math.SQRT2-1);return cA=Math.min(cA,.5*K),CA=Math.min(CA,.5*Y),this.lines([[K-2*cA,0],[cA*GA,0,cA,CA-CA*GA,cA,CA],[0,Y-2*CA],[0,CA*GA,-cA*GA,CA,-cA,CA],[2*cA-K,0],[-cA*GA,0,-cA,-CA*GA,-cA,-CA],[0,2*CA-Y],[0,-CA*GA,cA*GA,-CA,cA,-CA]],f+cA,y,[1,1],kA,!0),this},p.__private__.ellipse=p.ellipse=function(f,y,K,Y,cA){if(isNaN(f)||isNaN(y)||isNaN(K)||isNaN(Y)||!yr(cA))throw new Error("Invalid arguments passed to jsPDF.ellipse");var CA=4/3*(Math.SQRT2-1)*K,kA=4/3*(Math.SQRT2-1)*Y;return za(f+K,y),zr(f+K,y-kA,f+CA,y-Y,f,y-Y),zr(f-CA,y-Y,f-K,y-kA,f-K,y),zr(f-K,y+kA,f-CA,y+Y,f,y+Y),zr(f+CA,y+Y,f+K,y+kA,f+K,y),Wa(cA),this},p.__private__.circle=p.circle=function(f,y,K,Y){if(isNaN(f)||isNaN(y)||isNaN(K)||!yr(Y))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(f,y,K,K,Y)},p.setFont=function(f,y,K){return K&&(y=j(y,K)),Ae=$i(f,y,{disableWarning:!1}),this};var ol=p.__private__.getFont=p.getFont=function(){return xA[$i.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var f,y,K={};for(f in JA)if(JA.hasOwnProperty(f))for(y in K[f]=[],JA[f])JA[f].hasOwnProperty(y)&&K[f].push(y);return K},p.addFont=function(f,y,K,Y,cA){var CA=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&CA.indexOf(arguments[3])!==-1?cA=arguments[3]:arguments[3]&&CA.indexOf(arguments[3])==-1&&(K=j(K,Y)),cA=cA||"Identity-H",Ga.call(this,f,y,K,cA)};var Un,Xa=t.lineWidth||.200025,ra=p.__private__.getLineWidth=p.getLineWidth=function(){return Xa},rs=p.__private__.setLineWidth=p.setLineWidth=function(f){return Xa=f,D(X(Q(f))+" w"),this};p.__private__.setLineDash=te.API.setLineDash=te.API.setLineDashPattern=function(f,y){if(f=f||[],y=y||0,isNaN(y)||!Array.isArray(f))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return f=f.map(function(K){return X(Q(K))}).join(" "),y=X(Q(y)),D("["+f+"] "+y+" d"),this};var ns=p.__private__.getLineHeight=p.getLineHeight=function(){return pA*Un};p.__private__.getLineHeight=p.getLineHeight=function(){return pA*Un};var as=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(f){return typeof(f=f||1.15)=="number"&&(Un=f),this},is=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Un};as(t.lineHeight);var Fr=p.__private__.getHorizontalCoordinate=function(f){return Q(f)},Hr=p.__private__.getVerticalCoordinate=function(f){return R===E.ADVANCED?f:ae[P].mediaBox.topRightY-ae[P].mediaBox.bottomLeftY-Q(f)},ll=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(f){return X(Fr(f))},Xr=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(f){return X(Hr(f))},ar=t.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return tr(ar)},p.__private__.setStrokeColor=p.setDrawColor=function(f,y,K,Y){return ar=rr({ch1:f,ch2:y,ch3:K,ch4:Y,pdfColorType:"draw",precision:2}),D(ar),this};var Ja=t.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return tr(Ja)},p.__private__.setFillColor=p.setFillColor=function(f,y,K,Y){return Ja=rr({ch1:f,ch2:y,ch3:K,ch4:Y,pdfColorType:"fill",precision:2}),D(Ja),this};var En=t.textColor||"0 g",cl=p.__private__.getTextColor=p.getTextColor=function(){return tr(En)};p.__private__.setTextColor=p.setTextColor=function(f,y,K,Y){return En=rr({ch1:f,ch2:y,ch3:K,ch4:Y,pdfColorType:"text",precision:3}),this};var na=t.charSpace,ul=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(na||0)};p.__private__.setCharSpace=p.setCharSpace=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return na=f,this};var Ya=0;p.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},p.__private__.setLineCap=p.setLineCap=function(f){var y=p.CapJoinStyles[f];if(y===void 0)throw new Error("Line cap style of '"+f+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ya=y,D(y+" J"),this};var $a=0;p.__private__.setLineJoin=p.setLineJoin=function(f){var y=p.CapJoinStyles[f];if(y===void 0)throw new Error("Line join style of '"+f+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return $a=y,D(y+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(f){if(f=f||0,isNaN(f))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return D(X(Q(f))+" M"),this},p.GState=wo,p.setGState=function(f){(f=typeof f=="string"?fe[ke[f]]:ss(null,f)).equals(Ke)||(D("/"+f.id+" gs"),Ke=f)};var ss=function(f,y){if(!f||!ke[f]){var K=!1;for(var Y in fe)if(fe.hasOwnProperty(Y)&&fe[Y].equals(y)){K=!0;break}if(K)y=fe[Y];else{var cA="GS"+(Object.keys(fe).length+1).toString(10);fe[cA]=y,y.id=cA}return f&&(ke[f]=y.id),ve.publish("addGState",y),y}};p.addGState=function(f,y){return ss(f,y),this},p.saveGraphicsState=function(){return D("q"),de.push({key:Ae,size:pA,color:En}),this},p.restoreGraphicsState=function(){D("Q");var f=de.pop();return Ae=f.key,pA=f.size,En=f.color,Ke=null,this},p.setCurrentTransformationMatrix=function(f){return D(f.toString()+" cm"),this},p.comment=function(f){return D("#"+f),this};var aa=function(f,y){var K=f||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return K},set:function(CA){isNaN(CA)||(K=parseFloat(CA))}});var Y=y||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Y},set:function(CA){isNaN(CA)||(Y=parseFloat(CA))}});var cA="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return cA},set:function(CA){cA=CA.toString()}}),this},Za=function(f,y,K,Y){aa.call(this,f,y),this.type="rect";var cA=K||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return cA},set:function(kA){isNaN(kA)||(cA=parseFloat(kA))}});var CA=Y||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return CA},set:function(kA){isNaN(kA)||(CA=parseFloat(kA))}}),this},Ai=function(){this.page=he,this.currentPage=P,this.pages=NA.slice(0),this.pagesContext=ae.slice(0),this.x=_e,this.y=mA,this.matrix=DA,this.width=Ln(P),this.height=Jr(P),this.outputDestination=PA,this.id="",this.objectNumber=-1};Ai.prototype.restore=function(){he=this.page,P=this.currentPage,ae=this.pagesContext,NA=this.pages,_e=this.x,mA=this.y,DA=this.matrix,ei(P,this.width),ti(P,this.height),PA=this.outputDestination};var os=function(f,y,K,Y,cA){wr.push(new Ai),he=P=0,NA=[],_e=f,mA=y,DA=cA,ja([K,Y])},fl=function(f){if(Br[f])wr.pop().restore();else{var y=new Ai,K="Xo"+(Object.keys(lt).length+1).toString(10);y.id=K,Br[f]=K,lt[K]=y,ve.publish("addFormObject",y),wr.pop().restore()}};for(var ia in p.beginFormObject=function(f,y,K,Y,cA){return os(f,y,K,Y,cA),this},p.endFormObject=function(f){return fl(f),this},p.doFormObject=function(f,y){var K=lt[Br[f]];return D("q"),D(y.toString()+" cm"),D("/"+K.id+" Do"),D("Q"),this},p.getFormObject=function(f){var y=lt[Br[f]];return{x:y.x,y:y.y,width:y.width,height:y.height,matrix:y.matrix}},p.save=function(f,y){return f=f||"generated.pdf",(y=y||{}).returnPromise=y.returnPromise||!1,y.returnPromise===!1?(Tn(Aa(Dr()),f),typeof Tn.unload=="function"&&ne.setTimeout&&setTimeout(Tn.unload,911),this):new Promise(function(K,Y){try{var cA=Tn(Aa(Dr()),f);typeof Tn.unload=="function"&&ne.setTimeout&&setTimeout(Tn.unload,911),K(cA)}catch(CA){Y(CA.message)}})},te.API)te.API.hasOwnProperty(ia)&&(ia==="events"&&te.API.events.length?function(f,y){var K,Y,cA;for(cA=y.length-1;cA!==-1;cA--)K=y[cA][0],Y=y[cA][1],f.subscribe.apply(f,[K].concat(typeof Y=="function"?[Y]:Y))}(ve,te.API.events):p[ia]=te.API[ia]);var Ln=p.getPageWidth=function(f){return(ae[f=f||P].mediaBox.topRightX-ae[f].mediaBox.bottomLeftX)/OA},ei=p.setPageWidth=function(f,y){ae[f].mediaBox.topRightX=y*OA+ae[f].mediaBox.bottomLeftX},Jr=p.getPageHeight=function(f){return(ae[f=f||P].mediaBox.topRightY-ae[f].mediaBox.bottomLeftY)/OA},ti=p.setPageHeight=function(f,y){ae[f].mediaBox.topRightY=y*OA+ae[f].mediaBox.bottomLeftY};return p.internal={pdfEscape:Lt,getStyle:es,getFont:ol,getFontSize:UA,getCharSpace:ul,getTextColor:cl,getLineHeight:ns,getLineHeightFactor:is,getLineWidth:ra,write:$,getHorizontalCoordinate:Fr,getVerticalCoordinate:Hr,getCoordinateString:ll,getVerticalCoordinateString:Xr,collections:{},newObject:et,newAdditionalObject:qn,newObjectDeferred:Je,newObjectDeferredBegin:Ht,getFilters:mr,putStream:Rt,events:ve,scaleFactor:OA,pageSize:{getWidth:function(){return Ln(P)},setWidth:function(f){ei(P,f)},getHeight:function(){return Jr(P)},setHeight:function(f){ti(P,f)}},encryptionOptions:B,encryption:dt,getEncryptor:tl,output:ea,getNumberOfPages:Yo,pages:NA,out:D,f2:tA,f3:I,getPageInfo:As,getPageInfoByObjId:se,getCurrentPageInfo:rl,getPDFVersion:F,Point:aa,Rectangle:Za,Matrix:ee,hasHotfix:Zi},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return Ln(P)},set:function(f){ei(P,f)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Jr(P)},set:function(f){ti(P,f)},enumerable:!0,configurable:!0}),Xo.call(p,sA),Ae="F1",Ji(n,A),ve.publish("initialized"),p}Ia.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},Ia.prototype.toHexString=function(t){return t.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Ia.prototype.hexToBytes=function(t){for(var e=[],A=0;A<t.length;A+=2)e.push(String.fromCharCode(parseInt(t.substr(A,2),16)));return e.join("")},Ia.prototype.processOwnerPassword=function(t,e){return wc(Bc(e).substr(0,5),t)},Ia.prototype.encryptor=function(t,e){var A=Bc(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(r){return wc(A,r)}},wo.prototype.equals=function(t){var e,A="id,objectNumber,equals";if(!t||ye(t)!==ye(this))return!1;var r=0;for(e in this)if(!(A.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e)||this[e]!==t[e])return!1;r++}for(e in t)t.hasOwnProperty(e)&&A.indexOf(e)<0&&r--;return r===0},te.API={events:[]},te.version="3.0.1";var Oe=te.API,zc=1,jn=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ca=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},le=function(t){return t.toFixed(2)},cn=function(t){return t.toFixed(5)};Oe.__acroform__={};var Dt=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},Mu=function(t){return t*zc},Er=function(t){var e=new wh,A=zA.internal.getHeight(t)||0,r=zA.internal.getWidth(t)||0;return e.BBox=[0,0,Number(le(r)),Number(le(A))],e},FB=Oe.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|=1<<e},QB=Oe.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&=~(1<<e)},bB=Oe.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(t&1<<e)==0?0:1},We=Oe.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return bB(t,e-1)},ze=Oe.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return FB(t,e-1)},Xe=Oe.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return QB(t,e-1)},UB=Oe.__acroform__.calculateCoordinates=function(t,e){var A=e.internal.getHorizontalCoordinate,r=e.internal.getVerticalCoordinate,n=t[0],a=t[1],s=t[2],o=t[3],u={};return u.lowerLeft_X=A(n)||0,u.lowerLeft_Y=r(a+o)||0,u.upperRight_X=A(n+s)||0,u.upperRight_Y=r(a)||0,[Number(le(u.lowerLeft_X)),Number(le(u.lowerLeft_Y)),Number(le(u.upperRight_X)),Number(le(u.upperRight_Y))]},EB=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],A=t._V||t.DV,r=vc(t,A),n=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+n+" "+le(r.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(r.text),e.push("ET"),e.push("Q"),e.push("EMC");var a=Er(t);return a.scope=t.scope,a.stream=e.join(`
139
+ `),a}},vc=function(t,e){var A=t.fontSize===0?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},n=(e=(e=e.substr(0,1)=="("?e.substr(1):e).substr(e.length-1)==")"?e.substr(0,e.length-1):e).split(" ");n=t.multiline?n.map(function(I){return I.split(`
140
+ `)}):n.map(function(I){return[I]});var a=A,s=zA.internal.getHeight(t)||0;s=s<0?-s:s;var o=zA.internal.getWidth(t)||0;o=o<0?-o:o;var u=function(I,Q,T){if(I+1<n.length){var O=Q+" "+n[I+1][0];return _s(O,t,T).width<=o-4}return!1};a++;A:for(;a>0;){e="",a--;var d,B,g=_s("3",t,a).height,v=t.multiline?s-a:(s-g)/2,p=v+=2,b=0,F=0,H=0;if(a<=0){e=`(...) Tj
141
+ `,e+="% Width of Text: "+_s(e,t,a=12).width+", FieldWidth:"+o+`
142
+ `;break}for(var m="",E=0,R=0;R<n.length;R++)if(n.hasOwnProperty(R)){var q=!1;if(n[R].length!==1&&H!==n[R].length-1){if((g+2)*(E+2)+2>s)continue A;m+=n[R][H],q=!0,F=R,R--}else{m=(m+=n[R][H]+" ").substr(m.length-1)==" "?m.substr(0,m.length-1):m;var W=parseInt(R),j=u(W,m,a),X=R>=n.length-1;if(j&&!X){m+=" ",H=0;continue}if(j||X){if(X)F=W;else if(t.multiline&&(g+2)*(E+2)+2>s)continue A}else{if(!t.multiline||(g+2)*(E+2)+2>s)continue A;F=W}}for(var k="",G=b;G<=F;G++){var tA=n[G];if(t.multiline){if(G===F){k+=tA[H]+" ",H=(H+1)%tA.length;continue}if(G===b){k+=tA[tA.length-1]+" ";continue}}k+=tA[0]+" "}switch(k=k.substr(k.length-1)==" "?k.substr(0,k.length-1):k,B=_s(k,t,a).width,t.textAlign){case"right":d=o-B-2;break;case"center":d=(o-B)/2;break;case"left":default:d=2}e+=le(d)+" "+le(p)+` Td
143
+ `,e+="("+jn(k)+`) Tj
144
+ `,e+=-le(d)+` 0 Td
145
+ `,p=-(a+2),B=0,b=q?F:F+1,E++,m=""}break}return r.text=e,r.fontSize=a,r},_s=function(t,e,A){var r=e.scope.internal.getFont(e.fontName,e.fontStyle),n=e.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(A),charSpace:0})*parseFloat(A);return{height:e.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(A),charSpace:0})*parseFloat(A)*1.5,width:n}},LB={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},xB=function(t,e){var A={type:"reference",object:t};e.internal.getPageInfo(t.page).pageContext.annotations.find(function(r){return r.type===A.type&&r.object===A.object})===void 0&&e.internal.getPageInfo(t.page).pageContext.annotations.push(A)},IB=function(t,e){for(var A in t)if(t.hasOwnProperty(A)){var r=A,n=t[A];e.internal.newObjectDeferredBegin(n.objId,!0),ye(n)==="object"&&typeof n.putStream=="function"&&n.putStream(),delete t[r]}},SB=function(t,e){if(e.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(dr.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(LB)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");zc=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new vh,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(A){A.internal.events.unsubscribe(A.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete A.internal.acroformPlugin.acroFormDictionaryRoot._eventID,A.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(A){A.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=A.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in r)if(r.hasOwnProperty(n)){var a=r[n];a.objId=void 0,a.hasAnnotation&&xB(a,A)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(A){if(A.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");A.internal.write("/AcroForm "+A.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(A){(function(r,n){var a=!r;for(var s in r||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(s)){var o=r[s],u=[],d=o.Rect;if(o.Rect&&(o.Rect=UB(o.Rect,n)),n.internal.newObjectDeferredBegin(o.objId,!0),o.DA=zA.createDefaultAppearanceStream(o),ye(o)==="object"&&typeof o.getKeyValueListForStream=="function"&&(u=o.getKeyValueListForStream()),o.Rect=d,o.hasAppearanceStream&&!o.appearanceStreamContent){var B=EB(o);u.push({key:"AP",value:"<</N "+B+">>"}),n.internal.acroformPlugin.xForms.push(B)}if(o.appearanceStreamContent){var g="";for(var v in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(v)){var p=o.appearanceStreamContent[v];if(g+="/"+v+" ",g+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var s in p)if(p.hasOwnProperty(s)){var b=p[s];typeof b=="function"&&(b=b.call(n,o)),g+="/"+s+" "+b+" ",n.internal.acroformPlugin.xForms.indexOf(b)>=0||n.internal.acroformPlugin.xForms.push(b)}}else typeof(b=p)=="function"&&(b=b.call(n,o)),g+="/"+s+" "+b,n.internal.acroformPlugin.xForms.indexOf(b)>=0||n.internal.acroformPlugin.xForms.push(b);g+=">>"}u.push({key:"AP",value:`<<
146
+ `+g+">>"})}n.internal.putStream({additionalKeyValues:u,objectId:o.objId}),n.internal.out("endobj")}a&&IB(n.internal.acroformPlugin.xForms,n)})(A,t)}),t.internal.acroformPlugin.isInitialized=!0}},Bh=Oe.__acroform__.arrayToPdfArray=function(t,e,A){var r=function(s){return s};if(Array.isArray(t)){for(var n="[",a=0;a<t.length;a++)switch(a!==0&&(n+=" "),ye(t[a])){case"boolean":case"number":case"object":n+=t[a].toString();break;case"string":t[a].substr(0,1)!=="/"?(e!==void 0&&A&&(r=A.internal.getEncryptor(e)),n+="("+jn(r(t[a].toString()))+")"):n+=t[a].toString()}return n+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Pl=function(t,e,A){var r=function(n){return n};return e!==void 0&&A&&(r=A.internal.getEncryptor(e)),(t=t||"").toString(),t="("+jn(r(t))+")"},Lr=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Lr.prototype.toString=function(){return this.objId+" 0 R"},Lr.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},Lr.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter(function(a){return a!="content"&&a!="appearanceStreamContent"&&a!="scope"&&a!="objId"&&a.substring(0,1)!="_"});for(var A in e)if(Object.getOwnPropertyDescriptor(this,e[A]).configurable===!1){var r=e[A],n=this[r];n&&(Array.isArray(n)?t.push({key:r,value:Bh(n,this.objId,this.scope)}):n instanceof Lr?(n.scope=this.scope,t.push({key:r,value:n.objId+" 0 R"})):typeof n!="function"&&t.push({key:r,value:n}))}return t};var wh=function(){Lr.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(A){e=A}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(A){t=A.trim()},get:function(){return t||null}})};Dt(wh,Lr);var vh=function(){Lr.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var A=function(r){return r};return this.scope&&(A=this.scope.internal.getEncryptor(this.objId)),"("+jn(A(t))+")"}},set:function(A){t=A}})};Dt(vh,Lr);var dr=function t(){Lr.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(m){if(isNaN(m))throw new Error('Invalid value "'+m+'" for attribute F supplied.');e=m}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!We(e,3)},set:function(m){m?this.F=ze(e,3):this.F=Xe(e,3)}});var A=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return A},set:function(m){if(isNaN(m))throw new Error('Invalid value "'+m+'" for attribute Ff supplied.');A=m}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(m){r=m!==void 0?m:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(m){r[0]=m}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(m){r[1]=m}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(m){r[2]=m}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(m){r[3]=m}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(m){switch(m){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=m;break;default:throw new Error('Invalid value "'+m+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof vo)return;a="FieldObject"+t.FieldNum++}var m=function(E){return E};return this.scope&&(m=this.scope.internal.getEncryptor(this.objId)),"("+jn(m(a))+")"},set:function(m){a=m.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(m){a=m}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(m){s=m}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(m){o=m}});var u=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return u},set:function(m){u=m}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return d===void 0?50/zc:d},set:function(m){d=m}});var B="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return B},set:function(m){B=m}});var g="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!g||this instanceof vo||this instanceof Kn))return Pl(g,this.objId,this.scope)},set:function(m){m=m.toString(),g=m}});var v=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(v)return this instanceof ot?v:Pl(v,this.objId,this.scope)},set:function(m){m=m.toString(),v=this instanceof ot?m:m.substr(0,1)==="("?Ca(m.substr(1,m.length-2)):Ca(m)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ot?Ca(v.substr(1,v.length-1)):v},set:function(m){m=m.toString(),v=this instanceof ot?"/"+m:m}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(m){this.V=m}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof ot?p:Pl(p,this.objId,this.scope)},set:function(m){m=m.toString(),p=this instanceof ot?m:m.substr(0,1)==="("?Ca(m.substr(1,m.length-2)):Ca(m)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ot?Ca(p.substr(1,p.length-1)):p},set:function(m){m=m.toString(),p=this instanceof ot?"/"+m:m}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var b,F=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return F},set:function(m){m=!!m,F=m}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(b)return b},set:function(m){b=m}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,1)},set:function(m){m?this.Ff=ze(this.Ff,1):this.Ff=Xe(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,2)},set:function(m){m?this.Ff=ze(this.Ff,2):this.Ff=Xe(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,3)},set:function(m){m?this.Ff=ze(this.Ff,3):this.Ff=Xe(this.Ff,3)}});var H=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(H!==null)return H},set:function(m){if([0,1,2].indexOf(m)===-1)throw new Error('Invalid value "'+m+'" for attribute Q supplied.');H=m}}),Object.defineProperty(this,"textAlign",{get:function(){var m;switch(H){case 0:default:m="left";break;case 1:m="center";break;case 2:m="right"}return m},configurable:!0,enumerable:!0,set:function(m){switch(m){case"right":case 2:H=2;break;case"center":case 1:H=1;break;case"left":case 0:default:H=0}}})};Dt(dr,Lr);var _a=function(){dr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(A){t=A}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Bh(e,this.objId,this.scope)},set:function(A){var r,n;n=[],typeof(r=A)=="string"&&(n=function(a,s,o){o||(o=1);for(var u,d=[];u=s.exec(a);)d.push(u[o]);return d}(r,/\((.*?)\)/g)),e=n}}),this.getOptions=function(){return e},this.setOptions=function(A){e=A,this.sort&&e.sort()},this.addOption=function(A){A=(A=A||"").toString(),e.push(A),this.sort&&e.sort()},this.removeOption=function(A,r){for(r=r||!1,A=(A=A||"").toString();e.indexOf(A)!==-1&&(e.splice(e.indexOf(A),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,18)},set:function(A){A?this.Ff=ze(this.Ff,18):this.Ff=Xe(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,19)},set:function(A){this.combo===!0&&(A?this.Ff=ze(this.Ff,19):this.Ff=Xe(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,20)},set:function(A){A?(this.Ff=ze(this.Ff,20),e.sort()):this.Ff=Xe(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,22)},set:function(A){A?this.Ff=ze(this.Ff,22):this.Ff=Xe(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,23)},set:function(A){A?this.Ff=ze(this.Ff,23):this.Ff=Xe(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,27)},set:function(A){A?this.Ff=ze(this.Ff,27):this.Ff=Xe(this.Ff,27)}}),this.hasAppearanceStream=!1};Dt(_a,dr);var Ta=function(){_a.call(this),this.fontName="helvetica",this.combo=!1};Dt(Ta,_a);var Ma=function(){Ta.call(this),this.combo=!0};Dt(Ma,Ta);var lo=function(){Ma.call(this),this.edit=!0};Dt(lo,Ma);var ot=function(){dr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,15)},set:function(A){A?this.Ff=ze(this.Ff,15):this.Ff=Xe(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,16)},set:function(A){A?this.Ff=ze(this.Ff,16):this.Ff=Xe(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,17)},set:function(A){A?this.Ff=ze(this.Ff,17):this.Ff=Xe(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,26)},set:function(A){A?this.Ff=ze(this.Ff,26):this.Ff=Xe(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(a){return a};if(this.scope&&(A=this.scope.internal.getEncryptor(this.objId)),Object.keys(e).length!==0){var r,n=[];for(r in n.push("<<"),e)n.push("/"+r+" ("+jn(A(e[r]))+")");return n.push(">>"),n.join(`
147
+ `)}},set:function(A){ye(A)==="object"&&(e=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(A){typeof A=="string"&&(e.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(A){t="/"+A}})};Dt(ot,dr);var co=function(){ot.call(this),this.pushButton=!0};Dt(co,ot);var Pa=function(){ot.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e!==void 0?e:[]}})};Dt(Pa,ot);var vo=function(){var t,e;dr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(n){e=n}});var A,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(o){return o};this.scope&&(n=this.scope.internal.getEncryptor(this.objId));var a,s=[];for(a in s.push("<<"),r)s.push("/"+a+" ("+jn(n(r[a]))+")");return s.push(">>"),s.join(`
148
+ `)},set:function(n){ye(n)==="object"&&(r=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(n){typeof n=="string"&&(r.CA=n)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return A},set:function(n){A=n}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return A.substr(1,A.length-1)},set:function(n){A="/"+n}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=zA.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Dt(vo,dr),Pa.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var A=this.Kids[e];A.appearanceStreamContent=t.createAppearanceStream(A.optionName),A.caption=t.getCA()}},Pa.prototype.createOption=function(t){var e=new vo;return e.Parent=this,e.optionName=t,this.Kids.push(e),NB.call(this.scope,e),e};var uo=function(){ot.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=zA.CheckBox.createAppearanceStream()};Dt(uo,ot);var Kn=function(){dr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,13)},set:function(e){e?this.Ff=ze(this.Ff,13):this.Ff=Xe(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,21)},set:function(e){e?this.Ff=ze(this.Ff,21):this.Ff=Xe(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,23)},set:function(e){e?this.Ff=ze(this.Ff,23):this.Ff=Xe(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,24)},set:function(e){e?this.Ff=ze(this.Ff,24):this.Ff=Xe(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,25)},set:function(e){e?this.Ff=ze(this.Ff,25):this.Ff=Xe(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,26)},set:function(e){e?this.Ff=ze(this.Ff,26):this.Ff=Xe(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Dt(Kn,dr);var fo=function(){Kn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!We(this.Ff,14)},set:function(t){t?this.Ff=ze(this.Ff,14):this.Ff=Xe(this.Ff,14)}}),this.password=!0};Dt(fo,Kn);var zA={CheckBox:{createAppearanceStream:function(){return{N:{On:zA.CheckBox.YesNormal},D:{On:zA.CheckBox.YesPushDown,Off:zA.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=Er(t);e.scope=t.scope;var A=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),a=vc(t,t.caption);return A.push("0.749023 g"),A.push("0 0 "+le(zA.internal.getWidth(t))+" "+le(zA.internal.getHeight(t))+" re"),A.push("f"),A.push("BMC"),A.push("q"),A.push("0 0 1 rg"),A.push("/"+r+" "+le(a.fontSize)+" Tf "+n),A.push("BT"),A.push(a.text),A.push("ET"),A.push("Q"),A.push("EMC"),e.stream=A.join(`
149
+ `),e},YesNormal:function(t){var e=Er(t);e.scope=t.scope;var A=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),n=[],a=zA.internal.getHeight(t),s=zA.internal.getWidth(t),o=vc(t,t.caption);return n.push("1 g"),n.push("0 0 "+le(s)+" "+le(a)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+le(s-1)+" "+le(a-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+A+" "+le(o.fontSize)+" Tf "+r),n.push(o.text),n.push("ET"),n.push("Q"),e.stream=n.join(`
150
+ `),e},OffPushDown:function(t){var e=Er(t);e.scope=t.scope;var A=[];return A.push("0.749023 g"),A.push("0 0 "+le(zA.internal.getWidth(t))+" "+le(zA.internal.getHeight(t))+" re"),A.push("f"),e.stream=A.join(`
151
+ `),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:zA.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=zA.RadioButton.Circle.YesNormal,e.D[t]=zA.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=Er(t);e.scope=t.scope;var A=[],r=zA.internal.getWidth(t)<=zA.internal.getHeight(t)?zA.internal.getWidth(t)/4:zA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=zA.internal.Bezier_C,a=Number((r*n).toFixed(5));return A.push("q"),A.push("1 0 0 1 "+cn(zA.internal.getWidth(t)/2)+" "+cn(zA.internal.getHeight(t)/2)+" cm"),A.push(r+" 0 m"),A.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),A.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),A.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),A.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join(`
152
+ `),e},YesPushDown:function(t){var e=Er(t);e.scope=t.scope;var A=[],r=zA.internal.getWidth(t)<=zA.internal.getHeight(t)?zA.internal.getWidth(t)/4:zA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),a=Number((n*zA.internal.Bezier_C).toFixed(5)),s=Number((r*zA.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+cn(zA.internal.getWidth(t)/2)+" "+cn(zA.internal.getHeight(t)/2)+" cm"),A.push(n+" 0 m"),A.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),A.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),A.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),A.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),A.push("f"),A.push("Q"),A.push("0 g"),A.push("q"),A.push("1 0 0 1 "+cn(zA.internal.getWidth(t)/2)+" "+cn(zA.internal.getHeight(t)/2)+" cm"),A.push(r+" 0 m"),A.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),A.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),A.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),A.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join(`
153
+ `),e},OffPushDown:function(t){var e=Er(t);e.scope=t.scope;var A=[],r=zA.internal.getWidth(t)<=zA.internal.getHeight(t)?zA.internal.getWidth(t)/4:zA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),a=Number((n*zA.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+cn(zA.internal.getWidth(t)/2)+" "+cn(zA.internal.getHeight(t)/2)+" cm"),A.push(n+" 0 m"),A.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),A.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),A.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),A.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join(`
154
+ `),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:zA.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=zA.RadioButton.Cross.YesNormal,e.D[t]=zA.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=Er(t);e.scope=t.scope;var A=[],r=zA.internal.calculateCross(t);return A.push("q"),A.push("1 1 "+le(zA.internal.getWidth(t)-2)+" "+le(zA.internal.getHeight(t)-2)+" re"),A.push("W"),A.push("n"),A.push(le(r.x1.x)+" "+le(r.x1.y)+" m"),A.push(le(r.x2.x)+" "+le(r.x2.y)+" l"),A.push(le(r.x4.x)+" "+le(r.x4.y)+" m"),A.push(le(r.x3.x)+" "+le(r.x3.y)+" l"),A.push("s"),A.push("Q"),e.stream=A.join(`
155
+ `),e},YesPushDown:function(t){var e=Er(t);e.scope=t.scope;var A=zA.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+le(zA.internal.getWidth(t))+" "+le(zA.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+le(zA.internal.getWidth(t)-2)+" "+le(zA.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(le(A.x1.x)+" "+le(A.x1.y)+" m"),r.push(le(A.x2.x)+" "+le(A.x2.y)+" l"),r.push(le(A.x4.x)+" "+le(A.x4.y)+" m"),r.push(le(A.x3.x)+" "+le(A.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join(`
156
+ `),e},OffPushDown:function(t){var e=Er(t);e.scope=t.scope;var A=[];return A.push("0.749023 g"),A.push("0 0 "+le(zA.internal.getWidth(t))+" "+le(zA.internal.getHeight(t))+" re"),A.push("f"),e.stream=A.join(`
157
+ `),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,A=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+A}};zA.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=zA.internal.getWidth(t),A=zA.internal.getHeight(t),r=Math.min(e,A);return{x1:{x:(e-r)/2,y:(A-r)/2+r},x2:{x:(e-r)/2+r,y:(A-r)/2},x3:{x:(e-r)/2,y:(A-r)/2},x4:{x:(e-r)/2+r,y:(A-r)/2+r}}}},zA.internal.getWidth=function(t){var e=0;return ye(t)==="object"&&(e=Mu(t.Rect[2])),e},zA.internal.getHeight=function(t){var e=0;return ye(t)==="object"&&(e=Mu(t.Rect[3])),e};var NB=Oe.addField=function(t){if(SB(this,t),!(t instanceof dr))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Oe.AcroFormChoiceField=_a,Oe.AcroFormListBox=Ta,Oe.AcroFormComboBox=Ma,Oe.AcroFormEditBox=lo,Oe.AcroFormButton=ot,Oe.AcroFormPushButton=co,Oe.AcroFormRadioButton=Pa,Oe.AcroFormCheckBox=uo,Oe.AcroFormTextField=Kn,Oe.AcroFormPasswordField=fo,Oe.AcroFormAppearance=zA,Oe.AcroForm={ChoiceField:_a,ListBox:Ta,ComboBox:Ma,EditBox:lo,Button:ot,PushButton:co,RadioButton:Pa,CheckBox:uo,TextField:Kn,PasswordField:fo,Appearance:zA},te.AcroForm={ChoiceField:_a,ListBox:Ta,ComboBox:Ma,EditBox:lo,Button:ot,PushButton:co,RadioButton:Pa,CheckBox:uo,TextField:Kn,PasswordField:fo,Appearance:zA};te.AcroForm;function mh(t){return t.reduce(function(e,A,r){return e[A]=r,e},{})}(function(t){t.__addimage__={};var e="UNKNOWN",A={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=t.__addimage__.getImageFileTypeByImageData=function(I,Q){var T,O,lA,oA,aA,_=e;if((Q=Q||e)==="RGBA"||I.data!==void 0&&I.data instanceof Uint8ClampedArray&&"height"in I&&"width"in I)return"RGBA";if(j(I))for(aA in A)for(lA=A[aA],T=0;T<lA.length;T+=1){for(oA=!0,O=0;O<lA[T].length;O+=1)if(lA[T][O]!==void 0&&lA[T][O]!==I[O]){oA=!1;break}if(oA===!0){_=aA;break}}else for(aA in A)for(lA=A[aA],T=0;T<lA.length;T+=1){for(oA=!0,O=0;O<lA[T].length;O+=1)if(lA[T][O]!==void 0&&lA[T][O]!==I.charCodeAt(O)){oA=!1;break}if(oA===!0){_=aA;break}}return _===e&&Q!==e&&(_=Q),_},n=function I(Q){for(var T=this.internal.write,O=this.internal.putStream,lA=(0,this.internal.getFilters)();lA.indexOf("FlateEncode")!==-1;)lA.splice(lA.indexOf("FlateEncode"),1);Q.objectId=this.internal.newObject();var oA=[];if(oA.push({key:"Type",value:"/XObject"}),oA.push({key:"Subtype",value:"/Image"}),oA.push({key:"Width",value:Q.width}),oA.push({key:"Height",value:Q.height}),Q.colorSpace===H.INDEXED?oA.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Q.palette.length/3-1)+" "+("sMask"in Q&&Q.sMask!==void 0?Q.objectId+2:Q.objectId+1)+" 0 R]"}):(oA.push({key:"ColorSpace",value:"/"+Q.colorSpace}),Q.colorSpace===H.DEVICE_CMYK&&oA.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),oA.push({key:"BitsPerComponent",value:Q.bitsPerComponent}),"decodeParameters"in Q&&Q.decodeParameters!==void 0&&oA.push({key:"DecodeParms",value:"<<"+Q.decodeParameters+">>"}),"transparency"in Q&&Array.isArray(Q.transparency)){for(var aA="",_=0,z=Q.transparency.length;_<z;_++)aA+=Q.transparency[_]+" "+Q.transparency[_]+" ";oA.push({key:"Mask",value:"["+aA+"]"})}Q.sMask!==void 0&&oA.push({key:"SMask",value:Q.objectId+1+" 0 R"});var rA=Q.filter!==void 0?["/"+Q.filter]:void 0;if(O({data:Q.data,additionalKeyValues:oA,alreadyAppliedFilters:rA,objectId:Q.objectId}),T("endobj"),"sMask"in Q&&Q.sMask!==void 0){var TA="/Predictor "+Q.predictor+" /Colors 1 /BitsPerComponent "+Q.bitsPerComponent+" /Columns "+Q.width,L={width:Q.width,height:Q.height,colorSpace:"DeviceGray",bitsPerComponent:Q.bitsPerComponent,decodeParameters:TA,data:Q.sMask};"filter"in Q&&(L.filter=Q.filter),I.call(this,L)}if(Q.colorSpace===H.INDEXED){var P=this.internal.newObject();O({data:k(new Uint8Array(Q.palette)),objectId:P}),T("endobj")}},a=function(){var I=this.internal.collections.addImage_images;for(var Q in I)n.call(this,I[Q])},s=function(){var I,Q=this.internal.collections.addImage_images,T=this.internal.write;for(var O in Q)T("/I"+(I=Q[O]).index,I.objectId,"0","R")},o=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},u=function(){var I=this.internal.collections.addImage_images;return o.call(this),I},d=function(){return Object.keys(this.internal.collections.addImage_images).length},B=function(I){return typeof t["process"+I.toUpperCase()]=="function"},g=function(I){return ye(I)==="object"&&I.nodeType===1},v=function(I,Q){if(I.nodeName==="IMG"&&I.hasAttribute("src")){var T=""+I.getAttribute("src");if(T.indexOf("data:image/")===0)return Ni(unescape(T).split("base64,").pop());var O=t.loadFile(T,!0);if(O!==void 0)return O}if(I.nodeName==="CANVAS"){if(I.width===0||I.height===0)throw new Error("Given canvas must have data. Canvas width: "+I.width+", height: "+I.height);var lA;switch(Q){case"PNG":lA="image/png";break;case"WEBP":lA="image/webp";break;case"JPEG":case"JPG":default:lA="image/jpeg"}return Ni(I.toDataURL(lA,1).split("base64,").pop())}},p=function(I){var Q=this.internal.collections.addImage_images;if(Q){for(var T in Q)if(I===Q[T].alias)return Q[T]}},b=function(I,Q,T){return I||Q||(I=-96,Q=-96),I<0&&(I=-1*T.width*72/I/this.internal.scaleFactor),Q<0&&(Q=-1*T.height*72/Q/this.internal.scaleFactor),I===0&&(I=Q*T.width/T.height),Q===0&&(Q=I*T.height/T.width),[I,Q]},F=function(I,Q,T,O,lA,oA){var aA=b.call(this,T,O,lA),_=this.internal.getCoordinateString,z=this.internal.getVerticalCoordinateString,rA=u.call(this);if(T=aA[0],O=aA[1],rA[lA.index]=lA,oA){oA*=Math.PI/180;var TA=Math.cos(oA),L=Math.sin(oA),P=function(J){return J.toFixed(4)},V=[P(TA),P(L),P(-1*L),P(TA),0,0,"cm"]}this.internal.write("q"),oA?(this.internal.write([1,"0","0",1,_(I),z(Q+O),"cm"].join(" ")),this.internal.write(V.join(" ")),this.internal.write([_(T),"0","0",_(O),"0","0","cm"].join(" "))):this.internal.write([_(T),"0","0",_(O),_(I),z(Q+O),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+lA.index+" Do"),this.internal.write("Q")},H=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var m=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},E=t.__addimage__.sHashCode=function(I){var Q,T,O=0;if(typeof I=="string")for(T=I.length,Q=0;Q<T;Q++)O=(O<<5)-O+I.charCodeAt(Q),O|=0;else if(j(I))for(T=I.byteLength/2,Q=0;Q<T;Q++)O=(O<<5)-O+I[Q],O|=0;return O},R=t.__addimage__.validateStringAsBase64=function(I){(I=I||"").toString().trim();var Q=!0;return I.length===0&&(Q=!1),I.length%4!=0&&(Q=!1),/^[A-Za-z0-9+/]+$/.test(I.substr(0,I.length-2))===!1&&(Q=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(I.substr(-2))===!1&&(Q=!1),Q},q=t.__addimage__.extractImageFromDataUrl=function(I){if(I==null||!(I=I.trim()).startsWith("data:"))return null;var Q=I.indexOf(",");return Q<0?null:I.substring(0,Q).trim().endsWith("base64")?I.substring(Q+1):null},W=t.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};t.__addimage__.isArrayBuffer=function(I){return W()&&I instanceof ArrayBuffer};var j=t.__addimage__.isArrayBufferView=function(I){return W()&&typeof Uint32Array<"u"&&(I instanceof Int8Array||I instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&I instanceof Uint8ClampedArray||I instanceof Int16Array||I instanceof Uint16Array||I instanceof Int32Array||I instanceof Uint32Array||I instanceof Float32Array||I instanceof Float64Array)},X=t.__addimage__.binaryStringToUint8Array=function(I){for(var Q=I.length,T=new Uint8Array(Q),O=0;O<Q;O++)T[O]=I.charCodeAt(O);return T},k=t.__addimage__.arrayBufferToBinaryString=function(I){for(var Q="",T=j(I)?I:new Uint8Array(I),O=0;O<T.length;O+=8192)Q+=String.fromCharCode.apply(null,T.subarray(O,O+8192));return Q};t.addImage=function(){var I,Q,T,O,lA,oA,aA,_,z;if(typeof arguments[1]=="number"?(Q=e,T=arguments[1],O=arguments[2],lA=arguments[3],oA=arguments[4],aA=arguments[5],_=arguments[6],z=arguments[7]):(Q=arguments[1],T=arguments[2],O=arguments[3],lA=arguments[4],oA=arguments[5],aA=arguments[6],_=arguments[7],z=arguments[8]),ye(I=arguments[0])==="object"&&!g(I)&&"imageData"in I){var rA=I;I=rA.imageData,Q=rA.format||Q||e,T=rA.x||T||0,O=rA.y||O||0,lA=rA.w||rA.width||lA,oA=rA.h||rA.height||oA,aA=rA.alias||aA,_=rA.compression||_,z=rA.rotation||rA.angle||z}var TA=this.internal.getFilters();if(_===void 0&&TA.indexOf("FlateEncode")!==-1&&(_="SLOW"),isNaN(T)||isNaN(O))throw new Error("Invalid coordinates passed to jsPDF.addImage");o.call(this);var L=G.call(this,I,Q,aA,_);return F.call(this,T,O,lA,oA,L,z),this};var G=function(I,Q,T,O){var lA,oA,aA;if(typeof I=="string"&&r(I)===e){I=unescape(I);var _=tA(I,!1);(_!==""||(_=t.loadFile(I,!0))!==void 0)&&(I=_)}if(g(I)&&(I=v(I,Q)),Q=r(I,Q),!B(Q))throw new Error("addImage does not support files of type '"+Q+"', please ensure that a plugin for '"+Q+"' support is added.");if(((aA=T)==null||aA.length===0)&&(T=function(z){return typeof z=="string"||j(z)?E(z):j(z.data)?E(z.data):null}(I)),(lA=p.call(this,T))||(W()&&(I instanceof Uint8Array||Q==="RGBA"||(oA=I,I=X(I))),lA=this["process"+Q.toUpperCase()](I,d.call(this),T,function(z){return z&&typeof z=="string"&&(z=z.toUpperCase()),z in t.image_compression?z:m.NONE}(O),oA)),!lA)throw new Error("An unknown error occurred whilst processing the image.");return lA},tA=t.__addimage__.convertBase64ToBinaryString=function(I,Q){Q=typeof Q!="boolean"||Q;var T,O="";if(typeof I=="string"){var lA;T=(lA=q(I))!==null&&lA!==void 0?lA:I;try{O=Ni(T)}catch(oA){if(Q)throw R(T)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+oA.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return O};t.getImageProperties=function(I){var Q,T,O="";if(g(I)&&(I=v(I)),typeof I=="string"&&r(I)===e&&((O=tA(I,!1))===""&&(O=t.loadFile(I)||""),I=O),T=r(I),!B(T))throw new Error("addImage does not support files of type '"+T+"', please ensure that a plugin for '"+T+"' support is added.");if(!W()||I instanceof Uint8Array||(I=X(I)),!(Q=this["process"+T.toUpperCase()](I)))throw new Error("An unknown error occurred whilst processing the image");return Q.fileType=T,Q}})(te.API),function(t){var e=function(A){if(A!==void 0&&A!="")return!0};te.API.events.push(["addPage",function(A){this.internal.getPageInfo(A.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(A){for(var r,n,a,s=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,u=this.internal.getPageInfoByObjId(A.objId),d=A.pageContext.annotations,B=!1,g=0;g<d.length&&!B;g++)switch((r=d[g]).type){case"link":(e(r.options.url)||e(r.options.pageNumber))&&(B=!0);break;case"reference":case"text":case"freetext":B=!0}if(B!=0){this.internal.write("/Annots [");for(var v=0;v<d.length;v++){r=d[v];var p=this.internal.pdfEscape,b=this.internal.getEncryptor(A.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var F=this.internal.newAdditionalObject(),H=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(F.objId),E=r.title||"Note";a="<</Type /Annot /Subtype /Text "+(n="/Rect ["+s(r.bounds.x)+" "+o(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w)+" "+o(r.bounds.y)+"] ")+"/Contents ("+p(m(r.contents))+")",a+=" /Popup "+H.objId+" 0 R",a+=" /P "+u.objId+" 0 R",a+=" /T ("+p(m(E))+") >>",F.content=a;var R=F.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+s(r.bounds.x+30)+" "+o(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w+30)+" "+o(r.bounds.y)+"] ")+" /Parent "+R,r.open&&(a+=" /Open true"),a+=" >>",H.content=a,this.internal.write(F.objId,"0 R",H.objId,"0 R");break;case"freetext":n="/Rect ["+s(r.bounds.x)+" "+o(r.bounds.y)+" "+s(r.bounds.x+r.bounds.w)+" "+o(r.bounds.y+r.bounds.h)+"] ";var q=r.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+p(b(r.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+q+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(r.options.name){var W=this.annotations._nameMap[r.options.name];r.options.pageNumber=W.page,r.options.top=W.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",a="",r.options.url)a="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+p(b(r.options.url))+") >>";else if(r.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,a+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var j=o(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),a+=" /XYZ "+r.options.left+" "+j+" "+r.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),t.createAnnotation=function(A){var r=this.internal.getCurrentPageInfo();switch(A.type){case"link":this.link(A.bounds.x,A.bounds.y,A.bounds.w,A.bounds.h,A);break;case"text":case"freetext":r.pageContext.annotations.push(A)}},t.link=function(A,r,n,a,s){var o=this.internal.getCurrentPageInfo(),u=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:u(A),y:d(r),w:u(A+n),h:d(r+a)},options:s,type:"link"})},t.textWithLink=function(A,r,n,a){var s,o,u=this.getTextWidth(A),d=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){o=a.maxWidth;var B=this.splitTextToSize(A,o).length;s=Math.ceil(d*B)}else o=u,s=d;return this.text(A,r,n,a),n+=.2*d,a.align==="center"&&(r-=u/2),a.align==="right"&&(r-=u),this.link(r,n-d,o,s,a),u},t.getTextWidth=function(A){var r=this.internal.getFontSize();return this.getStringUnitWidth(A)*r/this.internal.scaleFactor}}(te.API),function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},A={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];t.__arabicParser__={};var a=t.__arabicParser__.isInArabicSubstitutionA=function(F){return e[F.charCodeAt(0)]!==void 0},s=t.__arabicParser__.isArabicLetter=function(F){return typeof F=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(F)},o=t.__arabicParser__.isArabicEndLetter=function(F){return s(F)&&a(F)&&e[F.charCodeAt(0)].length<=2},u=t.__arabicParser__.isArabicAlfLetter=function(F){return s(F)&&n.indexOf(F.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(F){return s(F)&&a(F)&&e[F.charCodeAt(0)].length>=1};var d=t.__arabicParser__.arabicLetterHasFinalForm=function(F){return s(F)&&a(F)&&e[F.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(F){return s(F)&&a(F)&&e[F.charCodeAt(0)].length>=3};var B=t.__arabicParser__.arabicLetterHasMedialForm=function(F){return s(F)&&a(F)&&e[F.charCodeAt(0)].length==4},g=t.__arabicParser__.resolveLigatures=function(F){var H=0,m=A,E="",R=0;for(H=0;H<F.length;H+=1)m[F.charCodeAt(H)]!==void 0?(R++,typeof(m=m[F.charCodeAt(H)])=="number"&&(E+=String.fromCharCode(m),m=A,R=0),H===F.length-1&&(m=A,E+=F.charAt(H-(R-1)),H-=R-1,R=0)):(m=A,E+=F.charAt(H-R),H-=R,R=0);return E};t.__arabicParser__.isArabicDiacritic=function(F){return F!==void 0&&r[F.charCodeAt(0)]!==void 0};var v=t.__arabicParser__.getCorrectForm=function(F,H,m){return s(F)?a(F)===!1?-1:!d(F)||!s(H)&&!s(m)||!s(m)&&o(H)||o(F)&&!s(H)||o(F)&&u(H)||o(F)&&o(H)?0:B(F)&&s(H)&&!o(H)&&s(m)&&d(m)?3:o(F)||!s(m)?1:2:-1},p=function(F){var H=0,m=0,E=0,R="",q="",W="",j=(F=F||"").split("\\s+"),X=[];for(H=0;H<j.length;H+=1){for(X.push(""),m=0;m<j[H].length;m+=1)R=j[H][m],q=j[H][m-1],W=j[H][m+1],s(R)?(E=v(R,q,W),X[H]+=E!==-1?String.fromCharCode(e[R.charCodeAt(0)][E]):R):X[H]+=R;X[H]=g(X[H])}return X.join(" ")},b=t.__arabicParser__.processArabic=t.processArabic=function(){var F,H=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,m=[];if(Array.isArray(H)){var E=0;for(m=[],E=0;E<H.length;E+=1)Array.isArray(H[E])?m.push([p(H[E][0]),H[E][1],H[E][2]]):m.push([p(H[E])]);F=m}else F=p(H);return typeof arguments[0]=="string"?F:(arguments[0].text=F,arguments[0])};t.events.push(["preProcessText",b])}(te.API),te.API.autoPrint=function(t){var e;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+e+" 0 R")})}return this},function(t){var e=function(){var A=void 0;Object.defineProperty(this,"pdf",{get:function(){return A},set:function(o){A=o}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(o){r=isNaN(o)||Number.isInteger(o)===!1||o<0?150:o,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(o){n=isNaN(o)||Number.isInteger(o)===!1||o<0?300:o,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(o){a=o}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(o){s=o}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(A,r){var n;if((A=A||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(te.API),function(t){var e={left:0,top:0,bottom:0,right:0},A=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var u=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return u},set:function(F){u=F}});var d=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return d},set:function(F){d=F}});var B=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return B},set:function(F){B=F}});var g=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return g},set:function(F){g=F}});var v=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return v},set:function(F){v=F}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(F){p=F}});var b=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return b},set:function(F){b=F}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(u){return r.call(this),this.internal.__cell__.headerFunction=typeof u=="function"?u:void 0,this},t.getTextDimensions=function(u,d){r.call(this);var B=(d=d||{}).fontSize||this.getFontSize(),g=d.font||this.getFont(),v=d.scaleFactor||this.internal.scaleFactor,p=0,b=0,F=0,H=this;if(!Array.isArray(u)&&typeof u!="string"){if(typeof u!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");u=String(u)}var m=d.maxWidth;m>0?typeof u=="string"?u=this.splitTextToSize(u,m):Object.prototype.toString.call(u)==="[object Array]"&&(u=u.reduce(function(R,q){return R.concat(H.splitTextToSize(q,m))},[])):u=Array.isArray(u)?u:[u];for(var E=0;E<u.length;E++)p<(F=this.getStringUnitWidth(u[E],{font:g})*B)&&(p=F);return p!==0&&(b=u.length),{w:p/=v,h:Math.max((b*B*this.getLineHeightFactor()-B*(this.getLineHeightFactor()-1))/v,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var u=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new a(u.left,u.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=t.cell=function(){var u;u=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var d=this.internal.__cell__.lastCell,B=this.internal.__cell__.padding,g=this.internal.__cell__.margins||e,v=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return d.lineNumber!==void 0&&(d.lineNumber===u.lineNumber?(u.x=(d.x||0)+(d.width||0),u.y=d.y||0):d.y+d.height+u.height+g.bottom>this.getPageHeight()?(this.cellAddPage(),u.y=g.top,p&&v&&(this.printHeaderRow(u.lineNumber,!0),u.y+=v[0].height)):u.y=d.y+d.height||u.y),u.text[0]!==void 0&&(this.rect(u.x,u.y,u.width,u.height,A===!0?"FD":void 0),u.align==="right"?this.text(u.text,u.x+u.width-B,u.y+B,{align:"right",baseline:"top"}):u.align==="center"?this.text(u.text,u.x+u.width/2,u.y+B,{align:"center",baseline:"top",maxWidth:u.width-B-B}):this.text(u.text,u.x+B,u.y+B,{align:"left",baseline:"top",maxWidth:u.width-B-B})),this.internal.__cell__.lastCell=u,this};t.table=function(u,d,B,g,v){if(r.call(this),!B)throw new Error("No data for PDF table.");var p,b,F,H,m=[],E=[],R=[],q={},W={},j=[],X=[],k=(v=v||{}).autoSize||!1,G=v.printHeaders!==!1,tA=v.css&&v.css["font-size"]!==void 0?16*v.css["font-size"]:v.fontSize||12,I=v.margins||Object.assign({width:this.getPageWidth()},e),Q=typeof v.padding=="number"?v.padding:3,T=v.headerBackgroundColor||"#c8c8c8",O=v.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=G,this.internal.__cell__.margins=I,this.internal.__cell__.table_font_size=tA,this.internal.__cell__.padding=Q,this.internal.__cell__.headerBackgroundColor=T,this.internal.__cell__.headerTextColor=O,this.setFontSize(tA),g==null)E=m=Object.keys(B[0]),R=m.map(function(){return"left"});else if(Array.isArray(g)&&ye(g[0])==="object")for(m=g.map(function(rA){return rA.name}),E=g.map(function(rA){return rA.prompt||rA.name||""}),R=g.map(function(rA){return rA.align||"left"}),p=0;p<g.length;p+=1)W[g[p].name]=g[p].width*(19.049976/25.4);else Array.isArray(g)&&typeof g[0]=="string"&&(E=m=g,R=m.map(function(){return"left"}));if(k||Array.isArray(g)&&typeof g[0]=="string")for(p=0;p<m.length;p+=1){for(q[H=m[p]]=B.map(function(rA){return rA[H]}),this.setFont(void 0,"bold"),j.push(this.getTextDimensions(E[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),b=q[H],this.setFont(void 0,"normal"),F=0;F<b.length;F+=1)j.push(this.getTextDimensions(b[F],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);W[H]=Math.max.apply(null,j)+Q+Q,j=[]}if(G){var lA={};for(p=0;p<m.length;p+=1)lA[m[p]]={},lA[m[p]].text=E[p],lA[m[p]].align=R[p];var oA=o.call(this,lA,W);X=m.map(function(rA){return new a(u,d,W[rA],oA,lA[rA].text,void 0,lA[rA].align)}),this.setTableHeaderRow(X),this.printHeaderRow(1,!1)}var aA=g.reduce(function(rA,TA){return rA[TA.name]=TA.align,rA},{});for(p=0;p<B.length;p+=1){"rowStart"in v&&v.rowStart instanceof Function&&v.rowStart({row:p,data:B[p]},this);var _=o.call(this,B[p],W);for(F=0;F<m.length;F+=1){var z=B[p][m[F]];"cellStart"in v&&v.cellStart instanceof Function&&v.cellStart({row:p,col:F,data:z},this),s.call(this,new a(u,d,W[m[F]],_,z,p+2,aA[m[F]]))}}return this.internal.__cell__.table_x=u,this.internal.__cell__.table_y=d,this};var o=function(u,d){var B=this.internal.__cell__.padding,g=this.internal.__cell__.table_font_size,v=this.internal.scaleFactor;return Object.keys(u).map(function(p){var b=u[p];return this.splitTextToSize(b.hasOwnProperty("text")?b.text:b,d[p]-B-B)},this).map(function(p){return this.getLineHeightFactor()*p.length*g/v+B+B},this).reduce(function(p,b){return Math.max(p,b)},0)};t.setTableHeaderRow=function(u){r.call(this),this.internal.__cell__.tableHeaderRow=u},t.printHeaderRow=function(u,d){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var B;if(A=!0,typeof this.internal.__cell__.headerFunction=="function"){var g=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(g[0],g[1],g[2],g[3],void 0,-1)}this.setFont(void 0,"bold");for(var v=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){B=this.internal.__cell__.tableHeaderRow[p].clone(),d&&(B.y=this.internal.__cell__.margins.top||0,v.push(B)),B.lineNumber=u;var b=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,B),this.setTextColor(b)}v.length>0&&this.setTableHeaderRow(v),this.setFont(void 0,"normal"),A=!1}}(te.API);var Ch={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yh=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],mc=mh(yh),Fh=[100,200,300,400,500,600,700,800,900],kB=mh(Fh);function Cc(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),A=function(a){return Ch[a=a||"normal"]?a:"normal"}(t.style),r=function(a){if(!a)return 400;if(typeof a=="number")return a>=100&&a<=900&&a%100==0?a:400;if(/^\d00$/.test(a))return parseInt(a);switch(a){case"bold":return 700;case"normal":default:return 400}}(t.weight),n=function(a){return typeof mc[a=a||"normal"]=="number"?a:"normal"}(t.stretch);return{family:e,style:A,weight:r,stretch:n,src:t.src||[],ref:t.ref||{name:e,style:[n,A,r].join(" ")}}}function Pu(t,e,A,r){var n;for(n=A;n>=0&&n<e.length;n+=r)if(t[e[n]])return t[e[n]];for(n=A;n>=0&&n<e.length;n-=r)if(t[e[n]])return t[e[n]]}var DB={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Ou={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ku(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function HB(t,e,A){for(var r=(A=A||{}).defaultFontFamily||"times",n=Object.assign({},DB,A.genericFontFamilies||{}),a=null,s=null,o=0;o<e.length;++o)if(n[(a=Cc(e[o])).family]&&(a.family=n[a.family]),t.hasOwnProperty(a.family)){s=t[a.family];break}if(!(s=s||t[r]))throw new Error("Could not find a font-family for the rule '"+Ku(a)+"' and default family '"+r+"'.");if(s=function(u,d){if(d[u])return d[u];var B=mc[u],g=B<=mc.normal?-1:1,v=Pu(d,yh,B,g);if(!v)throw new Error("Could not find a matching font-stretch value for "+u);return v}(a.stretch,s),s=function(u,d){if(d[u])return d[u];for(var B=Ch[u],g=0;g<B.length;++g)if(d[B[g]])return d[B[g]];throw new Error("Could not find a matching font-style for "+u)}(a.style,s),!(s=function(u,d){if(d[u])return d[u];if(u===400&&d[500])return d[500];if(u===500&&d[400])return d[400];var B=kB[u],g=Pu(d,Fh,B,u<400?-1:1);if(!g)throw new Error("Could not find a matching font-weight for value "+u);return g}(a.weight,s)))throw new Error("Failed to resolve a font for the rule '"+Ku(a)+"'.");return s}function Ru(t){return t.trimLeft()}function _B(t,e){for(var A=0;A<t.length;){if(t.charAt(A)===e)return[t.substring(0,A),t.substring(A+1)];A+=1}return null}function TB(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return e===null?null:[e[0],t.substring(e[0].length)]}var Ts,Vu,Gu,Ol=["times"];(function(t){var e,A,r,n,a,s,o,u,d,B=function(L){return L=L||{},this.isStrokeTransparent=L.isStrokeTransparent||!1,this.strokeOpacity=L.strokeOpacity||1,this.strokeStyle=L.strokeStyle||"#000000",this.fillStyle=L.fillStyle||"#000000",this.isFillTransparent=L.isFillTransparent||!1,this.fillOpacity=L.fillOpacity||1,this.font=L.font||"10px sans-serif",this.textBaseline=L.textBaseline||"alphabetic",this.textAlign=L.textAlign||"left",this.lineWidth=L.lineWidth||1,this.lineJoin=L.lineJoin||"miter",this.lineCap=L.lineCap||"butt",this.path=L.path||[],this.transform=L.transform!==void 0?L.transform.clone():new u,this.globalCompositeOperation=L.globalCompositeOperation||"normal",this.globalAlpha=L.globalAlpha||1,this.clip_path=L.clip_path||[],this.currentPoint=L.currentPoint||new s,this.miterLimit=L.miterLimit||10,this.lastPoint=L.lastPoint||new s,this.lineDashOffset=L.lineDashOffset||0,this.lineDash=L.lineDash||[],this.margin=L.margin||[0,0,0,0],this.prevPageLastElemOffset=L.prevPageLastElemOffset||0,this.ignoreClearRect=typeof L.ignoreClearRect!="boolean"||L.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new g(this),e=this.internal.f2,A=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,o=this.internal.Rectangle,u=this.internal.Matrix,d=new B}]);var g=function(L){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var P=L;Object.defineProperty(this,"pdf",{get:function(){return P}});var V=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return V},set:function(wA){V=!!wA}});var J=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return J},set:function(wA){J=!!wA}});var eA=0;Object.defineProperty(this,"posX",{get:function(){return eA},set:function(wA){isNaN(wA)||(eA=wA)}});var uA=0;Object.defineProperty(this,"posY",{get:function(){return uA},set:function(wA){isNaN(wA)||(uA=wA)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(wA){var D;typeof wA=="number"?D=[wA,wA,wA,wA]:((D=new Array(4))[0]=wA[0],D[1]=wA.length>=2?wA[1]:D[0],D[2]=wA.length>=3?wA[2]:D[0],D[3]=wA.length>=4?wA[3]:D[1]),d.margin=D}});var dA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return dA},set:function(wA){dA=wA}});var gA=0;Object.defineProperty(this,"lastBreak",{get:function(){return gA},set:function(wA){gA=wA}});var HA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return HA},set:function(wA){HA=wA}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(wA){wA instanceof B&&(d=wA)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(wA){d.path=wA}});var NA=[];Object.defineProperty(this,"ctxStack",{get:function(){return NA},set:function(wA){NA=wA}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(wA){var D;D=v(wA),this.ctx.fillStyle=D.style,this.ctx.isFillTransparent=D.a===0,this.ctx.fillOpacity=D.a,this.pdf.setFillColor(D.r,D.g,D.b,{a:D.a}),this.pdf.setTextColor(D.r,D.g,D.b,{a:D.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(wA){var D=v(wA);this.ctx.strokeStyle=D.style,this.ctx.isStrokeTransparent=D.a===0,this.ctx.strokeOpacity=D.a,D.a===0?this.pdf.setDrawColor(255,255,255):(D.a,this.pdf.setDrawColor(D.r,D.g,D.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(wA){["butt","round","square"].indexOf(wA)!==-1&&(this.ctx.lineCap=wA,this.pdf.setLineCap(wA))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(wA){isNaN(wA)||(this.ctx.lineWidth=wA,this.pdf.setLineWidth(wA))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(wA){["bevel","round","miter"].indexOf(wA)!==-1&&(this.ctx.lineJoin=wA,this.pdf.setLineJoin(wA))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(wA){isNaN(wA)||(this.ctx.miterLimit=wA,this.pdf.setMiterLimit(wA))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(wA){this.ctx.textBaseline=wA}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(wA){["right","end","center","left","start"].indexOf(wA)!==-1&&(this.ctx.textAlign=wA)}});var MA=null;function PA(wA,D){if(MA===null){var $=function(BA){var sA=[];return Object.keys(BA).forEach(function(pA){BA[pA].forEach(function(FA){var UA=null;switch(FA){case"bold":UA={family:pA,weight:"bold"};break;case"italic":UA={family:pA,style:"italic"};break;case"bolditalic":UA={family:pA,weight:"bold",style:"italic"};break;case"":case"normal":UA={family:pA}}UA!==null&&(UA.ref={name:pA,style:FA},sA.push(UA))})}),sA}(wA.getFontList());MA=function(BA){for(var sA={},pA=0;pA<BA.length;++pA){var FA=Cc(BA[pA]),UA=FA.family,IA=FA.stretch,QA=FA.style,yA=FA.weight;sA[UA]=sA[UA]||{},sA[UA][IA]=sA[UA][IA]||{},sA[UA][IA][QA]=sA[UA][IA][QA]||{},sA[UA][IA][QA][yA]=FA}return sA}($.concat(D))}return MA}var YA=null;Object.defineProperty(this,"fontFaces",{get:function(){return YA},set:function(wA){MA=null,YA=wA}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(wA){var D;if(this.ctx.font=wA,(D=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(wA))!==null){var $=D[1];D[2];var BA=D[3],sA=D[4];D[5];var pA=D[6],FA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(sA)[2];sA=Math.floor(FA==="px"?parseFloat(sA)*this.pdf.internal.scaleFactor:FA==="em"?parseFloat(sA)*this.pdf.getFontSize():parseFloat(sA)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(sA);var UA=function(WA){var Ae,OA,_e=[],mA=WA.trim();if(mA==="")return Ol;if(mA in Ou)return[Ou[mA]];for(;mA!=="";){switch(OA=null,Ae=(mA=Ru(mA)).charAt(0)){case'"':case"'":OA=_B(mA.substring(1),Ae);break;default:OA=TB(mA)}if(OA===null||(_e.push(OA[0]),(mA=Ru(OA[1]))!==""&&mA.charAt(0)!==","))return Ol;mA=mA.replace(/^,/,"")}return _e}(pA);if(this.fontFaces){var IA=HB(PA(this.pdf,this.fontFaces),UA.map(function(WA){return{family:WA,stretch:"normal",weight:BA,style:$}}));this.pdf.setFont(IA.ref.name,IA.ref.style)}else{var QA="";(BA==="bold"||parseInt(BA,10)>=700||$==="bold")&&(QA="bold"),$==="italic"&&(QA+="italic"),QA.length===0&&(QA="normal");for(var yA="",_A={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},XA=0;XA<UA.length;XA++){if(this.pdf.internal.getFont(UA[XA],QA,{noFallback:!0,disableWarning:!0})!==void 0){yA=UA[XA];break}if(QA==="bolditalic"&&this.pdf.internal.getFont(UA[XA],"bold",{noFallback:!0,disableWarning:!0})!==void 0)yA=UA[XA],QA="bold";else if(this.pdf.internal.getFont(UA[XA],"normal",{noFallback:!0,disableWarning:!0})!==void 0){yA=UA[XA],QA="normal";break}}if(yA===""){for(var ie=0;ie<UA.length;ie++)if(_A[UA[ie]]){yA=_A[UA[ie]];break}}yA=yA===""?"Times":yA,this.pdf.setFont(yA,QA)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(wA){this.ctx.globalCompositeOperation=wA}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(wA){this.ctx.globalAlpha=wA}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(wA){this.ctx.lineDashOffset=wA,TA.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(wA){this.ctx.lineDash=wA,TA.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(wA){this.ctx.ignoreClearRect=!!wA}})};g.prototype.setLineDash=function(L){this.lineDash=L},g.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},g.prototype.fill=function(){q.call(this,"fill",!1)},g.prototype.stroke=function(){q.call(this,"stroke",!1)},g.prototype.beginPath=function(){this.path=[{type:"begin"}]},g.prototype.moveTo=function(L,P){if(isNaN(L)||isNaN(P))throw xe.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var V=this.ctx.transform.applyToPoint(new s(L,P));this.path.push({type:"mt",x:V.x,y:V.y}),this.ctx.lastPoint=new s(L,P)},g.prototype.closePath=function(){var L=new s(0,0),P=0;for(P=this.path.length-1;P!==-1;P--)if(this.path[P].type==="begin"&&ye(this.path[P+1])==="object"&&typeof this.path[P+1].x=="number"){L=new s(this.path[P+1].x,this.path[P+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(L.x,L.y)},g.prototype.lineTo=function(L,P){if(isNaN(L)||isNaN(P))throw xe.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var V=this.ctx.transform.applyToPoint(new s(L,P));this.path.push({type:"lt",x:V.x,y:V.y}),this.ctx.lastPoint=new s(V.x,V.y)},g.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),q.call(this,null,!0)},g.prototype.quadraticCurveTo=function(L,P,V,J){if(isNaN(V)||isNaN(J)||isNaN(L)||isNaN(P))throw xe.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var eA=this.ctx.transform.applyToPoint(new s(V,J)),uA=this.ctx.transform.applyToPoint(new s(L,P));this.path.push({type:"qct",x1:uA.x,y1:uA.y,x:eA.x,y:eA.y}),this.ctx.lastPoint=new s(eA.x,eA.y)},g.prototype.bezierCurveTo=function(L,P,V,J,eA,uA){if(isNaN(eA)||isNaN(uA)||isNaN(L)||isNaN(P)||isNaN(V)||isNaN(J))throw xe.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var dA=this.ctx.transform.applyToPoint(new s(eA,uA)),gA=this.ctx.transform.applyToPoint(new s(L,P)),HA=this.ctx.transform.applyToPoint(new s(V,J));this.path.push({type:"bct",x1:gA.x,y1:gA.y,x2:HA.x,y2:HA.y,x:dA.x,y:dA.y}),this.ctx.lastPoint=new s(dA.x,dA.y)},g.prototype.arc=function(L,P,V,J,eA,uA){if(isNaN(L)||isNaN(P)||isNaN(V)||isNaN(J)||isNaN(eA))throw xe.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(uA=!!uA,!this.ctx.transform.isIdentity){var dA=this.ctx.transform.applyToPoint(new s(L,P));L=dA.x,P=dA.y;var gA=this.ctx.transform.applyToPoint(new s(0,V)),HA=this.ctx.transform.applyToPoint(new s(0,0));V=Math.sqrt(Math.pow(gA.x-HA.x,2)+Math.pow(gA.y-HA.y,2))}Math.abs(eA-J)>=2*Math.PI&&(J=0,eA=2*Math.PI),this.path.push({type:"arc",x:L,y:P,radius:V,startAngle:J,endAngle:eA,counterclockwise:uA})},g.prototype.arcTo=function(L,P,V,J,eA){throw new Error("arcTo not implemented.")},g.prototype.rect=function(L,P,V,J){if(isNaN(L)||isNaN(P)||isNaN(V)||isNaN(J))throw xe.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(L,P),this.lineTo(L+V,P),this.lineTo(L+V,P+J),this.lineTo(L,P+J),this.lineTo(L,P),this.lineTo(L+V,P),this.lineTo(L,P)},g.prototype.fillRect=function(L,P,V,J){if(isNaN(L)||isNaN(P)||isNaN(V)||isNaN(J))throw xe.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var eA={};this.lineCap!=="butt"&&(eA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(eA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(L,P,V,J),this.fill(),eA.hasOwnProperty("lineCap")&&(this.lineCap=eA.lineCap),eA.hasOwnProperty("lineJoin")&&(this.lineJoin=eA.lineJoin)}},g.prototype.strokeRect=function(L,P,V,J){if(isNaN(L)||isNaN(P)||isNaN(V)||isNaN(J))throw xe.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");b.call(this)||(this.beginPath(),this.rect(L,P,V,J),this.stroke())},g.prototype.clearRect=function(L,P,V,J){if(isNaN(L)||isNaN(P)||isNaN(V)||isNaN(J))throw xe.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(L,P,V,J))},g.prototype.save=function(L){L=typeof L!="boolean"||L;for(var P=this.pdf.internal.getCurrentPageInfo().pageNumber,V=0;V<this.pdf.internal.getNumberOfPages();V++)this.pdf.setPage(V+1),this.pdf.internal.out("q");if(this.pdf.setPage(P),L){this.ctx.fontSize=this.pdf.internal.getFontSize();var J=new B(this.ctx);this.ctxStack.push(this.ctx),this.ctx=J}},g.prototype.restore=function(L){L=typeof L!="boolean"||L;for(var P=this.pdf.internal.getCurrentPageInfo().pageNumber,V=0;V<this.pdf.internal.getNumberOfPages();V++)this.pdf.setPage(V+1),this.pdf.internal.out("Q");this.pdf.setPage(P),L&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},g.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var v=function(L){var P,V,J,eA;if(L.isCanvasGradient===!0&&(L=L.getColor()),!L)return{r:0,g:0,b:0,a:0,style:L};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(L))P=0,V=0,J=0,eA=0;else{var uA=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(L);if(uA!==null)P=parseInt(uA[1]),V=parseInt(uA[2]),J=parseInt(uA[3]),eA=1;else if((uA=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(L))!==null)P=parseInt(uA[1]),V=parseInt(uA[2]),J=parseInt(uA[3]),eA=parseFloat(uA[4]);else{if(eA=1,typeof L=="string"&&L.charAt(0)!=="#"){var dA=new dh(L);L=dA.ok?dA.toHex():"#000000"}L.length===4?(P=L.substring(1,2),P+=P,V=L.substring(2,3),V+=V,J=L.substring(3,4),J+=J):(P=L.substring(1,3),V=L.substring(3,5),J=L.substring(5,7)),P=parseInt(P,16),V=parseInt(V,16),J=parseInt(J,16)}}return{r:P,g:V,b:J,a:eA,style:L}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},b=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};g.prototype.fillText=function(L,P,V,J){if(isNaN(P)||isNaN(V)||typeof L!="string")throw xe.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(J=isNaN(J)?void 0:J,!p.call(this)){var eA=_(this.ctx.transform.rotation),uA=this.ctx.transform.scaleX;Q.call(this,{text:L,x:P,y:V,scale:uA,angle:eA,align:this.textAlign,maxWidth:J})}},g.prototype.strokeText=function(L,P,V,J){if(isNaN(P)||isNaN(V)||typeof L!="string")throw xe.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!b.call(this)){J=isNaN(J)?void 0:J;var eA=_(this.ctx.transform.rotation),uA=this.ctx.transform.scaleX;Q.call(this,{text:L,x:P,y:V,scale:uA,renderingMode:"stroke",angle:eA,align:this.textAlign,maxWidth:J})}},g.prototype.measureText=function(L){if(typeof L!="string")throw xe.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var P=this.pdf,V=this.pdf.internal.scaleFactor,J=P.internal.getFontSize(),eA=P.getStringUnitWidth(L)*J/P.internal.scaleFactor,uA=function(dA){var gA=(dA=dA||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return gA}}),this};return new uA({width:eA*=Math.round(96*V/72*1e4)/1e4})},g.prototype.scale=function(L,P){if(isNaN(L)||isNaN(P))throw xe.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var V=new u(L,0,0,P,0,0);this.ctx.transform=this.ctx.transform.multiply(V)},g.prototype.rotate=function(L){if(isNaN(L))throw xe.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var P=new u(Math.cos(L),Math.sin(L),-Math.sin(L),Math.cos(L),0,0);this.ctx.transform=this.ctx.transform.multiply(P)},g.prototype.translate=function(L,P){if(isNaN(L)||isNaN(P))throw xe.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var V=new u(1,0,0,1,L,P);this.ctx.transform=this.ctx.transform.multiply(V)},g.prototype.transform=function(L,P,V,J,eA,uA){if(isNaN(L)||isNaN(P)||isNaN(V)||isNaN(J)||isNaN(eA)||isNaN(uA))throw xe.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var dA=new u(L,P,V,J,eA,uA);this.ctx.transform=this.ctx.transform.multiply(dA)},g.prototype.setTransform=function(L,P,V,J,eA,uA){L=isNaN(L)?1:L,P=isNaN(P)?0:P,V=isNaN(V)?0:V,J=isNaN(J)?1:J,eA=isNaN(eA)?0:eA,uA=isNaN(uA)?0:uA,this.ctx.transform=new u(L,P,V,J,eA,uA)};var F=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};g.prototype.drawImage=function(L,P,V,J,eA,uA,dA,gA,HA){var NA=this.pdf.getImageProperties(L),MA=1,PA=1,YA=1,wA=1;J!==void 0&&gA!==void 0&&(YA=gA/J,wA=HA/eA,MA=NA.width/J*gA/J,PA=NA.height/eA*HA/eA),uA===void 0&&(uA=P,dA=V,P=0,V=0),J!==void 0&&gA===void 0&&(gA=J,HA=eA),J===void 0&&gA===void 0&&(gA=NA.width,HA=NA.height);for(var D,$=this.ctx.transform.decompose(),BA=_($.rotate.shx),sA=new u,pA=(sA=(sA=(sA=sA.multiply($.translate)).multiply($.skew)).multiply($.scale)).applyToRectangle(new o(uA-P*YA,dA-V*wA,J*MA,eA*PA)),FA=H.call(this,pA),UA=[],IA=0;IA<FA.length;IA+=1)UA.indexOf(FA[IA])===-1&&UA.push(FA[IA]);if(R(UA),this.autoPaging)for(var QA=UA[0],yA=UA[UA.length-1],_A=QA;_A<yA+1;_A++){this.pdf.setPage(_A);var XA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ie=_A===1?this.posY+this.margin[0]:this.margin[0],WA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ae=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],OA=_A===1?0:WA+(_A-2)*Ae;if(this.ctx.clip_path.length!==0){var _e=this.path;D=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=E(D,this.posX+this.margin[3],-OA+ie+this.ctx.prevPageLastElemOffset),W.call(this,"fill",!0),this.path=_e}var mA=JSON.parse(JSON.stringify(pA));mA=E([mA],this.posX+this.margin[3],-OA+ie+this.ctx.prevPageLastElemOffset)[0];var DA=(_A>QA||_A<yA)&&F.call(this);DA&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],XA,Ae,null).clip().discardPath()),this.pdf.addImage(L,"JPEG",mA.x,mA.y,mA.w,mA.h,null,null,BA),DA&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(L,"JPEG",pA.x,pA.y,pA.w,pA.h,null,null,BA)};var H=function(L,P,V){var J=[];P=P||this.pdf.internal.pageSize.width,V=V||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var eA=this.posY+this.ctx.prevPageLastElemOffset;switch(L.type){default:case"mt":case"lt":J.push(Math.floor((L.y+eA)/V)+1);break;case"arc":J.push(Math.floor((L.y+eA-L.radius)/V)+1),J.push(Math.floor((L.y+eA+L.radius)/V)+1);break;case"qct":var uA=z(this.ctx.lastPoint.x,this.ctx.lastPoint.y,L.x1,L.y1,L.x,L.y);J.push(Math.floor((uA.y+eA)/V)+1),J.push(Math.floor((uA.y+uA.h+eA)/V)+1);break;case"bct":var dA=rA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,L.x1,L.y1,L.x2,L.y2,L.x,L.y);J.push(Math.floor((dA.y+eA)/V)+1),J.push(Math.floor((dA.y+dA.h+eA)/V)+1);break;case"rect":J.push(Math.floor((L.y+eA)/V)+1),J.push(Math.floor((L.y+L.h+eA)/V)+1)}for(var gA=0;gA<J.length;gA+=1)for(;this.pdf.internal.getNumberOfPages()<J[gA];)m.call(this);return J},m=function(){var L=this.fillStyle,P=this.strokeStyle,V=this.font,J=this.lineCap,eA=this.lineWidth,uA=this.lineJoin;this.pdf.addPage(),this.fillStyle=L,this.strokeStyle=P,this.font=V,this.lineCap=J,this.lineWidth=eA,this.lineJoin=uA},E=function(L,P,V){for(var J=0;J<L.length;J++)switch(L[J].type){case"bct":L[J].x2+=P,L[J].y2+=V;case"qct":L[J].x1+=P,L[J].y1+=V;case"mt":case"lt":case"arc":default:L[J].x+=P,L[J].y+=V}return L},R=function(L){return L.sort(function(P,V){return P-V})},q=function(L,P){for(var V,J,eA=this.fillStyle,uA=this.strokeStyle,dA=this.lineCap,gA=this.lineWidth,HA=Math.abs(gA*this.ctx.transform.scaleX),NA=this.lineJoin,MA=JSON.parse(JSON.stringify(this.path)),PA=JSON.parse(JSON.stringify(this.path)),YA=[],wA=0;wA<PA.length;wA++)if(PA[wA].x!==void 0)for(var D=H.call(this,PA[wA]),$=0;$<D.length;$+=1)YA.indexOf(D[$])===-1&&YA.push(D[$]);for(var BA=0;BA<YA.length;BA++)for(;this.pdf.internal.getNumberOfPages()<YA[BA];)m.call(this);if(R(YA),this.autoPaging)for(var sA=YA[0],pA=YA[YA.length-1],FA=sA;FA<pA+1;FA++){this.pdf.setPage(FA),this.fillStyle=eA,this.strokeStyle=uA,this.lineCap=dA,this.lineWidth=HA,this.lineJoin=NA;var UA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],IA=FA===1?this.posY+this.margin[0]:this.margin[0],QA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],yA=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],_A=FA===1?0:QA+(FA-2)*yA;if(this.ctx.clip_path.length!==0){var XA=this.path;V=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=E(V,this.posX+this.margin[3],-_A+IA+this.ctx.prevPageLastElemOffset),W.call(this,L,!0),this.path=XA}if(J=JSON.parse(JSON.stringify(MA)),this.path=E(J,this.posX+this.margin[3],-_A+IA+this.ctx.prevPageLastElemOffset),P===!1||FA===0){var ie=(FA>sA||FA<pA)&&F.call(this);ie&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],UA,yA,null).clip().discardPath()),W.call(this,L,P),ie&&this.pdf.restoreGraphicsState()}this.lineWidth=gA}else this.lineWidth=HA,W.call(this,L,P),this.lineWidth=gA;this.path=MA},W=function(L,P){if((L!=="stroke"||P||!b.call(this))&&(L==="stroke"||P||!p.call(this))){for(var V,J,eA=[],uA=this.path,dA=0;dA<uA.length;dA++){var gA=uA[dA];switch(gA.type){case"begin":eA.push({begin:!0});break;case"close":eA.push({close:!0});break;case"mt":eA.push({start:gA,deltas:[],abs:[]});break;case"lt":var HA=eA.length;if(uA[dA-1]&&!isNaN(uA[dA-1].x)&&(V=[gA.x-uA[dA-1].x,gA.y-uA[dA-1].y],HA>0)){for(;HA>=0;HA--)if(eA[HA-1].close!==!0&&eA[HA-1].begin!==!0){eA[HA-1].deltas.push(V),eA[HA-1].abs.push(gA);break}}break;case"bct":V=[gA.x1-uA[dA-1].x,gA.y1-uA[dA-1].y,gA.x2-uA[dA-1].x,gA.y2-uA[dA-1].y,gA.x-uA[dA-1].x,gA.y-uA[dA-1].y],eA[eA.length-1].deltas.push(V);break;case"qct":var NA=uA[dA-1].x+2/3*(gA.x1-uA[dA-1].x),MA=uA[dA-1].y+2/3*(gA.y1-uA[dA-1].y),PA=gA.x+2/3*(gA.x1-gA.x),YA=gA.y+2/3*(gA.y1-gA.y),wA=gA.x,D=gA.y;V=[NA-uA[dA-1].x,MA-uA[dA-1].y,PA-uA[dA-1].x,YA-uA[dA-1].y,wA-uA[dA-1].x,D-uA[dA-1].y],eA[eA.length-1].deltas.push(V);break;case"arc":eA.push({deltas:[],abs:[],arc:!0}),Array.isArray(eA[eA.length-1].abs)&&eA[eA.length-1].abs.push(gA)}}J=P?null:L==="stroke"?"stroke":"fill";for(var $=!1,BA=0;BA<eA.length;BA++)if(eA[BA].arc)for(var sA=eA[BA].abs,pA=0;pA<sA.length;pA++){var FA=sA[pA];FA.type==="arc"?k.call(this,FA.x,FA.y,FA.radius,FA.startAngle,FA.endAngle,FA.counterclockwise,void 0,P,!$):T.call(this,FA.x,FA.y),$=!0}else if(eA[BA].close===!0)this.pdf.internal.out("h"),$=!1;else if(eA[BA].begin!==!0){var UA=eA[BA].start.x,IA=eA[BA].start.y;O.call(this,eA[BA].deltas,UA,IA),$=!0}J&&G.call(this,J),P&&tA.call(this)}},j=function(L){var P=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,V=P*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return L-V;case"top":return L+P-V;case"hanging":return L+P-2*V;case"middle":return L+P/2-V;case"ideographic":return L;case"alphabetic":default:return L}},X=function(L){return L+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};g.prototype.createLinearGradient=function(){var L=function(){};return L.colorStops=[],L.addColorStop=function(P,V){this.colorStops.push([P,V])},L.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},L.isCanvasGradient=!0,L},g.prototype.createPattern=function(){return this.createLinearGradient()},g.prototype.createRadialGradient=function(){return this.createLinearGradient()};var k=function(L,P,V,J,eA,uA,dA,gA,HA){for(var NA=oA.call(this,V,J,eA,uA),MA=0;MA<NA.length;MA++){var PA=NA[MA];MA===0&&(HA?I.call(this,PA.x1+L,PA.y1+P):T.call(this,PA.x1+L,PA.y1+P)),lA.call(this,L,P,PA.x2,PA.y2,PA.x3,PA.y3,PA.x4,PA.y4)}gA?tA.call(this):G.call(this,dA)},G=function(L){switch(L){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},tA=function(){this.pdf.clip(),this.pdf.discardPath()},I=function(L,P){this.pdf.internal.out(A(L)+" "+r(P)+" m")},Q=function(L){var P;switch(L.align){case"right":case"end":P="right";break;case"center":P="center";break;case"left":case"start":default:P="left"}var V=this.pdf.getTextDimensions(L.text),J=j.call(this,L.y),eA=X.call(this,J)-V.h,uA=this.ctx.transform.applyToPoint(new s(L.x,J)),dA=this.ctx.transform.decompose(),gA=new u;gA=(gA=(gA=gA.multiply(dA.translate)).multiply(dA.skew)).multiply(dA.scale);for(var HA,NA,MA,PA=this.ctx.transform.applyToRectangle(new o(L.x,J,V.w,V.h)),YA=gA.applyToRectangle(new o(L.x,eA,V.w,V.h)),wA=H.call(this,YA),D=[],$=0;$<wA.length;$+=1)D.indexOf(wA[$])===-1&&D.push(wA[$]);if(R(D),this.autoPaging)for(var BA=D[0],sA=D[D.length-1],pA=BA;pA<sA+1;pA++){this.pdf.setPage(pA);var FA=pA===1?this.posY+this.margin[0]:this.margin[0],UA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],IA=this.pdf.internal.pageSize.height-this.margin[2],QA=IA-this.margin[0],yA=this.pdf.internal.pageSize.width-this.margin[1],_A=yA-this.margin[3],XA=pA===1?0:UA+(pA-2)*QA;if(this.ctx.clip_path.length!==0){var ie=this.path;HA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=E(HA,this.posX+this.margin[3],-1*XA+FA),W.call(this,"fill",!0),this.path=ie}var WA=E([JSON.parse(JSON.stringify(YA))],this.posX+this.margin[3],-XA+FA+this.ctx.prevPageLastElemOffset)[0];L.scale>=.01&&(NA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(NA*L.scale),MA=this.lineWidth,this.lineWidth=MA*L.scale);var Ae=this.autoPaging!=="text";if(Ae||WA.y+WA.h<=IA){if(Ae||WA.y>=FA&&WA.x<=yA){var OA=Ae?L.text:this.pdf.splitTextToSize(L.text,L.maxWidth||yA-WA.x)[0],_e=E([JSON.parse(JSON.stringify(PA))],this.posX+this.margin[3],-XA+FA+this.ctx.prevPageLastElemOffset)[0],mA=Ae&&(pA>BA||pA<sA)&&F.call(this);mA&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],_A,QA,null).clip().discardPath()),this.pdf.text(OA,_e.x,_e.y,{angle:L.angle,align:P,renderingMode:L.renderingMode}),mA&&this.pdf.restoreGraphicsState()}}else WA.y<IA&&(this.ctx.prevPageLastElemOffset+=IA-WA.y);L.scale>=.01&&(this.pdf.setFontSize(NA),this.lineWidth=MA)}else L.scale>=.01&&(NA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(NA*L.scale),MA=this.lineWidth,this.lineWidth=MA*L.scale),this.pdf.text(L.text,uA.x+this.posX,uA.y+this.posY,{angle:L.angle,align:P,renderingMode:L.renderingMode,maxWidth:L.maxWidth}),L.scale>=.01&&(this.pdf.setFontSize(NA),this.lineWidth=MA)},T=function(L,P,V,J){V=V||0,J=J||0,this.pdf.internal.out(A(L+V)+" "+r(P+J)+" l")},O=function(L,P,V){return this.pdf.lines(L,P,V,null,null)},lA=function(L,P,V,J,eA,uA,dA,gA){this.pdf.internal.out([e(n(V+L)),e(a(J+P)),e(n(eA+L)),e(a(uA+P)),e(n(dA+L)),e(a(gA+P)),"c"].join(" "))},oA=function(L,P,V,J){for(var eA=2*Math.PI,uA=Math.PI/2;P>V;)P-=eA;var dA=Math.abs(V-P);dA<eA&&J&&(dA=eA-dA);for(var gA=[],HA=J?-1:1,NA=P;dA>1e-5;){var MA=NA+HA*Math.min(dA,uA);gA.push(aA.call(this,L,NA,MA)),dA-=Math.abs(MA-NA),NA=MA}return gA},aA=function(L,P,V){var J=(V-P)/2,eA=L*Math.cos(J),uA=L*Math.sin(J),dA=eA,gA=-uA,HA=dA*dA+gA*gA,NA=HA+dA*eA+gA*uA,MA=4/3*(Math.sqrt(2*HA*NA)-NA)/(dA*uA-gA*eA),PA=dA-MA*gA,YA=gA+MA*dA,wA=PA,D=-YA,$=J+P,BA=Math.cos($),sA=Math.sin($);return{x1:L*Math.cos(P),y1:L*Math.sin(P),x2:PA*BA-YA*sA,y2:PA*sA+YA*BA,x3:wA*BA-D*sA,y3:wA*sA+D*BA,x4:L*Math.cos(V),y4:L*Math.sin(V)}},_=function(L){return 180*L/Math.PI},z=function(L,P,V,J,eA,uA){var dA=L+.5*(V-L),gA=P+.5*(J-P),HA=eA+.5*(V-eA),NA=uA+.5*(J-uA),MA=Math.min(L,eA,dA,HA),PA=Math.max(L,eA,dA,HA),YA=Math.min(P,uA,gA,NA),wA=Math.max(P,uA,gA,NA);return new o(MA,YA,PA-MA,wA-YA)},rA=function(L,P,V,J,eA,uA,dA,gA){var HA,NA,MA,PA,YA,wA,D,$,BA,sA,pA,FA,UA,IA,QA=V-L,yA=J-P,_A=eA-V,XA=uA-J,ie=dA-eA,WA=gA-uA;for(NA=0;NA<41;NA++)BA=(D=(MA=L+(HA=NA/40)*QA)+HA*((YA=V+HA*_A)-MA))+HA*(YA+HA*(eA+HA*ie-YA)-D),sA=($=(PA=P+HA*yA)+HA*((wA=J+HA*XA)-PA))+HA*(wA+HA*(uA+HA*WA-wA)-$),NA==0?(pA=BA,FA=sA,UA=BA,IA=sA):(pA=Math.min(pA,BA),FA=Math.min(FA,sA),UA=Math.max(UA,BA),IA=Math.max(IA,sA));return new o(Math.round(pA),Math.round(FA),Math.round(UA-pA),Math.round(IA-FA))},TA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var L,P,V=(L=this.ctx.lineDash,P=this.ctx.lineDashOffset,JSON.stringify({lineDash:L,lineDashOffset:P}));this.prevLineDash!==V&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=V)}}})(te.API),function(t){var e=function(a){var s,o,u,d,B,g,v,p,b,F;for(o=[],u=0,d=(a+=s="\0\0\0\0".slice(a.length%4||4)).length;d>u;u+=4)(B=(a.charCodeAt(u)<<24)+(a.charCodeAt(u+1)<<16)+(a.charCodeAt(u+2)<<8)+a.charCodeAt(u+3))!==0?(g=(B=((B=((B=((B=(B-(F=B%85))/85)-(b=B%85))/85)-(p=B%85))/85)-(v=B%85))/85)%85,o.push(g+33,v+33,p+33,b+33,F+33)):o.push(122);return function(H,m){for(var E=m;E>0;E--)H.pop()}(o,s.length),String.fromCharCode.apply(String,o)+"~>"},A=function(a){var s,o,u,d,B,g=String,v="length",p=255,b="charCodeAt",F="slice",H="replace";for(a[F](-2),a=a[F](0,-2)[H](/\s/g,"")[H]("z","!!!!!"),u=[],d=0,B=(a+=s="uuuuu"[F](a[v]%5||5))[v];B>d;d+=5)o=52200625*(a[b](d)-33)+614125*(a[b](d+1)-33)+7225*(a[b](d+2)-33)+85*(a[b](d+3)-33)+(a[b](d+4)-33),u.push(p&o>>24,p&o>>16,p&o>>8,p&o);return function(m,E){for(var R=E;R>0;R--)m.pop()}(u,s[v]),g.fromCharCode.apply(g,u)},r=function(a){var s=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((a=a.replace(/\s/g,"")).indexOf(">")!==-1&&(a=a.substr(0,a.indexOf(">"))),a.length%2&&(a+="0"),s.test(a)===!1)return"";for(var o="",u=0;u<a.length;u+=2)o+=String.fromCharCode("0x"+(a[u]+a[u+1]));return o},n=function(a){for(var s=new Uint8Array(a.length),o=a.length;o--;)s[o]=a.charCodeAt(o);return a=(s=gc(s)).reduce(function(u,d){return u+String.fromCharCode(d)},"")};t.processDataByFilters=function(a,s){var o=0,u=a||"",d=[];for(typeof(s=s||[])=="string"&&(s=[s]),o=0;o<s.length;o+=1)switch(s[o]){case"ASCII85Decode":case"/ASCII85Decode":u=A(u),d.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=e(u),d.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=r(u),d.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=u.split("").map(function(B){return("0"+B.charCodeAt().toString(16)).slice(-2)}).join("")+">",d.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=n(u),d.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[o]+'" is not implemented')}return{data:u,reverseChain:d.reverse().join(" ")}}}(te.API),function(t){t.loadFile=function(e,A,r){return function(n,a,s){a=a!==!1,s=typeof s=="function"?s:function(){};var o=void 0;try{o=function(u,d,B){var g=new XMLHttpRequest,v=0,p=function(b){var F=b.length,H=[],m=String.fromCharCode;for(v=0;v<F;v+=1)H.push(m(255&b.charCodeAt(v)));return H.join("")};if(g.open("GET",u,!d),g.overrideMimeType("text/plain; charset=x-user-defined"),d===!1&&(g.onload=function(){g.status===200?B(p(this.responseText)):B(void 0)}),g.send(null),d&&g.status===200)return p(g.responseText)}(n,a,s)}catch{}return o}(e,A,r)},t.loadImageFile=t.loadFile}(te.API),function(t){function e(){return(ne.html2canvas?Promise.resolve(ne.html2canvas):Promise.resolve().then(()=>bC)).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function A(){return(ne.DOMPurify?Promise.resolve(ne.DOMPurify):Promise.resolve().then(()=>require("./purify.es-D1I7B1hP.cjs"))).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var r=function(s){var o=ye(s);return o==="undefined"?"undefined":o==="string"||s instanceof String?"string":o==="number"||s instanceof Number?"number":o==="function"||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&s.nodeType===1?"element":o==="object"?"object":"unknown"},n=function(s,o){var u=document.createElement(s);for(var d in o.className&&(u.className=o.className),o.innerHTML&&o.dompurify&&(u.innerHTML=o.dompurify.sanitize(o.innerHTML)),o.style)u.style[d]=o.style[d];return u},a=function s(o){var u=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),d=s.convert(Promise.resolve(),u);return d=(d=d.setProgress(1,s,1,[s])).set(o)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(s,o){return s.__proto__=o||a.prototype,s},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(s,o){return this.then(function(){switch(o=o||function(u){switch(r(u)){case"string":return"string";case"element":return u.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(s)){case"string":return this.then(A).then(function(u){return this.set({src:n("div",{innerHTML:s,dompurify:u})})});case"element":return this.set({src:s});case"canvas":return this.set({canvas:s});case"img":return this.set({img:s});default:return this.error("Unknown source type.")}})},a.prototype.to=function(s){switch(s){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var s={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},o=function u(d,B){for(var g=d.nodeType===3?document.createTextNode(d.nodeValue):d.cloneNode(!1),v=d.firstChild;v;v=v.nextSibling)B!==!0&&v.nodeType===1&&v.nodeName==="SCRIPT"||g.appendChild(u(v,B));return d.nodeType===1&&(d.nodeName==="CANVAS"?(g.width=d.width,g.height=d.height,g.getContext("2d").drawImage(d,0,0)):d.nodeName!=="TEXTAREA"&&d.nodeName!=="SELECT"||(g.value=d.value),g.addEventListener("load",function(){g.scrollTop=d.scrollTop,g.scrollLeft=d.scrollLeft},!0)),g}(this.prop.src,this.opt.html2canvas.javascriptEnabled);o.tagName==="BODY"&&(s.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=n("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=n("div",{className:"html2pdf__container",style:s}),this.prop.container.appendChild(o),this.prop.container.firstChild.appendChild(n("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},a.prototype.toCanvas=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(e).then(function(o){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,o(this.prop.container,u)}).then(function(o){(this.opt.html2canvas.onrendered||function(){})(o),this.prop.canvas=o,document.body.removeChild(this.prop.overlay)})},a.prototype.toContext2d=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(e).then(function(o){var u=this.opt.jsPDF,d=this.opt.fontFaces,B=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,g=Object.assign({async:!0,allowTaint:!0,scale:B,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete g.onrendered,u.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=d,d)for(var v=0;v<d.length;++v){var p=d[v],b=p.src.find(function(F){return F.format==="truetype"});b&&u.addFont(b.url,p.ref.name,p.ref.style)}return g.windowHeight=g.windowHeight||0,g.windowHeight=g.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):g.windowHeight,u.context2d.save(!0),o(this.prop.container,g)}).then(function(o){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(o),this.prop.canvas=o,document.body.removeChild(this.prop.overlay)})},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var s=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=s})},a.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},a.prototype.output=function(s,o,u){return(u=u||"pdf").toLowerCase()==="img"||u.toLowerCase()==="image"?this.outputImg(s,o):this.outputPdf(s,o)},a.prototype.outputPdf=function(s,o){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,o)})},a.prototype.outputImg=function(s){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(s){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+s+'" is not supported.'}})},a.prototype.save=function(s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(s?{filename:s}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},a.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},a.prototype.set=function(s){if(r(s)!=="object")return this;var o=Object.keys(s||{}).map(function(u){if(u in a.template.prop)return function(){this.prop[u]=s[u]};switch(u){case"margin":return this.setMargin.bind(this,s.margin);case"jsPDF":return function(){return this.opt.jsPDF=s.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,s.pageSize);default:return function(){this.opt[u]=s[u]}}},this);return this.then(function(){return this.thenList(o)})},a.prototype.get=function(s,o){return this.then(function(){var u=s in a.template.prop?this.prop[s]:this.opt[s];return o?o(u):u})},a.prototype.setMargin=function(s){return this.then(function(){switch(r(s)){case"number":s=[s,s,s,s];case"array":if(s.length===2&&(s=[s[0],s[1],s[0],s[1]]),s.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=s}).then(this.setPageSize)},a.prototype.setPageSize=function(s){function o(u,d){return Math.floor(u*d/72*96)}return this.then(function(){(s=s||te.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(s.inner={width:s.width-this.opt.margin[1]-this.opt.margin[3],height:s.height-this.opt.margin[0]-this.opt.margin[2]},s.inner.px={width:o(s.inner.width,s.k),height:o(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},a.prototype.setProgress=function(s,o,u,d){return s!=null&&(this.progress.val=s),o!=null&&(this.progress.state=o),u!=null&&(this.progress.n=u),d!=null&&(this.progress.stack=d),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(s,o,u,d){return this.setProgress(s?this.progress.val+s:null,o||null,u?this.progress.n+u:null,d?this.progress.stack.concat(d):null)},a.prototype.then=function(s,o){var u=this;return this.thenCore(s,o,function(d,B){return u.updateProgress(null,null,1,[d]),Promise.prototype.then.call(this,function(g){return u.updateProgress(null,d),g}).then(d,B).then(function(g){return u.updateProgress(1),g})})},a.prototype.thenCore=function(s,o,u){u=u||Promise.prototype.then,s&&(s=s.bind(this)),o&&(o=o.bind(this));var d=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:a.convert(Object.assign({},this),Promise.prototype),B=u.call(d,s,o);return a.convert(B,this.__proto__)},a.prototype.thenExternal=function(s,o){return Promise.prototype.then.call(this,s,o)},a.prototype.thenList=function(s){var o=this;return s.forEach(function(u){o=o.thenCore(u)}),o},a.prototype.catch=function(s){s&&(s=s.bind(this));var o=Promise.prototype.catch.call(this,s);return a.convert(o,this)},a.prototype.catchExternal=function(s){return Promise.prototype.catch.call(this,s)},a.prototype.error=function(s){return this.then(function(){throw new Error(s)})},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,te.getPageSize=function(s,o,u){if(ye(s)==="object"){var d=s;s=d.orientation,o=d.unit||o,u=d.format||u}o=o||"mm",u=u||"a4",s=(""+(s||"P")).toLowerCase();var B,g=(""+u).toLowerCase(),v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(o){case"pt":B=1;break;case"mm":B=72/25.4;break;case"cm":B=72/2.54;break;case"in":B=72;break;case"px":B=.75;break;case"pc":case"em":B=12;break;case"ex":B=6;break;default:throw"Invalid unit: "+o}var p,b=0,F=0;if(v.hasOwnProperty(g))b=v[g][1]/B,F=v[g][0]/B;else try{b=u[1],F=u[0]}catch{throw new Error("Invalid format: "+u)}if(s==="p"||s==="portrait")s="p",F>b&&(p=F,F=b,b=p);else{if(s!=="l"&&s!=="landscape")throw"Invalid orientation: "+s;s="l",b>F&&(p=F,F=b,b=p)}return{width:F,height:b,unit:o,k:B,orientation:s}},t.html=function(s,o){(o=o||{}).callback=o.callback||function(){},o.html2canvas=o.html2canvas||{},o.html2canvas.canvas=o.html2canvas.canvas||this.canvas,o.jsPDF=o.jsPDF||this,o.fontFaces=o.fontFaces?o.fontFaces.map(Cc):null;var u=new a(o);return o.worker?u:u.from(s).doCallback()}}(te.API),te.API.addJS=function(t){return Gu=t,this.internal.events.subscribe("postPutResources",function(){Ts=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ts+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Vu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Gu+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Ts!==void 0&&Vu!==void 0&&this.internal.out("/Names <</JavaScript "+Ts+" 0 R>>")}),this},function(t){var e;t.events.push(["postPutResources",function(){var A=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=A.outline.render().split(/\r\n/),a=0;a<n.length;a++){var s=n[a],o=r.exec(s);if(o!=null){var u=o[1];A.internal.newObjectDeferredBegin(u,!1)}A.internal.write(s)}if(this.outline.createNamedDestinations){var d=this.internal.pages.length,B=[];for(a=0;a<d;a++){var g=A.internal.newObject();B.push(g);var v=A.internal.getPageInfo(a+1);A.internal.write("<< /D["+v.objId+" 0 R /XYZ null null null]>> endobj")}var p=A.internal.newObject();for(A.internal.write("<< /Names [ "),a=0;a<B.length;a++)A.internal.write("(page_"+(a+1)+")"+B[a]+" 0 R");A.internal.write(" ] >>","endobj"),e=A.internal.newObject(),A.internal.write("<< /Dests "+p+" 0 R"),A.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var A=this;A.outline={createNamedDestinations:!1,root:{children:[]}},A.outline.add=function(r,n,a){var s={title:n,options:a,children:[]};return r==null&&(r=this.root),r.children.push(s),s},A.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=A,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},A.outline.genIds_r=function(r){r.id=A.internal.newObjectDeferred();for(var n=0;n<r.children.length;n++)this.genIds_r(r.children[n])},A.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},A.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<r.children.length;a++){var s=r.children[a];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(r)),a>0&&this.line("/Prev "+this.makeRef(r.children[a-1])),a<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[a+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var o=this.count=this.count_r({count:0},s);if(o>0&&this.line("/Count "+o),s.options&&s.options.pageNumber){var u=A.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+u.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var d=0;d<r.children.length;d++)this.renderItems(r.children[d])},A.outline.line=function(r){this.ctx.val+=r+`\r
158
+ `},A.outline.makeRef=function(r){return r.id+" 0 R"},A.outline.makeString=function(r){return"("+A.internal.pdfEscape(r)+")"},A.outline.objStart=function(r){this.ctx.val+=`\r
159
+ `+r.id+` 0 obj\r
160
+ <<\r
161
+ `},A.outline.objEnd=function(){this.ctx.val+=`>> \r
162
+ endobj\r
163
+ `},A.outline.count_r=function(r,n){for(var a=0;a<n.children.length;a++)r.count++,this.count_r(r,n.children[a]);return r.count}}])}(te.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(A,r,n,a,s,o){var u,d=this.decode.DCT_DECODE,B=null;if(typeof A=="string"||this.__addimage__.isArrayBuffer(A)||this.__addimage__.isArrayBufferView(A)){switch(A=s||A,A=this.__addimage__.isArrayBuffer(A)?new Uint8Array(A):A,(u=function(g){for(var v,p=256*g.charCodeAt(4)+g.charCodeAt(5),b=g.length,F={width:0,height:0,numcomponents:1},H=4;H<b;H+=2){if(H+=p,e.indexOf(g.charCodeAt(H+1))!==-1){v=256*g.charCodeAt(H+5)+g.charCodeAt(H+6),F={width:256*g.charCodeAt(H+7)+g.charCodeAt(H+8),height:v,numcomponents:g.charCodeAt(H+9)};break}p=256*g.charCodeAt(H+2)+g.charCodeAt(H+3)}return F}(A=this.__addimage__.isArrayBufferView(A)?this.__addimage__.arrayBufferToBinaryString(A):A)).numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}B={data:A,width:u.width,height:u.height,colorSpace:o,bitsPerComponent:8,filter:d,index:r,alias:n}}return B}}(te.API);var ya,Ms,ju,qu,Wu,MB=function(){var t,e,A;function r(a){var s,o,u,d,B,g,v,p,b,F,H,m,E,R;for(this.data=a,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},g=null;;){switch(s=this.readUInt32(),b=(function(){var q,W;for(W=[],q=0;q<4;++q)W.push(String.fromCharCode(this.data[this.pos++]));return W}).call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(s);break;case"fcTL":g&&this.animation.frames.push(g),this.pos+=4,g={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},B=this.readUInt16(),d=this.readUInt16()||100,g.delay=1e3*B/d,g.disposeOp=this.data[this.pos++],g.blendOp=this.data[this.pos++],g.data=[];break;case"IDAT":case"fdAT":for(b==="fdAT"&&(this.pos+=4,s-=4),a=(g!=null?g.data:void 0)||this.imgData,m=0;0<=s?m<s:m>s;0<=s?++m:--m)a.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(u=this.palette.length/3,this.transparency.indexed=this.read(s),this.transparency.indexed.length>u)throw new Error("More transparent colors than palette size");if((F=u-this.transparency.indexed.length)>0)for(E=0;0<=F?E<F:E>F;0<=F?++E:--E)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(s)[0];break;case 2:this.transparency.rgb=this.read(s)}break;case"tEXt":v=(H=this.read(s)).indexOf(0),p=String.fromCharCode.apply(String,H.slice(0,v)),this.text[p]=String.fromCharCode.apply(String,H.slice(v+1));break;case"IEND":return g&&this.animation.frames.push(g),this.colors=(function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}).call(this),this.hasAlphaChannel=(R=this.colorType)===4||R===6,o=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*o,this.colorSpace=(function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}).call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=s}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(a){var s,o;for(o=[],s=0;0<=a?s<a:s>a;0<=a?++s:--s)o.push(this.data[this.pos++]);return o},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(a){var s=this.pixelBitlength/8,o=new Uint8Array(this.width*this.height*s),u=0,d=this;if(a==null&&(a=this.imgData),a.length===0)return new Uint8Array(0);function B(g,v,p,b){var F,H,m,E,R,q,W,j,X,k,G,tA,I,Q,T,O,lA,oA,aA,_,z,rA=Math.ceil((d.width-g)/p),TA=Math.ceil((d.height-v)/b),L=d.width==rA&&d.height==TA;for(Q=s*rA,tA=L?o:new Uint8Array(Q*TA),q=a.length,I=0,H=0;I<TA&&u<q;){switch(a[u++]){case 0:for(E=lA=0;lA<Q;E=lA+=1)tA[H++]=a[u++];break;case 1:for(E=oA=0;oA<Q;E=oA+=1)F=a[u++],R=E<s?0:tA[H-s],tA[H++]=(F+R)%256;break;case 2:for(E=aA=0;aA<Q;E=aA+=1)F=a[u++],m=(E-E%s)/s,T=I&&tA[(I-1)*Q+m*s+E%s],tA[H++]=(T+F)%256;break;case 3:for(E=_=0;_<Q;E=_+=1)F=a[u++],m=(E-E%s)/s,R=E<s?0:tA[H-s],T=I&&tA[(I-1)*Q+m*s+E%s],tA[H++]=(F+Math.floor((R+T)/2))%256;break;case 4:for(E=z=0;z<Q;E=z+=1)F=a[u++],m=(E-E%s)/s,R=E<s?0:tA[H-s],I===0?T=O=0:(T=tA[(I-1)*Q+m*s+E%s],O=m&&tA[(I-1)*Q+(m-1)*s+E%s]),W=R+T-O,j=Math.abs(W-R),k=Math.abs(W-T),G=Math.abs(W-O),X=j<=k&&j<=G?R:k<=G?T:O,tA[H++]=(F+X)%256;break;default:throw new Error("Invalid filter algorithm: "+a[u-1])}if(!L){var P=((v+I*b)*d.width+g)*s,V=I*Q;for(E=0;E<rA;E+=1){for(var J=0;J<s;J+=1)o[P++]=tA[V++];P+=(p-1)*s}}I++}}return a=pB(a),d.interlaceMethod==1?(B(0,0,8,8),B(4,0,8,8),B(0,4,4,8),B(2,0,4,4),B(0,2,2,4),B(1,0,2,2),B(0,1,1,2)):B(0,0,1,1),o},r.prototype.decodePalette=function(){var a,s,o,u,d,B,g,v,p;for(o=this.palette,B=this.transparency.indexed||[],d=new Uint8Array((B.length||0)+o.length),u=0,a=0,s=g=0,v=o.length;g<v;s=g+=3)d[u++]=o[s],d[u++]=o[s+1],d[u++]=o[s+2],d[u++]=(p=B[a++])!=null?p:255;return d},r.prototype.copyToImageData=function(a,s){var o,u,d,B,g,v,p,b,F,H,m;if(u=this.colors,F=null,o=this.hasAlphaChannel,this.palette.length&&(F=(m=this._decodedPalette)!=null?m:this._decodedPalette=this.decodePalette(),u=4,o=!0),b=(d=a.data||a).length,g=F||s,B=v=0,u===1)for(;B<b;)p=F?4*s[B/4]:v,H=g[p++],d[B++]=H,d[B++]=H,d[B++]=H,d[B++]=o?g[p++]:255,v=p;else for(;B<b;)p=F?4*s[B/4]:v,d[B++]=g[p++],d[B++]=g[p++],d[B++]=g[p++],d[B++]=o?g[p++]:255,v=p},r.prototype.decode=function(){var a;return a=new Uint8Array(this.width*this.height*4),this.copyToImageData(a,this.decodePixels()),a};var n=function(){if(Object.prototype.toString.call(ne)==="[object Window]"){try{e=ne.document.createElement("canvas"),A=e.getContext("2d")}catch{return!1}return!0}return!1};return n(),t=function(a){var s;if(n()===!0)return A.width=a.width,A.height=a.height,A.clearRect(0,0,a.width,a.height),A.putImageData(a,0,0),(s=new Image).src=e.toDataURL(),s;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(a){var s,o,u,d,B,g,v,p;if(this.animation){for(p=[],o=B=0,g=(v=this.animation.frames).length;B<g;o=++B)s=v[o],u=a.createImageData(s.width,s.height),d=this.decodePixels(new Uint8Array(s.data)),this.copyToImageData(u,d),s.imageData=u,p.push(s.image=t(u));return p}},r.prototype.renderFrame=function(a,s){var o,u,d;return o=(u=this.animation.frames)[s],d=u[s-1],s===0&&a.clearRect(0,0,this.width,this.height),(d!=null?d.disposeOp:void 0)===1?a.clearRect(d.xOffset,d.yOffset,d.width,d.height):(d!=null?d.disposeOp:void 0)===2&&a.putImageData(d.imageData,d.xOffset,d.yOffset),o.blendOp===0&&a.clearRect(o.xOffset,o.yOffset,o.width,o.height),a.drawImage(o.image,o.xOffset,o.yOffset)},r.prototype.animate=function(a){var s,o,u,d,B,g,v=this;return o=0,g=this.animation,d=g.numFrames,u=g.frames,B=g.numPlays,(s=function(){var p,b;if(p=o++%d,b=u[p],v.renderFrame(a,p),d>1&&o/d<B)return v.animation._timeout=setTimeout(s,b.delay)})()},r.prototype.stopAnimation=function(){var a;return clearTimeout((a=this.animation)!=null?a._timeout:void 0)},r.prototype.render=function(a){var s,o;return a._png&&a._png.stopAnimation(),a._png=this,a.width=this.width,a.height=this.height,s=a.getContext("2d"),this.animation?(this.decodeFrames(s),this.animate(s)):(o=s.createImageData(this.width,this.height),this.copyToImageData(o,this.decodePixels()),s.putImageData(o,0,0))},r}();/**
164
+ * @license
165
+ *
166
+ * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
167
+ *
168
+ * Permission is hereby granted, free of charge, to any person obtaining
169
+ * a copy of this software and associated documentation files (the
170
+ * "Software"), to deal in the Software without restriction, including
171
+ * without limitation the rights to use, copy, modify, merge, publish,
172
+ * distribute, sublicense, and/or sell copies of the Software, and to
173
+ * permit persons to whom the Software is furnished to do so, subject to
174
+ * the following conditions:
175
+ *
176
+ * The above copyright notice and this permission notice shall be
177
+ * included in all copies or substantial portions of the Software.
178
+ *
179
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
180
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
181
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
182
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
183
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
184
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
185
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
186
+ * ====================================================================
187
+ *//**
188
+ * @license
189
+ * (c) Dean McNamee <dean@gmail.com>, 2013.
190
+ *
191
+ * https://github.com/deanm/omggif
192
+ *
193
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
194
+ * of this software and associated documentation files (the "Software"), to
195
+ * deal in the Software without restriction, including without limitation the
196
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
197
+ * sell copies of the Software, and to permit persons to whom the Software is
198
+ * furnished to do so, subject to the following conditions:
199
+ *
200
+ * The above copyright notice and this permission notice shall be included in
201
+ * all copies or substantial portions of the Software.
202
+ *
203
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
204
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
205
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
206
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
207
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
208
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
209
+ * IN THE SOFTWARE.
210
+ *
211
+ * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
212
+ * including animation and compression. It does not rely on any specific
213
+ * underlying system, so should run in the browser, Node, or Plask.
214
+ */function PB(t){var e=0;if(t[e++]!==71||t[e++]!==73||t[e++]!==70||t[e++]!==56||(t[e++]+1&253)!=56||t[e++]!==97)throw new Error("Invalid GIF 87a/89a header.");var A=t[e++]|t[e++]<<8,r=t[e++]|t[e++]<<8,n=t[e++],a=n>>7,s=1<<(7&n)+1;t[e++],t[e++];var o=null,u=null;a&&(o=e,u=s,e+=3*s);var d=!0,B=[],g=0,v=null,p=0,b=null;for(this.width=A,this.height=r;d&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(t[e]!==11||t[e+1]==78&&t[e+2]==69&&t[e+3]==84&&t[e+4]==83&&t[e+5]==67&&t[e+6]==65&&t[e+7]==80&&t[e+8]==69&&t[e+9]==50&&t[e+10]==46&&t[e+11]==48&&t[e+12]==3&&t[e+13]==1&&t[e+16]==0)e+=14,b=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((I=t[e++])>=0))throw Error("Invalid block size");if(I===0)break;e+=I}break;case 249:if(t[e++]!==4||t[e+4]!==0)throw new Error("Invalid graphics extension block.");var F=t[e++];g=t[e++]|t[e++]<<8,v=t[e++],(1&F)==0&&(v=null),p=F>>2&7,e++;break;case 254:for(;;){if(!((I=t[e++])>=0))throw Error("Invalid block size");if(I===0)break;e+=I}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var H=t[e++]|t[e++]<<8,m=t[e++]|t[e++]<<8,E=t[e++]|t[e++]<<8,R=t[e++]|t[e++]<<8,q=t[e++],W=q>>6&1,j=1<<(7&q)+1,X=o,k=u,G=!1;q>>7&&(G=!0,X=e,k=j,e+=3*j);var tA=e;for(e++;;){var I;if(!((I=t[e++])>=0))throw Error("Invalid block size");if(I===0)break;e+=I}B.push({x:H,y:m,width:E,height:R,has_local_palette:G,palette_offset:X,palette_size:k,data_offset:tA,data_length:e-tA,transparent_index:v,interlaced:!!W,delay:g,disposal:p});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return B.length},this.loopCount=function(){return b},this.frameInfo=function(Q){if(Q<0||Q>=B.length)throw new Error("Frame index out of range.");return B[Q]},this.decodeAndBlitFrameBGRA=function(Q,T){var O=this.frameInfo(Q),lA=O.width*O.height,oA=new Uint8Array(lA);zu(t,O.data_offset,oA,lA);var aA=O.palette_offset,_=O.transparent_index;_===null&&(_=256);var z=O.width,rA=A-z,TA=z,L=4*(O.y*A+O.x),P=4*((O.y+O.height)*A+O.x),V=L,J=4*rA;O.interlaced===!0&&(J+=4*A*7);for(var eA=8,uA=0,dA=oA.length;uA<dA;++uA){var gA=oA[uA];if(TA===0&&(TA=z,(V+=J)>=P&&(J=4*rA+4*A*(eA-1),V=L+(z+rA)*(eA<<1),eA>>=1)),gA===_)V+=4;else{var HA=t[aA+3*gA],NA=t[aA+3*gA+1],MA=t[aA+3*gA+2];T[V++]=MA,T[V++]=NA,T[V++]=HA,T[V++]=255}--TA}},this.decodeAndBlitFrameRGBA=function(Q,T){var O=this.frameInfo(Q),lA=O.width*O.height,oA=new Uint8Array(lA);zu(t,O.data_offset,oA,lA);var aA=O.palette_offset,_=O.transparent_index;_===null&&(_=256);var z=O.width,rA=A-z,TA=z,L=4*(O.y*A+O.x),P=4*((O.y+O.height)*A+O.x),V=L,J=4*rA;O.interlaced===!0&&(J+=4*A*7);for(var eA=8,uA=0,dA=oA.length;uA<dA;++uA){var gA=oA[uA];if(TA===0&&(TA=z,(V+=J)>=P&&(J=4*rA+4*A*(eA-1),V=L+(z+rA)*(eA<<1),eA>>=1)),gA===_)V+=4;else{var HA=t[aA+3*gA],NA=t[aA+3*gA+1],MA=t[aA+3*gA+2];T[V++]=HA,T[V++]=NA,T[V++]=MA,T[V++]=255}--TA}}}function zu(t,e,A,r){for(var n=t[e++],a=1<<n,s=a+1,o=s+1,u=n+1,d=(1<<u)-1,B=0,g=0,v=0,p=t[e++],b=new Int32Array(4096),F=null;;){for(;B<16&&p!==0;)g|=t[e++]<<B,B+=8,p===1?p=t[e++]:--p;if(B<u)break;var H=g&d;if(g>>=u,B-=u,H!==a){if(H===s)break;for(var m=H<o?H:F,E=0,R=m;R>a;)R=b[R]>>8,++E;var q=R;if(v+E+(m!==H?1:0)>r)return void xe.log("Warning, gif stream longer than expected.");A[v++]=q;var W=v+=E;for(m!==H&&(A[v++]=q),R=m;E--;)R=b[R],A[--W]=255&R,R>>=8;F!==null&&o<4096&&(b[o++]=F<<8|q,o>=d+1&&u<12&&(++u,d=d<<1|1)),F=H}else o=s+1,d=(1<<(u=n+1))-1,F=null}return v!==r&&xe.log("Warning, gif stream shorter than expected."),A}/**
215
+ * @license
216
+ Copyright (c) 2008, Adobe Systems Incorporated
217
+ All rights reserved.
218
+
219
+ Redistribution and use in source and binary forms, with or without
220
+ modification, are permitted provided that the following conditions are
221
+ met:
222
+
223
+ * Redistributions of source code must retain the above copyright notice,
224
+ this list of conditions and the following disclaimer.
225
+
226
+ * Redistributions in binary form must reproduce the above copyright
227
+ notice, this list of conditions and the following disclaimer in the
228
+ documentation and/or other materials provided with the distribution.
229
+
230
+ * Neither the name of Adobe Systems Incorporated nor the names of its
231
+ contributors may be used to endorse or promote products derived from
232
+ this software without specific prior written permission.
233
+
234
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
235
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
236
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
237
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
238
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
239
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
240
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
241
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
242
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
243
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
244
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
245
+ */function Kl(t){var e,A,r,n,a,s=Math.floor,o=new Array(64),u=new Array(64),d=new Array(64),B=new Array(64),g=new Array(65535),v=new Array(65535),p=new Array(64),b=new Array(64),F=[],H=0,m=7,E=new Array(64),R=new Array(64),q=new Array(64),W=new Array(256),j=new Array(2048),X=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],k=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],G=[0,1,2,3,4,5,6,7,8,9,10,11],tA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],I=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Q=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],T=[0,1,2,3,4,5,6,7,8,9,10,11],O=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],lA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function oA(L,P){for(var V=0,J=0,eA=new Array,uA=1;uA<=16;uA++){for(var dA=1;dA<=L[uA];dA++)eA[P[J]]=[],eA[P[J]][0]=V,eA[P[J]][1]=uA,J++,V++;V*=2}return eA}function aA(L){for(var P=L[0],V=L[1]-1;V>=0;)P&1<<V&&(H|=1<<m),V--,--m<0&&(H==255?(_(255),_(0)):_(H),m=7,H=0)}function _(L){F.push(L)}function z(L){_(L>>8&255),_(255&L)}function rA(L,P,V,J,eA){for(var uA,dA=eA[0],gA=eA[240],HA=function(sA,pA){var FA,UA,IA,QA,yA,_A,XA,ie,WA,Ae,OA=0;for(WA=0;WA<8;++WA){FA=sA[OA],UA=sA[OA+1],IA=sA[OA+2],QA=sA[OA+3],yA=sA[OA+4],_A=sA[OA+5],XA=sA[OA+6];var _e=FA+(ie=sA[OA+7]),mA=FA-ie,DA=UA+XA,xA=UA-XA,JA=IA+_A,de=IA-_A,re=QA+yA,be=QA-yA,fe=_e+re,ke=_e-re,Ke=DA+JA,he=DA-JA;sA[OA]=fe+Ke,sA[OA+4]=fe-Ke;var ae=.707106781*(he+ke);sA[OA+2]=ke+ae,sA[OA+6]=ke-ae;var ve=.382683433*((fe=be+de)-(he=xA+mA)),Fn=.5411961*fe+ve,lt=1.306562965*he+ve,Br=.707106781*(Ke=de+xA),wr=mA+Br,ee=mA-Br;sA[OA+5]=ee+Fn,sA[OA+3]=ee-Fn,sA[OA+1]=wr+lt,sA[OA+7]=wr-lt,OA+=8}for(OA=0,WA=0;WA<8;++WA){FA=sA[OA],UA=sA[OA+8],IA=sA[OA+16],QA=sA[OA+24],yA=sA[OA+32],_A=sA[OA+40],XA=sA[OA+48];var Ar=FA+(ie=sA[OA+56]),vr=FA-ie,Et=UA+XA,et=UA-XA,Je=IA+_A,Ht=IA-_A,qn=QA+yA,kr=QA-yA,er=Ar+qn,tr=Ar-qn,rr=Et+Je,mr=Et-Je;sA[OA]=er+rr,sA[OA+32]=er-rr;var Rt=.707106781*(mr+tr);sA[OA+16]=tr+Rt,sA[OA+48]=tr-Rt;var Cr=.382683433*((er=kr+Ht)-(mr=et+vr)),Qn=.5411961*er+Cr,Wn=1.306562965*mr+Cr,zn=.707106781*(rr=Ht+et),Xn=vr+zn,Jn=vr-zn;sA[OA+40]=Jn+Qn,sA[OA+24]=Jn-Qn,sA[OA+8]=Xn+Wn,sA[OA+56]=Xn-Wn,OA++}for(WA=0;WA<64;++WA)Ae=sA[WA]*pA[WA],p[WA]=Ae>0?Ae+.5|0:Ae-.5|0;return p}(L,P),NA=0;NA<64;++NA)b[X[NA]]=HA[NA];var MA=b[0]-V;V=b[0],MA==0?aA(J[0]):(aA(J[v[uA=32767+MA]]),aA(g[uA]));for(var PA=63;PA>0&&b[PA]==0;)PA--;if(PA==0)return aA(dA),V;for(var YA,wA=1;wA<=PA;){for(var D=wA;b[wA]==0&&wA<=PA;)++wA;var $=wA-D;if($>=16){YA=$>>4;for(var BA=1;BA<=YA;++BA)aA(gA);$&=15}uA=32767+b[wA],aA(eA[($<<4)+v[uA]]),aA(g[uA]),wA++}return PA!=63&&aA(dA),V}function TA(L){L=Math.min(Math.max(L,1),100),a!=L&&(function(P){for(var V=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],J=0;J<64;J++){var eA=s((V[J]*P+50)/100);eA=Math.min(Math.max(eA,1),255),o[X[J]]=eA}for(var uA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],dA=0;dA<64;dA++){var gA=s((uA[dA]*P+50)/100);gA=Math.min(Math.max(gA,1),255),u[X[dA]]=gA}for(var HA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],NA=0,MA=0;MA<8;MA++)for(var PA=0;PA<8;PA++)d[NA]=1/(o[X[NA]]*HA[MA]*HA[PA]*8),B[NA]=1/(u[X[NA]]*HA[MA]*HA[PA]*8),NA++}(L<50?Math.floor(5e3/L):Math.floor(200-2*L)),a=L)}this.encode=function(L,P){P&&TA(P),F=new Array,H=0,m=7,z(65496),z(65504),z(16),_(74),_(70),_(73),_(70),_(0),_(1),_(1),_(0),z(1),z(1),_(0),_(0),function(){z(65499),z(132),_(0);for(var UA=0;UA<64;UA++)_(o[UA]);_(1);for(var IA=0;IA<64;IA++)_(u[IA])}(),function(UA,IA){z(65472),z(17),_(8),z(IA),z(UA),_(3),_(1),_(17),_(0),_(2),_(17),_(1),_(3),_(17),_(1)}(L.width,L.height),function(){z(65476),z(418),_(0);for(var UA=0;UA<16;UA++)_(k[UA+1]);for(var IA=0;IA<=11;IA++)_(G[IA]);_(16);for(var QA=0;QA<16;QA++)_(tA[QA+1]);for(var yA=0;yA<=161;yA++)_(I[yA]);_(1);for(var _A=0;_A<16;_A++)_(Q[_A+1]);for(var XA=0;XA<=11;XA++)_(T[XA]);_(17);for(var ie=0;ie<16;ie++)_(O[ie+1]);for(var WA=0;WA<=161;WA++)_(lA[WA])}(),z(65498),z(12),_(3),_(1),_(0),_(2),_(17),_(3),_(17),_(0),_(63),_(0);var V=0,J=0,eA=0;H=0,m=7,this.encode.displayName="_encode_";for(var uA,dA,gA,HA,NA,MA,PA,YA,wA,D=L.data,$=L.width,BA=L.height,sA=4*$,pA=0;pA<BA;){for(uA=0;uA<sA;){for(NA=sA*pA+uA,PA=-1,YA=0,wA=0;wA<64;wA++)MA=NA+(YA=wA>>3)*sA+(PA=4*(7&wA)),pA+YA>=BA&&(MA-=sA*(pA+1+YA-BA)),uA+PA>=sA&&(MA-=uA+PA-sA+4),dA=D[MA++],gA=D[MA++],HA=D[MA++],E[wA]=(j[dA]+j[gA+256>>0]+j[HA+512>>0]>>16)-128,R[wA]=(j[dA+768>>0]+j[gA+1024>>0]+j[HA+1280>>0]>>16)-128,q[wA]=(j[dA+1280>>0]+j[gA+1536>>0]+j[HA+1792>>0]>>16)-128;V=rA(E,d,V,e,r),J=rA(R,B,J,A,n),eA=rA(q,B,eA,A,n),uA+=32}pA+=8}if(m>=0){var FA=[];FA[1]=m+1,FA[0]=(1<<m+1)-1,aA(FA)}return z(65497),new Uint8Array(F)},t=t||50,function(){for(var L=String.fromCharCode,P=0;P<256;P++)W[P]=L(P)}(),e=oA(k,G),A=oA(Q,T),r=oA(tA,I),n=oA(O,lA),function(){for(var L=1,P=2,V=1;V<=15;V++){for(var J=L;J<P;J++)v[32767+J]=V,g[32767+J]=[],g[32767+J][1]=V,g[32767+J][0]=J;for(var eA=-(P-1);eA<=-L;eA++)v[32767+eA]=V,g[32767+eA]=[],g[32767+eA][1]=V,g[32767+eA][0]=P-1+eA;L<<=1,P<<=1}}(),function(){for(var L=0;L<256;L++)j[L]=19595*L,j[L+256>>0]=38470*L,j[L+512>>0]=7471*L+32768,j[L+768>>0]=-11059*L,j[L+1024>>0]=-21709*L,j[L+1280>>0]=32768*L+8421375,j[L+1536>>0]=-27439*L,j[L+1792>>0]=-5329*L}(),TA(t)}/**
246
+ * @license
247
+ * Copyright (c) 2017 Aras Abbasi
248
+ *
249
+ * Licensed under the MIT License.
250
+ * http://opensource.org/licenses/mit-license
251
+ */function cr(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Xu(t){function e(k){if(!k)throw Error("assert :P")}function A(k,G,tA){for(var I=0;4>I;I++)if(k[G+I]!=tA.charCodeAt(I))return!0;return!1}function r(k,G,tA,I,Q){for(var T=0;T<Q;T++)k[G+T]=tA[I+T]}function n(k,G,tA,I){for(var Q=0;Q<I;Q++)k[G+Q]=tA}function a(k){return new Int32Array(k)}function s(k,G){for(var tA=[],I=0;I<k;I++)tA.push(new G);return tA}function o(k,G){var tA=[];return function I(Q,T,O){for(var lA=O[T],oA=0;oA<lA&&(Q.push(O.length>T+1?[]:new G),!(O.length<T+1));oA++)I(Q[oA],T+1,O)}(tA,0,k),tA}var u=function(){var k=this;function G(i,c){for(var h=1<<c-1>>>0;i&h;)h>>>=1;return h?(i&h-1)+h:i}function tA(i,c,h,w,C){e(!(w%h));do i[c+(w-=h)]=C;while(0<w)}function I(i,c,h,w,C){if(e(2328>=C),512>=C)var U=a(512);else if((U=a(C))==null)return 0;return function(x,S,N,M,Z,fA){var hA,iA,LA=S,vA=1<<N,AA=a(16),nA=a(16);for(e(Z!=0),e(M!=null),e(x!=null),e(0<N),iA=0;iA<Z;++iA){if(15<M[iA])return 0;++AA[M[iA]]}if(AA[0]==Z)return 0;for(nA[1]=0,hA=1;15>hA;++hA){if(AA[hA]>1<<hA)return 0;nA[hA+1]=nA[hA]+AA[hA]}for(iA=0;iA<Z;++iA)hA=M[iA],0<M[iA]&&(fA[nA[hA]++]=iA);if(nA[15]==1)return(M=new Q).g=0,M.value=fA[0],tA(x,LA,1,vA,M),vA;var bA,SA=-1,EA=vA-1,jA=0,KA=1,ZA=1,RA=1<<N;for(iA=0,hA=1,Z=2;hA<=N;++hA,Z<<=1){if(KA+=ZA<<=1,0>(ZA-=AA[hA]))return 0;for(;0<AA[hA];--AA[hA])(M=new Q).g=hA,M.value=fA[iA++],tA(x,LA+jA,Z,RA,M),jA=G(jA,hA)}for(hA=N+1,Z=2;15>=hA;++hA,Z<<=1){if(KA+=ZA<<=1,0>(ZA-=AA[hA]))return 0;for(;0<AA[hA];--AA[hA]){if(M=new Q,(jA&EA)!=SA){for(LA+=RA,bA=1<<(SA=hA)-N;15>SA&&!(0>=(bA-=AA[SA]));)++SA,bA<<=1;vA+=RA=1<<(bA=SA-N),x[S+(SA=jA&EA)].g=bA+N,x[S+SA].value=LA-S-SA}M.g=hA-N,M.value=fA[iA++],tA(x,LA+(jA>>N),Z,RA,M),jA=G(jA,hA)}}return KA!=2*nA[15]-1?0:vA}(i,c,h,w,C,U)}function Q(){this.value=this.g=0}function T(){this.value=this.g=0}function O(){this.G=s(5,Q),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(ct,T)}function lA(i,c,h,w){e(i!=null),e(c!=null),e(2147483648>w),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=c,i.pa=h,i.Jd=c,i.Yc=h+w,i.Zc=4<=w?h+w-4+1:h,uA(i)}function oA(i,c){for(var h=0;0<c--;)h|=gA(i,128)<<c;return h}function aA(i,c){var h=oA(i,c);return dA(i)?-h:h}function _(i,c,h,w){var C,U=0;for(e(i!=null),e(c!=null),e(4294967288>w),i.Sb=w,i.Ra=0,i.u=0,i.h=0,4<w&&(w=4),C=0;C<w;++C)U+=c[h+C]<<8*C;i.Ra=U,i.bb=w,i.oa=c,i.pa=h}function z(i){for(;8<=i.u&&i.bb<i.Sb;)i.Ra>>>=8,i.Ra+=i.oa[i.pa+i.bb]<<ua-8>>>0,++i.bb,i.u-=8;V(i)&&(i.h=1,i.u=0)}function rA(i,c){if(e(0<=c),!i.h&&c<=ca){var h=P(i)&la[c];return i.u+=c,z(i),h}return i.h=1,i.u=0}function TA(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function L(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function P(i){return i.Ra>>>(i.u&ua-1)>>>0}function V(i){return e(i.bb<=i.Sb),i.h||i.bb==i.Sb&&i.u>ua}function J(i,c){i.u=c,i.h=V(i)}function eA(i){i.u>=si&&(e(i.u>=si),z(i))}function uA(i){e(i!=null&&i.oa!=null),i.pa<i.Zc?(i.I=(i.oa[i.pa++]|i.I<<8)>>>0,i.b+=8):(e(i!=null&&i.oa!=null),i.pa<i.Yc?(i.b+=8,i.I=i.oa[i.pa++]|i.I<<8):i.Ka?i.b=0:(i.I<<=8,i.b+=8,i.Ka=1))}function dA(i){return oA(i,1)}function gA(i,c){var h=i.Ca;0>i.b&&uA(i);var w=i.b,C=h*c>>>8,U=(i.I>>>w>C)+0;for(U?(h-=C,i.I-=C+1<<w>>>0):h=C+1,w=h,C=0;256<=w;)C+=8,w>>=8;return w=7^C+xt[w],i.b-=w,i.Ca=(h<<w)-1,U}function HA(i,c,h){i[c+0]=h>>24&255,i[c+1]=h>>16&255,i[c+2]=h>>8&255,i[c+3]=h>>0&255}function NA(i,c){return i[c+0]<<0|i[c+1]<<8}function MA(i,c){return NA(i,c)|i[c+2]<<16}function PA(i,c){return NA(i,c)|NA(i,c+2)<<16}function YA(i,c){var h=1<<c;return e(i!=null),e(0<c),i.X=a(h),i.X==null?0:(i.Mb=32-c,i.Xa=c,1)}function wA(i,c){e(i!=null),e(c!=null),e(i.Xa==c.Xa),r(c.X,0,i.X,0,1<<c.Xa)}function D(){this.X=[],this.Xa=this.Mb=0}function $(i,c,h,w){e(h!=null),e(w!=null);var C=h[0],U=w[0];return C==0&&(C=(i*U+c/2)/c),U==0&&(U=(c*C+i/2)/i),0>=C||0>=U?0:(h[0]=C,w[0]=U,1)}function BA(i,c){return i+(1<<c)-1>>>c}function sA(i,c){return((4278255360&i)+(4278255360&c)>>>0&4278255360)+((16711935&i)+(16711935&c)>>>0&16711935)>>>0}function pA(i,c){k[c]=function(h,w,C,U,x,S,N){var M;for(M=0;M<x;++M){var Z=k[i](S[N+M-1],C,U+M);S[N+M]=sA(h[w+M],Z)}}}function FA(){this.ud=this.hd=this.jd=0}function UA(i,c){return((4278124286&(i^c))>>>1)+(i&c)>>>0}function IA(i){return 0<=i&&256>i?i:0>i?0:255<i?255:void 0}function QA(i,c){return IA(i+(i-c+.5>>1))}function yA(i,c,h){return Math.abs(c-h)-Math.abs(i-h)}function _A(i,c,h,w,C,U,x){for(w=U[x-1],h=0;h<C;++h)U[x+h]=w=sA(i[c+h],w)}function XA(i,c,h,w,C){var U;for(U=0;U<h;++U){var x=i[c+U],S=x>>8&255,N=16711935&(N=(N=16711935&x)+((S<<16)+S));w[C+U]=(4278255360&x)+N>>>0}}function ie(i,c){c.jd=i>>0&255,c.hd=i>>8&255,c.ud=i>>16&255}function WA(i,c,h,w,C,U){var x;for(x=0;x<w;++x){var S=c[h+x],N=S>>>8,M=S,Z=255&(Z=(Z=S>>>16)+((i.jd<<24>>24)*(N<<24>>24)>>>5));M=255&(M=(M=M+((i.hd<<24>>24)*(N<<24>>24)>>>5))+((i.ud<<24>>24)*(Z<<24>>24)>>>5)),C[U+x]=(4278255360&S)+(Z<<16)+M}}function Ae(i,c,h,w,C){k[c]=function(U,x,S,N,M,Z,fA,hA,iA){for(N=fA;N<hA;++N)for(fA=0;fA<iA;++fA)M[Z++]=C(S[w(U[x++])])},k[i]=function(U,x,S,N,M,Z,fA){var hA=8>>U.b,iA=U.Ea,LA=U.K[0],vA=U.w;if(8>hA)for(U=(1<<U.b)-1,vA=(1<<hA)-1;x<S;++x){var AA,nA=0;for(AA=0;AA<iA;++AA)AA&U||(nA=w(N[M++])),Z[fA++]=C(LA[nA&vA]),nA>>=hA}else k["VP8LMapColor"+h](N,M,LA,vA,Z,fA,x,S,iA)}}function OA(i,c,h,w,C){for(h=c+h;c<h;){var U=i[c++];w[C++]=U>>16&255,w[C++]=U>>8&255,w[C++]=U>>0&255}}function _e(i,c,h,w,C){for(h=c+h;c<h;){var U=i[c++];w[C++]=U>>16&255,w[C++]=U>>8&255,w[C++]=U>>0&255,w[C++]=U>>24&255}}function mA(i,c,h,w,C){for(h=c+h;c<h;){var U=(x=i[c++])>>16&240|x>>12&15,x=x>>0&240|x>>28&15;w[C++]=U,w[C++]=x}}function DA(i,c,h,w,C){for(h=c+h;c<h;){var U=(x=i[c++])>>16&248|x>>13&7,x=x>>5&224|x>>3&31;w[C++]=U,w[C++]=x}}function xA(i,c,h,w,C){for(h=c+h;c<h;){var U=i[c++];w[C++]=U>>0&255,w[C++]=U>>8&255,w[C++]=U>>16&255}}function JA(i,c,h,w,C,U){if(U==0)for(h=c+h;c<h;)HA(w,((U=i[c++])[0]>>24|U[1]>>8&65280|U[2]<<8&16711680|U[3]<<24)>>>0),C+=32;else r(w,C,i,c,h)}function de(i,c){k[c][0]=k[i+"0"],k[c][1]=k[i+"1"],k[c][2]=k[i+"2"],k[c][3]=k[i+"3"],k[c][4]=k[i+"4"],k[c][5]=k[i+"5"],k[c][6]=k[i+"6"],k[c][7]=k[i+"7"],k[c][8]=k[i+"8"],k[c][9]=k[i+"9"],k[c][10]=k[i+"10"],k[c][11]=k[i+"11"],k[c][12]=k[i+"12"],k[c][13]=k[i+"13"],k[c][14]=k[i+"0"],k[c][15]=k[i+"0"]}function re(i){return i==pl||i==Bl||i==ms||i==wl}function be(){this.eb=[],this.size=this.A=this.fb=0}function fe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ke(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new be,this.f.kb=new fe,this.sd=null}function Ke(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function he(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ae(i){return alert("todo:WebPSamplerProcessPlane"),i.T}function ve(i,c){var h=i.T,w=c.ba.f.RGBA,C=w.eb,U=w.fb+i.ka*w.A,x=zt[c.ba.S],S=i.y,N=i.O,M=i.f,Z=i.N,fA=i.ea,hA=i.W,iA=c.cc,LA=c.dc,vA=c.Mc,AA=c.Nc,nA=i.ka,bA=i.ka+i.T,SA=i.U,EA=SA+1>>1;for(nA==0?x(S,N,null,null,M,Z,fA,hA,M,Z,fA,hA,C,U,null,null,SA):(x(c.ec,c.fc,S,N,iA,LA,vA,AA,M,Z,fA,hA,C,U-w.A,C,U,SA),++h);nA+2<bA;nA+=2)iA=M,LA=Z,vA=fA,AA=hA,Z+=i.Rc,hA+=i.Rc,U+=2*w.A,x(S,(N+=2*i.fa)-i.fa,S,N,iA,LA,vA,AA,M,Z,fA,hA,C,U-w.A,C,U,SA);return N+=i.fa,i.j+bA<i.o?(r(c.ec,c.fc,S,N,SA),r(c.cc,c.dc,M,Z,EA),r(c.Mc,c.Nc,fA,hA,EA),h--):1&bA||x(S,N,null,null,M,Z,fA,hA,M,Z,fA,hA,C,U+w.A,null,null,SA),h}function Fn(i,c,h){var w=i.F,C=[i.J];if(w!=null){var U=i.U,x=c.ba.S,S=x==vs||x==ms;c=c.ba.f.RGBA;var N=[0],M=i.ka;N[0]=i.T,i.Kb&&(M==0?--N[0]:(--M,C[0]-=i.width),i.j+i.ka+i.T==i.o&&(N[0]=i.o-i.j-M));var Z=c.eb;M=c.fb+M*c.A,i=Se(w,C[0],i.width,U,N,Z,M+(S?0:3),c.A),e(h==N),i&&re(x)&&qt(Z,M,S,U,N,c.A)}return 0}function lt(i){var c=i.ma,h=c.ba.S,w=11>h,C=h==Bs||h==ws||h==vs||h==gl||h==12||re(h);if(c.memory=null,c.Ib=null,c.Jb=null,c.Nd=null,!ai(c.Oa,i,C?11:12))return 0;if(C&&re(h)&&kA(),i.da)alert("todo:use_scaling");else{if(w){if(c.Ib=ae,i.Kb){if(h=i.U+1>>1,c.memory=a(i.U+2*h),c.memory==null)return 0;c.ec=c.memory,c.fc=0,c.cc=c.ec,c.dc=c.fc+i.U,c.Mc=c.cc,c.Nc=c.dc+h,c.Ib=ve,kA()}}else alert("todo:EmitYUV");C&&(c.Jb=Fn,w&&cA())}if(w&&!uu){for(i=0;256>i;++i)Jd[i]=89858*(i-128)+ys>>Cs,Zd[i]=-22014*(i-128)+ys,$d[i]=-45773*(i-128),Yd[i]=113618*(i-128)+ys>>Cs;for(i=di;i<Cl;++i)c=76283*(i-16)+ys>>Cs,Ag[i-di]=_t(c,255),eg[i-di]=_t(c+8>>4,15);uu=1}return 1}function Br(i){var c=i.ma,h=i.U,w=i.T;return e(!(1&i.ka)),0>=h||0>=w?0:(h=c.Ib(i,c),c.Jb!=null&&c.Jb(i,c,h),c.Dc+=h,1)}function wr(i){i.ma.memory=null}function ee(i,c,h,w){return rA(i,8)!=47?0:(c[0]=rA(i,14)+1,h[0]=rA(i,14)+1,w[0]=rA(i,1),rA(i,3)!=0?0:!i.h)}function Ar(i,c){if(4>i)return i+1;var h=i-2>>1;return(2+(1&i)<<h)+rA(c,h)+1}function vr(i,c){return 120<c?c-120:1<=(h=((h=_d[c-1])>>4)*i+(8-(15&h)))?h:1;var h}function Et(i,c,h){var w=P(h),C=i[c+=255&w].g-8;return 0<C&&(J(h,h.u+8),w=P(h),c+=i[c].value,c+=w&(1<<C)-1),J(h,h.u+i[c].g),i[c].value}function et(i,c,h){return h.g+=i.g,h.value+=i.value<<c>>>0,e(8>=h.g),i.g}function Je(i,c,h){var w=i.xc;return e((c=w==0?0:i.vc[i.md*(h>>w)+(c>>w)])<i.Wb),i.Ya[c]}function Ht(i,c,h,w){var C=i.ab,U=i.c*c,x=i.C;c=x+c;var S=h,N=w;for(w=i.Ta,h=i.Ua;0<C--;){var M=i.gc[C],Z=x,fA=c,hA=S,iA=N,LA=(N=w,S=h,M.Ea);switch(e(Z<fA),e(fA<=M.nc),M.hc){case 2:cs(hA,iA,(fA-Z)*LA,N,S);break;case 0:var vA=Z,AA=fA,nA=N,bA=S,SA=(RA=M).Ea;vA==0&&(hl(hA,iA,null,null,1,nA,bA),_A(hA,iA+1,0,0,SA-1,nA,bA+1),iA+=SA,bA+=SA,++vA);for(var EA=1<<RA.b,jA=EA-1,KA=BA(SA,RA.b),ZA=RA.K,RA=RA.w+(vA>>RA.b)*KA;vA<AA;){var me=ZA,Fe=RA,we=1;for(oi(hA,iA,nA,bA-SA,1,nA,bA);we<SA;){var ge=(we&~jA)+EA;ge>SA&&(ge=SA),(0,Yr[me[Fe++]>>8&15])(hA,iA+ +we,nA,bA+we-SA,ge-we,nA,bA+we),we=ge}iA+=SA,bA+=SA,++vA&jA||(RA+=KA)}fA!=M.nc&&r(N,S-LA,N,S+(fA-Z-1)*LA,LA);break;case 1:for(LA=hA,AA=iA,SA=(hA=M.Ea)-(bA=hA&~(nA=(iA=1<<M.b)-1)),vA=BA(hA,M.b),EA=M.K,M=M.w+(Z>>M.b)*vA;Z<fA;){for(jA=EA,KA=M,ZA=new FA,RA=AA+bA,me=AA+hA;AA<RA;)ie(jA[KA++],ZA),xn(ZA,LA,AA,iA,N,S),AA+=iA,S+=iA;AA<me&&(ie(jA[KA++],ZA),xn(ZA,LA,AA,SA,N,S),AA+=SA,S+=SA),++Z&nA||(M+=vA)}break;case 3:if(hA==N&&iA==S&&0<M.b){for(AA=N,hA=LA=S+(fA-Z)*LA-(bA=(fA-Z)*BA(M.Ea,M.b)),iA=N,nA=S,vA=[],bA=(SA=bA)-1;0<=bA;--bA)vA[bA]=iA[nA+bA];for(bA=SA-1;0<=bA;--bA)AA[hA+bA]=vA[bA];Vt(M,Z,fA,N,LA,N,S)}else Vt(M,Z,fA,hA,iA,N,S)}S=w,N=h}N!=h&&r(w,h,S,N,U)}function qn(i,c){var h=i.V,w=i.Ba+i.c*i.C,C=c-i.C;if(e(c<=i.l.o),e(16>=C),0<C){var U=i.l,x=i.Ta,S=i.Ua,N=U.width;if(Ht(i,C,h,w),C=S=[S],e((h=i.C)<(w=c)),e(U.v<U.va),w>U.o&&(w=U.o),h<U.j){var M=U.j-h;h=U.j,C[0]+=M*N}if(h>=w?h=0:(C[0]+=4*U.v,U.ka=h-U.j,U.U=U.va-U.v,U.T=w-h,h=1),h){if(S=S[0],11>(h=i.ca).S){var Z=h.f.RGBA,fA=(w=h.S,C=U.U,U=U.T,M=Z.eb,Z.A),hA=U;for(Z=Z.fb+i.Ma*Z.A;0<hA--;){var iA=x,LA=S,vA=C,AA=M,nA=Z;switch(w){case ps:It(iA,LA,vA,AA,nA);break;case Bs:Ft(iA,LA,vA,AA,nA);break;case pl:Ft(iA,LA,vA,AA,nA),qt(AA,nA,0,vA,1,0);break;case tu:Tr(iA,LA,vA,AA,nA);break;case ws:JA(iA,LA,vA,AA,nA,1);break;case Bl:JA(iA,LA,vA,AA,nA,1),qt(AA,nA,0,vA,1,0);break;case vs:JA(iA,LA,vA,AA,nA,0);break;case ms:JA(iA,LA,vA,AA,nA,0),qt(AA,nA,1,vA,1,0);break;case gl:$r(iA,LA,vA,AA,nA);break;case wl:$r(iA,LA,vA,AA,nA),Ie(AA,nA,vA,1,0);break;case ru:_r(iA,LA,vA,AA,nA);break;default:e(0)}S+=N,Z+=fA}i.Ma+=U}else alert("todo:EmitRescaledRowsYUVA");e(i.Ma<=h.height)}}i.C=c,e(i.C<=i.i)}function kr(i){var c;if(0<i.ua)return 0;for(c=0;c<i.Wb;++c){var h=i.Ya[c].G,w=i.Ya[c].H;if(0<h[1][w[1]+0].g||0<h[2][w[2]+0].g||0<h[3][w[3]+0].g)return 0}return 1}function er(i,c,h,w,C,U){if(i.Z!=0){var x=i.qd,S=i.rd;for(e(tn[i.Z]!=null);c<h;++c)tn[i.Z](x,S,w,C,w,C,U),x=w,S=C,C+=U;i.qd=x,i.rd=S}}function tr(i,c){var h=i.l.ma,w=h.Z==0||h.Z==1?i.l.j:i.C;if(w=i.C<w?w:i.C,e(c<=i.l.o),c>w){var C=i.l.width,U=h.ca,x=h.tb+C*w,S=i.V,N=i.Ba+i.c*w,M=i.gc;e(i.ab==1),e(M[0].hc==3),us(M[0],w,c,S,N,U,x),er(h,w,c,U,x,C)}i.C=i.Ma=c}function rr(i,c,h,w,C,U,x){var S=i.$/w,N=i.$%w,M=i.m,Z=i.s,fA=h+i.$,hA=fA;C=h+w*C;var iA=h+w*U,LA=280+Z.ua,vA=i.Pb?S:16777216,AA=0<Z.ua?Z.Wa:null,nA=Z.wc,bA=fA<iA?Je(Z,N,S):null;e(i.C<U),e(iA<=C);var SA=!1;A:for(;;){for(;SA||fA<iA;){var EA=0;if(S>=vA){var jA=fA-h;e((vA=i).Pb),vA.wd=vA.m,vA.xd=jA,0<vA.s.ua&&wA(vA.s.Wa,vA.s.vb),vA=S+Md}if(N&nA||(bA=Je(Z,N,S)),e(bA!=null),bA.Qb&&(c[fA]=bA.qb,SA=!0),!SA)if(eA(M),bA.jc){EA=M,jA=c;var KA=fA,ZA=bA.pd[P(EA)&ct-1];e(bA.jc),256>ZA.g?(J(EA,EA.u+ZA.g),jA[KA]=ZA.value,EA=0):(J(EA,EA.u+ZA.g-256),e(256<=ZA.value),EA=ZA.value),EA==0&&(SA=!0)}else EA=Et(bA.G[0],bA.H[0],M);if(M.h)break;if(SA||256>EA){if(!SA)if(bA.nd)c[fA]=(bA.qb|EA<<8)>>>0;else{if(eA(M),SA=Et(bA.G[1],bA.H[1],M),eA(M),jA=Et(bA.G[2],bA.H[2],M),KA=Et(bA.G[3],bA.H[3],M),M.h)break;c[fA]=(KA<<24|SA<<16|EA<<8|jA)>>>0}if(SA=!1,++fA,++N>=w&&(N=0,++S,x!=null&&S<=U&&!(S%16)&&x(i,S),AA!=null))for(;hA<fA;)EA=c[hA++],AA.X[(506832829*EA&4294967295)>>>AA.Mb]=EA}else if(280>EA){if(EA=Ar(EA-256,M),jA=Et(bA.G[4],bA.H[4],M),eA(M),jA=vr(w,jA=Ar(jA,M)),M.h)break;if(fA-h<jA||C-fA<EA)break A;for(KA=0;KA<EA;++KA)c[fA+KA]=c[fA+KA-jA];for(fA+=EA,N+=EA;N>=w;)N-=w,++S,x!=null&&S<=U&&!(S%16)&&x(i,S);if(e(fA<=C),N&nA&&(bA=Je(Z,N,S)),AA!=null)for(;hA<fA;)EA=c[hA++],AA.X[(506832829*EA&4294967295)>>>AA.Mb]=EA}else{if(!(EA<LA))break A;for(SA=EA-280,e(AA!=null);hA<fA;)EA=c[hA++],AA.X[(506832829*EA&4294967295)>>>AA.Mb]=EA;EA=fA,e(!(SA>>>(jA=AA).Xa)),c[EA]=jA.X[SA],SA=!0}SA||e(M.h==V(M))}if(i.Pb&&M.h&&fA<C)e(i.m.h),i.a=5,i.m=i.wd,i.$=i.xd,0<i.s.ua&&wA(i.s.vb,i.s.Wa);else{if(M.h)break A;x!=null&&x(i,S>U?U:S),i.a=0,i.$=fA-h}return 1}return i.a=3,0}function mr(i){e(i!=null),i.vc=null,i.yc=null,i.Ya=null;var c=i.Wa;c!=null&&(c.X=null),i.vb=null,e(i!=null)}function Rt(){var i=new fl;return i==null?null:(i.a=0,i.xb=iu,de("Predictor","VP8LPredictors"),de("Predictor","VP8LPredictors_C"),de("PredictorAdd","VP8LPredictorsAdd"),de("PredictorAdd","VP8LPredictorsAdd_C"),cs=XA,xn=WA,It=OA,Ft=_e,$r=mA,_r=DA,Tr=xA,k.VP8LMapColor32b=fa,k.VP8LMapColor8b=fs,i)}function Cr(i,c,h,w,C){var U=1,x=[i],S=[c],N=w.m,M=w.s,Z=null,fA=0;A:for(;;){if(h)for(;U&&rA(N,1);){var hA=x,iA=S,LA=w,vA=1,AA=LA.m,nA=LA.gc[LA.ab],bA=rA(AA,2);if(LA.Oc&1<<bA)U=0;else{switch(LA.Oc|=1<<bA,nA.hc=bA,nA.Ea=hA[0],nA.nc=iA[0],nA.K=[null],++LA.ab,e(4>=LA.ab),bA){case 0:case 1:nA.b=rA(AA,3)+2,vA=Cr(BA(nA.Ea,nA.b),BA(nA.nc,nA.b),0,LA,nA.K),nA.K=nA.K[0];break;case 3:var SA,EA=rA(AA,8)+1,jA=16<EA?0:4<EA?1:2<EA?2:3;if(hA[0]=BA(nA.Ea,jA),nA.b=jA,SA=vA=Cr(EA,1,0,LA,nA.K)){var KA,ZA=EA,RA=nA,me=1<<(8>>RA.b),Fe=a(me);if(Fe==null)SA=0;else{var we=RA.K[0],ge=RA.w;for(Fe[0]=RA.K[0][0],KA=1;KA<1*ZA;++KA)Fe[KA]=sA(we[ge+KA],Fe[KA-1]);for(;KA<4*me;++KA)Fe[KA]=0;RA.K[0]=null,RA.K[0]=Fe,SA=1}}vA=SA;break;case 2:break;default:e(0)}U=vA}}if(x=x[0],S=S[0],U&&rA(N,1)&&!(U=1<=(fA=rA(N,4))&&11>=fA)){w.a=3;break A}var Le;if(Le=U)e:{var Ue,ue,$e,St=w,Ze=x,Nt=S,Qe=fA,Mt=h,Pt=St.m,at=St.s,ut=[null],bt=1,Xt=0,br=Td[Qe];t:for(;;){if(Mt&&rA(Pt,1)){var it=rA(Pt,3)+2,Kr=BA(Ze,it),Dn=BA(Nt,it),Ba=Kr*Dn;if(!Cr(Kr,Dn,0,St,ut))break t;for(ut=ut[0],at.xc=it,Ue=0;Ue<Ba;++Ue){var rn=ut[Ue]>>8&65535;ut[Ue]=rn,rn>=bt&&(bt=rn+1)}}if(Pt.h)break t;for(ue=0;5>ue;++ue){var Pe=nu[ue];!ue&&0<Qe&&(Pe+=1<<Qe),Xt<Pe&&(Xt=Pe)}var yl=s(bt*br,Q),du=bt,gu=s(du,O);if(gu==null)var Qs=null;else e(65536>=du),Qs=gu;var gi=a(Xt);if(Qs==null||gi==null||yl==null){St.a=1;break t}var bs=yl;for(Ue=$e=0;Ue<bt;++Ue){var or=Qs[Ue],wa=or.G,va=or.H,pu=0,Us=1,Bu=0;for(ue=0;5>ue;++ue){Pe=nu[ue],wa[ue]=bs,va[ue]=$e,!ue&&0<Qe&&(Pe+=1<<Qe);n:{var Es,Fl=Pe,Ls=St,pi=gi,ng=bs,ag=$e,Ql=0,nn=Ls.m,ig=rA(nn,1);if(n(pi,0,0,Fl),ig){var sg=rA(nn,1)+1,og=rA(nn,1),wu=rA(nn,og==0?1:8);pi[wu]=1,sg==2&&(pi[wu=rA(nn,8)]=1);var xs=1}else{var vu=a(19),mu=rA(nn,4)+4;if(19<mu){Ls.a=3;var Is=0;break n}for(Es=0;Es<mu;++Es)vu[Hd[Es]]=rA(nn,3);var bl=void 0,Bi=void 0,Cu=Ls,lg=vu,Ss=Fl,yu=pi,Ul=0,an=Cu.m,Fu=8,Qu=s(128,Q);r:for(;I(Qu,0,7,lg,19);){if(rA(an,1)){var cg=2+2*rA(an,3);if((bl=2+rA(an,cg))>Ss)break r}else bl=Ss;for(Bi=0;Bi<Ss&&bl--;){eA(an);var bu=Qu[0+(127&P(an))];J(an,an.u+bu.g);var ma=bu.value;if(16>ma)yu[Bi++]=ma,ma!=0&&(Fu=ma);else{var ug=ma==16,Uu=ma-16,fg=kd[Uu],Eu=rA(an,Nd[Uu])+fg;if(Bi+Eu>Ss)break r;for(var hg=ug?Fu:0;0<Eu--;)yu[Bi++]=hg}}Ul=1;break r}Ul||(Cu.a=3),xs=Ul}(xs=xs&&!nn.h)&&(Ql=I(ng,ag,8,pi,Fl)),xs&&Ql!=0?Is=Ql:(Ls.a=3,Is=0)}if(Is==0)break t;if(Us&&Dd[ue]==1&&(Us=bs[$e].g==0),pu+=bs[$e].g,$e+=Is,3>=ue){var wi,El=gi[0];for(wi=1;wi<Pe;++wi)gi[wi]>El&&(El=gi[wi]);Bu+=El}}if(or.nd=Us,or.Qb=0,Us&&(or.qb=(wa[3][va[3]+0].value<<24|wa[1][va[1]+0].value<<16|wa[2][va[2]+0].value)>>>0,pu==0&&256>wa[0][va[0]+0].value&&(or.Qb=1,or.qb+=wa[0][va[0]+0].value<<8)),or.jc=!or.Qb&&6>Bu,or.jc){var Ns,Rr=or;for(Ns=0;Ns<ct;++Ns){var sn=Ns,on=Rr.pd[sn],ks=Rr.G[0][Rr.H[0]+sn];256<=ks.value?(on.g=ks.g+256,on.value=ks.value):(on.g=0,on.value=0,sn>>=et(ks,8,on),sn>>=et(Rr.G[1][Rr.H[1]+sn],16,on),sn>>=et(Rr.G[2][Rr.H[2]+sn],0,on),et(Rr.G[3][Rr.H[3]+sn],24,on))}}}at.vc=ut,at.Wb=bt,at.Ya=Qs,at.yc=yl,Le=1;break e}Le=0}if(!(U=Le)){w.a=3;break A}if(0<fA){if(M.ua=1<<fA,!YA(M.Wa,fA)){w.a=1,U=0;break A}}else M.ua=0;var Ll=w,Lu=x,dg=S,xl=Ll.s,Il=xl.xc;if(Ll.c=Lu,Ll.i=dg,xl.md=BA(Lu,Il),xl.wc=Il==0?-1:(1<<Il)-1,h){w.xb=jd;break A}if((Z=a(x*S))==null){w.a=1,U=0;break A}U=(U=rr(w,Z,0,x,S,S,null))&&!N.h;break A}return U?(C!=null?C[0]=Z:(e(Z==null),e(h)),w.$=0,h||mr(M)):mr(M),U}function Qn(i,c){var h=i.c*i.i,w=h+c+16*c;return e(i.c<=c),i.V=a(w),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+h+c,1)}function Wn(i,c){var h=i.C,w=c-h,C=i.V,U=i.Ba+i.c*h;for(e(c<=i.l.o);0<w;){var x=16<w?16:w,S=i.l.ma,N=i.l.width,M=N*x,Z=S.ca,fA=S.tb+N*h,hA=i.Ta,iA=i.Ua;Ht(i,x,C,U),Ge(hA,iA,Z,fA,M),er(S,h,h+x,Z,fA,N),w-=x,C+=x*i.c,h+=x}e(h==c),i.C=i.Ma=c}function zn(){this.ub=this.yd=this.td=this.Rb=0}function Xn(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Jn(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Gi(){this.Yb=function(){var i=[];return function c(h,w,C){for(var U=C[w],x=0;x<U&&(h.push(C.length>w+1?[]:0),!(C.length<w+1));x++)c(h[x],w+1,C)}(i,0,[3,11]),i}()}function Vo(){this.jb=a(3),this.Wc=o([4,8],Gi),this.Xc=o([4,17],Gi)}function Go(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Yn(){this.ld=this.La=this.dd=this.tc=0}function ji(){this.Na=this.la=0}function jo(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Va(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function qo(){this.uc=this.M=this.Nb=0,this.wa=Array(new Yn),this.Y=0,this.ya=Array(new Va),this.aa=0,this.l=new $n}function qi(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Wo(){this.cb=this.a=0,this.sc="",this.m=new TA,this.Od=new zn,this.Kc=new Xn,this.ed=new Go,this.Qa=new Jn,this.Ic=this.$c=this.Aa=0,this.D=new qo,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,TA),this.ia=0,this.pb=s(4,jo),this.Pa=new Vo,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new qi),this.Hd=0,this.rb=Array(new ji),this.sb=0,this.wa=Array(new Yn),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Va),this.L=this.aa=0,this.gd=o([4,2],Yn),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function $n(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function zo(){var i=new Wo;return i!=null&&(i.a=0,i.sc="OK",i.cb=0,i.Xb=0,hi||(hi=Xi)),i}function Re(i,c,h){return i.a==0&&(i.a=c,i.sc=h,i.cb=0),0}function Wi(i,c,h){return 3<=h&&i[c+0]==157&&i[c+1]==1&&i[c+2]==42}function zi(i,c){if(i==null)return 0;if(i.a=0,i.sc="OK",c==null)return Re(i,2,"null VP8Io passed to VP8GetHeaders()");var h=c.data,w=c.w,C=c.ha;if(4>C)return Re(i,7,"Truncated header.");var U=h[w+0]|h[w+1]<<8|h[w+2]<<16,x=i.Od;if(x.Rb=!(1&U),x.td=U>>1&7,x.yd=U>>4&1,x.ub=U>>5,3<x.td)return Re(i,3,"Incorrect keyframe parameters.");if(!x.yd)return Re(i,4,"Frame not displayable.");w+=3,C-=3;var S=i.Kc;if(x.Rb){if(7>C)return Re(i,7,"cannot parse picture header");if(!Wi(h,w,C))return Re(i,3,"Bad code word");S.c=16383&(h[w+4]<<8|h[w+3]),S.Td=h[w+4]>>6,S.i=16383&(h[w+6]<<8|h[w+5]),S.Ud=h[w+6]>>6,w+=7,C-=7,i.za=S.c+15>>4,i.Ub=S.i+15>>4,c.width=S.c,c.height=S.i,c.Da=0,c.j=0,c.v=0,c.va=c.width,c.o=c.height,c.da=0,c.ib=c.width,c.hb=c.height,c.U=c.width,c.T=c.height,n((U=i.Pa).jb,0,255,U.jb.length),e((U=i.Qa)!=null),U.Cb=0,U.Bb=0,U.Fb=1,n(U.Zb,0,0,U.Zb.length),n(U.Lb,0,0,U.Lb)}if(x.ub>C)return Re(i,7,"bad partition length");lA(U=i.m,h,w,x.ub),w+=x.ub,C-=x.ub,x.Rb&&(S.Ld=dA(U),S.Kd=dA(U)),S=i.Qa;var N,M=i.Pa;if(e(U!=null),e(S!=null),S.Cb=dA(U),S.Cb){if(S.Bb=dA(U),dA(U)){for(S.Fb=dA(U),N=0;4>N;++N)S.Zb[N]=dA(U)?aA(U,7):0;for(N=0;4>N;++N)S.Lb[N]=dA(U)?aA(U,6):0}if(S.Bb)for(N=0;3>N;++N)M.jb[N]=dA(U)?oA(U,8):255}else S.Bb=0;if(U.Ka)return Re(i,3,"cannot parse segment header");if((S=i.ed).zd=dA(U),S.Tb=oA(U,6),S.wb=oA(U,3),S.Pc=dA(U),S.Pc&&dA(U)){for(M=0;4>M;++M)dA(U)&&(S.vd[M]=aA(U,6));for(M=0;4>M;++M)dA(U)&&(S.od[M]=aA(U,6))}if(i.L=S.Tb==0?0:S.zd?1:2,U.Ka)return Re(i,3,"cannot parse filter header");var Z=C;if(C=N=w,w=N+Z,S=Z,i.Xb=(1<<oA(i.m,2))-1,Z<3*(M=i.Xb))h=7;else{for(N+=3*M,S-=3*M,Z=0;Z<M;++Z){var fA=h[C+0]|h[C+1]<<8|h[C+2]<<16;fA>S&&(fA=S),lA(i.Jc[+Z],h,N,fA),N+=fA,S-=fA,C+=3}lA(i.Jc[+M],h,N,S),h=N<w?0:5}if(h!=0)return Re(i,h,"cannot parse partitions");for(h=oA(N=i.m,7),C=dA(N)?aA(N,4):0,w=dA(N)?aA(N,4):0,S=dA(N)?aA(N,4):0,M=dA(N)?aA(N,4):0,N=dA(N)?aA(N,4):0,Z=i.Qa,fA=0;4>fA;++fA){if(Z.Cb){var hA=Z.Zb[fA];Z.Fb||(hA+=h)}else{if(0<fA){i.pb[fA]=i.pb[0];continue}hA=h}var iA=i.pb[fA];iA.Sc[0]=vl[_t(hA+C,127)],iA.Sc[1]=ml[_t(hA+0,127)],iA.Eb[0]=2*vl[_t(hA+w,127)],iA.Eb[1]=101581*ml[_t(hA+S,127)]>>16,8>iA.Eb[1]&&(iA.Eb[1]=8),iA.Qc[0]=vl[_t(hA+M,117)],iA.Qc[1]=ml[_t(hA+N,127)],iA.lc=hA+N}if(!x.Rb)return Re(i,4,"Not a key frame.");for(dA(U),x=i.Pa,h=0;4>h;++h){for(C=0;8>C;++C)for(w=0;3>w;++w)for(S=0;11>S;++S)M=gA(U,Vd[h][C][w][S])?oA(U,8):Kd[h][C][w][S],x.Wc[h][C].Yb[w][S]=M;for(C=0;17>C;++C)x.Xc[h][C]=x.Wc[h][Gd[C]]}return i.kc=dA(U),i.kc&&(i.Bd=oA(U,8)),i.cb=1}function Xi(i,c,h,w,C,U,x){var S=c[C].Yb[h];for(h=0;16>C;++C){if(!gA(i,S[h+0]))return C;for(;!gA(i,S[h+1]);)if(S=c[++C].Yb[0],h=0,C==16)return 16;var N=c[C+1].Yb;if(gA(i,S[h+2])){var M=i,Z=0;if(gA(M,(hA=S)[(fA=h)+3]))if(gA(M,hA[fA+6])){for(S=0,fA=2*(Z=gA(M,hA[fA+8]))+(hA=gA(M,hA[fA+9+Z])),Z=0,hA=Pd[fA];hA[S];++S)Z+=Z+gA(M,hA[S]);Z+=3+(8<<fA)}else gA(M,hA[fA+7])?(Z=7+2*gA(M,165),Z+=gA(M,145)):Z=5+gA(M,159);else Z=gA(M,hA[fA+4])?3+gA(M,hA[fA+5]):2;S=N[2]}else Z=1,S=N[1];N=x+Od[C],0>(M=i).b&&uA(M);var fA,hA=M.b,iA=(fA=M.Ca>>1)-(M.I>>hA)>>31;--M.b,M.Ca+=iA,M.Ca|=1,M.I-=(fA+1&iA)<<hA,U[N]=((Z^iA)-iA)*w[(0<C)+0]}return 16}function Ga(i){var c=i.rb[i.sb-1];c.la=0,c.Na=0,n(i.zc,0,0,i.zc.length),i.ja=0}function Xo(i,c){if(i==null)return 0;if(c==null)return Re(i,2,"NULL VP8Io parameter in VP8Decode().");if(!i.cb&&!zi(i,c))return 0;if(e(i.cb),c.ac==null||c.ac(c)){c.ob&&(i.L=0);var h=Fs[i.L];if(i.L==2?(i.yb=0,i.zb=0):(i.yb=c.v-h>>4,i.zb=c.j-h>>4,0>i.yb&&(i.yb=0),0>i.zb&&(i.zb=0)),i.Va=c.o+15+h>>4,i.Hb=c.va+15+h>>4,i.Hb>i.za&&(i.Hb=i.za),i.Va>i.Ub&&(i.Va=i.Ub),0<i.L){var w=i.ed;for(h=0;4>h;++h){var C;if(i.Qa.Cb){var U=i.Qa.Lb[h];i.Qa.Fb||(U+=w.Tb)}else U=w.Tb;for(C=0;1>=C;++C){var x=i.gd[h][C],S=U;if(w.Pc&&(S+=w.vd[0],C&&(S+=w.od[0])),0<(S=0>S?0:63<S?63:S)){var N=S;0<w.wb&&(N=4<w.wb?N>>2:N>>1)>9-w.wb&&(N=9-w.wb),1>N&&(N=1),x.dd=N,x.tc=2*S+N,x.ld=40<=S?2:15<=S?1:0}else x.tc=0;x.La=C}}}h=0}else Re(i,6,"Frame setup failed"),h=i.a;if(h=h==0){if(h){i.$c=0,0<i.Aa||(i.Ic=rg);A:{h=i.Ic,w=4*(N=i.za);var M=32*N,Z=N+1,fA=0<i.L?N*(0<i.Aa?2:1):0,hA=(i.Aa==2?2:1)*N;if((x=w+832+(C=3*(16*h+Fs[i.L])/2*M)+(U=i.Fa!=null&&0<i.Fa.length?i.Kc.c*i.Kc.i:0))!=x)h=0;else{if(x>i.Vb){if(i.Vb=0,i.Ec=a(x),i.Fc=0,i.Ec==null){h=Re(i,1,"no memory during frame initialization.");break A}i.Vb=x}x=i.Ec,S=i.Fc,i.Ac=x,i.Bc=S,S+=w,i.Gd=s(M,qi),i.Hd=0,i.rb=s(Z+1,ji),i.sb=1,i.wa=fA?s(fA,Yn):null,i.Y=0,i.D.Nb=0,i.D.wa=i.wa,i.D.Y=i.Y,0<i.Aa&&(i.D.Y+=N),e(!0),i.oc=x,i.pc=S,S+=832,i.ya=s(hA,Va),i.aa=0,i.D.ya=i.ya,i.D.aa=i.aa,i.Aa==2&&(i.D.aa+=N),i.R=16*N,i.B=8*N,N=(M=Fs[i.L])*i.R,M=M/2*i.B,i.sa=x,i.ta=S+N,i.qa=i.sa,i.ra=i.ta+16*h*i.R+M,i.Ha=i.qa,i.Ia=i.ra+8*h*i.B+M,i.$c=0,S+=C,i.mb=U?x:null,i.nb=U?S:null,e(S+U<=i.Fc+i.Vb),Ga(i),n(i.Ac,i.Bc,0,w),h=1}}if(h){if(c.ka=0,c.y=i.sa,c.O=i.ta,c.f=i.qa,c.N=i.ra,c.ea=i.Ha,c.Vd=i.Ia,c.fa=i.R,c.Rc=i.B,c.F=null,c.J=0,!ds){for(h=-255;255>=h;++h)tt[255+h]=0>h?-h:h;for(h=-1020;1020>=h;++h)Pr[1020+h]=-128>h?-128:127<h?127:h;for(h=-112;112>=h;++h)fi[112+h]=-16>h?-16:15<h?15:h;for(h=-255;510>=h;++h)pa[255+h]=0>h?0:255<h?255:h;ds=1}ha=$o,Mr=Jo,li=Yi,Qt=Yo,Gt=$i,Ve=Ji,da=Ja,hs=En,ci=ul,In=Ya,Sn=cl,Zr=na,Nn=$a,ga=ss,kn=is,An=Fr,ui=Hr,jt=ll,sr[0]=yr,sr[1]=Zo,sr[2]=rl,sr[3]=nl,sr[4]=es,sr[5]=ta,sr[6]=ts,sr[7]=Wa,sr[8]=il,sr[9]=al,en[0]=Zi,en[1]=el,en[2]=Dr,en[3]=Aa,en[4]=dt,en[5]=tl,en[6]=As,Or[0]=zr,Or[1]=Al,Or[2]=sl,Or[3]=za,Or[4]=Un,Or[5]=ol,Or[6]=Xa,h=1}else h=0}h&&(h=function(iA,LA){for(iA.M=0;iA.M<iA.Va;++iA.M){var vA,AA=iA.Jc[iA.M&iA.Xb],nA=iA.m,bA=iA;for(vA=0;vA<bA.za;++vA){var SA=nA,EA=bA,jA=EA.Ac,KA=EA.Bc+4*vA,ZA=EA.zc,RA=EA.ya[EA.aa+vA];if(EA.Qa.Bb?RA.$b=gA(SA,EA.Pa.jb[0])?2+gA(SA,EA.Pa.jb[2]):gA(SA,EA.Pa.jb[1]):RA.$b=0,EA.kc&&(RA.Ad=gA(SA,EA.Bd)),RA.Za=!gA(SA,145)+0,RA.Za){var me=RA.Ob,Fe=0;for(EA=0;4>EA;++EA){var we,ge=ZA[0+EA];for(we=0;4>we;++we){ge=Rd[jA[KA+we]][ge];for(var Le=au[gA(SA,ge[0])];0<Le;)Le=au[2*Le+gA(SA,ge[Le])];ge=-Le,jA[KA+we]=ge}r(me,Fe,jA,KA,4),Fe+=4,ZA[0+EA]=ge}}else ge=gA(SA,156)?gA(SA,128)?1:3:gA(SA,163)?2:0,RA.Ob[0]=ge,n(jA,KA,ge,4),n(ZA,0,ge,4);RA.Dd=gA(SA,142)?gA(SA,114)?gA(SA,183)?1:3:2:0}if(bA.m.Ka)return Re(iA,7,"Premature end-of-partition0 encountered.");for(;iA.ja<iA.za;++iA.ja){if(bA=AA,SA=(nA=iA).rb[nA.sb-1],jA=nA.rb[nA.sb+nA.ja],vA=nA.ya[nA.aa+nA.ja],KA=nA.kc?vA.Ad:0)SA.la=jA.la=0,vA.Za||(SA.Na=jA.Na=0),vA.Hc=0,vA.Gc=0,vA.ia=0;else{var Ue,ue;if(SA=jA,jA=bA,KA=nA.Pa.Xc,ZA=nA.ya[nA.aa+nA.ja],RA=nA.pb[ZA.$b],EA=ZA.ad,me=0,Fe=nA.rb[nA.sb-1],ge=we=0,n(EA,me,0,384),ZA.Za)var $e=0,St=KA[3];else{Le=a(16);var Ze=SA.Na+Fe.Na;if(Ze=hi(jA,KA[1],Ze,RA.Eb,0,Le,0),SA.Na=Fe.Na=(0<Ze)+0,1<Ze)ha(Le,0,EA,me);else{var Nt=Le[0]+3>>3;for(Le=0;256>Le;Le+=16)EA[me+Le]=Nt}$e=1,St=KA[0]}var Qe=15&SA.la,Mt=15&Fe.la;for(Le=0;4>Le;++Le){var Pt=1&Mt;for(Nt=ue=0;4>Nt;++Nt)Qe=Qe>>1|(Pt=(Ze=hi(jA,St,Ze=Pt+(1&Qe),RA.Sc,$e,EA,me))>$e)<<7,ue=ue<<2|(3<Ze?3:1<Ze?2:EA[me+0]!=0),me+=16;Qe>>=4,Mt=Mt>>1|Pt<<7,we=(we<<8|ue)>>>0}for(St=Qe,$e=Mt>>4,Ue=0;4>Ue;Ue+=2){for(ue=0,Qe=SA.la>>4+Ue,Mt=Fe.la>>4+Ue,Le=0;2>Le;++Le){for(Pt=1&Mt,Nt=0;2>Nt;++Nt)Ze=Pt+(1&Qe),Qe=Qe>>1|(Pt=0<(Ze=hi(jA,KA[2],Ze,RA.Qc,0,EA,me)))<<3,ue=ue<<2|(3<Ze?3:1<Ze?2:EA[me+0]!=0),me+=16;Qe>>=2,Mt=Mt>>1|Pt<<5}ge|=ue<<4*Ue,St|=Qe<<4<<Ue,$e|=(240&Mt)<<Ue}SA.la=St,Fe.la=$e,ZA.Hc=we,ZA.Gc=ge,ZA.ia=43690&ge?0:RA.ia,KA=!(we|ge)}if(0<nA.L&&(nA.wa[nA.Y+nA.ja]=nA.gd[vA.$b][vA.Za],nA.wa[nA.Y+nA.ja].La|=!KA),bA.Ka)return Re(iA,7,"Premature end-of-file encountered.")}if(Ga(iA),nA=LA,bA=1,vA=(AA=iA).D,SA=0<AA.L&&AA.M>=AA.zb&&AA.M<=AA.Va,AA.Aa==0)A:{if(vA.M=AA.M,vA.uc=SA,ni(AA,vA),bA=1,vA=(ue=AA.D).Nb,SA=(ge=Fs[AA.L])*AA.R,jA=ge/2*AA.B,Le=16*vA*AA.R,Nt=8*vA*AA.B,KA=AA.sa,ZA=AA.ta-SA+Le,RA=AA.qa,EA=AA.ra-jA+Nt,me=AA.Ha,Fe=AA.Ia-jA+Nt,Mt=(Qe=ue.M)==0,we=Qe>=AA.Va-1,AA.Aa==2&&ni(AA,ue),ue.uc)for(Pt=(Ze=AA).D.M,e(Ze.D.uc),ue=Ze.yb;ue<Ze.Hb;++ue){$e=ue,St=Pt;var at=(ut=(Pe=Ze).D).Nb;Ue=Pe.R;var ut=ut.wa[ut.Y+$e],bt=Pe.sa,Xt=Pe.ta+16*at*Ue+16*$e,br=ut.dd,it=ut.tc;if(it!=0)if(e(3<=it),Pe.L==1)0<$e&&An(bt,Xt,Ue,it+4),ut.La&&jt(bt,Xt,Ue,it),0<St&&kn(bt,Xt,Ue,it+4),ut.La&&ui(bt,Xt,Ue,it);else{var Kr=Pe.B,Dn=Pe.qa,Ba=Pe.ra+8*at*Kr+8*$e,rn=Pe.Ha,Pe=Pe.Ia+8*at*Kr+8*$e;at=ut.ld,0<$e&&(hs(bt,Xt,Ue,it+4,br,at),In(Dn,Ba,rn,Pe,Kr,it+4,br,at)),ut.La&&(Zr(bt,Xt,Ue,it,br,at),ga(Dn,Ba,rn,Pe,Kr,it,br,at)),0<St&&(da(bt,Xt,Ue,it+4,br,at),ci(Dn,Ba,rn,Pe,Kr,it+4,br,at)),ut.La&&(Sn(bt,Xt,Ue,it,br,at),Nn(Dn,Ba,rn,Pe,Kr,it,br,at))}}if(AA.ia&&alert("todo:DitherRow"),nA.put!=null){if(ue=16*Qe,Qe=16*(Qe+1),Mt?(nA.y=AA.sa,nA.O=AA.ta+Le,nA.f=AA.qa,nA.N=AA.ra+Nt,nA.ea=AA.Ha,nA.W=AA.Ia+Nt):(ue-=ge,nA.y=KA,nA.O=ZA,nA.f=RA,nA.N=EA,nA.ea=me,nA.W=Fe),we||(Qe-=ge),Qe>nA.o&&(Qe=nA.o),nA.F=null,nA.J=null,AA.Fa!=null&&0<AA.Fa.length&&ue<Qe&&(nA.J=ti(AA,nA,ue,Qe-ue),nA.F=AA.mb,nA.F==null&&nA.F.length==0)){bA=Re(AA,3,"Could not decode alpha data.");break A}ue<nA.j&&(ge=nA.j-ue,ue=nA.j,e(!(1&ge)),nA.O+=AA.R*ge,nA.N+=AA.B*(ge>>1),nA.W+=AA.B*(ge>>1),nA.F!=null&&(nA.J+=nA.width*ge)),ue<Qe&&(nA.O+=nA.v,nA.N+=nA.v>>1,nA.W+=nA.v>>1,nA.F!=null&&(nA.J+=nA.v),nA.ka=ue-nA.j,nA.U=nA.va-nA.v,nA.T=Qe-ue,bA=nA.put(nA))}vA+1!=AA.Ic||we||(r(AA.sa,AA.ta-SA,KA,ZA+16*AA.R,SA),r(AA.qa,AA.ra-jA,RA,EA+8*AA.B,jA),r(AA.Ha,AA.Ia-jA,me,Fe+8*AA.B,jA))}if(!bA)return Re(iA,6,"Output aborted.")}return 1}(i,c)),c.bc!=null&&c.bc(c),h&=1}return h?(i.cb=0,h):0}function nr(i,c,h,w,C){C=i[c+h+32*w]+(C>>3),i[c+h+32*w]=-256&C?0>C?0:255:C}function Zn(i,c,h,w,C,U){nr(i,c,0,h,w+C),nr(i,c,1,h,w+U),nr(i,c,2,h,w-U),nr(i,c,3,h,w-C)}function Lt(i){return(20091*i>>16)+i}function ja(i,c,h,w){var C,U=0,x=a(16);for(C=0;4>C;++C){var S=i[c+0]+i[c+8],N=i[c+0]-i[c+8],M=(35468*i[c+4]>>16)-Lt(i[c+12]),Z=Lt(i[c+4])+(35468*i[c+12]>>16);x[U+0]=S+Z,x[U+1]=N+M,x[U+2]=N-M,x[U+3]=S-Z,U+=4,c++}for(C=U=0;4>C;++C)S=(i=x[U+0]+4)+x[U+8],N=i-x[U+8],M=(35468*x[U+4]>>16)-Lt(x[U+12]),nr(h,w,0,0,S+(Z=Lt(x[U+4])+(35468*x[U+12]>>16))),nr(h,w,1,0,N+M),nr(h,w,2,0,N-M),nr(h,w,3,0,S-Z),U++,w+=32}function Ji(i,c,h,w){var C=i[c+0]+4,U=35468*i[c+4]>>16,x=Lt(i[c+4]),S=35468*i[c+1]>>16;Zn(h,w,0,C+x,i=Lt(i[c+1]),S),Zn(h,w,1,C+U,i,S),Zn(h,w,2,C-U,i,S),Zn(h,w,3,C-x,i,S)}function Jo(i,c,h,w,C){ja(i,c,h,w),C&&ja(i,c+16,h,w+4)}function Yi(i,c,h,w){Mr(i,c+0,h,w,1),Mr(i,c+32,h,w+128,1)}function Yo(i,c,h,w){var C;for(i=i[c+0]+4,C=0;4>C;++C)for(c=0;4>c;++c)nr(h,w,c,C,i)}function $i(i,c,h,w){i[c+0]&&Qt(i,c+0,h,w),i[c+16]&&Qt(i,c+16,h,w+4),i[c+32]&&Qt(i,c+32,h,w+128),i[c+48]&&Qt(i,c+48,h,w+128+4)}function $o(i,c,h,w){var C,U=a(16);for(C=0;4>C;++C){var x=i[c+0+C]+i[c+12+C],S=i[c+4+C]+i[c+8+C],N=i[c+4+C]-i[c+8+C],M=i[c+0+C]-i[c+12+C];U[0+C]=x+S,U[8+C]=x-S,U[4+C]=M+N,U[12+C]=M-N}for(C=0;4>C;++C)x=(i=U[0+4*C]+3)+U[3+4*C],S=U[1+4*C]+U[2+4*C],N=U[1+4*C]-U[2+4*C],M=i-U[3+4*C],h[w+0]=x+S>>3,h[w+16]=M+N>>3,h[w+32]=x-S>>3,h[w+48]=M-N>>3,w+=64}function qa(i,c,h){var w,C=c-32,U=Tt,x=255-i[C-1];for(w=0;w<h;++w){var S,N=U,M=x+i[c-1];for(S=0;S<h;++S)i[c+S]=N[M+i[C+S]];c+=32}}function Zo(i,c){qa(i,c,4)}function Al(i,c){qa(i,c,8)}function el(i,c){qa(i,c,16)}function Dr(i,c){var h;for(h=0;16>h;++h)r(i,c+32*h,i,c-32,16)}function Aa(i,c){var h;for(h=16;0<h;--h)n(i,c,i[c-1],16),c+=32}function ea(i,c,h){var w;for(w=0;16>w;++w)n(c,h+32*w,i,16)}function Zi(i,c){var h,w=16;for(h=0;16>h;++h)w+=i[c-1+32*h]+i[c+h-32];ea(w>>5,i,c)}function dt(i,c){var h,w=8;for(h=0;16>h;++h)w+=i[c-1+32*h];ea(w>>4,i,c)}function tl(i,c){var h,w=8;for(h=0;16>h;++h)w+=i[c+h-32];ea(w>>4,i,c)}function As(i,c){ea(128,i,c)}function se(i,c,h){return i+2*c+h+2>>2}function rl(i,c){var h,w=c-32;for(w=new Uint8Array([se(i[w-1],i[w+0],i[w+1]),se(i[w+0],i[w+1],i[w+2]),se(i[w+1],i[w+2],i[w+3]),se(i[w+2],i[w+3],i[w+4])]),h=0;4>h;++h)r(i,c+32*h,w,0,w.length)}function nl(i,c){var h=i[c-1],w=i[c-1+32],C=i[c-1+64],U=i[c-1+96];HA(i,c+0,16843009*se(i[c-1-32],h,w)),HA(i,c+32,16843009*se(h,w,C)),HA(i,c+64,16843009*se(w,C,U)),HA(i,c+96,16843009*se(C,U,U))}function yr(i,c){var h,w=4;for(h=0;4>h;++h)w+=i[c+h-32]+i[c-1+32*h];for(w>>=3,h=0;4>h;++h)n(i,c+32*h,w,4)}function es(i,c){var h=i[c-1+0],w=i[c-1+32],C=i[c-1+64],U=i[c-1-32],x=i[c+0-32],S=i[c+1-32],N=i[c+2-32],M=i[c+3-32];i[c+0+96]=se(w,C,i[c-1+96]),i[c+1+96]=i[c+0+64]=se(h,w,C),i[c+2+96]=i[c+1+64]=i[c+0+32]=se(U,h,w),i[c+3+96]=i[c+2+64]=i[c+1+32]=i[c+0+0]=se(x,U,h),i[c+3+64]=i[c+2+32]=i[c+1+0]=se(S,x,U),i[c+3+32]=i[c+2+0]=se(N,S,x),i[c+3+0]=se(M,N,S)}function ts(i,c){var h=i[c+1-32],w=i[c+2-32],C=i[c+3-32],U=i[c+4-32],x=i[c+5-32],S=i[c+6-32],N=i[c+7-32];i[c+0+0]=se(i[c+0-32],h,w),i[c+1+0]=i[c+0+32]=se(h,w,C),i[c+2+0]=i[c+1+32]=i[c+0+64]=se(w,C,U),i[c+3+0]=i[c+2+32]=i[c+1+64]=i[c+0+96]=se(C,U,x),i[c+3+32]=i[c+2+64]=i[c+1+96]=se(U,x,S),i[c+3+64]=i[c+2+96]=se(x,S,N),i[c+3+96]=se(S,N,N)}function ta(i,c){var h=i[c-1+0],w=i[c-1+32],C=i[c-1+64],U=i[c-1-32],x=i[c+0-32],S=i[c+1-32],N=i[c+2-32],M=i[c+3-32];i[c+0+0]=i[c+1+64]=U+x+1>>1,i[c+1+0]=i[c+2+64]=x+S+1>>1,i[c+2+0]=i[c+3+64]=S+N+1>>1,i[c+3+0]=N+M+1>>1,i[c+0+96]=se(C,w,h),i[c+0+64]=se(w,h,U),i[c+0+32]=i[c+1+96]=se(h,U,x),i[c+1+32]=i[c+2+96]=se(U,x,S),i[c+2+32]=i[c+3+96]=se(x,S,N),i[c+3+32]=se(S,N,M)}function Wa(i,c){var h=i[c+0-32],w=i[c+1-32],C=i[c+2-32],U=i[c+3-32],x=i[c+4-32],S=i[c+5-32],N=i[c+6-32],M=i[c+7-32];i[c+0+0]=h+w+1>>1,i[c+1+0]=i[c+0+64]=w+C+1>>1,i[c+2+0]=i[c+1+64]=C+U+1>>1,i[c+3+0]=i[c+2+64]=U+x+1>>1,i[c+0+32]=se(h,w,C),i[c+1+32]=i[c+0+96]=se(w,C,U),i[c+2+32]=i[c+1+96]=se(C,U,x),i[c+3+32]=i[c+2+96]=se(U,x,S),i[c+3+64]=se(x,S,N),i[c+3+96]=se(S,N,M)}function al(i,c){var h=i[c-1+0],w=i[c-1+32],C=i[c-1+64],U=i[c-1+96];i[c+0+0]=h+w+1>>1,i[c+2+0]=i[c+0+32]=w+C+1>>1,i[c+2+32]=i[c+0+64]=C+U+1>>1,i[c+1+0]=se(h,w,C),i[c+3+0]=i[c+1+32]=se(w,C,U),i[c+3+32]=i[c+1+64]=se(C,U,U),i[c+3+64]=i[c+2+64]=i[c+0+96]=i[c+1+96]=i[c+2+96]=i[c+3+96]=U}function il(i,c){var h=i[c-1+0],w=i[c-1+32],C=i[c-1+64],U=i[c-1+96],x=i[c-1-32],S=i[c+0-32],N=i[c+1-32],M=i[c+2-32];i[c+0+0]=i[c+2+32]=h+x+1>>1,i[c+0+32]=i[c+2+64]=w+h+1>>1,i[c+0+64]=i[c+2+96]=C+w+1>>1,i[c+0+96]=U+C+1>>1,i[c+3+0]=se(S,N,M),i[c+2+0]=se(x,S,N),i[c+1+0]=i[c+3+32]=se(h,x,S),i[c+1+32]=i[c+3+64]=se(w,h,x),i[c+1+64]=i[c+3+96]=se(C,w,h),i[c+1+96]=se(U,C,w)}function sl(i,c){var h;for(h=0;8>h;++h)r(i,c+32*h,i,c-32,8)}function za(i,c){var h;for(h=0;8>h;++h)n(i,c,i[c-1],8),c+=32}function bn(i,c,h){var w;for(w=0;8>w;++w)n(c,h+32*w,i,8)}function zr(i,c){var h,w=8;for(h=0;8>h;++h)w+=i[c+h-32]+i[c-1+32*h];bn(w>>4,i,c)}function ol(i,c){var h,w=4;for(h=0;8>h;++h)w+=i[c+h-32];bn(w>>3,i,c)}function Un(i,c){var h,w=4;for(h=0;8>h;++h)w+=i[c-1+32*h];bn(w>>3,i,c)}function Xa(i,c){bn(128,i,c)}function ra(i,c,h){var w=i[c-h],C=i[c+0],U=3*(C-w)+dl[1020+i[c-2*h]-i[c+h]],x=gs[112+(U+4>>3)];i[c-h]=Tt[255+w+gs[112+(U+3>>3)]],i[c+0]=Tt[255+C-x]}function rs(i,c,h,w){var C=i[c+0],U=i[c+h];return Wt[255+i[c-2*h]-i[c-h]]>w||Wt[255+U-C]>w}function ns(i,c,h,w){return 4*Wt[255+i[c-h]-i[c+0]]+Wt[255+i[c-2*h]-i[c+h]]<=w}function as(i,c,h,w,C){var U=i[c-3*h],x=i[c-2*h],S=i[c-h],N=i[c+0],M=i[c+h],Z=i[c+2*h],fA=i[c+3*h];return 4*Wt[255+S-N]+Wt[255+x-M]>w?0:Wt[255+i[c-4*h]-U]<=C&&Wt[255+U-x]<=C&&Wt[255+x-S]<=C&&Wt[255+fA-Z]<=C&&Wt[255+Z-M]<=C&&Wt[255+M-N]<=C}function is(i,c,h,w){var C=2*w+1;for(w=0;16>w;++w)ns(i,c+w,h,C)&&ra(i,c+w,h)}function Fr(i,c,h,w){var C=2*w+1;for(w=0;16>w;++w)ns(i,c+w*h,1,C)&&ra(i,c+w*h,1)}function Hr(i,c,h,w){var C;for(C=3;0<C;--C)is(i,c+=4*h,h,w)}function ll(i,c,h,w){var C;for(C=3;0<C;--C)Fr(i,c+=4,h,w)}function Xr(i,c,h,w,C,U,x,S){for(U=2*U+1;0<C--;){if(as(i,c,h,U,x))if(rs(i,c,h,S))ra(i,c,h);else{var N=i,M=c,Z=h,fA=N[M-2*Z],hA=N[M-Z],iA=N[M+0],LA=N[M+Z],vA=N[M+2*Z],AA=27*(bA=dl[1020+3*(iA-hA)+dl[1020+fA-LA]])+63>>7,nA=18*bA+63>>7,bA=9*bA+63>>7;N[M-3*Z]=Tt[255+N[M-3*Z]+bA],N[M-2*Z]=Tt[255+fA+nA],N[M-Z]=Tt[255+hA+AA],N[M+0]=Tt[255+iA-AA],N[M+Z]=Tt[255+LA-nA],N[M+2*Z]=Tt[255+vA-bA]}c+=w}}function ar(i,c,h,w,C,U,x,S){for(U=2*U+1;0<C--;){if(as(i,c,h,U,x))if(rs(i,c,h,S))ra(i,c,h);else{var N=i,M=c,Z=h,fA=N[M-Z],hA=N[M+0],iA=N[M+Z],LA=gs[112+((vA=3*(hA-fA))+4>>3)],vA=gs[112+(vA+3>>3)],AA=LA+1>>1;N[M-2*Z]=Tt[255+N[M-2*Z]+AA],N[M-Z]=Tt[255+fA+vA],N[M+0]=Tt[255+hA-LA],N[M+Z]=Tt[255+iA-AA]}c+=w}}function Ja(i,c,h,w,C,U){Xr(i,c,h,1,16,w,C,U)}function En(i,c,h,w,C,U){Xr(i,c,1,h,16,w,C,U)}function cl(i,c,h,w,C,U){var x;for(x=3;0<x;--x)ar(i,c+=4*h,h,1,16,w,C,U)}function na(i,c,h,w,C,U){var x;for(x=3;0<x;--x)ar(i,c+=4,1,h,16,w,C,U)}function ul(i,c,h,w,C,U,x,S){Xr(i,c,C,1,8,U,x,S),Xr(h,w,C,1,8,U,x,S)}function Ya(i,c,h,w,C,U,x,S){Xr(i,c,1,C,8,U,x,S),Xr(h,w,1,C,8,U,x,S)}function $a(i,c,h,w,C,U,x,S){ar(i,c+4*C,C,1,8,U,x,S),ar(h,w+4*C,C,1,8,U,x,S)}function ss(i,c,h,w,C,U,x,S){ar(i,c+4,1,C,8,U,x,S),ar(h,w+4,1,C,8,U,x,S)}function aa(){this.ba=new ke,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new he,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Za(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Ai(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function os(){this.ua=0,this.Wa=new D,this.vb=new D,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new O,this.yc=new Q}function fl(){this.xb=this.a=0,this.l=new $n,this.ca=new ke,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new L,this.Pb=0,this.wd=new L,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new os,this.ab=0,this.gc=s(4,Ai),this.Oc=0}function ia(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new $n,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ln(i,c,h,w,C,U,x){for(i=i==null?0:i[c+0],c=0;c<x;++c)C[U+c]=i+h[w+c]&255,i=C[U+c]}function ei(i,c,h,w,C,U,x){var S;if(i==null)Ln(null,null,h,w,C,U,x);else for(S=0;S<x;++S)C[U+S]=i[c+S]+h[w+S]&255}function Jr(i,c,h,w,C,U,x){if(i==null)Ln(null,null,h,w,C,U,x);else{var S,N=i[c+0],M=N,Z=N;for(S=0;S<x;++S)M=Z+(N=i[c+S])-M,Z=h[w+S]+(-256&M?0>M?0:255:M)&255,M=N,C[U+S]=Z}}function ti(i,c,h,w){var C=c.width,U=c.o;if(e(i!=null&&c!=null),0>h||0>=w||h+w>U)return null;if(!i.Cc){if(i.ga==null){var x;if(i.ga=new ia,(x=i.ga==null)||(x=c.width*c.o,e(i.Gb.length==0),i.Gb=a(x),i.Uc=0,i.Gb==null?x=0:(i.mb=i.Gb,i.nb=i.Uc,i.rc=null,x=1),x=!x),!x){x=i.ga;var S=i.Fa,N=i.P,M=i.qc,Z=i.mb,fA=i.nb,hA=N+1,iA=M-1,LA=x.l;if(e(S!=null&&Z!=null&&c!=null),tn[0]=null,tn[1]=Ln,tn[2]=ei,tn[3]=Jr,x.ca=Z,x.tb=fA,x.c=c.width,x.i=c.height,e(0<x.c&&0<x.i),1>=M)c=0;else if(x.$a=S[N+0]>>0&3,x.Z=S[N+0]>>2&3,x.Lc=S[N+0]>>4&3,N=S[N+0]>>6&3,0>x.$a||1<x.$a||4<=x.Z||1<x.Lc||N)c=0;else if(LA.put=Br,LA.ac=lt,LA.bc=wr,LA.ma=x,LA.width=c.width,LA.height=c.height,LA.Da=c.Da,LA.v=c.v,LA.va=c.va,LA.j=c.j,LA.o=c.o,x.$a)A:{e(x.$a==1),c=Rt();e:for(;;){if(c==null){c=0;break A}if(e(x!=null),x.mc=c,c.c=x.c,c.i=x.i,c.l=x.l,c.l.ma=x,c.l.width=x.c,c.l.height=x.i,c.a=0,_(c.m,S,hA,iA),!Cr(x.c,x.i,1,c,null)||(c.ab==1&&c.gc[0].hc==3&&kr(c.s)?(x.ic=1,S=c.c*c.i,c.Ta=null,c.Ua=0,c.V=a(S),c.Ba=0,c.V==null?(c.a=1,c=0):c=1):(x.ic=0,c=Qn(c,x.c)),!c))break e;c=1;break A}x.mc=null,c=0}else c=iA>=x.c*x.i;x=!c}if(x)return null;i.ga.Lc!=1?i.Ga=0:w=U-h}e(i.ga!=null),e(h+w<=U);A:{if(c=(S=i.ga).c,U=S.l.o,S.$a==0){if(hA=i.rc,iA=i.Vc,LA=i.Fa,N=i.P+1+h*c,M=i.mb,Z=i.nb+h*c,e(N<=i.P+i.qc),S.Z!=0)for(e(tn[S.Z]!=null),x=0;x<w;++x)tn[S.Z](hA,iA,LA,N,M,Z,c),hA=M,iA=Z,Z+=c,N+=c;else for(x=0;x<w;++x)r(M,Z,LA,N,c),hA=M,iA=Z,Z+=c,N+=c;i.rc=hA,i.Vc=iA}else{if(e(S.mc!=null),c=h+w,e((x=S.mc)!=null),e(c<=x.i),x.C>=c)c=1;else if(S.ic||cA(),S.ic){S=x.V,hA=x.Ba,iA=x.c;var vA=x.i,AA=(LA=1,N=x.$/iA,M=x.$%iA,Z=x.m,fA=x.s,x.$),nA=iA*vA,bA=iA*c,SA=fA.wc,EA=AA<bA?Je(fA,M,N):null;e(AA<=nA),e(c<=vA),e(kr(fA));e:for(;;){for(;!Z.h&&AA<bA;){if(M&SA||(EA=Je(fA,M,N)),e(EA!=null),eA(Z),256>(vA=Et(EA.G[0],EA.H[0],Z)))S[hA+AA]=vA,++AA,++M>=iA&&(M=0,++N<=c&&!(N%16)&&tr(x,N));else{if(!(280>vA)){LA=0;break e}vA=Ar(vA-256,Z);var jA,KA=Et(EA.G[4],EA.H[4],Z);if(eA(Z),!(AA>=(KA=vr(iA,KA=Ar(KA,Z)))&&nA-AA>=vA)){LA=0;break e}for(jA=0;jA<vA;++jA)S[hA+AA+jA]=S[hA+AA+jA-KA];for(AA+=vA,M+=vA;M>=iA;)M-=iA,++N<=c&&!(N%16)&&tr(x,N);AA<bA&&M&SA&&(EA=Je(fA,M,N))}e(Z.h==V(Z))}tr(x,N>c?c:N);break e}!LA||Z.h&&AA<nA?(LA=0,x.a=Z.h?5:3):x.$=AA,c=LA}else c=rr(x,x.V,x.Ba,x.c,x.i,c,Wn);if(!c){w=0;break A}}h+w>=U&&(i.Cc=1),w=1}if(!w)return null;if(i.Cc&&((w=i.ga)!=null&&(w.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+h*C}function f(i,c,h,w,C,U){for(;0<C--;){var x,S=i,N=c+(h?1:0),M=i,Z=c+(h?0:3);for(x=0;x<w;++x){var fA=M[Z+4*x];fA!=255&&(fA*=32897,S[N+4*x+0]=S[N+4*x+0]*fA>>23,S[N+4*x+1]=S[N+4*x+1]*fA>>23,S[N+4*x+2]=S[N+4*x+2]*fA>>23)}c+=U}}function y(i,c,h,w,C){for(;0<w--;){var U;for(U=0;U<h;++U){var x=i[c+2*U+0],S=15&(M=i[c+2*U+1]),N=4369*S,M=(240&M|M>>4)*N>>16;i[c+2*U+0]=(240&x|x>>4)*N>>16&240|(15&x|x<<4)*N>>16>>4&15,i[c+2*U+1]=240&M|S}c+=C}}function K(i,c,h,w,C,U,x,S){var N,M,Z=255;for(M=0;M<C;++M){for(N=0;N<w;++N){var fA=i[c+N];U[x+4*N]=fA,Z&=fA}c+=h,x+=S}return Z!=255}function Y(i,c,h,w,C){var U;for(U=0;U<C;++U)h[w+U]=i[c+U]>>8}function cA(){qt=f,Ie=y,Se=K,Ge=Y}function CA(i,c,h){k[i]=function(w,C,U,x,S,N,M,Z,fA,hA,iA,LA,vA,AA,nA,bA,SA){var EA,jA=SA-1>>1,KA=S[N+0]|M[Z+0]<<16,ZA=fA[hA+0]|iA[LA+0]<<16;e(w!=null);var RA=3*KA+ZA+131074>>2;for(c(w[C+0],255&RA,RA>>16,vA,AA),U!=null&&(RA=3*ZA+KA+131074>>2,c(U[x+0],255&RA,RA>>16,nA,bA)),EA=1;EA<=jA;++EA){var me=S[N+EA]|M[Z+EA]<<16,Fe=fA[hA+EA]|iA[LA+EA]<<16,we=KA+me+ZA+Fe+524296,ge=we+2*(me+ZA)>>3;RA=ge+KA>>1,KA=(we=we+2*(KA+Fe)>>3)+me>>1,c(w[C+2*EA-1],255&RA,RA>>16,vA,AA+(2*EA-1)*h),c(w[C+2*EA-0],255&KA,KA>>16,vA,AA+(2*EA-0)*h),U!=null&&(RA=we+ZA>>1,KA=ge+Fe>>1,c(U[x+2*EA-1],255&RA,RA>>16,nA,bA+(2*EA-1)*h),c(U[x+2*EA+0],255&KA,KA>>16,nA,bA+(2*EA+0)*h)),KA=me,ZA=Fe}1&SA||(RA=3*KA+ZA+131074>>2,c(w[C+SA-1],255&RA,RA>>16,vA,AA+(SA-1)*h),U!=null&&(RA=3*ZA+KA+131074>>2,c(U[x+SA-1],255&RA,RA>>16,nA,bA+(SA-1)*h)))}}function kA(){zt[ps]=qd,zt[Bs]=su,zt[tu]=Wd,zt[ws]=ou,zt[vs]=lu,zt[gl]=cu,zt[ru]=zd,zt[pl]=su,zt[Bl]=ou,zt[ms]=lu,zt[wl]=cu}function GA(i){return i&-16384?0>i?0:255:i>>Xd}function $A(i,c){return GA((19077*i>>8)+(26149*c>>8)-14234)}function ce(i,c,h){return GA((19077*i>>8)-(6419*c>>8)-(13320*h>>8)+8708)}function oe(i,c){return GA((19077*i>>8)+(33050*c>>8)-17685)}function Be(i,c,h,w,C){w[C+0]=$A(i,h),w[C+1]=ce(i,c,h),w[C+2]=oe(i,c)}function Te(i,c,h,w,C){w[C+0]=oe(i,c),w[C+1]=ce(i,c,h),w[C+2]=$A(i,h)}function Me(i,c,h,w,C){var U=ce(i,c,h);c=U<<3&224|oe(i,c)>>3,w[C+0]=248&$A(i,h)|U>>5,w[C+1]=c}function Ye(i,c,h,w,C){var U=240&oe(i,c)|15;w[C+0]=240&$A(i,h)|ce(i,c,h)>>4,w[C+1]=U}function gt(i,c,h,w,C){w[C+0]=255,Be(i,c,h,w,C+1)}function nt(i,c,h,w,C){Te(i,c,h,w,C),w[C+3]=255}function ir(i,c,h,w,C){Be(i,c,h,w,C),w[C+3]=255}function _t(i,c){return 0>i?0:i>c?c:i}function Qr(i,c,h){k[i]=function(w,C,U,x,S,N,M,Z,fA){for(var hA=Z+(-2&fA)*h;Z!=hA;)c(w[C+0],U[x+0],S[N+0],M,Z),c(w[C+1],U[x+0],S[N+0],M,Z+h),C+=2,++x,++N,Z+=2*h;1&fA&&c(w[C+0],U[x+0],S[N+0],M,Z)}}function ls(i,c,h){return h==0?i==0?c==0?6:5:c==0?4:0:h}function ri(i,c,h,w,C){switch(i>>>30){case 3:Mr(c,h,w,C,0);break;case 2:Ve(c,h,w,C);break;case 1:Qt(c,h,w,C)}}function ni(i,c){var h,w,C=c.M,U=c.Nb,x=i.oc,S=i.pc+40,N=i.oc,M=i.pc+584,Z=i.oc,fA=i.pc+600;for(h=0;16>h;++h)x[S+32*h-1]=129;for(h=0;8>h;++h)N[M+32*h-1]=129,Z[fA+32*h-1]=129;for(0<C?x[S-1-32]=N[M-1-32]=Z[fA-1-32]=129:(n(x,S-32-1,127,21),n(N,M-32-1,127,9),n(Z,fA-32-1,127,9)),w=0;w<i.za;++w){var hA=c.ya[c.aa+w];if(0<w){for(h=-1;16>h;++h)r(x,S+32*h-4,x,S+32*h+12,4);for(h=-1;8>h;++h)r(N,M+32*h-4,N,M+32*h+4,4),r(Z,fA+32*h-4,Z,fA+32*h+4,4)}var iA=i.Gd,LA=i.Hd+w,vA=hA.ad,AA=hA.Hc;if(0<C&&(r(x,S-32,iA[LA].y,0,16),r(N,M-32,iA[LA].f,0,8),r(Z,fA-32,iA[LA].ea,0,8)),hA.Za){var nA=x,bA=S-32+16;for(0<C&&(w>=i.za-1?n(nA,bA,iA[LA].y[15],4):r(nA,bA,iA[LA+1].y,0,4)),h=0;4>h;h++)nA[bA+128+h]=nA[bA+256+h]=nA[bA+384+h]=nA[bA+0+h];for(h=0;16>h;++h,AA<<=2)nA=x,bA=S+fu[h],sr[hA.Ob[h]](nA,bA),ri(AA,vA,16*+h,nA,bA)}else if(nA=ls(w,C,hA.Ob[0]),en[nA](x,S),AA!=0)for(h=0;16>h;++h,AA<<=2)ri(AA,vA,16*+h,x,S+fu[h]);for(h=hA.Gc,nA=ls(w,C,hA.Dd),Or[nA](N,M),Or[nA](Z,fA),AA=vA,nA=N,bA=M,255&(hA=h>>0)&&(170&hA?li(AA,256,nA,bA):Gt(AA,256,nA,bA)),hA=Z,AA=fA,255&(h>>=8)&&(170&h?li(vA,320,hA,AA):Gt(vA,320,hA,AA)),C<i.Ub-1&&(r(iA[LA].y,0,x,S+480,16),r(iA[LA].f,0,N,M+224,8),r(iA[LA].ea,0,Z,fA+224,8)),h=8*U*i.B,iA=i.sa,LA=i.ta+16*w+16*U*i.R,vA=i.qa,hA=i.ra+8*w+h,AA=i.Ha,nA=i.Ia+8*w+h,h=0;16>h;++h)r(iA,LA+h*i.R,x,S+32*h,16);for(h=0;8>h;++h)r(vA,hA+h*i.B,N,M+32*h,8),r(AA,nA+h*i.B,Z,fA+32*h,8)}}function sa(i,c,h,w,C,U,x,S,N){var M=[0],Z=[0],fA=0,hA=N!=null?N.kd:0,iA=N??new Za;if(i==null||12>h)return 7;iA.data=i,iA.w=c,iA.ha=h,c=[c],h=[h],iA.gb=[iA.gb];A:{var LA=c,vA=h,AA=iA.gb;if(e(i!=null),e(vA!=null),e(AA!=null),AA[0]=0,12<=vA[0]&&!A(i,LA[0],"RIFF")){if(A(i,LA[0]+8,"WEBP")){AA=3;break A}var nA=PA(i,LA[0]+4);if(12>nA||4294967286<nA){AA=3;break A}if(hA&&nA>vA[0]-8){AA=7;break A}AA[0]=nA,LA[0]+=12,vA[0]-=12}AA=0}if(AA!=0)return AA;for(nA=0<iA.gb[0],h=h[0];;){A:{var bA=i;vA=c,AA=h;var SA=M,EA=Z,jA=LA=[0];if((RA=fA=[fA])[0]=0,8>AA[0])AA=7;else{if(!A(bA,vA[0],"VP8X")){if(PA(bA,vA[0]+4)!=10){AA=3;break A}if(18>AA[0]){AA=7;break A}var KA=PA(bA,vA[0]+8),ZA=1+MA(bA,vA[0]+12);if(2147483648<=ZA*(bA=1+MA(bA,vA[0]+15))){AA=3;break A}jA!=null&&(jA[0]=KA),SA!=null&&(SA[0]=ZA),EA!=null&&(EA[0]=bA),vA[0]+=18,AA[0]-=18,RA[0]=1}AA=0}}if(fA=fA[0],LA=LA[0],AA!=0)return AA;if(vA=!!(2&LA),!nA&&fA)return 3;if(U!=null&&(U[0]=!!(16&LA)),x!=null&&(x[0]=vA),S!=null&&(S[0]=0),x=M[0],LA=Z[0],fA&&vA&&N==null){AA=0;break}if(4>h){AA=7;break}if(nA&&fA||!nA&&!fA&&!A(i,c[0],"ALPH")){h=[h],iA.na=[iA.na],iA.P=[iA.P],iA.Sa=[iA.Sa];A:{KA=i,AA=c,nA=h;var RA=iA.gb;SA=iA.na,EA=iA.P,jA=iA.Sa,ZA=22,e(KA!=null),e(nA!=null),bA=AA[0];var me=nA[0];for(e(SA!=null),e(jA!=null),SA[0]=null,EA[0]=null,jA[0]=0;;){if(AA[0]=bA,nA[0]=me,8>me){AA=7;break A}var Fe=PA(KA,bA+4);if(4294967286<Fe){AA=3;break A}var we=8+Fe+1&-2;if(ZA+=we,0<RA&&ZA>RA){AA=3;break A}if(!A(KA,bA,"VP8 ")||!A(KA,bA,"VP8L")){AA=0;break A}if(me[0]<we){AA=7;break A}A(KA,bA,"ALPH")||(SA[0]=KA,EA[0]=bA+8,jA[0]=Fe),bA+=we,me-=we}}if(h=h[0],iA.na=iA.na[0],iA.P=iA.P[0],iA.Sa=iA.Sa[0],AA!=0)break}h=[h],iA.Ja=[iA.Ja],iA.xa=[iA.xa];A:if(RA=i,AA=c,nA=h,SA=iA.gb[0],EA=iA.Ja,jA=iA.xa,KA=AA[0],bA=!A(RA,KA,"VP8 "),ZA=!A(RA,KA,"VP8L"),e(RA!=null),e(nA!=null),e(EA!=null),e(jA!=null),8>nA[0])AA=7;else{if(bA||ZA){if(RA=PA(RA,KA+4),12<=SA&&RA>SA-12){AA=3;break A}if(hA&&RA>nA[0]-8){AA=7;break A}EA[0]=RA,AA[0]+=8,nA[0]-=8,jA[0]=ZA}else jA[0]=5<=nA[0]&&RA[KA+0]==47&&!(RA[KA+4]>>5),EA[0]=nA[0];AA=0}if(h=h[0],iA.Ja=iA.Ja[0],iA.xa=iA.xa[0],c=c[0],AA!=0)break;if(4294967286<iA.Ja)return 3;if(S==null||vA||(S[0]=iA.xa?2:1),x=[x],LA=[LA],iA.xa){if(5>h){AA=7;break}S=x,hA=LA,vA=U,i==null||5>h?i=0:5<=h&&i[c+0]==47&&!(i[c+4]>>5)?(nA=[0],RA=[0],SA=[0],_(EA=new L,i,c,h),ee(EA,nA,RA,SA)?(S!=null&&(S[0]=nA[0]),hA!=null&&(hA[0]=RA[0]),vA!=null&&(vA[0]=SA[0]),i=1):i=0):i=0}else{if(10>h){AA=7;break}S=LA,i==null||10>h||!Wi(i,c+3,h-3)?i=0:(hA=i[c+0]|i[c+1]<<8|i[c+2]<<16,vA=16383&(i[c+7]<<8|i[c+6]),i=16383&(i[c+9]<<8|i[c+8]),1&hA||3<(hA>>1&7)||!(hA>>4&1)||hA>>5>=iA.Ja||!vA||!i?i=0:(x&&(x[0]=vA),S&&(S[0]=i),i=1))}if(!i||(x=x[0],LA=LA[0],fA&&(M[0]!=x||Z[0]!=LA)))return 3;N!=null&&(N[0]=iA,N.offset=c-N.w,e(4294967286>c-N.w),e(N.offset==N.ha-h));break}return AA==0||AA==7&&fA&&N==null?(U!=null&&(U[0]|=iA.na!=null&&0<iA.na.length),w!=null&&(w[0]=x),C!=null&&(C[0]=LA),0):AA}function ai(i,c,h){var w=c.width,C=c.height,U=0,x=0,S=w,N=C;if(c.Da=i!=null&&0<i.Da,c.Da&&(S=i.cd,N=i.bd,U=i.v,x=i.j,11>h||(U&=-2,x&=-2),0>U||0>x||0>=S||0>=N||U+S>w||x+N>C))return 0;if(c.v=U,c.j=x,c.va=U+S,c.o=x+N,c.U=S,c.T=N,c.da=i!=null&&0<i.da,c.da){if(!$(S,N,h=[i.ib],U=[i.hb]))return 0;c.ib=h[0],c.hb=U[0]}return c.ob=i!=null&&i.ob,c.Kb=i==null||!i.Sd,c.da&&(c.ob=c.ib<3*w/4&&c.hb<3*C/4,c.Kb=0),1}function ii(i){if(i==null)return 2;if(11>i.S){var c=i.f.RGBA;c.fb+=(i.height-1)*c.A,c.A=-c.A}else c=i.f.kb,i=i.height,c.O+=(i-1)*c.fa,c.fa=-c.fa,c.N+=(i-1>>1)*c.Ab,c.Ab=-c.Ab,c.W+=(i-1>>1)*c.Db,c.Db=-c.Db,c.F!=null&&(c.J+=(i-1)*c.lb,c.lb=-c.lb);return 0}function oa(i,c,h,w){if(w==null||0>=i||0>=c)return 2;if(h!=null){if(h.Da){var C=h.cd,U=h.bd,x=-2&h.v,S=-2&h.j;if(0>x||0>S||0>=C||0>=U||x+C>i||S+U>c)return 2;i=C,c=U}if(h.da){if(!$(i,c,C=[h.ib],U=[h.hb]))return 2;i=C[0],c=U[0]}}w.width=i,w.height=c;A:{var N=w.width,M=w.height;if(i=w.S,0>=N||0>=M||!(i>=ps&&13>i))i=2;else{if(0>=w.Rd&&w.sd==null){x=U=C=c=0;var Z=(S=N*hu[i])*M;if(11>i||(U=(M+1)/2*(c=(N+1)/2),i==12&&(x=(C=N)*M)),(M=a(Z+2*U+x))==null){i=1;break A}w.sd=M,11>i?((N=w.f.RGBA).eb=M,N.fb=0,N.A=S,N.size=Z):((N=w.f.kb).y=M,N.O=0,N.fa=S,N.Fd=Z,N.f=M,N.N=0+Z,N.Ab=c,N.Cd=U,N.ea=M,N.W=0+Z+U,N.Db=c,N.Ed=U,i==12&&(N.F=M,N.J=0+Z+2*U),N.Tc=x,N.lb=C)}if(c=1,C=w.S,U=w.width,x=w.height,C>=ps&&13>C)if(11>C)i=w.f.RGBA,c&=(S=Math.abs(i.A))*(x-1)+U<=i.size,c&=S>=U*hu[C],c&=i.eb!=null;else{i=w.f.kb,S=(U+1)/2,Z=(x+1)/2,N=Math.abs(i.fa),M=Math.abs(i.Ab);var fA=Math.abs(i.Db),hA=Math.abs(i.lb),iA=hA*(x-1)+U;c&=N*(x-1)+U<=i.Fd,c&=M*(Z-1)+S<=i.Cd,c=(c&=fA*(Z-1)+S<=i.Ed)&N>=U&M>=S&fA>=S,c&=i.y!=null,c&=i.f!=null,c&=i.ea!=null,C==12&&(c&=hA>=U,c&=iA<=i.Tc,c&=i.F!=null)}else c=0;i=c?0:2}}return i!=0||h!=null&&h.fd&&(i=ii(w)),i}var ct=64,la=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],ca=24,ua=32,si=8,xt=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];pA("Predictor0","PredictorAdd0"),k.Predictor0=function(){return 4278190080},k.Predictor1=function(i){return i},k.Predictor2=function(i,c,h){return c[h+0]},k.Predictor3=function(i,c,h){return c[h+1]},k.Predictor4=function(i,c,h){return c[h-1]},k.Predictor5=function(i,c,h){return UA(UA(i,c[h+1]),c[h+0])},k.Predictor6=function(i,c,h){return UA(i,c[h-1])},k.Predictor7=function(i,c,h){return UA(i,c[h+0])},k.Predictor8=function(i,c,h){return UA(c[h-1],c[h+0])},k.Predictor9=function(i,c,h){return UA(c[h+0],c[h+1])},k.Predictor10=function(i,c,h){return UA(UA(i,c[h-1]),UA(c[h+0],c[h+1]))},k.Predictor11=function(i,c,h){var w=c[h+0];return 0>=yA(w>>24&255,i>>24&255,(c=c[h-1])>>24&255)+yA(w>>16&255,i>>16&255,c>>16&255)+yA(w>>8&255,i>>8&255,c>>8&255)+yA(255&w,255&i,255&c)?w:i},k.Predictor12=function(i,c,h){var w=c[h+0];return(IA((i>>24&255)+(w>>24&255)-((c=c[h-1])>>24&255))<<24|IA((i>>16&255)+(w>>16&255)-(c>>16&255))<<16|IA((i>>8&255)+(w>>8&255)-(c>>8&255))<<8|IA((255&i)+(255&w)-(255&c)))>>>0},k.Predictor13=function(i,c,h){var w=c[h-1];return(QA((i=UA(i,c[h+0]))>>24&255,w>>24&255)<<24|QA(i>>16&255,w>>16&255)<<16|QA(i>>8&255,w>>8&255)<<8|QA(i>>0&255,w>>0&255))>>>0};var hl=k.PredictorAdd0;k.PredictorAdd1=_A,pA("Predictor2","PredictorAdd2"),pA("Predictor3","PredictorAdd3"),pA("Predictor4","PredictorAdd4"),pA("Predictor5","PredictorAdd5"),pA("Predictor6","PredictorAdd6"),pA("Predictor7","PredictorAdd7"),pA("Predictor8","PredictorAdd8"),pA("Predictor9","PredictorAdd9"),pA("Predictor10","PredictorAdd10"),pA("Predictor11","PredictorAdd11"),pA("Predictor12","PredictorAdd12"),pA("Predictor13","PredictorAdd13");var oi=k.PredictorAdd2;Ae("ColorIndexInverseTransform","MapARGB","32b",function(i){return i>>8&255},function(i){return i}),Ae("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(i){return i},function(i){return i>>8&255});var cs,Vt=k.ColorIndexInverseTransform,fa=k.MapARGB,us=k.VP8LColorIndexInverseTransformAlpha,fs=k.MapAlpha,Yr=k.VP8LPredictorsAdd=[];Yr.length=16,(k.VP8LPredictors=[]).length=16,(k.VP8LPredictorsAdd_C=[]).length=16,(k.VP8LPredictors_C=[]).length=16;var xn,It,Ft,$r,_r,Tr,ha,Mr,Ve,li,Qt,Gt,da,hs,ci,In,Sn,Zr,Nn,ga,kn,An,ui,jt,qt,Ie,Se,Ge,tt=a(511),Pr=a(2041),fi=a(225),pa=a(767),ds=0,dl=Pr,gs=fi,Tt=pa,Wt=tt,ps=0,Bs=1,tu=2,ws=3,vs=4,gl=5,ru=6,pl=7,Bl=8,ms=9,wl=10,Nd=[2,3,7],kd=[3,3,11],nu=[280,256,256,256,40],Dd=[0,1,1,1,0],Hd=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],_d=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Td=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Md=8,vl=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ml=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],hi=null,Pd=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Od=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],au=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Kd=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Rd=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Vd=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Gd=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],en=[],sr=[],Or=[],jd=1,iu=2,tn=[],zt=[];CA("UpsampleRgbLinePair",Be,3),CA("UpsampleBgrLinePair",Te,3),CA("UpsampleRgbaLinePair",ir,4),CA("UpsampleBgraLinePair",nt,4),CA("UpsampleArgbLinePair",gt,4),CA("UpsampleRgba4444LinePair",Ye,2),CA("UpsampleRgb565LinePair",Me,2);var qd=k.UpsampleRgbLinePair,Wd=k.UpsampleBgrLinePair,su=k.UpsampleRgbaLinePair,ou=k.UpsampleBgraLinePair,lu=k.UpsampleArgbLinePair,cu=k.UpsampleRgba4444LinePair,zd=k.UpsampleRgb565LinePair,Cs=16,ys=1<<Cs-1,di=-227,Cl=482,Xd=6,uu=0,Jd=a(256),Yd=a(256),$d=a(256),Zd=a(256),Ag=a(Cl-di),eg=a(Cl-di);Qr("YuvToRgbRow",Be,3),Qr("YuvToBgrRow",Te,3),Qr("YuvToRgbaRow",ir,4),Qr("YuvToBgraRow",nt,4),Qr("YuvToArgbRow",gt,4),Qr("YuvToRgba4444Row",Ye,2),Qr("YuvToRgb565Row",Me,2);var fu=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Fs=[0,2,8],tg=[8,7,6,4,4,2,2,2,1,1,1,1],rg=1;this.WebPDecodeRGBA=function(i,c,h,w,C){var U=Bs,x=new aa,S=new ke;x.ba=S,S.S=U,S.width=[S.width],S.height=[S.height];var N=S.width,M=S.height,Z=new Ke;if(Z==null||i==null)var fA=2;else e(Z!=null),fA=sa(i,c,h,Z.width,Z.height,Z.Pd,Z.Qd,Z.format,null);if(fA!=0?N=0:(N!=null&&(N[0]=Z.width[0]),M!=null&&(M[0]=Z.height[0]),N=1),N){S.width=S.width[0],S.height=S.height[0],w!=null&&(w[0]=S.width),C!=null&&(C[0]=S.height);A:{if(w=new $n,(C=new Za).data=i,C.w=c,C.ha=h,C.kd=1,c=[0],e(C!=null),((i=sa(C.data,C.w,C.ha,null,null,null,c,null,C))==0||i==7)&&c[0]&&(i=4),(c=i)==0){if(e(x!=null),w.data=C.data,w.w=C.w+C.offset,w.ha=C.ha-C.offset,w.put=Br,w.ac=lt,w.bc=wr,w.ma=x,C.xa){if((i=Rt())==null){x=1;break A}if(function(hA,iA){var LA=[0],vA=[0],AA=[0];e:for(;;){if(hA==null)return 0;if(iA==null)return hA.a=2,0;if(hA.l=iA,hA.a=0,_(hA.m,iA.data,iA.w,iA.ha),!ee(hA.m,LA,vA,AA)){hA.a=3;break e}if(hA.xb=iu,iA.width=LA[0],iA.height=vA[0],!Cr(LA[0],vA[0],1,hA,null))break e;return 1}return e(hA.a!=0),0}(i,w)){if(w=(c=oa(w.width,w.height,x.Oa,x.ba))==0){e:{w=i;t:for(;;){if(w==null){w=0;break e}if(e(w.s.yc!=null),e(w.s.Ya!=null),e(0<w.s.Wb),e((h=w.l)!=null),e((C=h.ma)!=null),w.xb!=0){if(w.ca=C.ba,w.tb=C.tb,e(w.ca!=null),!ai(C.Oa,h,ws)){w.a=2;break t}if(!Qn(w,h.width)||h.da)break t;if((h.da||re(w.ca.S))&&cA(),11>w.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),w.ca.f.kb.F!=null&&cA()),w.Pb&&0<w.s.ua&&w.s.vb.X==null&&!YA(w.s.vb,w.s.Wa.Xa)){w.a=1;break t}w.xb=0}if(!rr(w,w.V,w.Ba,w.c,w.i,h.o,qn))break t;C.Dc=w.Ma,w=1;break e}e(w.a!=0),w=0}w=!w}w&&(c=i.a)}else c=i.a}else{if((i=new zo)==null){x=1;break A}if(i.Fa=C.na,i.P=C.P,i.qc=C.Sa,zi(i,w)){if((c=oa(w.width,w.height,x.Oa,x.ba))==0){if(i.Aa=0,h=x.Oa,e((C=i)!=null),h!=null){if(0<(N=0>(N=h.Md)?0:100<N?255:255*N/100)){for(M=Z=0;4>M;++M)12>(fA=C.pb[M]).lc&&(fA.ia=N*tg[0>fA.lc?0:fA.lc]>>3),Z|=fA.ia;Z&&(alert("todo:VP8InitRandom"),C.ia=1)}C.Ga=h.Id,100<C.Ga?C.Ga=100:0>C.Ga&&(C.Ga=0)}Xo(i,w)||(c=i.a)}}else c=i.a}c==0&&x.Oa!=null&&x.Oa.fd&&(c=ii(x.ba))}x=c}U=x!=0?null:11>U?S.f.RGBA.eb:S.f.kb.y}else U=null;return U};var hu=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(k,G){for(var tA="",I=0;I<4;I++)tA+=String.fromCharCode(k[G++]);return tA}function B(k,G){return(k[G+0]<<0|k[G+1]<<8|k[G+2]<<16)>>>0}function g(k,G){return(k[G+0]<<0|k[G+1]<<8|k[G+2]<<16|k[G+3]<<24)>>>0}new u;var v=[0],p=[0],b=[],F=new u,H=t,m=function(k,G){var tA={},I=0,Q=!1,T=0,O=0;if(tA.frames=[],!function(P,V,J,eA){for(var uA=0;uA<eA;uA++)if(P[V+uA]!=J.charCodeAt(uA))return!0;return!1}(k,G,"RIFF",4)){for(g(k,G+=4),G+=8;G<k.length;){var lA=d(k,G),oA=g(k,G+=4);G+=4;var aA=oA+(1&oA);switch(lA){case"VP8 ":case"VP8L":tA.frames[I]===void 0&&(tA.frames[I]={}),(rA=tA.frames[I]).src_off=Q?O:G-8,rA.src_size=T+oA+8,I++,Q&&(Q=!1,T=0,O=0);break;case"VP8X":(rA=tA.header={}).feature_flags=k[G];var _=G+4;rA.canvas_width=1+B(k,_),_+=3,rA.canvas_height=1+B(k,_),_+=3;break;case"ALPH":Q=!0,T=aA+8,O=G-8;break;case"ANIM":(rA=tA.header).bgcolor=g(k,G),_=G+4,rA.loop_count=(TA=k)[(L=_)+0]<<0|TA[L+1]<<8,_+=2;break;case"ANMF":var z,rA;(rA=tA.frames[I]={}).offset_x=2*B(k,G),G+=3,rA.offset_y=2*B(k,G),G+=3,rA.width=1+B(k,G),G+=3,rA.height=1+B(k,G),G+=3,rA.duration=B(k,G),G+=3,z=k[G++],rA.dispose=1&z,rA.blend=z>>1&1}lA!="ANMF"&&(G+=aA)}var TA,L;return tA}}(H,0);m.response=H,m.rgbaoutput=!0,m.dataurl=!1;var E=m.header?m.header:null,R=m.frames?m.frames:null;if(E){E.loop_counter=E.loop_count,v=[E.canvas_height],p=[E.canvas_width];for(var q=0;q<R.length&&R[q].blend!=0;q++);}var W=R[0],j=F.WebPDecodeRGBA(H,W.src_off,W.src_size,p,v);W.rgba=j,W.imgwidth=p[0],W.imgheight=v[0];for(var X=0;X<p[0]*v[0]*4;X++)b[X]=j[X];return this.width=p,this.height=v,this.data=b,this}(function(t){var e=function(){return typeof gc=="function"},A=function(v,p,b,F){var H=4,m=s;switch(F){case t.image_compression.FAST:H=1,m=a;break;case t.image_compression.MEDIUM:H=6,m=o;break;case t.image_compression.SLOW:H=9,m=u}v=r(v,p,b,m);var E=gc(v,{level:H});return t.__addimage__.arrayBufferToBinaryString(E)},r=function(v,p,b,F){for(var H,m,E,R=v.length/p,q=new Uint8Array(v.length+R),W=B(),j=0;j<R;j+=1){if(E=j*p,H=v.subarray(E,E+p),F)q.set(F(H,b,m),E+j);else{for(var X,k=W.length,G=[];X<k;X+=1)G[X]=W[X](H,b,m);var tA=g(G.concat());q.set(G[tA],E+j)}m=H}return q},n=function(v){var p=Array.apply([],v);return p.unshift(0),p},a=function(v,p){var b,F=[],H=v.length;F[0]=1;for(var m=0;m<H;m+=1)b=v[m-p]||0,F[m+1]=v[m]-b+256&255;return F},s=function(v,p,b){var F,H=[],m=v.length;H[0]=2;for(var E=0;E<m;E+=1)F=b&&b[E]||0,H[E+1]=v[E]-F+256&255;return H},o=function(v,p,b){var F,H,m=[],E=v.length;m[0]=3;for(var R=0;R<E;R+=1)F=v[R-p]||0,H=b&&b[R]||0,m[R+1]=v[R]+256-(F+H>>>1)&255;return m},u=function(v,p,b){var F,H,m,E,R=[],q=v.length;R[0]=4;for(var W=0;W<q;W+=1)F=v[W-p]||0,H=b&&b[W]||0,m=b&&b[W-p]||0,E=d(F,H,m),R[W+1]=v[W]-E+256&255;return R},d=function(v,p,b){if(v===p&&p===b)return v;var F=Math.abs(p-b),H=Math.abs(v-b),m=Math.abs(v+p-b-b);return F<=H&&F<=m?v:H<=m?p:b},B=function(){return[n,a,s,o,u]},g=function(v){var p=v.map(function(b){return b.reduce(function(F,H){return F+Math.abs(H)},0)});return p.indexOf(Math.min.apply(null,p))};t.processPNG=function(v,p,b,F){var H,m,E,R,q,W,j,X,k,G,tA,I,Q,T,O,lA=this.decode.FLATE_DECODE,oA="";if(this.__addimage__.isArrayBuffer(v)&&(v=new Uint8Array(v)),this.__addimage__.isArrayBufferView(v)){if(v=(E=new MB(v)).imgData,m=E.bits,H=E.colorSpace,q=E.colors,[4,6].indexOf(E.colorType)!==-1){if(E.bits===8){k=(X=E.pixelBitlength==32?new Uint32Array(E.decodePixels().buffer):E.pixelBitlength==16?new Uint16Array(E.decodePixels().buffer):new Uint8Array(E.decodePixels().buffer)).length,tA=new Uint8Array(k*E.colors),G=new Uint8Array(k);var aA,_=E.pixelBitlength-E.bits;for(T=0,O=0;T<k;T++){for(Q=X[T],aA=0;aA<_;)tA[O++]=Q>>>aA&255,aA+=E.bits;G[T]=Q>>>aA&255}}if(E.bits===16){k=(X=new Uint32Array(E.decodePixels().buffer)).length,tA=new Uint8Array(k*(32/E.pixelBitlength)*E.colors),G=new Uint8Array(k*(32/E.pixelBitlength)),I=E.colors>1,T=0,O=0;for(var z=0;T<k;)Q=X[T++],tA[O++]=Q>>>0&255,I&&(tA[O++]=Q>>>16&255,Q=X[T++],tA[O++]=Q>>>0&255),G[z++]=Q>>>16&255;m=8}F!==t.image_compression.NONE&&e()?(v=A(tA,E.width*E.colors,E.colors,F),j=A(G,E.width,1,F)):(v=tA,j=G,lA=void 0)}if(E.colorType===3&&(H=this.color_spaces.INDEXED,W=E.palette,E.transparency.indexed)){var rA=E.transparency.indexed,TA=0;for(T=0,k=rA.length;T<k;++T)TA+=rA[T];if((TA/=255)===k-1&&rA.indexOf(0)!==-1)R=[rA.indexOf(0)];else if(TA!==k){for(X=E.decodePixels(),G=new Uint8Array(X.length),T=0,k=X.length;T<k;T++)G[T]=rA[X[T]];j=A(G,E.width,1)}}var L=function(P){var V;switch(P){case t.image_compression.FAST:V=11;break;case t.image_compression.MEDIUM:V=13;break;case t.image_compression.SLOW:V=14;break;default:V=12}return V}(F);return lA===this.decode.FLATE_DECODE&&(oA="/Predictor "+L+" "),oA+="/Colors "+q+" /BitsPerComponent "+m+" /Columns "+E.width,(this.__addimage__.isArrayBuffer(v)||this.__addimage__.isArrayBufferView(v))&&(v=this.__addimage__.arrayBufferToBinaryString(v)),(j&&this.__addimage__.isArrayBuffer(j)||this.__addimage__.isArrayBufferView(j))&&(j=this.__addimage__.arrayBufferToBinaryString(j)),{alias:b,data:v,index:p,filter:lA,decodeParameters:oA,transparency:R,palette:W,sMask:j,predictor:L,width:E.width,height:E.height,bitsPerComponent:m,colorSpace:H}}}})(te.API),function(t){t.processGIF89A=function(e,A,r,n){var a=new PB(e),s=a.width,o=a.height,u=[];a.decodeAndBlitFrameRGBA(0,u);var d={data:u,width:s,height:o},B=new Kl(100).encode(d,100);return t.processJPEG.call(this,B,A,r,n)},t.processGIF87A=t.processGIF89A}(te.API),cr.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var A=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:n,green:r,blue:A,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},cr.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(A){xe.log("bit decode error:"+A)}},cr.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),A=e%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<e;n++)for(var a=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*n*4,o=0;o<8&&8*n+o<this.width;o++){var u=this.palette[a>>7-o&1];this.data[s+4*o]=u.blue,this.data[s+4*o+1]=u.green,this.data[s+4*o+2]=u.red,this.data[s+4*o+3]=255}A!==0&&(this.pos+=4-A)}},cr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,A=this.height-1;A>=0;A--){for(var r=this.bottom_up?A:this.height-1-A,n=0;n<t;n++){var a=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*n*4,o=a>>4,u=15&a,d=this.palette[o];if(this.data[s]=d.blue,this.data[s+1]=d.green,this.data[s+2]=d.red,this.data[s+3]=255,2*n+1>=this.width)break;d=this.palette[u],this.data[s+4]=d.blue,this.data[s+4+1]=d.green,this.data[s+4+2]=d.red,this.data[s+4+3]=255}e!==0&&(this.pos+=4-e)}},cr.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var A=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),a=A*this.width*4+4*r;if(n<this.palette.length){var s=this.palette[n];this.data[a]=s.red,this.data[a+1]=s.green,this.data[a+2]=s.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}t!==0&&(this.pos+=4-t)}},cr.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),A=this.height-1;A>=0;A--){for(var r=this.bottom_up?A:this.height-1-A,n=0;n<this.width;n++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&e)/e*255|0,o=(a>>5&e)/e*255|0,u=(a>>10&e)/e*255|0,d=a>>15?255:0,B=r*this.width*4+4*n;this.data[B]=u,this.data[B+1]=o,this.data[B+2]=s,this.data[B+3]=d}this.pos+=t}},cr.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),A=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&e)/e*255|0,u=(s>>5&A)/A*255|0,d=(s>>11)/e*255|0,B=n*this.width*4+4*a;this.data[B]=d,this.data[B+1]=u,this.data[B+2]=o,this.data[B+3]=255}this.pos+=t}},cr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,A=0;A<this.width;A++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*A;this.data[s]=a,this.data[s+1]=n,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},cr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,A=0;A<this.width;A++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=e*this.width*4+4*A;this.data[o]=a,this.data[o+1]=n,this.data[o+2]=r,this.data[o+3]=s}},cr.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,A,r,n){var a=new cr(e,!1),s=a.width,o=a.height,u={data:a.getData(),width:s,height:o},d=new Kl(100).encode(u,100);return t.processJPEG.call(this,d,A,r,n)}}(te.API),Xu.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,A,r,n){var a=new Xu(e),s=a.width,o=a.height,u={data:a.getData(),width:s,height:o},d=new Kl(100).encode(u,100);return t.processJPEG.call(this,d,A,r,n)}}(te.API),te.API.processRGBA=function(t,e,A){for(var r=t.data,n=r.length,a=new Uint8Array(n/4*3),s=new Uint8Array(n/4),o=0,u=0,d=0;d<n;d+=4){var B=r[d],g=r[d+1],v=r[d+2],p=r[d+3];a[o++]=B,a[o++]=g,a[o++]=v,s[u++]=p}var b=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:b,index:e,alias:A,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},te.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},ya=te.API,Ms=ya.getCharWidthsArray=function(t,e){var A,r,n=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),s=e.charSpace||this.internal.getCharSpace(),o=e.widths?e.widths:n.metadata.Unicode.widths,u=o.fof?o.fof:1,d=e.kerning?e.kerning:n.metadata.Unicode.kerning,B=d.fof?d.fof:1,g=e.doKerning!==!1,v=0,p=t.length,b=0,F=o[0]||u,H=[];for(A=0;A<p;A++)r=t.charCodeAt(A),typeof n.metadata.widthOfString=="function"?H.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(r))+s*(1e3/a)||0)/1e3):(v=g&&ye(d[r])==="object"&&!isNaN(parseInt(d[r][b],10))?d[r][b]/B:0,H.push((o[r]||F)/u+v)),b=r;return H},ju=ya.getStringUnitWidth=function(t,e){var A=(e=e||{}).fontSize||this.internal.getFontSize(),r=e.font||this.internal.getFont(),n=e.charSpace||this.internal.getCharSpace();return ya.processArabic&&(t=ya.processArabic(t)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(t,A,n)/A:Ms.apply(this,arguments).reduce(function(a,s){return a+s},0)},qu=function(t,e,A,r){for(var n=[],a=0,s=t.length,o=0;a!==s&&o+e[a]<A;)o+=e[a],a++;n.push(t.slice(0,a));var u=a;for(o=0;a!==s;)o+e[a]>r&&(n.push(t.slice(u,a)),o=0,u=a),o+=e[a],a++;return u!==a&&n.push(t.slice(u,a)),n},Wu=function(t,e,A){A||(A={});var r,n,a,s,o,u,d,B=[],g=[B],v=A.textIndent||0,p=0,b=0,F=t.split(" "),H=Ms.apply(this,[" ",A])[0];if(u=A.lineIndent===-1?F[0].length+2:A.lineIndent||0){var m=Array(u).join(" "),E=[];F.map(function(q){(q=q.split(/\s*\n/)).length>1?E=E.concat(q.map(function(W,j){return(j&&W.length?`
252
+ `:"")+W})):E.push(q[0])}),F=E,u=ju.apply(this,[m,A])}for(a=0,s=F.length;a<s;a++){var R=0;if(r=F[a],u&&r[0]==`
253
+ `&&(r=r.substr(1),R=1),v+p+(b=(n=Ms.apply(this,[r,A])).reduce(function(q,W){return q+W},0))>e||R){if(b>e){for(o=qu.apply(this,[r,n,e-(v+p),e]),B.push(o.shift()),B=[o.pop()];o.length;)g.push([o.shift()]);b=n.slice(r.length-(B[0]?B[0].length:0)).reduce(function(q,W){return q+W},0)}else B=[r];g.push(B),v=b+u,p=H}else B.push(r),v+=p+b,p=H}return d=u?function(q,W){return(W?m:"")+q.join(" ")}:function(q){return q.join(" ")},g.map(d)},ya.splitTextToSize=function(t,e,A){var r,n=(A=A||{}).fontSize||this.internal.getFontSize(),a=(function(B){if(B.widths&&B.kerning)return{widths:B.widths,kerning:B.kerning};var g=this.internal.getFont(B.fontName,B.fontStyle);return g.metadata.Unicode?{widths:g.metadata.Unicode.widths||{0:1},kerning:g.metadata.Unicode.kerning||{}}:{font:g.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,A);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*e/n;a.textIndent=A.textIndent?1*A.textIndent*this.internal.scaleFactor/n:0,a.lineIndent=A.lineIndent;var o,u,d=[];for(o=0,u=r.length;o<u;o++)d=d.concat(Wu.apply(this,[r[o],s,a]));return d},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",A={},r={},n=0;n<e.length;n++)A[e[n]]="0123456789abcdef"[n],r["0123456789abcdef"[n]]=e[n];var a=function(g){return"0x"+parseInt(g,10).toString(16)},s=t.__fontmetrics__.compress=function(g){var v,p,b,F,H=["{"];for(var m in g){if(v=g[m],isNaN(parseInt(m,10))?p="'"+m+"'":(m=parseInt(m,10),p=(p=a(m).slice(2)).slice(0,-1)+r[p.slice(-1)]),typeof v=="number")v<0?(b=a(v).slice(3),F="-"):(b=a(v).slice(2),F=""),b=F+b.slice(0,-1)+r[b.slice(-1)];else{if(ye(v)!=="object")throw new Error("Don't know what to do with value type "+ye(v)+".");b=s(v)}H.push(p+b)}return H.push("}"),H.join("")},o=t.__fontmetrics__.uncompress=function(g){if(typeof g!="string")throw new Error("Invalid argument passed to uncompress.");for(var v,p,b,F,H={},m=1,E=H,R=[],q="",W="",j=g.length-1,X=1;X<j;X+=1)(F=g[X])=="'"?v?(b=v.join(""),v=void 0):v=[]:v?v.push(F):F=="{"?(R.push([E,b]),E={},b=void 0):F=="}"?((p=R.pop())[0][p[1]]=E,b=void 0,E=p[0]):F=="-"?m=-1:b===void 0?A.hasOwnProperty(F)?(q+=A[F],b=parseInt(q,16)*m,m=1,q=""):q+=F:A.hasOwnProperty(F)?(W+=A[F],E[b]=parseInt(W,16)*m,m=1,b=void 0,W=""):W+=F;return H},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:o("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},d={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},B={Unicode:{"Courier-Oblique":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":o("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":o("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:o("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:o("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":o("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":o("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(g){var v=g.font,p=B.Unicode[v.postScriptName];p&&(v.metadata.Unicode={},v.metadata.Unicode.widths=p.widths,v.metadata.Unicode.kerning=p.kerning);var b=d.Unicode[v.postScriptName];b&&(v.metadata.Unicode.encoding=b,v.encoding=b.codePages[0])}])}(te.API),function(t){var e=function(A){for(var r=A.length,n=new Uint8Array(r),a=0;a<r;a++)n[a]=A.charCodeAt(a);return n};t.API.events.push(["addFont",function(A){var r=void 0,n=A.font,a=A.instance;if(!n.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if(typeof(r=a.existsFileInVFS(n.postScriptName)===!1?a.loadFile(n.postScriptName):a.getFileFromVFS(n.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");(function(s,o){o=/^\x00\x01\x00\x00/.test(o)?e(o):e(Ni(o)),s.metadata=t.API.TTFFont.open(o),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(n,r)}}])}(te),function(t){function e(){return(ne.canvg?Promise.resolve(ne.canvg):Promise.resolve().then(()=>require("./index.es-CHelfKeX.cjs"))).catch(function(A){return Promise.reject(new Error("Could not load canvg: "+A))}).then(function(A){return A.default?A.default:A})}te.API.addSvgAsImage=function(A,r,n,a,s,o,u,d){if(isNaN(r)||isNaN(n))throw xe.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(s))throw xe.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var B=document.createElement("canvas");B.width=a,B.height=s;var g=B.getContext("2d");g.fillStyle="#fff",g.fillRect(0,0,B.width,B.height);var v={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return e().then(function(b){return b.fromString(g,A,v)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(b){return b.render(v)}).then(function(){p.addImage(B.toDataURL("image/jpeg",1),r,n,a,s,u,d)})}}(),te.API.putTotalPages=function(t){var e,A=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),A=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),A=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var n=0;n<this.internal.pages[r].length;n++)this.internal.pages[r][n]=this.internal.pages[r][n].replace(e,A);return this},te.API.viewerPreferences=function(t,e){var A;t=t||{},e=e||!1;var r,n,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},o=Object.keys(s),u=[],d=0,B=0,g=0;function v(b,F){var H,m=!1;for(H=0;H<b.length;H+=1)b[H]===F&&(m=!0);return m}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),A=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var p=o.length;for(g=0;g<p;g+=1)A[o[g]].value=A[o[g]].defaultValue,A[o[g]].explicitSet=!1}if(ye(t)==="object"){for(n in t)if(a=t[n],v(o,n)&&a!==void 0){if(A[n].type==="boolean"&&typeof a=="boolean")A[n].value=a;else if(A[n].type==="name"&&v(A[n].valueSet,a))A[n].value=a;else if(A[n].type==="integer"&&Number.isInteger(a))A[n].value=a;else if(A[n].type==="array"){for(d=0;d<a.length;d+=1)if(r=!0,a[d].length===1&&typeof a[d][0]=="number")u.push(String(a[d]-1));else if(a[d].length>1){for(B=0;B<a[d].length;B+=1)typeof a[d][B]!="number"&&(r=!1);r===!0&&u.push([a[d][0]-1,a[d][1]-1].join(" "))}A[n].value="["+u.join(" ")+"]"}else A[n].value=A[n].defaultValue;A[n].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var b,F=[];for(b in A)A[b].explicitSet===!0&&(A[b].type==="name"?F.push("/"+b+" /"+A[b].value):F.push("/"+b+" "+A[b].value));F.length!==0&&this.internal.write(`/ViewerPreferences
254
+ <<
255
+ `+F.join(`
256
+ `)+`
257
+ >>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=A,this},function(t){var e=function(){var r='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',n=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),a=unescape(encodeURIComponent(r)),s=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),o=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),u=unescape(encodeURIComponent("</x:xmpmeta>")),d=a.length+s.length+o.length+n.length+u.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+d+" >>"),this.internal.write("stream"),this.internal.write(n+a+s+o+u),this.internal.write("endstream"),this.internal.write("endobj")},A=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(r,n){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",A),this.internal.events.subscribe("postPutResources",e)),this}}(te.API),function(t){var e=t.API,A=e.pdfEscape16=function(a,s){for(var o,u=s.metadata.Unicode.widths,d=["","0","00","000","0000"],B=[""],g=0,v=a.length;g<v;++g){if(o=s.metadata.characterToGlyph(a.charCodeAt(g)),s.metadata.glyIdsUsed.push(o),s.metadata.toUnicode[o]=a.charCodeAt(g),u.indexOf(o)==-1&&(u.push(o),u.push([parseInt(s.metadata.widthOfGlyph(o),10)])),o=="0")return B.join("");o=o.toString(16),B.push(d[4-o.length],o)}return B.join("")},r=function(a){var s,o,u,d,B,g,v;for(B=`/CIDInit /ProcSet findresource begin
258
+ 12 dict begin
259
+ begincmap
260
+ /CIDSystemInfo <<
261
+ /Registry (Adobe)
262
+ /Ordering (UCS)
263
+ /Supplement 0
264
+ >> def
265
+ /CMapName /Adobe-Identity-UCS def
266
+ /CMapType 2 def
267
+ 1 begincodespacerange
268
+ <0000><ffff>
269
+ endcodespacerange`,u=[],g=0,v=(o=Object.keys(a).sort(function(p,b){return p-b})).length;g<v;g++)s=o[g],u.length>=100&&(B+=`
270
+ `+u.length+` beginbfchar
271
+ `+u.join(`
272
+ `)+`
273
+ endbfchar`,u=[]),a[s]!==void 0&&a[s]!==null&&typeof a[s].toString=="function"&&(d=("0000"+a[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),u.push("<"+s+"><"+d+">"));return u.length&&(B+=`
274
+ `+u.length+` beginbfchar
275
+ `+u.join(`
276
+ `)+`
277
+ endbfchar
278
+ `),B+=`endcmap
279
+ CMapName currentdict /CMap defineresource pop
280
+ end
281
+ end`};e.events.push(["putFont",function(a){(function(s){var o=s.font,u=s.out,d=s.newObject,B=s.putStream;if(o.metadata instanceof t.API.TTFFont&&o.encoding==="Identity-H"){for(var g=o.metadata.Unicode.widths,v=o.metadata.subset.encode(o.metadata.glyIdsUsed,1),p="",b=0;b<v.length;b++)p+=String.fromCharCode(v[b]);var F=d();B({data:p,addLength1:!0,objectId:F}),u("endobj");var H=d();B({data:r(o.metadata.toUnicode),addLength1:!0,objectId:H}),u("endobj");var m=d();u("<<"),u("/Type /FontDescriptor"),u("/FontName /"+Sa(o.fontName)),u("/FontFile2 "+F+" 0 R"),u("/FontBBox "+t.API.PDFObject.convert(o.metadata.bbox)),u("/Flags "+o.metadata.flags),u("/StemV "+o.metadata.stemV),u("/ItalicAngle "+o.metadata.italicAngle),u("/Ascent "+o.metadata.ascender),u("/Descent "+o.metadata.decender),u("/CapHeight "+o.metadata.capHeight),u(">>"),u("endobj");var E=d();u("<<"),u("/Type /Font"),u("/BaseFont /"+Sa(o.fontName)),u("/FontDescriptor "+m+" 0 R"),u("/W "+t.API.PDFObject.convert(g)),u("/CIDToGIDMap /Identity"),u("/DW 1000"),u("/Subtype /CIDFontType2"),u("/CIDSystemInfo"),u("<<"),u("/Supplement 0"),u("/Registry (Adobe)"),u("/Ordering ("+o.encoding+")"),u(">>"),u(">>"),u("endobj"),o.objectNumber=d(),u("<<"),u("/Type /Font"),u("/Subtype /Type0"),u("/ToUnicode "+H+" 0 R"),u("/BaseFont /"+Sa(o.fontName)),u("/Encoding /"+o.encoding),u("/DescendantFonts ["+E+" 0 R]"),u(">>"),u("endobj"),o.isAlreadyPutted=!0}})(a)}]),e.events.push(["putFont",function(a){(function(s){var o=s.font,u=s.out,d=s.newObject,B=s.putStream;if(o.metadata instanceof t.API.TTFFont&&o.encoding==="WinAnsiEncoding"){for(var g=o.metadata.rawData,v="",p=0;p<g.length;p++)v+=String.fromCharCode(g[p]);var b=d();B({data:v,addLength1:!0,objectId:b}),u("endobj");var F=d();B({data:r(o.metadata.toUnicode),addLength1:!0,objectId:F}),u("endobj");var H=d();u("<<"),u("/Descent "+o.metadata.decender),u("/CapHeight "+o.metadata.capHeight),u("/StemV "+o.metadata.stemV),u("/Type /FontDescriptor"),u("/FontFile2 "+b+" 0 R"),u("/Flags 96"),u("/FontBBox "+t.API.PDFObject.convert(o.metadata.bbox)),u("/FontName /"+Sa(o.fontName)),u("/ItalicAngle "+o.metadata.italicAngle),u("/Ascent "+o.metadata.ascender),u(">>"),u("endobj"),o.objectNumber=d();for(var m=0;m<o.metadata.hmtx.widths.length;m++)o.metadata.hmtx.widths[m]=parseInt(o.metadata.hmtx.widths[m]*(1e3/o.metadata.head.unitsPerEm));u("<</Subtype/TrueType/Type/Font/ToUnicode "+F+" 0 R/BaseFont/"+Sa(o.fontName)+"/FontDescriptor "+H+" 0 R/Encoding/"+o.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(o.metadata.hmtx.widths)+">>"),u("endobj"),o.isAlreadyPutted=!0}})(a)}]);var n=function(a){var s,o=a.text||"",u=a.x,d=a.y,B=a.options||{},g=a.mutex||{},v=g.pdfEscape,p=g.activeFontKey,b=g.fonts,F=p,H="",m=0,E="",R=b[F].encoding;if(b[F].encoding!=="Identity-H")return{text:o,x:u,y:d,options:B,mutex:g};for(E=o,F=p,Array.isArray(o)&&(E=o[0]),m=0;m<E.length;m+=1)b[F].metadata.hasOwnProperty("cmap")&&(s=b[F].metadata.cmap.unicode.codeMap[E[m].charCodeAt(0)]),s||E[m].charCodeAt(0)<256&&b[F].metadata.hasOwnProperty("Unicode")?H+=E[m]:H+="";var q="";return parseInt(F.slice(1))<14||R==="WinAnsiEncoding"?q=v(H,F).split("").map(function(W){return W.charCodeAt(0).toString(16)}).join(""):R==="Identity-H"&&(q=A(H,b[F])),g.isHex=!0,{text:q,x:u,y:d,options:B,mutex:g}};e.events.push(["postProcessText",function(a){var s=a.text||"",o=[],u={text:s,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(s)){var d=0;for(d=0;d<s.length;d+=1)Array.isArray(s[d])&&s[d].length===3?o.push([n(Object.assign({},u,{text:s[d][0]})).text,s[d][1],s[d][2]]):o.push(n(Object.assign({},u,{text:s[d]})).text);a.text=o}else a.text=n(Object.assign({},u,{text:s})).text}])}(te),function(t){var e=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(A){return e.call(this),this.internal.vFS[A]!==void 0},t.addFileToVFS=function(A,r){return e.call(this),this.internal.vFS[A]=r,this},t.getFileFromVFS=function(A){return e.call(this),this.internal.vFS[A]!==void 0?this.internal.vFS[A]:null}}(te.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(r){var n,a,s,o,u,d,B,g=e,v=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],p=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],b={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},F={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},H=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],m=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),E=!1,R=0;this.__bidiEngine__={};var q=function(I){var Q=I.charCodeAt(),T=Q>>8,O=F[T];return O!==void 0?g[256*O+(255&Q)]:T===252||T===253?"AL":m.test(T)?"L":T===8?"R":"N"},W=function(I){for(var Q,T=0;T<I.length;T++){if((Q=q(I.charAt(T)))==="L")return!1;if(Q==="R")return!0}return!1},j=function(I,Q,T,O){var lA,oA,aA,_,z=Q[O];switch(z){case"L":case"R":E=!1;break;case"N":case"AN":break;case"EN":E&&(z="AN");break;case"AL":E=!0,z="R";break;case"WS":z="N";break;case"CS":O<1||O+1>=Q.length||(lA=T[O-1])!=="EN"&&lA!=="AN"||(oA=Q[O+1])!=="EN"&&oA!=="AN"?z="N":E&&(oA="AN"),z=oA===lA?oA:"N";break;case"ES":z=(lA=O>0?T[O-1]:"B")==="EN"&&O+1<Q.length&&Q[O+1]==="EN"?"EN":"N";break;case"ET":if(O>0&&T[O-1]==="EN"){z="EN";break}if(E){z="N";break}for(aA=O+1,_=Q.length;aA<_&&Q[aA]==="ET";)aA++;z=aA<_&&Q[aA]==="EN"?"EN":"N";break;case"NSM":if(s&&!o){for(_=Q.length,aA=O+1;aA<_&&Q[aA]==="NSM";)aA++;if(aA<_){var rA=I[O],TA=rA>=1425&&rA<=2303||rA===64286;if(lA=Q[aA],TA&&(lA==="R"||lA==="AL")){z="R";break}}}z=O<1||(lA=Q[O-1])==="B"?"N":T[O-1];break;case"B":E=!1,n=!0,z=R;break;case"S":a=!0,z="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":E=!1;break;case"BN":z="N"}return z},X=function(I,Q,T){var O=I.split("");return T&&k(O,T,{hiLevel:R}),O.reverse(),Q&&Q.reverse(),O.join("")},k=function(I,Q,T){var O,lA,oA,aA,_,z=-1,rA=I.length,TA=0,L=[],P=R?p:v,V=[];for(E=!1,n=!1,a=!1,lA=0;lA<rA;lA++)V[lA]=q(I[lA]);for(oA=0;oA<rA;oA++){if(_=TA,L[oA]=j(I,V,L,oA),O=240&(TA=P[_][b[L[oA]]]),TA&=15,Q[oA]=aA=P[TA][5],O>0)if(O===16){for(lA=z;lA<oA;lA++)Q[lA]=1;z=-1}else z=-1;if(P[TA][6])z===-1&&(z=oA);else if(z>-1){for(lA=z;lA<oA;lA++)Q[lA]=aA;z=-1}V[oA]==="B"&&(Q[oA]=0),T.hiLevel|=aA}a&&function(J,eA,uA){for(var dA=0;dA<uA;dA++)if(J[dA]==="S"){eA[dA]=R;for(var gA=dA-1;gA>=0&&J[gA]==="WS";gA--)eA[gA]=R}}(V,Q,rA)},G=function(I,Q,T,O,lA){if(!(lA.hiLevel<I)){if(I===1&&R===1&&!n)return Q.reverse(),void(T&&T.reverse());for(var oA,aA,_,z,rA=Q.length,TA=0;TA<rA;){if(O[TA]>=I){for(_=TA+1;_<rA&&O[_]>=I;)_++;for(z=TA,aA=_-1;z<aA;z++,aA--)oA=Q[z],Q[z]=Q[aA],Q[aA]=oA,T&&(oA=T[z],T[z]=T[aA],T[aA]=oA);TA=_}TA++}}},tA=function(I,Q,T){var O=I.split(""),lA={hiLevel:R};return T||(T=[]),k(O,T,lA),function(oA,aA,_){if(_.hiLevel!==0&&B)for(var z,rA=0;rA<oA.length;rA++)aA[rA]===1&&(z=H.indexOf(oA[rA]))>=0&&(oA[rA]=H[z+1])}(O,T,lA),G(2,O,Q,T,lA),G(1,O,Q,T,lA),O.join("")};return this.__bidiEngine__.doBidiReorder=function(I,Q,T){if(function(lA,oA){if(oA)for(var aA=0;aA<lA.length;aA++)oA[aA]=aA;o===void 0&&(o=W(lA)),d===void 0&&(d=W(lA))}(I,Q),s||!u||d)if(s&&u&&o^d)R=o?1:0,I=X(I,Q,T);else if(!s&&u&&d)R=o?1:0,I=tA(I,Q,T),I=X(I,Q);else if(!s||o||u||d){if(s&&!u&&o^d)I=X(I,Q),o?(R=0,I=tA(I,Q,T)):(R=1,I=tA(I,Q,T),I=X(I,Q));else if(s&&o&&!u&&d)R=1,I=tA(I,Q,T),I=X(I,Q);else if(!s&&!u&&o^d){var O=B;o?(R=1,I=tA(I,Q,T),R=0,B=!1,I=tA(I,Q,T),B=O):(R=0,I=tA(I,Q,T),I=X(I,Q),R=1,B=!1,I=tA(I,Q,T),B=O,I=X(I,Q))}}else R=0,I=tA(I,Q,T);else R=o?1:0,I=tA(I,Q,T);return I},this.__bidiEngine__.setOptions=function(I){I&&(s=I.isInputVisual,u=I.isOutputVisual,o=I.isInputRtl,d=I.isOutputRtl,B=I.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],A=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(r){var n=r.text;r.x,r.y;var a=r.options||{};r.mutex,a.lang;var s=[];if(a.isInputVisual=typeof a.isInputVisual!="boolean"||a.isInputVisual,A.setOptions(a),Object.prototype.toString.call(n)==="[object Array]"){var o=0;for(s=[],o=0;o<n.length;o+=1)Object.prototype.toString.call(n[o])==="[object Array]"?s.push([A.doBidiReorder(n[o][0]),n[o][1],n[o][2]]):s.push([A.doBidiReorder(n[o])]);r.text=s}else r.text=A.doBidiReorder(n);A.setOptions({isInputVisual:!0})}])}(te),te.API.TTFFont=function(){function t(e){var A;if(this.rawData=e,A=this.contents=new Cn(e),this.contents.pos=4,A.readString(4)==="ttcf")throw new Error("TTCF not supported.");A.pos=0,this.parse(),this.subset=new A2(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new OB(this.contents),this.head=new RB(this),this.name=new WB(this),this.cmap=new Qh(this),this.toUnicode={},this.hhea=new VB(this),this.maxp=new zB(this),this.hmtx=new XB(this),this.post=new jB(this),this.os2=new GB(this),this.loca=new ZB(this),this.glyf=new JB(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var e,A,r,n,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var s,o,u,d;for(d=[],s=0,o=(u=this.bbox).length;s<o;s++)e=u[s],d.push(Math.round(e*this.scaleFactor));return d}).call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),(32768&(A=n>>16))!=0&&(A=-(1+(65535^A))),this.italicAngle=+(A+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(a=this.familyClass)===1||a===2||a===3||a===4||a===5||a===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(e){var A;return((A=this.cmap.unicode)!=null?A.codeMap[e]:void 0)||0},t.prototype.widthOfGlyph=function(e){var A;return A=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*A},t.prototype.widthOfString=function(e,A,r){var n,a,s,o;for(s=0,a=0,o=(e=""+e).length;0<=o?a<o:a>o;a=0<=o?++a:--a)n=e.charCodeAt(a),s+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/A)||0;return s*(A/1e3)},t.prototype.lineHeight=function(e,A){var r;return A==null&&(A=!1),r=A?this.lineGap:0,(this.ascender+r-this.decender)/1e3*e},t}();var gr,Cn=function(){function t(e){this.data=e??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(e){return this.data[this.pos++]=e},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},t.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},t.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},t.prototype.readString=function(e){var A,r;for(r=[],A=0;0<=e?A<e:A>e;A=0<=e?++A:--A)r[A]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(e){var A,r,n;for(n=[],A=0,r=e.length;0<=r?A<r:A>r;A=0<=r?++A:--A)n.push(this.writeByte(e.charCodeAt(A)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(e){return this.writeInt16(e)},t.prototype.readLongLong=function(){var e,A,r,n,a,s,o,u;return e=this.readByte(),A=this.readByte(),r=this.readByte(),n=this.readByte(),a=this.readByte(),s=this.readByte(),o=this.readByte(),u=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^A)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^a)+65536*(255^s)+256*(255^o)+(255^u)+1):72057594037927940*e+281474976710656*A+1099511627776*r+4294967296*n+16777216*a+65536*s+256*o+u},t.prototype.writeLongLong=function(e){var A,r;return A=Math.floor(e/4294967296),r=4294967295&e,this.writeByte(A>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(e){return this.writeInt32(e)},t.prototype.read=function(e){var A,r;for(A=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)A.push(this.readByte());return A},t.prototype.write=function(e){var A,r,n,a;for(a=[],r=0,n=e.length;r<n;r++)A=e[r],a.push(this.writeByte(A));return a},t}(),OB=function(){var t;function e(A){var r,n,a;for(this.scalarType=A.readInt(),this.tableCount=A.readShort(),this.searchRange=A.readShort(),this.entrySelector=A.readShort(),this.rangeShift=A.readShort(),this.tables={},n=0,a=this.tableCount;0<=a?n<a:n>a;n=0<=a?++n:--n)r={tag:A.readString(4),checksum:A.readInt(),offset:A.readInt(),length:A.readInt()},this.tables[r.tag]=r}return e.prototype.encode=function(A){var r,n,a,s,o,u,d,B,g,v,p,b,F;for(F in p=Object.keys(A).length,u=Math.log(2),g=16*Math.floor(Math.log(p)/u),s=Math.floor(g/u),B=16*p-g,(n=new Cn).writeInt(this.scalarType),n.writeShort(p),n.writeShort(g),n.writeShort(s),n.writeShort(B),a=16*p,d=n.pos+a,o=null,b=[],A)for(v=A[F],n.writeString(F),n.writeInt(t(v)),n.writeInt(d),n.writeInt(v.length),b=b.concat(v),F==="head"&&(o=d),d+=v.length;d%4;)b.push(0),d++;return n.write(b),r=2981146554-t(n.data),n.pos=o+8,n.writeUInt32(r),n.data},t=function(A){var r,n,a,s;for(A=bh.call(A);A.length%4;)A.push(0);for(a=new Cn(A),n=0,r=0,s=A.length;r<s;r=r+=4)n+=a.readUInt32();return 4294967295&n},e}(),KB={}.hasOwnProperty,Ir=function(t,e){for(var A in e)KB.call(e,A)&&(t[A]=e[A]);function r(){this.constructor=t}return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t};gr=function(){function t(e){var A;this.file=e,A=this.file.directory.tables[this.tag],this.exists=!!A,A&&(this.offset=A.offset,this.length=A.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var RB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="head",e.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.revision=A.readInt(),this.checkSumAdjustment=A.readInt(),this.magicNumber=A.readInt(),this.flags=A.readShort(),this.unitsPerEm=A.readShort(),this.created=A.readLongLong(),this.modified=A.readLongLong(),this.xMin=A.readShort(),this.yMin=A.readShort(),this.xMax=A.readShort(),this.yMax=A.readShort(),this.macStyle=A.readShort(),this.lowestRecPPEM=A.readShort(),this.fontDirectionHint=A.readShort(),this.indexToLocFormat=A.readShort(),this.glyphDataFormat=A.readShort()},e.prototype.encode=function(A){var r;return(r=new Cn).writeInt(this.version),r.writeInt(this.revision),r.writeInt(this.checkSumAdjustment),r.writeInt(this.magicNumber),r.writeShort(this.flags),r.writeShort(this.unitsPerEm),r.writeLongLong(this.created),r.writeLongLong(this.modified),r.writeShort(this.xMin),r.writeShort(this.yMin),r.writeShort(this.xMax),r.writeShort(this.yMax),r.writeShort(this.macStyle),r.writeShort(this.lowestRecPPEM),r.writeShort(this.fontDirectionHint),r.writeShort(A),r.writeShort(this.glyphDataFormat),r.data},e}(),Ju=function(){function t(e,A){var r,n,a,s,o,u,d,B,g,v,p,b,F,H,m,E,R;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=A+e.readInt(),g=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(u=0;u<256;++u)this.codeMap[u]=e.readByte();break;case 4:for(p=e.readUInt16(),v=p/2,e.pos+=6,a=function(){var q,W;for(W=[],u=q=0;0<=v?q<v:q>v;u=0<=v?++q:--q)W.push(e.readUInt16());return W}(),e.pos+=2,F=function(){var q,W;for(W=[],u=q=0;0<=v?q<v:q>v;u=0<=v?++q:--q)W.push(e.readUInt16());return W}(),d=function(){var q,W;for(W=[],u=q=0;0<=v?q<v:q>v;u=0<=v?++q:--q)W.push(e.readUInt16());return W}(),B=function(){var q,W;for(W=[],u=q=0;0<=v?q<v:q>v;u=0<=v?++q:--q)W.push(e.readUInt16());return W}(),n=(this.length-e.pos+this.offset)/2,o=function(){var q,W;for(W=[],u=q=0;0<=n?q<n:q>n;u=0<=n?++q:--q)W.push(e.readUInt16());return W}(),u=m=0,R=a.length;m<R;u=++m)for(H=a[u],r=E=b=F[u];b<=H?E<=H:E>=H;r=b<=H?++E:--E)B[u]===0?s=r+d[u]:(s=o[B[u]/2+(r-b)-(v-u)]||0)!==0&&(s+=d[u]),this.codeMap[r]=65535&s}e.pos=g}return t.encode=function(e,A){var r,n,a,s,o,u,d,B,g,v,p,b,F,H,m,E,R,q,W,j,X,k,G,tA,I,Q,T,O,lA,oA,aA,_,z,rA,TA,L,P,V,J,eA,uA,dA,gA,HA,NA,MA;switch(O=new Cn,s=Object.keys(e).sort(function(PA,YA){return PA-YA}),A){case"macroman":for(F=0,H=function(){var PA=[];for(b=0;b<256;++b)PA.push(0);return PA}(),E={0:0},a={},lA=0,z=s.length;lA<z;lA++)E[gA=e[n=s[lA]]]==null&&(E[gA]=++F),a[n]={old:e[n],new:E[e[n]]},H[n]=E[e[n]];return O.writeUInt16(1),O.writeUInt16(0),O.writeUInt32(12),O.writeUInt16(0),O.writeUInt16(262),O.writeUInt16(0),O.write(H),{charMap:a,subtable:O.data,maxGlyphID:F+1};case"unicode":for(Q=[],g=[],R=0,E={},r={},m=d=null,oA=0,rA=s.length;oA<rA;oA++)E[W=e[n=s[oA]]]==null&&(E[W]=++R),r[n]={old:W,new:E[W]},o=E[W]-n,m!=null&&o===d||(m&&g.push(m),Q.push(n),d=o),m=n;for(m&&g.push(m),g.push(65535),Q.push(65535),tA=2*(G=Q.length),k=2*Math.pow(Math.log(G)/Math.LN2,2),v=Math.log(k/2)/Math.LN2,X=2*G-k,u=[],j=[],p=[],b=aA=0,TA=Q.length;aA<TA;b=++aA){if(I=Q[b],B=g[b],I===65535){u.push(0),j.push(0);break}if(I-(T=r[I].new)>=32768)for(u.push(0),j.push(2*(p.length+G-b)),n=_=I;I<=B?_<=B:_>=B;n=I<=B?++_:--_)p.push(r[n].new);else u.push(T-I),j.push(0)}for(O.writeUInt16(3),O.writeUInt16(1),O.writeUInt32(12),O.writeUInt16(4),O.writeUInt16(16+8*G+2*p.length),O.writeUInt16(0),O.writeUInt16(tA),O.writeUInt16(k),O.writeUInt16(v),O.writeUInt16(X),uA=0,L=g.length;uA<L;uA++)n=g[uA],O.writeUInt16(n);for(O.writeUInt16(0),dA=0,P=Q.length;dA<P;dA++)n=Q[dA],O.writeUInt16(n);for(HA=0,V=u.length;HA<V;HA++)o=u[HA],O.writeUInt16(o);for(NA=0,J=j.length;NA<J;NA++)q=j[NA],O.writeUInt16(q);for(MA=0,eA=p.length;MA<eA;MA++)F=p[MA],O.writeUInt16(F);return{charMap:r,subtable:O.data,maxGlyphID:R+1}}},t}(),Qh=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="cmap",e.prototype.parse=function(A){var r,n,a;for(A.pos=this.offset,this.version=A.readUInt16(),a=A.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=a?n<a:n>a;n=0<=a?++n:--n)r=new Ju(A,this.offset),this.tables.push(r),r.isUnicode&&this.unicode==null&&(this.unicode=r);return!0},e.encode=function(A,r){var n,a;return r==null&&(r="macroman"),n=Ju.encode(A,r),(a=new Cn).writeUInt16(0),a.writeUInt16(1),n.table=a.data.concat(n.subtable),n},e}(),VB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="hhea",e.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.ascender=A.readShort(),this.decender=A.readShort(),this.lineGap=A.readShort(),this.advanceWidthMax=A.readShort(),this.minLeftSideBearing=A.readShort(),this.minRightSideBearing=A.readShort(),this.xMaxExtent=A.readShort(),this.caretSlopeRise=A.readShort(),this.caretSlopeRun=A.readShort(),this.caretOffset=A.readShort(),A.pos+=8,this.metricDataFormat=A.readShort(),this.numberOfMetrics=A.readUInt16()},e}(),GB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="OS/2",e.prototype.parse=function(A){if(A.pos=this.offset,this.version=A.readUInt16(),this.averageCharWidth=A.readShort(),this.weightClass=A.readUInt16(),this.widthClass=A.readUInt16(),this.type=A.readShort(),this.ySubscriptXSize=A.readShort(),this.ySubscriptYSize=A.readShort(),this.ySubscriptXOffset=A.readShort(),this.ySubscriptYOffset=A.readShort(),this.ySuperscriptXSize=A.readShort(),this.ySuperscriptYSize=A.readShort(),this.ySuperscriptXOffset=A.readShort(),this.ySuperscriptYOffset=A.readShort(),this.yStrikeoutSize=A.readShort(),this.yStrikeoutPosition=A.readShort(),this.familyClass=A.readShort(),this.panose=function(){var r,n;for(n=[],r=0;r<10;++r)n.push(A.readByte());return n}(),this.charRange=function(){var r,n;for(n=[],r=0;r<4;++r)n.push(A.readInt());return n}(),this.vendorID=A.readString(4),this.selection=A.readShort(),this.firstCharIndex=A.readShort(),this.lastCharIndex=A.readShort(),this.version>0&&(this.ascent=A.readShort(),this.descent=A.readShort(),this.lineGap=A.readShort(),this.winAscent=A.readShort(),this.winDescent=A.readShort(),this.codePageRange=function(){var r,n;for(n=[],r=0;r<2;r=++r)n.push(A.readInt());return n}(),this.version>1))return this.xHeight=A.readShort(),this.capHeight=A.readShort(),this.defaultChar=A.readShort(),this.breakChar=A.readShort(),this.maxContext=A.readShort()},e}(),jB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="post",e.prototype.parse=function(A){var r,n,a;switch(A.pos=this.offset,this.format=A.readInt(),this.italicAngle=A.readInt(),this.underlinePosition=A.readShort(),this.underlineThickness=A.readShort(),this.isFixedPitch=A.readInt(),this.minMemType42=A.readInt(),this.maxMemType42=A.readInt(),this.minMemType1=A.readInt(),this.maxMemType1=A.readInt(),this.format){case 65536:break;case 131072:var s;for(n=A.readUInt16(),this.glyphNameIndex=[],s=0;0<=n?s<n:s>n;s=0<=n?++s:--s)this.glyphNameIndex.push(A.readUInt16());for(this.names=[],a=[];A.pos<this.offset+this.length;)r=A.readByte(),a.push(this.names.push(A.readString(r)));return a;case 151552:return n=A.readUInt16(),this.offsets=A.read(n);case 196608:break;case 262144:return this.map=(function(){var o,u,d;for(d=[],s=o=0,u=this.file.maxp.numGlyphs;0<=u?o<u:o>u;s=0<=u?++o:--o)d.push(A.readUInt32());return d}).call(this)}},e}(),qB=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},WB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="name",e.prototype.parse=function(A){var r,n,a,s,o,u,d,B,g,v,p;for(A.pos=this.offset,A.readShort(),r=A.readShort(),u=A.readShort(),n=[],s=0;0<=r?s<r:s>r;s=0<=r?++s:--s)n.push({platformID:A.readShort(),encodingID:A.readShort(),languageID:A.readShort(),nameID:A.readShort(),length:A.readShort(),offset:this.offset+u+A.readShort()});for(d={},s=g=0,v=n.length;g<v;s=++g)a=n[s],A.pos=a.offset,B=A.readString(a.length),o=new qB(B,a),d[p=a.nameID]==null&&(d[p]=[]),d[a.nameID].push(o);this.strings=d,this.copyright=d[0],this.fontFamily=d[1],this.fontSubfamily=d[2],this.uniqueSubfamily=d[3],this.fontName=d[4],this.version=d[5];try{this.postscriptName=d[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=d[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=d[7],this.manufacturer=d[8],this.designer=d[9],this.description=d[10],this.vendorUrl=d[11],this.designerUrl=d[12],this.license=d[13],this.licenseUrl=d[14],this.preferredFamily=d[15],this.preferredSubfamily=d[17],this.compatibleFull=d[18],this.sampleText=d[19]},e}(),zB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="maxp",e.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.numGlyphs=A.readUInt16(),this.maxPoints=A.readUInt16(),this.maxContours=A.readUInt16(),this.maxCompositePoints=A.readUInt16(),this.maxComponentContours=A.readUInt16(),this.maxZones=A.readUInt16(),this.maxTwilightPoints=A.readUInt16(),this.maxStorage=A.readUInt16(),this.maxFunctionDefs=A.readUInt16(),this.maxInstructionDefs=A.readUInt16(),this.maxStackElements=A.readUInt16(),this.maxSizeOfInstructions=A.readUInt16(),this.maxComponentElements=A.readUInt16(),this.maxComponentDepth=A.readUInt16()},e}(),XB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="hmtx",e.prototype.parse=function(A){var r,n,a,s,o,u,d;for(A.pos=this.offset,this.metrics=[],r=0,u=this.file.hhea.numberOfMetrics;0<=u?r<u:r>u;r=0<=u?++r:--r)this.metrics.push({advance:A.readUInt16(),lsb:A.readInt16()});for(a=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var B,g;for(g=[],r=B=0;0<=a?B<a:B>a;r=0<=a?++B:--B)g.push(A.readInt16());return g}(),this.widths=(function(){var B,g,v,p;for(p=[],B=0,g=(v=this.metrics).length;B<g;B++)s=v[B],p.push(s.advance);return p}).call(this),n=this.widths[this.widths.length-1],d=[],r=o=0;0<=a?o<a:o>a;r=0<=a?++o:--o)d.push(this.widths.push(n));return d},e.prototype.forGlyph=function(A){return A in this.metrics?this.metrics[A]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[A-this.metrics.length]}},e}(),bh=[].slice,JB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(A){var r,n,a,s,o,u,d,B,g,v;return A in this.cache?this.cache[A]:(s=this.file.loca,r=this.file.contents,n=s.indexOf(A),(a=s.lengthOf(A))===0?this.cache[A]=null:(r.pos=this.offset+n,o=(u=new Cn(r.read(a))).readShort(),B=u.readShort(),v=u.readShort(),d=u.readShort(),g=u.readShort(),this.cache[A]=o===-1?new $B(u,B,v,d,g):new YB(u,o,B,v,d,g),this.cache[A]))},e.prototype.encode=function(A,r,n){var a,s,o,u,d;for(o=[],s=[],u=0,d=r.length;u<d;u++)a=A[r[u]],s.push(o.length),a&&(o=o.concat(a.encode(n)));return s.push(o.length),{table:o,offsets:s}},e}(),YB=function(){function t(e,A,r,n,a,s){this.raw=e,this.numberOfContours=A,this.xMin=r,this.yMin=n,this.xMax=a,this.yMax=s,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),$B=function(){function t(e,A,r,n,a){var s,o;for(this.raw=e,this.xMin=A,this.yMin=r,this.xMax=n,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;o=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&o;)s.pos+=1&o?4:2,128&o?s.pos+=8:64&o?s.pos+=4:8&o&&(s.pos+=2)}return t.prototype.encode=function(){var e,A,r;for(A=new Cn(bh.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)A.pos=this.glyphOffsets[e];return A.data},t}(),ZB=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Ir(e,gr),e.prototype.tag="loca",e.prototype.parse=function(A){var r,n;return A.pos=this.offset,r=this.file.head.indexToLocFormat,this.offsets=r===0?(function(){var a,s;for(s=[],n=0,a=this.length;n<a;n+=2)s.push(2*A.readUInt16());return s}).call(this):(function(){var a,s;for(s=[],n=0,a=this.length;n<a;n+=4)s.push(A.readUInt32());return s}).call(this)},e.prototype.indexOf=function(A){return this.offsets[A]},e.prototype.lengthOf=function(A){return this.offsets[A+1]-this.offsets[A]},e.prototype.encode=function(A,r){for(var n=new Uint32Array(this.offsets.length),a=0,s=0,o=0;o<n.length;++o)if(n[o]=a,s<r.length&&r[s]==o){++s,n[o]=a;var u=this.offsets[o],d=this.offsets[o+1]-u;d>0&&(a+=d)}for(var B=new Array(4*n.length),g=0;g<n.length;++g)B[4*g+3]=255&n[g],B[4*g+2]=(65280&n[g])>>8,B[4*g+1]=(16711680&n[g])>>16,B[4*g]=(4278190080&n[g])>>24;return B},e}(),A2=function(){function t(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var e,A,r,n,a;for(A in n=this.font.cmap.tables[0].codeMap,e={},a=this.subset)r=a[A],e[A]=n[r];return e},t.prototype.glyphsFor=function(e){var A,r,n,a,s,o,u;for(n={},s=0,o=e.length;s<o;s++)n[a=e[s]]=this.font.glyf.glyphFor(a);for(a in A=[],n)(r=n[a])!=null&&r.compound&&A.push.apply(A,r.glyphIDs);if(A.length>0)for(a in u=this.glyphsFor(A))r=u[a],n[a]=r;return n},t.prototype.encode=function(e,A){var r,n,a,s,o,u,d,B,g,v,p,b,F,H,m;for(n in r=Qh.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(e),p={0:0},m=r.charMap)p[(u=m[n]).old]=u.new;for(b in v=r.maxGlyphID,s)b in p||(p[b]=v++);return B=function(E){var R,q;for(R in q={},E)q[E[R]]=R;return q}(p),g=Object.keys(B).sort(function(E,R){return E-R}),F=function(){var E,R,q;for(q=[],E=0,R=g.length;E<R;E++)o=g[E],q.push(B[o]);return q}(),a=this.font.glyf.encode(s,F,p),d=this.font.loca.encode(a.offsets,F),H={cmap:this.font.cmap.raw(),glyf:a.table,loca:d,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(A)},this.font.os2.exists&&(H["OS/2"]=this.font.os2.raw()),this.font.directory.encode(H)},t}();te.API.PDFObject=function(){var t;function e(){}return t=function(A,r){return(Array(r+1).join("0")+A).slice(-r)},e.convert=function(A){var r,n,a,s;if(Array.isArray(A))return"["+function(){var o,u,d;for(d=[],o=0,u=A.length;o<u;o++)r=A[o],d.push(e.convert(r));return d}().join(" ")+"]";if(typeof A=="string")return"/"+A;if(A!=null&&A.isString)return"("+A+")";if(A instanceof Date)return"(D:"+t(A.getUTCFullYear(),4)+t(A.getUTCMonth(),2)+t(A.getUTCDate(),2)+t(A.getUTCHours(),2)+t(A.getUTCMinutes(),2)+t(A.getUTCSeconds(),2)+"Z)";if({}.toString.call(A)==="[object Object]"){for(n in a=["<<"],A)s=A[n],a.push("/"+n+" "+e.convert(s));return a.push(">>"),a.join(`
282
+ `)}return""+A},e}();/*!
283
+ * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
284
+ * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
285
+ * Released under MIT License
286
+ *//*! *****************************************************************************
287
+ Copyright (c) Microsoft Corporation.
288
+
289
+ Permission to use, copy, modify, and/or distribute this software for any
290
+ purpose with or without fee is hereby granted.
291
+
292
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
293
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
294
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
295
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
296
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
297
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
298
+ PERFORMANCE OF THIS SOFTWARE.
299
+ ***************************************************************************** */var yc=function(t,e){return yc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,r){A.__proto__=r}||function(A,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(A[n]=r[n])},yc(t,e)};function pr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");yc(t,e);function A(){this.constructor=t}t.prototype=e===null?Object.create(e):(A.prototype=e.prototype,new A)}var Fc=function(){return Fc=Object.assign||function(e){for(var A,r=1,n=arguments.length;r<n;r++){A=arguments[r];for(var a in A)Object.prototype.hasOwnProperty.call(A,a)&&(e[a]=A[a])}return e},Fc.apply(this,arguments)};function Ut(t,e,A,r){function n(a){return a instanceof A?a:new A(function(s){s(a)})}return new(A||(A=Promise))(function(a,s){function o(B){try{d(r.next(B))}catch(g){s(g)}}function u(B){try{d(r.throw(B))}catch(g){s(g)}}function d(B){B.done?a(B.value):n(B.value).then(o,u)}d((r=r.apply(t,[])).next())})}function mt(t,e){var A={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(d){return function(B){return u([d,B])}}function u(d){if(r)throw new TypeError("Generator is already executing.");for(;A;)try{if(r=1,n&&(a=d[0]&2?n.return:d[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,d[1])).done)return a;switch(n=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return A.label++,{value:d[1],done:!1};case 5:A.label++,n=d[1],d=[0];continue;case 7:d=A.ops.pop(),A.trys.pop();continue;default:if(a=A.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){A=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){A.label=d[1];break}if(d[0]===6&&A.label<a[1]){A.label=a[1],a=d;break}if(a&&A.label<a[2]){A.label=a[2],A.ops.push(d);break}a[2]&&A.ops.pop(),A.trys.pop();continue}d=e.call(t,A)}catch(B){d=[6,B],n=0}finally{r=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Ps(t,e,A){if(arguments.length===2)for(var r=0,n=e.length,a;r<n;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||e)}var Wr=function(){function t(e,A,r,n){this.left=e,this.top=A,this.width=r,this.height=n}return t.prototype.add=function(e,A,r,n){return new t(this.left+e,this.top+A,this.width+r,this.height+n)},t.fromClientRect=function(e,A){return new t(A.left+e.windowBounds.left,A.top+e.windowBounds.top,A.width,A.height)},t.fromDOMRectList=function(e,A){var r=Array.from(A).find(function(n){return n.width!==0});return r?new t(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),ko=function(t,e){return Wr.fromClientRect(t,e.getBoundingClientRect())},e2=function(t){var e=t.body,A=t.documentElement;if(!e||!A)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,A.scrollWidth),Math.max(e.offsetWidth,A.offsetWidth),Math.max(e.clientWidth,A.clientWidth)),n=Math.max(Math.max(e.scrollHeight,A.scrollHeight),Math.max(e.offsetHeight,A.offsetHeight),Math.max(e.clientHeight,A.clientHeight));return new Wr(0,0,r,n)},Do=function(t){for(var e=[],A=0,r=t.length;A<r;){var n=t.charCodeAt(A++);if(n>=55296&&n<=56319&&A<r){var a=t.charCodeAt(A++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),A--)}else e.push(n)}return e},qe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var A=t.length;if(!A)return"";for(var r=[],n=-1,a="";++n<A;){var s=t[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===A||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},Yu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t2=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Os=0;Os<Yu.length;Os++)t2[Yu.charCodeAt(Os)]=Os;var $u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bi=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ks=0;Ks<$u.length;Ks++)bi[$u.charCodeAt(Ks)]=Ks;var r2=function(t){var e=t.length*.75,A=t.length,r,n=0,a,s,o,u;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var d=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),B=Array.isArray(d)?d:new Uint8Array(d);for(r=0;r<A;r+=4)a=bi[t.charCodeAt(r)],s=bi[t.charCodeAt(r+1)],o=bi[t.charCodeAt(r+2)],u=bi[t.charCodeAt(r+3)],B[n++]=a<<2|s>>4,B[n++]=(s&15)<<4|o>>2,B[n++]=(o&3)<<6|u&63;return d},n2=function(t){for(var e=t.length,A=[],r=0;r<e;r+=2)A.push(t[r+1]<<8|t[r]);return A},a2=function(t){for(var e=t.length,A=[],r=0;r<e;r+=4)A.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return A},Rn=5,Xc=11,Rl=2,i2=Xc-Rn,Uh=65536>>Rn,s2=1<<Rn,Vl=s2-1,o2=1024>>Rn,l2=Uh+o2,c2=l2,u2=32,f2=c2+u2,h2=65536>>Xc,d2=1<<i2,g2=d2-1,Zu=function(t,e,A){return t.slice?t.slice(e,A):new Uint16Array(Array.prototype.slice.call(t,e,A))},p2=function(t,e,A){return t.slice?t.slice(e,A):new Uint32Array(Array.prototype.slice.call(t,e,A))},B2=function(t,e){var A=r2(t),r=Array.isArray(A)?a2(A):new Uint32Array(A),n=Array.isArray(A)?n2(A):new Uint16Array(A),a=24,s=Zu(n,a/2,r[4]/2),o=r[5]===2?Zu(n,(a+r[4])/2):p2(r,Math.ceil((a+r[4])/4));return new w2(r[0],r[1],r[2],r[3],s,o)},w2=function(){function t(e,A,r,n,a,s){this.initialValue=e,this.errorValue=A,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=s}return t.prototype.get=function(e){var A;if(e>=0){if(e<55296||e>56319&&e<=65535)return A=this.index[e>>Rn],A=(A<<Rl)+(e&Vl),this.data[A];if(e<=65535)return A=this.index[Uh+(e-55296>>Rn)],A=(A<<Rl)+(e&Vl),this.data[A];if(e<this.highStart)return A=f2-h2+(e>>Xc),A=this.index[A],A+=e>>Rn&g2,A=this.index[A],A=(A<<Rl)+(e&Vl),this.data[A];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),Af="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v2=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Rs=0;Rs<Af.length;Rs++)v2[Af.charCodeAt(Rs)]=Rs;var m2="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ef=50,C2=1,Eh=2,Lh=3,y2=4,F2=5,tf=7,xh=8,rf=9,gn=10,Qc=11,nf=12,bc=13,Q2=14,Ui=15,Uc=16,Vs=17,Ci=18,b2=19,af=20,Ec=21,yi=22,Gl=23,Fa=24,Ot=25,Ei=26,Li=27,Qa=28,U2=29,Pn=30,E2=31,Gs=32,js=33,Lc=34,xc=35,Ic=36,Pi=37,Sc=38,ho=39,go=40,jl=41,Ih=42,L2=43,x2=[9001,65288],Sh="!",pe="×",qs="÷",Nc=B2(m2),Gr=[Pn,Ic],kc=[C2,Eh,Lh,F2],Nh=[gn,xh],sf=[Li,Ei],I2=kc.concat(Nh),of=[Sc,ho,go,Lc,xc],S2=[Ui,bc],N2=function(t,e){e===void 0&&(e="strict");var A=[],r=[],n=[];return t.forEach(function(a,s){var o=Nc.get(a);if(o>ef?(n.push(!0),o-=ef):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return r.push(s),A.push(Uc);if(o===y2||o===Qc){if(s===0)return r.push(s),A.push(Pn);var u=A[s-1];return I2.indexOf(u)===-1?(r.push(r[s-1]),A.push(u)):(r.push(s),A.push(Pn))}if(r.push(s),o===E2)return A.push(e==="strict"?Ec:Pi);if(o===Ih||o===U2)return A.push(Pn);if(o===L2)return a>=131072&&a<=196605||a>=196608&&a<=262141?A.push(Pi):A.push(Pn);A.push(o)}),[r,A,n]},ql=function(t,e,A,r){var n=r[A];if(Array.isArray(t)?t.indexOf(n)!==-1:t===n)for(var a=A;a<=r.length;){a++;var s=r[a];if(s===e)return!0;if(s!==gn)break}if(n===gn)for(var a=A;a>0;){a--;var o=r[a];if(Array.isArray(t)?t.indexOf(o)!==-1:t===o)for(var u=A;u<=r.length;){u++;var s=r[u];if(s===e)return!0;if(s!==gn)break}if(o!==gn)break}return!1},lf=function(t,e){for(var A=t;A>=0;){var r=e[A];if(r===gn)A--;else return r}return 0},k2=function(t,e,A,r,n){if(A[r]===0)return pe;var a=r-1;if(Array.isArray(n)&&n[a]===!0)return pe;var s=a-1,o=a+1,u=e[a],d=s>=0?e[s]:0,B=e[o];if(u===Eh&&B===Lh)return pe;if(kc.indexOf(u)!==-1)return Sh;if(kc.indexOf(B)!==-1||Nh.indexOf(B)!==-1)return pe;if(lf(a,e)===xh)return qs;if(Nc.get(t[a])===Qc||(u===Gs||u===js)&&Nc.get(t[o])===Qc||u===tf||B===tf||u===rf||[gn,bc,Ui].indexOf(u)===-1&&B===rf||[Vs,Ci,b2,Fa,Qa].indexOf(B)!==-1||lf(a,e)===yi||ql(Gl,yi,a,e)||ql([Vs,Ci],Ec,a,e)||ql(nf,nf,a,e))return pe;if(u===gn)return qs;if(u===Gl||B===Gl)return pe;if(B===Uc||u===Uc)return qs;if([bc,Ui,Ec].indexOf(B)!==-1||u===Q2||d===Ic&&S2.indexOf(u)!==-1||u===Qa&&B===Ic||B===af||Gr.indexOf(B)!==-1&&u===Ot||Gr.indexOf(u)!==-1&&B===Ot||u===Li&&[Pi,Gs,js].indexOf(B)!==-1||[Pi,Gs,js].indexOf(u)!==-1&&B===Ei||Gr.indexOf(u)!==-1&&sf.indexOf(B)!==-1||sf.indexOf(u)!==-1&&Gr.indexOf(B)!==-1||[Li,Ei].indexOf(u)!==-1&&(B===Ot||[yi,Ui].indexOf(B)!==-1&&e[o+1]===Ot)||[yi,Ui].indexOf(u)!==-1&&B===Ot||u===Ot&&[Ot,Qa,Fa].indexOf(B)!==-1)return pe;if([Ot,Qa,Fa,Vs,Ci].indexOf(B)!==-1)for(var g=a;g>=0;){var v=e[g];if(v===Ot)return pe;if([Qa,Fa].indexOf(v)!==-1)g--;else break}if([Li,Ei].indexOf(B)!==-1)for(var g=[Vs,Ci].indexOf(u)!==-1?s:a;g>=0;){var v=e[g];if(v===Ot)return pe;if([Qa,Fa].indexOf(v)!==-1)g--;else break}if(Sc===u&&[Sc,ho,Lc,xc].indexOf(B)!==-1||[ho,Lc].indexOf(u)!==-1&&[ho,go].indexOf(B)!==-1||[go,xc].indexOf(u)!==-1&&B===go||of.indexOf(u)!==-1&&[af,Ei].indexOf(B)!==-1||of.indexOf(B)!==-1&&u===Li||Gr.indexOf(u)!==-1&&Gr.indexOf(B)!==-1||u===Fa&&Gr.indexOf(B)!==-1||Gr.concat(Ot).indexOf(u)!==-1&&B===yi&&x2.indexOf(t[o])===-1||Gr.concat(Ot).indexOf(B)!==-1&&u===Ci)return pe;if(u===jl&&B===jl){for(var p=A[a],b=1;p>0&&(p--,e[p]===jl);)b++;if(b%2!==0)return pe}return u===Gs&&B===js?pe:qs},D2=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var A=N2(t,e.lineBreak),r=A[0],n=A[1],a=A[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[Ot,Pn,Ih].indexOf(o)!==-1?Pi:o}));var s=e.wordBreak==="keep-all"?a.map(function(o,u){return o&&t[u]>=19968&&t[u]<=40959}):void 0;return[r,n,s]},H2=function(){function t(e,A,r,n){this.codePoints=e,this.required=A===Sh,this.start=r,this.end=n}return t.prototype.slice=function(){return qe.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),_2=function(t,e){var A=Do(t),r=D2(A,e),n=r[0],a=r[1],s=r[2],o=A.length,u=0,d=0;return{next:function(){if(d>=o)return{done:!0,value:null};for(var B=pe;d<o&&(B=k2(A,a,n,++d,s))===pe;);if(B!==pe||d===o){var g=new H2(A,B,u,d);return u=d,{value:g,done:!1}}return{done:!0,value:null}}}},T2=1,M2=2,Ri=4,cf=8,mo=10,uf=47,ki=92,P2=9,O2=32,Ws=34,Fi=61,K2=35,R2=36,V2=37,zs=39,Xs=40,Qi=41,G2=95,kt=45,j2=33,q2=60,W2=62,z2=64,X2=91,J2=93,Y2=61,$2=123,Js=63,Z2=125,ff=124,Aw=126,ew=128,hf=65533,Wl=42,On=43,tw=44,rw=58,nw=59,Oi=46,aw=0,iw=8,sw=11,ow=14,lw=31,cw=127,Ur=-1,kh=48,Dh=97,Hh=101,uw=102,fw=117,hw=122,_h=65,Th=69,Mh=70,dw=85,gw=90,Ct=function(t){return t>=kh&&t<=57},pw=function(t){return t>=55296&&t<=57343},ba=function(t){return Ct(t)||t>=_h&&t<=Mh||t>=Dh&&t<=uw},Bw=function(t){return t>=Dh&&t<=hw},ww=function(t){return t>=_h&&t<=gw},vw=function(t){return Bw(t)||ww(t)},mw=function(t){return t>=ew},Ys=function(t){return t===mo||t===P2||t===O2},Co=function(t){return vw(t)||mw(t)||t===G2},df=function(t){return Co(t)||Ct(t)||t===kt},Cw=function(t){return t>=aw&&t<=iw||t===sw||t>=ow&&t<=lw||t===cw},hn=function(t,e){return t!==ki?!1:e!==mo},$s=function(t,e,A){return t===kt?Co(e)||hn(e,A):Co(t)?!0:!!(t===ki&&hn(t,e))},zl=function(t,e,A){return t===On||t===kt?Ct(e)?!0:e===Oi&&Ct(A):Ct(t===Oi?e:t)},yw=function(t){var e=0,A=1;(t[e]===On||t[e]===kt)&&(t[e]===kt&&(A=-1),e++);for(var r=[];Ct(t[e]);)r.push(t[e++]);var n=r.length?parseInt(qe.apply(void 0,r),10):0;t[e]===Oi&&e++;for(var a=[];Ct(t[e]);)a.push(t[e++]);var s=a.length,o=s?parseInt(qe.apply(void 0,a),10):0;(t[e]===Th||t[e]===Hh)&&e++;var u=1;(t[e]===On||t[e]===kt)&&(t[e]===kt&&(u=-1),e++);for(var d=[];Ct(t[e]);)d.push(t[e++]);var B=d.length?parseInt(qe.apply(void 0,d),10):0;return A*(n+o*Math.pow(10,-s))*Math.pow(10,u*B)},Fw={type:2},Qw={type:3},bw={type:4},Uw={type:13},Ew={type:8},Lw={type:21},xw={type:9},Iw={type:10},Sw={type:11},Nw={type:12},kw={type:14},Zs={type:23},Dw={type:1},Hw={type:25},_w={type:24},Tw={type:26},Mw={type:27},Pw={type:28},Ow={type:29},Kw={type:31},Dc={type:32},Ph=function(){function t(){this._value=[]}return t.prototype.write=function(e){this._value=this._value.concat(Do(e))},t.prototype.read=function(){for(var e=[],A=this.consumeToken();A!==Dc;)e.push(A),A=this.consumeToken();return e},t.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Ws:return this.consumeStringToken(Ws);case K2:var A=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(df(A)||hn(r,n)){var a=$s(A,r,n)?M2:T2,s=this.consumeName();return{type:5,value:s,flags:a}}break;case R2:if(this.peekCodePoint(0)===Fi)return this.consumeCodePoint(),Uw;break;case zs:return this.consumeStringToken(zs);case Xs:return Fw;case Qi:return Qw;case Wl:if(this.peekCodePoint(0)===Fi)return this.consumeCodePoint(),kw;break;case On:if(zl(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case tw:return bw;case kt:var o=e,u=this.peekCodePoint(0),d=this.peekCodePoint(1);if(zl(o,u,d))return this.reconsumeCodePoint(e),this.consumeNumericToken();if($s(o,u,d))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(u===kt&&d===W2)return this.consumeCodePoint(),this.consumeCodePoint(),_w;break;case Oi:if(zl(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case uf:if(this.peekCodePoint(0)===Wl)for(this.consumeCodePoint();;){var B=this.consumeCodePoint();if(B===Wl&&(B=this.consumeCodePoint(),B===uf))return this.consumeToken();if(B===Ur)return this.consumeToken()}break;case rw:return Tw;case nw:return Mw;case q2:if(this.peekCodePoint(0)===j2&&this.peekCodePoint(1)===kt&&this.peekCodePoint(2)===kt)return this.consumeCodePoint(),this.consumeCodePoint(),Hw;break;case z2:var g=this.peekCodePoint(0),v=this.peekCodePoint(1),p=this.peekCodePoint(2);if($s(g,v,p)){var s=this.consumeName();return{type:7,value:s}}break;case X2:return Pw;case ki:if(hn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case J2:return Ow;case Y2:if(this.peekCodePoint(0)===Fi)return this.consumeCodePoint(),Ew;break;case $2:return Sw;case Z2:return Nw;case fw:case dw:var b=this.peekCodePoint(0),F=this.peekCodePoint(1);return b===On&&(ba(F)||F===Js)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case ff:if(this.peekCodePoint(0)===Fi)return this.consumeCodePoint(),xw;if(this.peekCodePoint(0)===ff)return this.consumeCodePoint(),Lw;break;case Aw:if(this.peekCodePoint(0)===Fi)return this.consumeCodePoint(),Iw;break;case Ur:return Dc}return Ys(e)?(this.consumeWhiteSpace(),Kw):Ct(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Co(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:qe(e)}},t.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},t.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},t.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},t.prototype.consumeUnicodeRangeToken=function(){for(var e=[],A=this.consumeCodePoint();ba(A)&&e.length<6;)e.push(A),A=this.consumeCodePoint();for(var r=!1;A===Js&&e.length<6;)e.push(A),A=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(qe.apply(void 0,e.map(function(u){return u===Js?kh:u})),16),a=parseInt(qe.apply(void 0,e.map(function(u){return u===Js?Mh:u})),16);return{type:30,start:n,end:a}}var s=parseInt(qe.apply(void 0,e),16);if(this.peekCodePoint(0)===kt&&ba(this.peekCodePoint(1))){this.consumeCodePoint(),A=this.consumeCodePoint();for(var o=[];ba(A)&&o.length<6;)o.push(A),A=this.consumeCodePoint();var a=parseInt(qe.apply(void 0,o),16);return{type:30,start:s,end:a}}else return{type:30,start:s,end:s}},t.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Xs?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Xs?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},t.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ur)return{type:22,value:""};var A=this.peekCodePoint(0);if(A===zs||A===Ws){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ur||this.peekCodePoint(0)===Qi)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Zs)}for(;;){var n=this.consumeCodePoint();if(n===Ur||n===Qi)return{type:22,value:qe.apply(void 0,e)};if(Ys(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ur||this.peekCodePoint(0)===Qi?(this.consumeCodePoint(),{type:22,value:qe.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Zs);if(n===Ws||n===zs||n===Xs||Cw(n))return this.consumeBadUrlRemnants(),Zs;if(n===ki)if(hn(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Zs;else e.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;Ys(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Qi||e===Ur)return;hn(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(e){for(var A=5e4,r="";e>0;){var n=Math.min(A,e);r+=qe.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},t.prototype.consumeStringToken=function(e){var A="",r=0;do{var n=this._value[r];if(n===Ur||n===void 0||n===e)return A+=this.consumeStringSlice(r),{type:0,value:A};if(n===mo)return this._value.splice(0,r),Dw;if(n===ki){var a=this._value[r+1];a!==Ur&&a!==void 0&&(a===mo?(A+=this.consumeStringSlice(r),r=-1,this._value.shift()):hn(n,a)&&(A+=this.consumeStringSlice(r),A+=qe(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},t.prototype.consumeNumber=function(){var e=[],A=Ri,r=this.peekCodePoint(0);for((r===On||r===kt)&&e.push(this.consumeCodePoint());Ct(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Oi&&Ct(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),A=cf;Ct(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((r===Th||r===Hh)&&((n===On||n===kt)&&Ct(a)||Ct(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),A=cf;Ct(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[yw(e),A]},t.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),A=e[0],r=e[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if($s(n,a,s)){var o=this.consumeName();return{type:15,number:A,flags:r,unit:o}}return n===V2?(this.consumeCodePoint(),{type:16,number:A,flags:r}):{type:17,number:A,flags:r}},t.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(ba(e)){for(var A=qe(e);ba(this.peekCodePoint(0))&&A.length<6;)A+=qe(this.consumeCodePoint());Ys(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(A,16);return r===0||pw(r)||r>1114111?hf:r}return e===Ur?hf:e},t.prototype.consumeName=function(){for(var e="";;){var A=this.consumeCodePoint();if(df(A))e+=qe(A);else if(hn(A,this.peekCodePoint(0)))e+=qe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(A),e}},t}(),Oh=function(){function t(e){this._tokens=e}return t.create=function(e){var A=new Ph;return A.write(e),new t(A.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var A=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return A;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var e=[];;){var A=this.consumeComponentValue();if(A.type===32)return e;e.push(A),e.push()}},t.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},t.prototype.consumeSimpleBlock=function(e){for(var A={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||Vw(r,e))return A;this.reconsumeToken(r),A.values.push(this.consumeComponentValue()),r=this.consumeToken()}},t.prototype.consumeFunction=function(e){for(var A={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return A;this.reconsumeToken(r),A.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Dc:e},t.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},t}(),Vi=function(t){return t.type===15},Ra=function(t){return t.type===17},Ee=function(t){return t.type===20},Rw=function(t){return t.type===0},Hc=function(t,e){return Ee(t)&&t.value===e},Kh=function(t){return t.type!==31},Ka=function(t){return t.type!==31&&t.type!==4},Sr=function(t){var e=[],A=[];return t.forEach(function(r){if(r.type===4){if(A.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(A),A=[];return}r.type!==31&&A.push(r)}),A.length&&e.push(A),e},Vw=function(t,e){return e===11&&t.type===12||e===28&&t.type===29?!0:e===2&&t.type===3},yn=function(t){return t.type===17||t.type===15},At=function(t){return t.type===16||yn(t)},Rh=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},ht={type:17,number:0,flags:Ri},Jc={type:16,number:50,flags:Ri},pn={type:16,number:100,flags:Ri},xi=function(t,e,A){var r=t[0],n=t[1];return[Ne(r,e),Ne(typeof n<"u"?n:r,A)]},Ne=function(t,e){if(t.type===16)return t.number/100*e;if(Vi(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},Vh="deg",Gh="grad",jh="rad",qh="turn",Ho={name:"angle",parse:function(t,e){if(e.type===15)switch(e.unit){case Vh:return Math.PI*e.number/180;case Gh:return Math.PI/200*e.number;case jh:return e.number;case qh:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},Wh=function(t){return t.type===15&&(t.unit===Vh||t.unit===Gh||t.unit===jh||t.unit===qh)},zh=function(t){var e=t.filter(Ee).map(function(A){return A.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ht,ht];case"to top":case"bottom":return $t(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ht,pn];case"to right":case"left":return $t(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[pn,pn];case"to bottom":case"top":return $t(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[pn,ht];case"to left":case"right":return $t(270)}return 0},$t=function(t){return Math.PI*t/180},wn={name:"color",parse:function(t,e){if(e.type===18){var A=Gw[e.name];if(typeof A>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return A(t,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3);return Bn(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3),s=e.value.substring(3,4);return Bn(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(s+s,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6);return Bn(parseInt(r,16),parseInt(n,16),parseInt(a,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6),s=e.value.substring(6,8);return Bn(parseInt(r,16),parseInt(n,16),parseInt(a,16),parseInt(s,16)/255)}}if(e.type===20){var o=qr[e.value.toUpperCase()];if(typeof o<"u")return o}return qr.TRANSPARENT}},vn=function(t){return(255&t)===0},st=function(t){var e=255&t,A=255&t>>8,r=255&t>>16,n=255&t>>24;return e<255?"rgba("+n+","+r+","+A+","+e/255+")":"rgb("+n+","+r+","+A+")"},Bn=function(t,e,A,r){return(t<<24|e<<16|A<<8|Math.round(r*255)<<0)>>>0},gf=function(t,e){if(t.type===17)return t.number;if(t.type===16){var A=e===3?1:255;return e===3?t.number/100*A:Math.round(t.number/100*A)}return 0},pf=function(t,e){var A=e.filter(Ka);if(A.length===3){var r=A.map(gf),n=r[0],a=r[1],s=r[2];return Bn(n,a,s,1)}if(A.length===4){var o=A.map(gf),n=o[0],a=o[1],s=o[2],u=o[3];return Bn(n,a,s,u)}return 0};function Xl(t,e,A){return A<0&&(A+=1),A>=1&&(A-=1),A<1/6?(e-t)*A*6+t:A<1/2?e:A<2/3?(e-t)*6*(2/3-A)+t:t}var Bf=function(t,e){var A=e.filter(Ka),r=A[0],n=A[1],a=A[2],s=A[3],o=(r.type===17?$t(r.number):Ho.parse(t,r))/(Math.PI*2),u=At(n)?n.number/100:0,d=At(a)?a.number/100:0,B=typeof s<"u"&&At(s)?Ne(s,1):1;if(u===0)return Bn(d*255,d*255,d*255,1);var g=d<=.5?d*(u+1):d+u-d*u,v=d*2-g,p=Xl(v,g,o+1/3),b=Xl(v,g,o),F=Xl(v,g,o-1/3);return Bn(p*255,b*255,F*255,B)},Gw={hsl:Bf,hsla:Bf,rgb:pf,rgba:pf},Di=function(t,e){return wn.parse(t,Oh.create(e).parseComponentValue())},qr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},jw={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(A){if(Ee(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},qw={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_o=function(t,e){var A=wn.parse(t,e[0]),r=e[1];return r&&At(r)?{color:A,stop:r}:{color:A,stop:null}},wf=function(t,e){var A=t[0],r=t[t.length-1];A.stop===null&&(A.stop=ht),r.stop===null&&(r.stop=pn);for(var n=[],a=0,s=0;s<t.length;s++){var o=t[s].stop;if(o!==null){var u=Ne(o,e);u>a?n.push(u):n.push(a),a=u}else n.push(null)}for(var d=null,s=0;s<n.length;s++){var B=n[s];if(B===null)d===null&&(d=s);else if(d!==null){for(var g=s-d,v=n[d-1],p=(B-v)/(g+1),b=1;b<=g;b++)n[d+b-1]=p*b;d=null}}return t.map(function(F,H){var m=F.color;return{color:m,stop:Math.max(Math.min(1,n[H]/e),0)}})},Ww=function(t,e,A){var r=e/2,n=A/2,a=Ne(t[0],e)-r,s=n-Ne(t[1],A);return(Math.atan2(s,a)+Math.PI*2)%(Math.PI*2)},zw=function(t,e,A){var r=typeof t=="number"?t:Ww(t,e,A),n=Math.abs(e*Math.sin(r))+Math.abs(A*Math.cos(r)),a=e/2,s=A/2,o=n/2,u=Math.sin(r-Math.PI/2)*o,d=Math.cos(r-Math.PI/2)*o;return[n,a-d,a+d,s-u,s+u]},ur=function(t,e){return Math.sqrt(t*t+e*e)},vf=function(t,e,A,r,n){var a=[[0,0],[0,e],[t,0],[t,e]];return a.reduce(function(s,o){var u=o[0],d=o[1],B=ur(A-u,r-d);return(n?B<s.optimumDistance:B>s.optimumDistance)?{optimumCorner:o,optimumDistance:B}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Xw=function(t,e,A,r,n){var a=0,s=0;switch(t.size){case 0:t.shape===0?a=s=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(A),Math.abs(A-n)):t.shape===1&&(a=Math.min(Math.abs(e),Math.abs(e-r)),s=Math.min(Math.abs(A),Math.abs(A-n)));break;case 2:if(t.shape===0)a=s=Math.min(ur(e,A),ur(e,A-n),ur(e-r,A),ur(e-r,A-n));else if(t.shape===1){var o=Math.min(Math.abs(A),Math.abs(A-n))/Math.min(Math.abs(e),Math.abs(e-r)),u=vf(r,n,e,A,!0),d=u[0],B=u[1];a=ur(d-e,(B-A)/o),s=o*a}break;case 1:t.shape===0?a=s=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(A),Math.abs(A-n)):t.shape===1&&(a=Math.max(Math.abs(e),Math.abs(e-r)),s=Math.max(Math.abs(A),Math.abs(A-n)));break;case 3:if(t.shape===0)a=s=Math.max(ur(e,A),ur(e,A-n),ur(e-r,A),ur(e-r,A-n));else if(t.shape===1){var o=Math.max(Math.abs(A),Math.abs(A-n))/Math.max(Math.abs(e),Math.abs(e-r)),g=vf(r,n,e,A,!1),d=g[0],B=g[1];a=ur(d-e,(B-A)/o),s=o*a}break}return Array.isArray(t.size)&&(a=Ne(t.size[0],r),s=t.size.length===2?Ne(t.size[1],n):a),[a,s]},Jw=function(t,e){var A=$t(180),r=[];return Sr(e).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&s.value==="to"){A=zh(n);return}else if(Wh(s)){A=Ho.parse(t,s);return}}var o=_o(t,n);r.push(o)}),{angle:A,stops:r,type:1}},Ao=function(t,e){var A=$t(180),r=[];return Sr(e).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){A=zh(n);return}else if(Wh(s)){A=(Ho.parse(t,s)+$t(270))%$t(360);return}}var o=_o(t,n);r.push(o)}),{angle:A,stops:r,type:1}},Yw=function(t,e){var A=$t(180),r=[],n=1,a=0,s=3,o=[];return Sr(e).forEach(function(u,d){var B=u[0];if(d===0){if(Ee(B)&&B.value==="linear"){n=1;return}else if(Ee(B)&&B.value==="radial"){n=2;return}}if(B.type===18){if(B.name==="from"){var g=wn.parse(t,B.values[0]);r.push({stop:ht,color:g})}else if(B.name==="to"){var g=wn.parse(t,B.values[0]);r.push({stop:pn,color:g})}else if(B.name==="color-stop"){var v=B.values.filter(Ka);if(v.length===2){var g=wn.parse(t,v[1]),p=v[0];Ra(p)&&r.push({stop:{type:16,number:p.number*100,flags:p.flags},color:g})}}}}),n===1?{angle:(A+$t(180))%$t(360),stops:r,type:n}:{size:s,shape:a,stops:r,position:o,type:n}},Xh="closest-side",Jh="farthest-side",Yh="closest-corner",$h="farthest-corner",Zh="circle",Ad="ellipse",ed="cover",td="contain",$w=function(t,e){var A=0,r=3,n=[],a=[];return Sr(e).forEach(function(s,o){var u=!0;if(o===0){var d=!1;u=s.reduce(function(g,v){if(d)if(Ee(v))switch(v.value){case"center":return a.push(Jc),g;case"top":case"left":return a.push(ht),g;case"right":case"bottom":return a.push(pn),g}else(At(v)||yn(v))&&a.push(v);else if(Ee(v))switch(v.value){case Zh:return A=0,!1;case Ad:return A=1,!1;case"at":return d=!0,!1;case Xh:return r=0,!1;case ed:case Jh:return r=1,!1;case td:case Yh:return r=2,!1;case $h:return r=3,!1}else if(yn(v)||At(v))return Array.isArray(r)||(r=[]),r.push(v),!1;return g},u)}if(u){var B=_o(t,s);n.push(B)}}),{size:r,shape:A,stops:n,position:a,type:2}},eo=function(t,e){var A=0,r=3,n=[],a=[];return Sr(e).forEach(function(s,o){var u=!0;if(o===0?u=s.reduce(function(B,g){if(Ee(g))switch(g.value){case"center":return a.push(Jc),!1;case"top":case"left":return a.push(ht),!1;case"right":case"bottom":return a.push(pn),!1}else if(At(g)||yn(g))return a.push(g),!1;return B},u):o===1&&(u=s.reduce(function(B,g){if(Ee(g))switch(g.value){case Zh:return A=0,!1;case Ad:return A=1,!1;case td:case Xh:return r=0,!1;case Jh:return r=1,!1;case Yh:return r=2,!1;case ed:case $h:return r=3,!1}else if(yn(g)||At(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return B},u)),u){var d=_o(t,s);n.push(d)}}),{size:r,shape:A,stops:n,position:a,type:2}},Zw=function(t){return t.type===1},A5=function(t){return t.type===2},Yc={name:"image",parse:function(t,e){if(e.type===22){var A={url:e.value,type:0};return t.cache.addImage(e.value),A}if(e.type===18){var r=rd[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(t,e.values)}throw new Error("Unsupported image type "+e.type)}};function e5(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!rd[t.name])}var rd={"linear-gradient":Jw,"-moz-linear-gradient":Ao,"-ms-linear-gradient":Ao,"-o-linear-gradient":Ao,"-webkit-linear-gradient":Ao,"radial-gradient":$w,"-moz-radial-gradient":eo,"-ms-radial-gradient":eo,"-o-radial-gradient":eo,"-webkit-radial-gradient":eo,"-webkit-gradient":Yw},t5={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var A=e[0];return A.type===20&&A.value==="none"?[]:e.filter(function(r){return Ka(r)&&e5(r)}).map(function(r){return Yc.parse(t,r)})}},r5={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(A){if(Ee(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},n5={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return Sr(e).map(function(A){return A.filter(At)}).map(Rh)}},a5={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return Sr(e).map(function(A){return A.filter(Ee).map(function(r){return r.value}).join(" ")}).map(i5)}},i5=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Oa;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(Oa||(Oa={}));var s5={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return Sr(e).map(function(A){return A.filter(o5)})}},o5=function(t){return Ee(t)||At(t)},To=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},l5=To("top"),c5=To("right"),u5=To("bottom"),f5=To("left"),Mo=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(e,A){return Rh(A.filter(At))}}},h5=Mo("top-left"),d5=Mo("top-right"),g5=Mo("bottom-right"),p5=Mo("bottom-left"),Po=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,A){switch(A){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},B5=Po("top"),w5=Po("right"),v5=Po("bottom"),m5=Po("left"),Oo=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,A){return Vi(A)?A.number:0}}},C5=Oo("top"),y5=Oo("right"),F5=Oo("bottom"),Q5=Oo("left"),b5={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},U5={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},E5={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(Ee).reduce(function(A,r){return A|L5(r.value)},0)}},L5=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},x5={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},I5={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},yo;(function(t){t.NORMAL="normal",t.STRICT="strict"})(yo||(yo={}));var S5={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"strict":return yo.STRICT;case"normal":default:return yo.NORMAL}}},N5={name:"line-height",initialValue:"normal",prefix:!1,type:4},mf=function(t,e){return Ee(t)&&t.value==="normal"?1.2*e:t.type===17?e*t.number:At(t)?Ne(t,e):e},k5={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return e.type===20&&e.value==="none"?null:Yc.parse(t,e)}},D5={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},_c={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Ko=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},H5=Ko("top"),_5=Ko("right"),T5=Ko("bottom"),M5=Ko("left"),P5={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(Ee).map(function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},O5={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ro=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},K5=Ro("top"),R5=Ro("right"),V5=Ro("bottom"),G5=Ro("left"),j5={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},q5={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},W5={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&Hc(e[0],"none")?[]:Sr(e).map(function(A){for(var r={color:qr.TRANSPARENT,offsetX:ht,offsetY:ht,blur:ht},n=0,a=0;a<A.length;a++){var s=A[a];yn(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:r.blur=s,n++):r.color=wn.parse(t,s)}return r})}},z5={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},X5={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var A=$5[e.name];if(typeof A>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return A(e.values)}return null}},J5=function(t){var e=t.filter(function(A){return A.type===17}).map(function(A){return A.number});return e.length===6?e:null},Y5=function(t){var e=t.filter(function(u){return u.type===17}).map(function(u){return u.number}),A=e[0],r=e[1];e[2],e[3];var n=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],o=e[13];return e[14],e[15],e.length===16?[A,r,n,a,s,o]:null},$5={matrix:J5,matrix3d:Y5},Cf={type:16,number:50,flags:Ri},Z5=[Cf,Cf],Av={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,e){var A=e.filter(At);return A.length!==2?Z5:[A[0],A[1]]}},ev={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Hi;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Hi||(Hi={}));var tv={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-all":return Hi.BREAK_ALL;case"keep-all":return Hi.KEEP_ALL;case"normal":default:return Hi.NORMAL}}},rv={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,e){if(e.type===20)return{auto:!0,order:0};if(Ra(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},nd={name:"time",parse:function(t,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},nv={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,e){return Ra(e)?e.number:1}},av={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},iv={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,e){return e.filter(Ee).map(function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(A){return A!==0})}},sv={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,e){var A=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:A.push(n.value);break;case 17:A.push(n.number.toString());break;case 4:r.push(A.join(" ")),A.length=0;break}}),A.length&&r.push(A.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},ov={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},lv={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,e){if(Ra(e))return e.number;if(Ee(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},cv={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.filter(Ee).map(function(A){return A.value})}},uv={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},rt=function(t,e){return(t&e)!==0},fv={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var A=e[0];return A.type===20&&A.value==="none"?[]:e}},hv={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var A=e[0];if(A.type===20&&A.value==="none")return null;for(var r=[],n=e.filter(Kh),a=0;a<n.length;a++){var s=n[a],o=n[a+1];if(s.type===20){var u=o&&Ra(o)?o.number:1;r.push({counter:s.value,increment:u})}}return r}},dv={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return[];for(var A=[],r=e.filter(Kh),n=0;n<r.length;n++){var a=r[n],s=r[n+1];if(Ee(a)&&a.value!=="none"){var o=s&&Ra(s)?s.number:0;A.push({counter:a.value,reset:o})}}return A}},gv={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,e){return e.filter(Vi).map(function(A){return nd.parse(t,A)})}},pv={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var A=e[0];if(A.type===20&&A.value==="none")return null;var r=[],n=e.filter(Rw);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var s=n[a].value,o=n[a+1].value;r.push({open:s,close:o})}return r}},yf=function(t,e,A){if(!t)return"";var r=t[Math.min(e,t.length-1)];return r?A?r.open:r.close:""},Bv={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&Hc(e[0],"none")?[]:Sr(e).map(function(A){for(var r={color:255,offsetX:ht,offsetY:ht,blur:ht,spread:ht,inset:!1},n=0,a=0;a<A.length;a++){var s=A[a];Hc(s,"inset")?r.inset=!0:yn(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:n===2?r.blur=s:r.spread=s,n++):r.color=wn.parse(t,s)}return r})}},wv={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,e){var A=[0,1,2],r=[];return e.filter(Ee).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),A.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},vv={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},mv={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return Vi(e)?e.number:0}},Cv=function(){function t(e,A){var r,n;this.animationDuration=qA(e,gv,A.animationDuration),this.backgroundClip=qA(e,jw,A.backgroundClip),this.backgroundColor=qA(e,qw,A.backgroundColor),this.backgroundImage=qA(e,t5,A.backgroundImage),this.backgroundOrigin=qA(e,r5,A.backgroundOrigin),this.backgroundPosition=qA(e,n5,A.backgroundPosition),this.backgroundRepeat=qA(e,a5,A.backgroundRepeat),this.backgroundSize=qA(e,s5,A.backgroundSize),this.borderTopColor=qA(e,l5,A.borderTopColor),this.borderRightColor=qA(e,c5,A.borderRightColor),this.borderBottomColor=qA(e,u5,A.borderBottomColor),this.borderLeftColor=qA(e,f5,A.borderLeftColor),this.borderTopLeftRadius=qA(e,h5,A.borderTopLeftRadius),this.borderTopRightRadius=qA(e,d5,A.borderTopRightRadius),this.borderBottomRightRadius=qA(e,g5,A.borderBottomRightRadius),this.borderBottomLeftRadius=qA(e,p5,A.borderBottomLeftRadius),this.borderTopStyle=qA(e,B5,A.borderTopStyle),this.borderRightStyle=qA(e,w5,A.borderRightStyle),this.borderBottomStyle=qA(e,v5,A.borderBottomStyle),this.borderLeftStyle=qA(e,m5,A.borderLeftStyle),this.borderTopWidth=qA(e,C5,A.borderTopWidth),this.borderRightWidth=qA(e,y5,A.borderRightWidth),this.borderBottomWidth=qA(e,F5,A.borderBottomWidth),this.borderLeftWidth=qA(e,Q5,A.borderLeftWidth),this.boxShadow=qA(e,Bv,A.boxShadow),this.color=qA(e,b5,A.color),this.direction=qA(e,U5,A.direction),this.display=qA(e,E5,A.display),this.float=qA(e,x5,A.cssFloat),this.fontFamily=qA(e,sv,A.fontFamily),this.fontSize=qA(e,ov,A.fontSize),this.fontStyle=qA(e,uv,A.fontStyle),this.fontVariant=qA(e,cv,A.fontVariant),this.fontWeight=qA(e,lv,A.fontWeight),this.letterSpacing=qA(e,I5,A.letterSpacing),this.lineBreak=qA(e,S5,A.lineBreak),this.lineHeight=qA(e,N5,A.lineHeight),this.listStyleImage=qA(e,k5,A.listStyleImage),this.listStylePosition=qA(e,D5,A.listStylePosition),this.listStyleType=qA(e,_c,A.listStyleType),this.marginTop=qA(e,H5,A.marginTop),this.marginRight=qA(e,_5,A.marginRight),this.marginBottom=qA(e,T5,A.marginBottom),this.marginLeft=qA(e,M5,A.marginLeft),this.opacity=qA(e,nv,A.opacity);var a=qA(e,P5,A.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=qA(e,O5,A.overflowWrap),this.paddingTop=qA(e,K5,A.paddingTop),this.paddingRight=qA(e,R5,A.paddingRight),this.paddingBottom=qA(e,V5,A.paddingBottom),this.paddingLeft=qA(e,G5,A.paddingLeft),this.paintOrder=qA(e,wv,A.paintOrder),this.position=qA(e,q5,A.position),this.textAlign=qA(e,j5,A.textAlign),this.textDecorationColor=qA(e,av,(r=A.textDecorationColor)!==null&&r!==void 0?r:A.color),this.textDecorationLine=qA(e,iv,(n=A.textDecorationLine)!==null&&n!==void 0?n:A.textDecoration),this.textShadow=qA(e,W5,A.textShadow),this.textTransform=qA(e,z5,A.textTransform),this.transform=qA(e,X5,A.transform),this.transformOrigin=qA(e,Av,A.transformOrigin),this.visibility=qA(e,ev,A.visibility),this.webkitTextStrokeColor=qA(e,vv,A.webkitTextStrokeColor),this.webkitTextStrokeWidth=qA(e,mv,A.webkitTextStrokeWidth),this.wordBreak=qA(e,tv,A.wordBreak),this.zIndex=qA(e,rv,A.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return vn(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return rt(this.display,4)||rt(this.display,33554432)||rt(this.display,268435456)||rt(this.display,536870912)||rt(this.display,67108864)||rt(this.display,134217728)},t}(),yv=function(){function t(e,A){this.content=qA(e,fv,A.content),this.quotes=qA(e,pv,A.quotes)}return t}(),Ff=function(){function t(e,A){this.counterIncrement=qA(e,hv,A.counterIncrement),this.counterReset=qA(e,dv,A.counterReset)}return t}(),qA=function(t,e,A){var r=new Ph,n=A!==null&&typeof A<"u"?A.toString():e.initialValue;r.write(n);var a=new Oh(r.read());switch(e.type){case 2:var s=a.parseComponentValue();return e.parse(t,Ee(s)?s.value:e.initialValue);case 0:return e.parse(t,a.parseComponentValue());case 1:return e.parse(t,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return Ho.parse(t,a.parseComponentValue());case"color":return wn.parse(t,a.parseComponentValue());case"image":return Yc.parse(t,a.parseComponentValue());case"length":var o=a.parseComponentValue();return yn(o)?o:ht;case"length-percentage":var u=a.parseComponentValue();return At(u)?u:ht;case"time":return nd.parse(t,a.parseComponentValue())}break}},Fv="data-html2canvas-debug",Qv=function(t){var e=t.getAttribute(Fv);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Tc=function(t,e){var A=Qv(t);return A===1||e===A},Nr=function(){function t(e,A){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Tc(A,3))debugger;this.styles=new Cv(e,window.getComputedStyle(A,null)),Oc(A)&&(this.styles.animationDuration.some(function(r){return r>0})&&(A.style.animationDuration="0s"),this.styles.transform!==null&&(A.style.transform="none")),this.bounds=ko(this.context,A),Tc(A,4)&&(this.flags|=16)}return t}(),bv="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Qf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ii=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var to=0;to<Qf.length;to++)Ii[Qf.charCodeAt(to)]=to;var Uv=function(t){var e=t.length*.75,A=t.length,r,n=0,a,s,o,u;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var d=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),B=Array.isArray(d)?d:new Uint8Array(d);for(r=0;r<A;r+=4)a=Ii[t.charCodeAt(r)],s=Ii[t.charCodeAt(r+1)],o=Ii[t.charCodeAt(r+2)],u=Ii[t.charCodeAt(r+3)],B[n++]=a<<2|s>>4,B[n++]=(s&15)<<4|o>>2,B[n++]=(o&3)<<6|u&63;return d},Ev=function(t){for(var e=t.length,A=[],r=0;r<e;r+=2)A.push(t[r+1]<<8|t[r]);return A},Lv=function(t){for(var e=t.length,A=[],r=0;r<e;r+=4)A.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return A},Vn=5,$c=11,Jl=2,xv=$c-Vn,ad=65536>>Vn,Iv=1<<Vn,Yl=Iv-1,Sv=1024>>Vn,Nv=ad+Sv,kv=Nv,Dv=32,Hv=kv+Dv,_v=65536>>$c,Tv=1<<xv,Mv=Tv-1,bf=function(t,e,A){return t.slice?t.slice(e,A):new Uint16Array(Array.prototype.slice.call(t,e,A))},Pv=function(t,e,A){return t.slice?t.slice(e,A):new Uint32Array(Array.prototype.slice.call(t,e,A))},Ov=function(t,e){var A=Uv(t),r=Array.isArray(A)?Lv(A):new Uint32Array(A),n=Array.isArray(A)?Ev(A):new Uint16Array(A),a=24,s=bf(n,a/2,r[4]/2),o=r[5]===2?bf(n,(a+r[4])/2):Pv(r,Math.ceil((a+r[4])/4));return new Kv(r[0],r[1],r[2],r[3],s,o)},Kv=function(){function t(e,A,r,n,a,s){this.initialValue=e,this.errorValue=A,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=s}return t.prototype.get=function(e){var A;if(e>=0){if(e<55296||e>56319&&e<=65535)return A=this.index[e>>Vn],A=(A<<Jl)+(e&Yl),this.data[A];if(e<=65535)return A=this.index[ad+(e-55296>>Vn)],A=(A<<Jl)+(e&Yl),this.data[A];if(e<this.highStart)return A=Hv-_v+(e>>$c),A=this.index[A],A+=e>>Vn&Mv,A=this.index[A],A=(A<<Jl)+(e&Yl),this.data[A];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),Uf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ro=0;ro<Uf.length;ro++)Rv[Uf.charCodeAt(ro)]=ro;var Vv=1,$l=2,Zl=3,Ef=4,Lf=5,Gv=7,xf=8,Ac=9,ec=10,If=11,Sf=12,Nf=13,kf=14,tc=15,jv=function(t){for(var e=[],A=0,r=t.length;A<r;){var n=t.charCodeAt(A++);if(n>=55296&&n<=56319&&A<r){var a=t.charCodeAt(A++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),A--)}else e.push(n)}return e},qv=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var A=t.length;if(!A)return"";for(var r=[],n=-1,a="";++n<A;){var s=t[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===A||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},Wv=Ov(bv),Jt="×",rc="÷",zv=function(t){return Wv.get(t)},Xv=function(t,e,A){var r=A-2,n=e[r],a=e[A-1],s=e[A];if(a===$l&&s===Zl)return Jt;if(a===$l||a===Zl||a===Ef||s===$l||s===Zl||s===Ef)return rc;if(a===xf&&[xf,Ac,If,Sf].indexOf(s)!==-1||(a===If||a===Ac)&&(s===Ac||s===ec)||(a===Sf||a===ec)&&s===ec||s===Nf||s===Lf||s===Gv||a===Vv)return Jt;if(a===Nf&&s===kf){for(;n===Lf;)n=e[--r];if(n===kf)return Jt}if(a===tc&&s===tc){for(var o=0;n===tc;)o++,n=e[--r];if(o%2===0)return Jt}return rc},Jv=function(t){var e=jv(t),A=e.length,r=0,n=0,a=e.map(zv);return{next:function(){if(r>=A)return{done:!0,value:null};for(var s=Jt;r<A&&(s=Xv(e,a,++r))===Jt;);if(s!==Jt||r===A){var o=qv.apply(null,e.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},Yv=function(t){for(var e=Jv(t),A=[],r;!(r=e.next()).done;)r.value&&A.push(r.value.slice());return A},$v=function(t){var e=123;if(t.createRange){var A=t.createRange();if(A.getBoundingClientRect){var r=t.createElement("boundtest");r.style.height=e+"px",r.style.display="block",t.body.appendChild(r),A.selectNode(r);var n=A.getBoundingClientRect(),a=Math.round(n.height);if(t.body.removeChild(r),a===e)return!0}}return!1},Zv=function(t){var e=t.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",t.body.appendChild(e);var A=t.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=Do(r.data).map(function(u){return qe(u)}),a=0,s={},o=n.every(function(u,d){A.setStart(r,a),A.setEnd(r,a+u.length);var B=A.getBoundingClientRect();a+=u.length;var g=B.x>s.x||B.y>s.y;return s=B,d===0?!0:g});return t.body.removeChild(e),o},Am=function(){return typeof new Image().crossOrigin<"u"},em=function(){return typeof new XMLHttpRequest().responseType=="string"},tm=function(t){var e=new Image,A=t.createElement("canvas"),r=A.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),A.toDataURL()}catch{return!1}return!0},Df=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},rm=function(t){var e=t.createElement("canvas"),A=100;e.width=A,e.height=A;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,A,A);var n=new Image,a=e.toDataURL();n.src=a;var s=Mc(A,A,0,0,n);return r.fillStyle="red",r.fillRect(0,0,A,A),Hf(s).then(function(o){r.drawImage(o,0,0);var u=r.getImageData(0,0,A,A).data;r.fillStyle="red",r.fillRect(0,0,A,A);var d=t.createElement("div");return d.style.backgroundImage="url("+a+")",d.style.height=A+"px",Df(u)?Hf(Mc(A,A,0,0,d)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),Df(r.getImageData(0,0,A,A).data)}).catch(function(){return!1})},Mc=function(t,e,A,r,n){var a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject");return s.setAttributeNS(null,"width",t.toString()),s.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",A.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},Hf=function(t){return new Promise(function(e,A){var r=new Image;r.onload=function(){return e(r)},r.onerror=A,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},ft={get SUPPORT_RANGE_BOUNDS(){var t=$v(document);return Object.defineProperty(ft,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=ft.SUPPORT_RANGE_BOUNDS&&Zv(document);return Object.defineProperty(ft,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=tm(document);return Object.defineProperty(ft,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?rm(document):Promise.resolve(!1);return Object.defineProperty(ft,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=Am();return Object.defineProperty(ft,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=em();return Object.defineProperty(ft,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ft,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(ft,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},_i=function(){function t(e,A){this.text=e,this.bounds=A}return t}(),nm=function(t,e,A,r){var n=sm(e,A),a=[],s=0;return n.forEach(function(o){if(A.textDecorationLine.length||o.trim().length>0)if(ft.SUPPORT_RANGE_BOUNDS){var u=_f(r,s,o.length).getClientRects();if(u.length>1){var d=Zc(o),B=0;d.forEach(function(v){a.push(new _i(v,Wr.fromDOMRectList(t,_f(r,B+s,v.length).getClientRects()))),B+=v.length})}else a.push(new _i(o,Wr.fromDOMRectList(t,u)))}else{var g=r.splitText(o.length);a.push(new _i(o,am(t,r))),r=g}else ft.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));s+=o.length}),a},am=function(t,e){var A=e.ownerDocument;if(A){var r=A.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var a=ko(t,r);return r.firstChild&&n.replaceChild(r.firstChild,r),a}}return Wr.EMPTY},_f=function(t,e,A){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(t,e),n.setEnd(t,e+A),n},Zc=function(t){if(ft.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map(function(A){return A.segment})}return Yv(t)},im=function(t,e){if(ft.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(A.segment(t)).map(function(r){return r.segment})}return lm(t,e)},sm=function(t,e){return e.letterSpacing!==0?Zc(t):im(t,e)},om=[32,160,4961,65792,65793,4153,4241],lm=function(t,e){for(var A=_2(t,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,a=function(){if(n.value){var s=n.value.slice(),o=Do(s),u="";o.forEach(function(d){om.indexOf(d)===-1?u+=qe(d):(u.length&&r.push(u),r.push(qe(d)),u="")}),u.length&&r.push(u)}};!(n=A.next()).done;)a();return r},cm=function(){function t(e,A,r){this.text=um(A.data,r.textTransform),this.textBounds=nm(e,this.text,r,A)}return t}(),um=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(fm,hm);case 2:return t.toUpperCase();default:return t}},fm=/(^|\s|:|-|\(|\))([a-z])/g,hm=function(t,e,A){return t.length>0?e+A.toUpperCase():t},id=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(Nr),sd=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(Nr),od=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this,a=new XMLSerializer,s=ko(A,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(Nr),ld=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.value=r.value,n}return e}(Nr),Pc=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(Nr),dm=[{type:15,flags:0,unit:"px",number:3}],gm=[{type:16,flags:0,number:50}],pm=function(t){return t.width>t.height?new Wr(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new Wr(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},Bm=function(t){var e=t.type===wm?new Array(t.value.length+1).join("•"):t.value;return e.length===0?t.placeholder||"":e},Fo="checkbox",Qo="radio",wm="password",Tf=707406591,Au=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=Bm(r),(n.type===Fo||n.type===Qo)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=pm(n.bounds)),n.type){case Fo:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=dm;break;case Qo:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=gm;break}return n}return e}(Nr),cd=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this,a=r.options[r.selectedIndex||0];return n.value=a&&a.text||"",n}return e}(Nr),ud=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.value=r.value,n}return e}(Nr),fd=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=dd(A,r.contentWindow.document.documentElement);var a=r.contentWindow.document.documentElement?Di(A,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):qr.TRANSPARENT,s=r.contentWindow.document.body?Di(A,getComputedStyle(r.contentWindow.document.body).backgroundColor):qr.TRANSPARENT;n.backgroundColor=vn(a)?vn(s)?n.styles.backgroundColor:s:a}}catch{}return n}return e}(Nr),vm=["OL","UL","MENU"],po=function(t,e,A,r){for(var n=e.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,gd(n)&&n.data.trim().length>0)A.textNodes.push(new cm(t,n,A.styles));else if(Ha(n))if(vd(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return po(t,o,A,r)});else{var s=hd(t,n);s.styles.isVisible()&&(mm(n,s,r)?s.flags|=4:Cm(s.styles)&&(s.flags|=2),vm.indexOf(n.tagName)!==-1&&(s.flags|=8),A.elements.push(s),n.slot,n.shadowRoot?po(t,n.shadowRoot,s,r):!bo(n)&&!pd(n)&&!Uo(n)&&po(t,n,s,r))}},hd=function(t,e){return Kc(e)?new id(t,e):Bd(e)?new sd(t,e):pd(e)?new od(t,e):ym(e)?new ld(t,e):Fm(e)?new Pc(t,e):Qm(e)?new Au(t,e):Uo(e)?new cd(t,e):bo(e)?new ud(t,e):wd(e)?new fd(t,e):new Nr(t,e)},dd=function(t,e){var A=hd(t,e);return A.flags|=4,po(t,e,A,A),A},mm=function(t,e,A){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||eu(t)&&A.styles.isTransparent()},Cm=function(t){return t.isPositioned()||t.isFloating()},gd=function(t){return t.nodeType===Node.TEXT_NODE},Ha=function(t){return t.nodeType===Node.ELEMENT_NODE},Oc=function(t){return Ha(t)&&typeof t.style<"u"&&!Bo(t)},Bo=function(t){return typeof t.className=="object"},ym=function(t){return t.tagName==="LI"},Fm=function(t){return t.tagName==="OL"},Qm=function(t){return t.tagName==="INPUT"},bm=function(t){return t.tagName==="HTML"},pd=function(t){return t.tagName==="svg"},eu=function(t){return t.tagName==="BODY"},Bd=function(t){return t.tagName==="CANVAS"},Mf=function(t){return t.tagName==="VIDEO"},Kc=function(t){return t.tagName==="IMG"},wd=function(t){return t.tagName==="IFRAME"},Pf=function(t){return t.tagName==="STYLE"},Um=function(t){return t.tagName==="SCRIPT"},bo=function(t){return t.tagName==="TEXTAREA"},Uo=function(t){return t.tagName==="SELECT"},vd=function(t){return t.tagName==="SLOT"},Of=function(t){return t.tagName.indexOf("-")>0},Em=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(e){var A=this.counters[e];return A&&A.length?A[A.length-1]:1},t.prototype.getCounterValues=function(e){var A=this.counters[e];return A||[]},t.prototype.pop=function(e){var A=this;e.forEach(function(r){return A.counters[r].pop()})},t.prototype.parse=function(e){var A=this,r=e.counterIncrement,n=e.counterReset,a=!0;r!==null&&r.forEach(function(o){var u=A.counters[o.counter];u&&o.increment!==0&&(a=!1,u.length||u.push(1),u[Math.max(0,u.length-1)]+=o.increment)});var s=[];return a&&n.forEach(function(o){var u=A.counters[o.counter];s.push(o.counter),u||(u=A.counters[o.counter]=[]),u.push(o.reset)}),s},t}(),Kf={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Rf={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Lm={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},xm={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Ua=function(t,e,A,r,n,a){return t<e||t>A?Ki(t,n,a.length>0):r.integers.reduce(function(s,o,u){for(;t>=o;)t-=o,s+=r.values[u];return s},"")+a},md=function(t,e,A,r){var n="";do A||t--,n=r(t)+n,t/=e;while(t*e>=e);return n},je=function(t,e,A,r,n){var a=A-e+1;return(t<0?"-":"")+(md(Math.abs(t),a,r,function(s){return qe(Math.floor(s%a)+e)})+n)},Hn=function(t,e,A){A===void 0&&(A=". ");var r=e.length;return md(Math.abs(t),r,!1,function(n){return e[Math.floor(n%r)]})+A},Na=1,un=2,fn=4,Si=8,jr=function(t,e,A,r,n,a){if(t<-9999||t>9999)return Ki(t,4,n.length>0);var s=Math.abs(t),o=n;if(s===0)return e[0]+o;for(var u=0;s>0&&u<=4;u++){var d=s%10;d===0&&rt(a,Na)&&o!==""?o=e[d]+o:d>1||d===1&&u===0||d===1&&u===1&&rt(a,un)||d===1&&u===1&&rt(a,fn)&&t>100||d===1&&u>1&&rt(a,Si)?o=e[d]+(u>0?A[u-1]:"")+o:d===1&&u>0&&(o=A[u-1]+o),s=Math.floor(s/10)}return(t<0?r:"")+o},Vf="十百千萬",Gf="拾佰仟萬",jf="マイナス",nc="마이너스",Ki=function(t,e,A){var r=A?". ":"",n=A?"、":"",a=A?", ":"",s=A?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=je(t,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Hn(t,"〇一二三四五六七八九",n);case 6:return Ua(t,1,3999,Kf,3,r).toLowerCase();case 7:return Ua(t,1,3999,Kf,3,r);case 8:return je(t,945,969,!1,r);case 9:return je(t,97,122,!1,r);case 10:return je(t,65,90,!1,r);case 11:return je(t,1632,1641,!0,r);case 12:case 49:return Ua(t,1,9999,Rf,3,r);case 35:return Ua(t,1,9999,Rf,3,r).toLowerCase();case 13:return je(t,2534,2543,!0,r);case 14:case 30:return je(t,6112,6121,!0,r);case 15:return Hn(t,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Hn(t,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return jr(t,"零一二三四五六七八九",Vf,"負",n,un|fn|Si);case 47:return jr(t,"零壹貳參肆伍陸柒捌玖",Gf,"負",n,Na|un|fn|Si);case 42:return jr(t,"零一二三四五六七八九",Vf,"负",n,un|fn|Si);case 41:return jr(t,"零壹贰叁肆伍陆柒捌玖",Gf,"负",n,Na|un|fn|Si);case 26:return jr(t,"〇一二三四五六七八九","十百千万",jf,n,0);case 25:return jr(t,"零壱弐参四伍六七八九","拾百千万",jf,n,Na|un|fn);case 31:return jr(t,"영일이삼사오육칠팔구","십백천만",nc,a,Na|un|fn);case 33:return jr(t,"零一二三四五六七八九","十百千萬",nc,a,0);case 32:return jr(t,"零壹貳參四五六七八九","拾百千",nc,a,Na|un|fn);case 18:return je(t,2406,2415,!0,r);case 20:return Ua(t,1,19999,xm,3,r);case 21:return je(t,2790,2799,!0,r);case 22:return je(t,2662,2671,!0,r);case 22:return Ua(t,1,10999,Lm,3,r);case 23:return Hn(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Hn(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return je(t,3302,3311,!0,r);case 28:return Hn(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Hn(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return je(t,3792,3801,!0,r);case 37:return je(t,6160,6169,!0,r);case 38:return je(t,4160,4169,!0,r);case 39:return je(t,2918,2927,!0,r);case 40:return je(t,1776,1785,!0,r);case 43:return je(t,3046,3055,!0,r);case 44:return je(t,3174,3183,!0,r);case 45:return je(t,3664,3673,!0,r);case 46:return je(t,3872,3881,!0,r);case 3:default:return je(t,48,57,!0,r)}},Cd="data-html2canvas-ignore",qf=function(){function t(e,A,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=A,this.counters=new Em,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(e,A){var r=this,n=Im(e,A);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,o=n.contentWindow,u=o.document,d=km(n).then(function(){return Ut(r,void 0,void 0,function(){var B,g;return mt(this,function(v){switch(v.label){case 0:return this.scrolledElements.forEach(Tm),o&&(o.scrollTo(A.left,A.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==A.top||o.scrollX!==A.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-A.left,o.scrollY-A.top,0,0))),B=this.options.onclone,g=this.clonedReferenceElement,typeof g>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:v.sent(),v.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Nm(u)]:[3,4];case 3:v.sent(),v.label=4;case 4:return typeof B=="function"?[2,Promise.resolve().then(function(){return B(u,g)}).then(function(){return n})]:[2,n]}})})});return u.open(),u.write(Hm(document.doctype)+"<html></html>"),_m(this.referenceElement.ownerDocument,a,s),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),d},t.prototype.createElementClone=function(e){if(Tc(e,2))debugger;if(Bd(e))return this.createCanvasClone(e);if(Mf(e))return this.createVideoClone(e);if(Pf(e))return this.createStyleClone(e);var A=e.cloneNode(!1);return Kc(A)&&(Kc(e)&&e.currentSrc&&e.currentSrc!==e.src&&(A.src=e.currentSrc,A.srcset=""),A.loading==="lazy"&&(A.loading="eager")),Of(A)?this.createCustomElementClone(A):A},t.prototype.createCustomElementClone=function(e){var A=document.createElement("html2canvascustomelement");return ac(e.style,A),A},t.prototype.createStyleClone=function(e){try{var A=e.sheet;if(A&&A.cssRules){var r=[].slice.call(A.cssRules,0).reduce(function(a,s){return s&&typeof s.cssText=="string"?a+s.cssText:a},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return e.cloneNode(!1)},t.prototype.createCanvasClone=function(e){var A;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var a=e.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&a)s.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var o=(A=e.getContext("webgl2"))!==null&&A!==void 0?A:e.getContext("webgl");if(o){var u=o.getContextAttributes();(u==null?void 0:u.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},t.prototype.createVideoClone=function(e){var A=e.ownerDocument.createElement("canvas");A.width=e.offsetWidth,A.height=e.offsetHeight;var r=A.getContext("2d");try{return r&&(r.drawImage(e,0,0,A.width,A.height),this.options.allowTaint||r.getImageData(0,0,A.width,A.height)),A}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},t.prototype.appendChildNode=function(e,A,r){(!Ha(A)||!Um(A)&&!A.hasAttribute(Cd)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A)))&&(!this.options.copyStyles||!Ha(A)||!Pf(A))&&e.appendChild(this.cloneNode(A,r))},t.prototype.cloneChildNodes=function(e,A,r){for(var n=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(Ha(a)&&vd(a)&&typeof a.assignedNodes=="function"){var s=a.assignedNodes();s.length&&s.forEach(function(o){return n.appendChildNode(A,o,r)})}else this.appendChildNode(A,a,r)},t.prototype.cloneNode=function(e,A){if(gd(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Ha(e)&&(Oc(e)||Bo(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var a=r.getComputedStyle(e),s=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&Oc(n)&&(this.clonedReferenceElement=n),eu(n)&&Om(n);var u=this.counters.parse(new Ff(this.context,a)),d=this.resolvePseudoContent(e,n,s,Ti.BEFORE);Of(e)&&(A=!0),Mf(e)||this.cloneChildNodes(e,n,A),d&&n.insertBefore(d,n.firstChild);var B=this.resolvePseudoContent(e,n,o,Ti.AFTER);return B&&n.appendChild(B),this.counters.pop(u),(a&&(this.options.copyStyles||Bo(e))&&!wd(e)||A)&&ac(a,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(bo(e)||Uo(e))&&(bo(n)||Uo(n))&&(n.value=e.value),n}return e.cloneNode(!1)},t.prototype.resolvePseudoContent=function(e,A,r,n){var a=this;if(r){var s=r.content,o=A.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new Ff(this.context,r));var u=new yv(this.context,r),d=o.createElement("html2canvaspseudoelement");ac(r,d),u.content.forEach(function(g){if(g.type===0)d.appendChild(o.createTextNode(g.value));else if(g.type===22){var v=o.createElement("img");v.src=g.value,v.style.opacity="1",d.appendChild(v)}else if(g.type===18){if(g.name==="attr"){var p=g.values.filter(Ee);p.length&&d.appendChild(o.createTextNode(e.getAttribute(p[0].value)||""))}else if(g.name==="counter"){var b=g.values.filter(Ka),F=b[0],H=b[1];if(F&&Ee(F)){var m=a.counters.getCounterValue(F.value),E=H&&Ee(H)?_c.parse(a.context,H.value):3;d.appendChild(o.createTextNode(Ki(m,E,!1)))}}else if(g.name==="counters"){var R=g.values.filter(Ka),F=R[0],q=R[1],H=R[2];if(F&&Ee(F)){var W=a.counters.getCounterValues(F.value),j=H&&Ee(H)?_c.parse(a.context,H.value):3,X=q&&q.type===0?q.value:"",k=W.map(function(I){return Ki(I,j,!1)}).join(X);d.appendChild(o.createTextNode(k))}}}else if(g.type===20)switch(g.value){case"open-quote":d.appendChild(o.createTextNode(yf(u.quotes,a.quoteDepth++,!0)));break;case"close-quote":d.appendChild(o.createTextNode(yf(u.quotes,--a.quoteDepth,!1)));break;default:d.appendChild(o.createTextNode(g.value))}}),d.className=Rc+" "+Vc;var B=n===Ti.BEFORE?" "+Rc:" "+Vc;return Bo(A)?A.className.baseValue+=B:A.className+=B,d}}},t.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},t}(),Ti;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Ti||(Ti={}));var Im=function(t,e){var A=t.createElement("iframe");return A.className="html2canvas-container",A.style.visibility="hidden",A.style.position="fixed",A.style.left="-10000px",A.style.top="0px",A.style.border="0",A.width=e.width.toString(),A.height=e.height.toString(),A.scrolling="no",A.setAttribute(Cd,"true"),t.body.appendChild(A),A},Sm=function(t){return new Promise(function(e){if(t.complete){e();return}if(!t.src){e();return}t.onload=e,t.onerror=e})},Nm=function(t){return Promise.all([].slice.call(t.images,0).map(Sm))},km=function(t){return new Promise(function(e,A){var r=t.contentWindow;if(!r)return A("No window assigned for iframe");var n=r.document;r.onload=t.onload=function(){r.onload=t.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),e(t))},50)}})},Dm=["all","d","content"],ac=function(t,e){for(var A=t.length-1;A>=0;A--){var r=t.item(A);Dm.indexOf(r)===-1&&e.style.setProperty(r,t.getPropertyValue(r))}return e},Hm=function(t){var e="";return t&&(e+="<!DOCTYPE ",t.name&&(e+=t.name),t.internalSubset&&(e+=t.internalSubset),t.publicId&&(e+='"'+t.publicId+'"'),t.systemId&&(e+='"'+t.systemId+'"'),e+=">"),e},_m=function(t,e,A){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||A!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,A)},Tm=function(t){var e=t[0],A=t[1],r=t[2];e.scrollLeft=A,e.scrollTop=r},Mm=":before",Pm=":after",Rc="___html2canvas___pseudoelement_before",Vc="___html2canvas___pseudoelement_after",Wf=`{
300
+ content: "" !important;
301
+ display: none !important;
302
+ }`,Om=function(t){Km(t,"."+Rc+Mm+Wf+`
303
+ .`+Vc+Pm+Wf)},Km=function(t,e){var A=t.ownerDocument;if(A){var r=A.createElement("style");r.textContent=e,t.appendChild(r)}},yd=function(){function t(){}return t.getOrigin=function(e){var A=t._link;return A?(A.href=e,A.href=A.href,A.protocol+A.hostname+A.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),Rm=function(){function t(e,A){this.context=e,this._options=A,this._cache={}}return t.prototype.addImage=function(e){var A=Promise.resolve();return this.has(e)||(sc(e)||qm(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),A},t.prototype.match=function(e){return this._cache[e]},t.prototype.loadImage=function(e){return Ut(this,void 0,void 0,function(){var A,r,n,a,s=this;return mt(this,function(o){switch(o.label){case 0:return A=yd.isSameOrigin(e),r=!ic(e)&&this._options.useCORS===!0&&ft.SUPPORT_CORS_IMAGES&&!A,n=!ic(e)&&!A&&!sc(e)&&typeof this._options.proxy=="string"&&ft.SUPPORT_CORS_XHR&&!r,!A&&this._options.allowTaint===!1&&!ic(e)&&!sc(e)&&!n&&!r?[2]:(a=e,n?[4,this.proxy(a)]:[3,2]);case 1:a=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(u,d){var B=new Image;B.onload=function(){return u(B)},B.onerror=d,(Wm(a)||r)&&(B.crossOrigin="anonymous"),B.src=a,B.complete===!0&&setTimeout(function(){return u(B)},500),s._options.imageTimeout>0&&setTimeout(function(){return d("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},t.prototype.has=function(e){return typeof this._cache[e]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(e){var A=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(a,s){var o=ft.SUPPORT_RESPONSE_TYPE?"blob":"text",u=new XMLHttpRequest;u.onload=function(){if(u.status===200)if(o==="text")a(u.response);else{var g=new FileReader;g.addEventListener("load",function(){return a(g.result)},!1),g.addEventListener("error",function(v){return s(v)},!1),g.readAsDataURL(u.response)}else s("Failed to proxy resource "+n+" with status code "+u.status)},u.onerror=s;var d=r.indexOf("?")>-1?"&":"?";if(u.open("GET",""+r+d+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&u instanceof XMLHttpRequest&&(u.responseType=o),A._options.imageTimeout){var B=A._options.imageTimeout;u.timeout=B,u.ontimeout=function(){return s("Timed out ("+B+"ms) proxying "+n)}}u.send()})},t}(),Vm=/^data:image\/svg\+xml/i,Gm=/^data:image\/.*;base64,/i,jm=/^data:image\/.*/i,qm=function(t){return ft.SUPPORT_SVG_DRAWING||!zm(t)},ic=function(t){return jm.test(t)},Wm=function(t){return Gm.test(t)},sc=function(t){return t.substr(0,4)==="blob"},zm=function(t){return t.substr(-3).toLowerCase()==="svg"||Vm.test(t)},VA=function(){function t(e,A){this.type=0,this.x=e,this.y=A}return t.prototype.add=function(e,A){return new t(this.x+e,this.y+A)},t}(),Ea=function(t,e,A){return new VA(t.x+(e.x-t.x)*A,t.y+(e.y-t.y)*A)},no=function(){function t(e,A,r,n){this.type=1,this.start=e,this.startControl=A,this.endControl=r,this.end=n}return t.prototype.subdivide=function(e,A){var r=Ea(this.start,this.startControl,e),n=Ea(this.startControl,this.endControl,e),a=Ea(this.endControl,this.end,e),s=Ea(r,n,e),o=Ea(n,a,e),u=Ea(s,o,e);return A?new t(this.start,r,s,u):new t(u,o,a,this.end)},t.prototype.add=function(e,A){return new t(this.start.add(e,A),this.startControl.add(e,A),this.endControl.add(e,A),this.end.add(e,A))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Yt=function(t){return t.type===1},Xm=function(){function t(e){var A=e.styles,r=e.bounds,n=xi(A.borderTopLeftRadius,r.width,r.height),a=n[0],s=n[1],o=xi(A.borderTopRightRadius,r.width,r.height),u=o[0],d=o[1],B=xi(A.borderBottomRightRadius,r.width,r.height),g=B[0],v=B[1],p=xi(A.borderBottomLeftRadius,r.width,r.height),b=p[0],F=p[1],H=[];H.push((a+u)/r.width),H.push((b+g)/r.width),H.push((s+F)/r.height),H.push((d+v)/r.height);var m=Math.max.apply(Math,H);m>1&&(a/=m,s/=m,u/=m,d/=m,g/=m,v/=m,b/=m,F/=m);var E=r.width-u,R=r.height-v,q=r.width-g,W=r.height-F,j=A.borderTopWidth,X=A.borderRightWidth,k=A.borderBottomWidth,G=A.borderLeftWidth,tA=Ne(A.paddingTop,e.bounds.width),I=Ne(A.paddingRight,e.bounds.width),Q=Ne(A.paddingBottom,e.bounds.width),T=Ne(A.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||s>0?He(r.left+G/3,r.top+j/3,a-G/3,s-j/3,Ce.TOP_LEFT):new VA(r.left+G/3,r.top+j/3),this.topRightBorderDoubleOuterBox=a>0||s>0?He(r.left+E,r.top+j/3,u-X/3,d-j/3,Ce.TOP_RIGHT):new VA(r.left+r.width-X/3,r.top+j/3),this.bottomRightBorderDoubleOuterBox=g>0||v>0?He(r.left+q,r.top+R,g-X/3,v-k/3,Ce.BOTTOM_RIGHT):new VA(r.left+r.width-X/3,r.top+r.height-k/3),this.bottomLeftBorderDoubleOuterBox=b>0||F>0?He(r.left+G/3,r.top+W,b-G/3,F-k/3,Ce.BOTTOM_LEFT):new VA(r.left+G/3,r.top+r.height-k/3),this.topLeftBorderDoubleInnerBox=a>0||s>0?He(r.left+G*2/3,r.top+j*2/3,a-G*2/3,s-j*2/3,Ce.TOP_LEFT):new VA(r.left+G*2/3,r.top+j*2/3),this.topRightBorderDoubleInnerBox=a>0||s>0?He(r.left+E,r.top+j*2/3,u-X*2/3,d-j*2/3,Ce.TOP_RIGHT):new VA(r.left+r.width-X*2/3,r.top+j*2/3),this.bottomRightBorderDoubleInnerBox=g>0||v>0?He(r.left+q,r.top+R,g-X*2/3,v-k*2/3,Ce.BOTTOM_RIGHT):new VA(r.left+r.width-X*2/3,r.top+r.height-k*2/3),this.bottomLeftBorderDoubleInnerBox=b>0||F>0?He(r.left+G*2/3,r.top+W,b-G*2/3,F-k*2/3,Ce.BOTTOM_LEFT):new VA(r.left+G*2/3,r.top+r.height-k*2/3),this.topLeftBorderStroke=a>0||s>0?He(r.left+G/2,r.top+j/2,a-G/2,s-j/2,Ce.TOP_LEFT):new VA(r.left+G/2,r.top+j/2),this.topRightBorderStroke=a>0||s>0?He(r.left+E,r.top+j/2,u-X/2,d-j/2,Ce.TOP_RIGHT):new VA(r.left+r.width-X/2,r.top+j/2),this.bottomRightBorderStroke=g>0||v>0?He(r.left+q,r.top+R,g-X/2,v-k/2,Ce.BOTTOM_RIGHT):new VA(r.left+r.width-X/2,r.top+r.height-k/2),this.bottomLeftBorderStroke=b>0||F>0?He(r.left+G/2,r.top+W,b-G/2,F-k/2,Ce.BOTTOM_LEFT):new VA(r.left+G/2,r.top+r.height-k/2),this.topLeftBorderBox=a>0||s>0?He(r.left,r.top,a,s,Ce.TOP_LEFT):new VA(r.left,r.top),this.topRightBorderBox=u>0||d>0?He(r.left+E,r.top,u,d,Ce.TOP_RIGHT):new VA(r.left+r.width,r.top),this.bottomRightBorderBox=g>0||v>0?He(r.left+q,r.top+R,g,v,Ce.BOTTOM_RIGHT):new VA(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=b>0||F>0?He(r.left,r.top+W,b,F,Ce.BOTTOM_LEFT):new VA(r.left,r.top+r.height),this.topLeftPaddingBox=a>0||s>0?He(r.left+G,r.top+j,Math.max(0,a-G),Math.max(0,s-j),Ce.TOP_LEFT):new VA(r.left+G,r.top+j),this.topRightPaddingBox=u>0||d>0?He(r.left+Math.min(E,r.width-X),r.top+j,E>r.width+X?0:Math.max(0,u-X),Math.max(0,d-j),Ce.TOP_RIGHT):new VA(r.left+r.width-X,r.top+j),this.bottomRightPaddingBox=g>0||v>0?He(r.left+Math.min(q,r.width-G),r.top+Math.min(R,r.height-k),Math.max(0,g-X),Math.max(0,v-k),Ce.BOTTOM_RIGHT):new VA(r.left+r.width-X,r.top+r.height-k),this.bottomLeftPaddingBox=b>0||F>0?He(r.left+G,r.top+Math.min(W,r.height-k),Math.max(0,b-G),Math.max(0,F-k),Ce.BOTTOM_LEFT):new VA(r.left+G,r.top+r.height-k),this.topLeftContentBox=a>0||s>0?He(r.left+G+T,r.top+j+tA,Math.max(0,a-(G+T)),Math.max(0,s-(j+tA)),Ce.TOP_LEFT):new VA(r.left+G+T,r.top+j+tA),this.topRightContentBox=u>0||d>0?He(r.left+Math.min(E,r.width+G+T),r.top+j+tA,E>r.width+G+T?0:u-G+T,d-(j+tA),Ce.TOP_RIGHT):new VA(r.left+r.width-(X+I),r.top+j+tA),this.bottomRightContentBox=g>0||v>0?He(r.left+Math.min(q,r.width-(G+T)),r.top+Math.min(R,r.height+j+tA),Math.max(0,g-(X+I)),v-(k+Q),Ce.BOTTOM_RIGHT):new VA(r.left+r.width-(X+I),r.top+r.height-(k+Q)),this.bottomLeftContentBox=b>0||F>0?He(r.left+G+T,r.top+W,Math.max(0,b-(G+T)),F-(k+Q),Ce.BOTTOM_LEFT):new VA(r.left+G+T,r.top+r.height-(k+Q))}return t}(),Ce;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ce||(Ce={}));var He=function(t,e,A,r,n){var a=4*((Math.sqrt(2)-1)/3),s=A*a,o=r*a,u=t+A,d=e+r;switch(n){case Ce.TOP_LEFT:return new no(new VA(t,d),new VA(t,d-o),new VA(u-s,e),new VA(u,e));case Ce.TOP_RIGHT:return new no(new VA(t,e),new VA(t+s,e),new VA(u,d-o),new VA(u,d));case Ce.BOTTOM_RIGHT:return new no(new VA(u,e),new VA(u,e+o),new VA(t+s,d),new VA(t,d));case Ce.BOTTOM_LEFT:default:return new no(new VA(u,d),new VA(u-s,d),new VA(t,e+o),new VA(t,e))}},Eo=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Jm=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Lo=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Ym=function(){function t(e,A,r){this.offsetX=e,this.offsetY=A,this.matrix=r,this.type=0,this.target=6}return t}(),ao=function(){function t(e,A){this.path=e,this.target=A,this.type=1}return t}(),$m=function(){function t(e){this.opacity=e,this.type=2,this.target=6}return t}(),Zm=function(t){return t.type===0},Fd=function(t){return t.type===1},AC=function(t){return t.type===2},zf=function(t,e){return t.length===e.length?t.some(function(A,r){return A===e[r]}):!1},eC=function(t,e,A,r,n){return t.map(function(a,s){switch(s){case 0:return a.add(e,A);case 1:return a.add(e+r,A);case 2:return a.add(e+r,A+n);case 3:return a.add(e,A+n)}return a})},Qd=function(){function t(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),bd=function(){function t(e,A){if(this.container=e,this.parent=A,this.effects=[],this.curves=new Xm(this.container),this.container.styles.opacity<1&&this.effects.push(new $m(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new Ym(r,n,a))}if(this.container.styles.overflowX!==0){var s=Eo(this.curves),o=Lo(this.curves);zf(s,o)?this.effects.push(new ao(s,6)):(this.effects.push(new ao(s,2)),this.effects.push(new ao(o,4)))}}return t.prototype.getEffects=function(e){for(var A=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var a=r.effects.filter(function(u){return!Fd(u)});if(A||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,a),A=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=Eo(r.curves),o=Lo(r.curves);zf(s,o)||n.unshift(new ao(o,6))}}else n.unshift.apply(n,a);r=r.parent}return n.filter(function(u){return rt(u.target,e)})},t}(),Gc=function(t,e,A,r){t.container.elements.forEach(function(n){var a=rt(n.flags,4),s=rt(n.flags,2),o=new bd(n,t);rt(n.styles.display,2048)&&r.push(o);var u=rt(n.flags,8)?[]:r;if(a||s){var d=a||n.styles.isPositioned()?A:e,B=new Qd(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var g=n.styles.zIndex.order;if(g<0){var v=0;d.negativeZIndex.some(function(b,F){return g>b.element.container.styles.zIndex.order?(v=F,!1):v>0}),d.negativeZIndex.splice(v,0,B)}else if(g>0){var p=0;d.positiveZIndex.some(function(b,F){return g>=b.element.container.styles.zIndex.order?(p=F+1,!1):p>0}),d.positiveZIndex.splice(p,0,B)}else d.zeroOrAutoZIndexOrTransformedOrOpacity.push(B)}else n.styles.isFloating()?d.nonPositionedFloats.push(B):d.nonPositionedInlineLevel.push(B);Gc(o,B,a?B:A,u)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Gc(o,e,A,u);rt(n.flags,8)&&Ud(n,u)})},Ud=function(t,e){for(var A=t instanceof Pc?t.start:1,r=t instanceof Pc?t.reversed:!1,n=0;n<e.length;n++){var a=e[n];a.container instanceof ld&&typeof a.container.value=="number"&&a.container.value!==0&&(A=a.container.value),a.listValue=Ki(A,a.container.styles.listStyleType,!0),A+=r?-1:1}},tC=function(t){var e=new bd(t,null),A=new Qd(e),r=[];return Gc(e,A,A,r),Ud(e.container,r),A},Xf=function(t,e){switch(e){case 0:return Zt(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Zt(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Zt(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Zt(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},rC=function(t,e){switch(e){case 0:return Zt(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Zt(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Zt(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Zt(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},nC=function(t,e){switch(e){case 0:return Zt(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Zt(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Zt(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Zt(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},aC=function(t,e){switch(e){case 0:return io(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return io(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return io(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return io(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},io=function(t,e){var A=[];return Yt(t)?A.push(t.subdivide(.5,!1)):A.push(t),Yt(e)?A.push(e.subdivide(.5,!0)):A.push(e),A},Zt=function(t,e,A,r){var n=[];return Yt(t)?n.push(t.subdivide(.5,!1)):n.push(t),Yt(A)?n.push(A.subdivide(.5,!0)):n.push(A),Yt(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),Yt(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},Ed=function(t){var e=t.bounds,A=t.styles;return e.add(A.borderLeftWidth,A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth),-(A.borderTopWidth+A.borderBottomWidth))},xo=function(t){var e=t.styles,A=t.bounds,r=Ne(e.paddingLeft,A.width),n=Ne(e.paddingRight,A.width),a=Ne(e.paddingTop,A.width),s=Ne(e.paddingBottom,A.width);return A.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+a+s))},iC=function(t,e){return t===0?e.bounds:t===2?xo(e):Ed(e)},sC=function(t,e){return t===0?e.bounds:t===2?xo(e):Ed(e)},oc=function(t,e,A){var r=iC(ka(t.styles.backgroundOrigin,e),t),n=sC(ka(t.styles.backgroundClip,e),t),a=oC(ka(t.styles.backgroundSize,e),A,r),s=a[0],o=a[1],u=xi(ka(t.styles.backgroundPosition,e),r.width-s,r.height-o),d=lC(ka(t.styles.backgroundRepeat,e),u,a,r,n),B=Math.round(r.left+u[0]),g=Math.round(r.top+u[1]);return[d,B,g,s,o]},La=function(t){return Ee(t)&&t.value===Oa.AUTO},so=function(t){return typeof t=="number"},oC=function(t,e,A){var r=e[0],n=e[1],a=e[2],s=t[0],o=t[1];if(!s)return[0,0];if(At(s)&&o&&At(o))return[Ne(s,A.width),Ne(o,A.height)];var u=so(a);if(Ee(s)&&(s.value===Oa.CONTAIN||s.value===Oa.COVER)){if(so(a)){var d=A.width/A.height;return d<a!=(s.value===Oa.COVER)?[A.width,A.width/a]:[A.height*a,A.height]}return[A.width,A.height]}var B=so(r),g=so(n),v=B||g;if(La(s)&&(!o||La(o))){if(B&&g)return[r,n];if(!u&&!v)return[A.width,A.height];if(v&&u){var p=B?r:n*a,b=g?n:r/a;return[p,b]}var F=B?r:A.width,H=g?n:A.height;return[F,H]}if(u){var m=0,E=0;return At(s)?m=Ne(s,A.width):At(o)&&(E=Ne(o,A.height)),La(s)?m=E*a:(!o||La(o))&&(E=m/a),[m,E]}var R=null,q=null;if(At(s)?R=Ne(s,A.width):o&&At(o)&&(q=Ne(o,A.height)),R!==null&&(!o||La(o))&&(q=B&&g?R/r*n:A.height),q!==null&&La(s)&&(R=B&&g?q/n*r:A.width),R!==null&&q!==null)return[R,q];throw new Error("Unable to calculate background-size for element")},ka=function(t,e){var A=t[e];return typeof A>"u"?t[0]:A},lC=function(t,e,A,r,n){var a=e[0],s=e[1],o=A[0],u=A[1];switch(t){case 2:return[new VA(Math.round(r.left),Math.round(r.top+s)),new VA(Math.round(r.left+r.width),Math.round(r.top+s)),new VA(Math.round(r.left+r.width),Math.round(u+r.top+s)),new VA(Math.round(r.left),Math.round(u+r.top+s))];case 3:return[new VA(Math.round(r.left+a),Math.round(r.top)),new VA(Math.round(r.left+a+o),Math.round(r.top)),new VA(Math.round(r.left+a+o),Math.round(r.height+r.top)),new VA(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new VA(Math.round(r.left+a),Math.round(r.top+s)),new VA(Math.round(r.left+a+o),Math.round(r.top+s)),new VA(Math.round(r.left+a+o),Math.round(r.top+s+u)),new VA(Math.round(r.left+a),Math.round(r.top+s+u))];default:return[new VA(Math.round(n.left),Math.round(n.top)),new VA(Math.round(n.left+n.width),Math.round(n.top)),new VA(Math.round(n.left+n.width),Math.round(n.height+n.top)),new VA(Math.round(n.left),Math.round(n.height+n.top))]}},cC="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Jf="Hidden Text",uC=function(){function t(e){this._data={},this._document=e}return t.prototype.parseMetrics=function(e,A){var r=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=A,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),n.src=cC,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=A,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(Jf)),r.appendChild(a),r.appendChild(n);var o=n.offsetTop-a.offsetTop+2;r.removeChild(a),r.appendChild(this._document.createTextNode(Jf)),r.style.lineHeight="normal",n.style.verticalAlign="super";var u=n.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:o,middle:u}},t.prototype.getMetrics=function(e,A){var r=e+" "+A;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,A)),this._data[r]},t}(),Ld=function(){function t(e,A){this.context=e,this.options=A}return t}(),fC=1e4,hC=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new uC(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(A){for(var r=this;this._activeEffects.length;)this.popEffect();A.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(A){this.ctx.save(),AC(A)&&(this.ctx.globalAlpha=A.opacity),Zm(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),Fd(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(A){return Ut(this,void 0,void 0,function(){var r;return mt(this,function(n){switch(n.label){case 0:return r=A.element.container.styles,r.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(A){return Ut(this,void 0,void 0,function(){return mt(this,function(r){switch(r.label){case 0:if(rt(A.container.flags,16))debugger;return A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(A)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(A,r,n){var a=this;if(r===0)this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+n);else{var s=Zc(A.text);s.reduce(function(o,u){return a.ctx.fillText(u,o,A.bounds.top+n),o+a.ctx.measureText(u).width},A.bounds.left)}},e.prototype.createFontStyle=function(A){var r=A.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=wC(A.fontFamily).join(", "),a=Vi(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,r,A.fontWeight,a,n].join(" "),n,a]},e.prototype.renderTextNode=function(A,r){return Ut(this,void 0,void 0,function(){var n,a,s,o,u,d,B,g,v=this;return mt(this,function(p){return n=this.createFontStyle(r),a=n[0],s=n[1],o=n[2],this.ctx.font=a,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",u=this.fontMetrics.getMetrics(s,o),d=u.baseline,B=u.middle,g=r.paintOrder,A.textBounds.forEach(function(b){g.forEach(function(F){switch(F){case 0:v.ctx.fillStyle=st(r.color),v.renderTextWithLetterSpacing(b,r.letterSpacing,d);var H=r.textShadow;H.length&&b.text.trim().length&&(H.slice(0).reverse().forEach(function(m){v.ctx.shadowColor=st(m.color),v.ctx.shadowOffsetX=m.offsetX.number*v.options.scale,v.ctx.shadowOffsetY=m.offsetY.number*v.options.scale,v.ctx.shadowBlur=m.blur.number,v.renderTextWithLetterSpacing(b,r.letterSpacing,d)}),v.ctx.shadowColor="",v.ctx.shadowOffsetX=0,v.ctx.shadowOffsetY=0,v.ctx.shadowBlur=0),r.textDecorationLine.length&&(v.ctx.fillStyle=st(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(m){switch(m){case 1:v.ctx.fillRect(b.bounds.left,Math.round(b.bounds.top+d),b.bounds.width,1);break;case 2:v.ctx.fillRect(b.bounds.left,Math.round(b.bounds.top),b.bounds.width,1);break;case 3:v.ctx.fillRect(b.bounds.left,Math.ceil(b.bounds.top+B),b.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&b.text.trim().length&&(v.ctx.strokeStyle=st(r.webkitTextStrokeColor),v.ctx.lineWidth=r.webkitTextStrokeWidth,v.ctx.lineJoin=window.chrome?"miter":"round",v.ctx.strokeText(b.text,b.bounds.left,b.bounds.top+d)),v.ctx.strokeStyle="",v.ctx.lineWidth=0,v.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(A,r,n){if(n&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var a=xo(A),s=Lo(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,A.intrinsicWidth,A.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return Ut(this,void 0,void 0,function(){var r,n,a,s,o,u,E,E,d,B,g,v,q,p,b,W,F,H,m,E,R,q,W;return mt(this,function(j){switch(j.label){case 0:this.applyEffects(A.getEffects(4)),r=A.container,n=A.curves,a=r.styles,s=0,o=r.textNodes,j.label=1;case 1:return s<o.length?(u=o[s],[4,this.renderTextNode(u,a)]):[3,4];case 2:j.sent(),j.label=3;case 3:return s++,[3,1];case 4:if(!(r instanceof id))return[3,8];j.label=5;case 5:return j.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return E=j.sent(),this.renderReplacedElement(r,n,E),[3,8];case 7:return j.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof sd&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof od))return[3,12];j.label=9;case 9:return j.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return E=j.sent(),this.renderReplacedElement(r,n,E),[3,12];case 11:return j.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof fd&&r.tree?(d=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,d.render(r.tree)]):[3,14];case 13:B=j.sent(),r.width&&r.height&&this.ctx.drawImage(B,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),j.label=14;case 14:if(r instanceof Au&&(g=Math.min(r.bounds.width,r.bounds.height),r.type===Fo?r.checked&&(this.ctx.save(),this.path([new VA(r.bounds.left+g*.39363,r.bounds.top+g*.79),new VA(r.bounds.left+g*.16,r.bounds.top+g*.5549),new VA(r.bounds.left+g*.27347,r.bounds.top+g*.44071),new VA(r.bounds.left+g*.39694,r.bounds.top+g*.5649),new VA(r.bounds.left+g*.72983,r.bounds.top+g*.23),new VA(r.bounds.left+g*.84,r.bounds.top+g*.34085),new VA(r.bounds.left+g*.39363,r.bounds.top+g*.79)]),this.ctx.fillStyle=st(Tf),this.ctx.fill(),this.ctx.restore()):r.type===Qo&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+g/2,r.bounds.top+g/2,g/4,0,Math.PI*2,!0),this.ctx.fillStyle=st(Tf),this.ctx.fill(),this.ctx.restore())),dC(r)&&r.value.length){switch(v=this.createFontStyle(a),q=v[0],p=v[1],b=this.fontMetrics.getMetrics(q,p).baseline,this.ctx.font=q,this.ctx.fillStyle=st(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=pC(r.styles.textAlign),W=xo(r),F=0,r.styles.textAlign){case 1:F+=W.width/2;break;case 2:F+=W.width;break}H=W.add(F,0,0,-W.height/2+1),this.ctx.save(),this.path([new VA(W.left,W.top),new VA(W.left+W.width,W.top),new VA(W.left+W.width,W.top+W.height),new VA(W.left,W.top+W.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new _i(r.value,H),a.letterSpacing,b),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!rt(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(m=r.styles.listStyleImage,m.type!==0)return[3,18];E=void 0,R=m.url,j.label=15;case 15:return j.trys.push([15,17,,18]),[4,this.context.cache.match(R)];case 16:return E=j.sent(),this.ctx.drawImage(E,r.bounds.left-(E.width+10),r.bounds.top),[3,18];case 17:return j.sent(),this.context.logger.error("Error loading list-style-image "+R),[3,18];case 18:return[3,20];case 19:A.listValue&&r.styles.listStyleType!==-1&&(q=this.createFontStyle(a)[0],this.ctx.font=q,this.ctx.fillStyle=st(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",W=new Wr(r.bounds.left,r.bounds.top+Ne(r.styles.paddingTop,r.bounds.width),r.bounds.width,mf(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new _i(A.listValue,W),a.letterSpacing,mf(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),j.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(A){return Ut(this,void 0,void 0,function(){var r,n,m,a,s,m,o,u,m,d,B,m,g,v,m,p,b,m,F,H,m;return mt(this,function(E){switch(E.label){case 0:if(rt(A.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:E.sent(),r=0,n=A.negativeZIndex,E.label=2;case 2:return r<n.length?(m=n[r],[4,this.renderStack(m)]):[3,5];case 3:E.sent(),E.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:E.sent(),a=0,s=A.nonInlineLevel,E.label=7;case 7:return a<s.length?(m=s[a],[4,this.renderNode(m)]):[3,10];case 8:E.sent(),E.label=9;case 9:return a++,[3,7];case 10:o=0,u=A.nonPositionedFloats,E.label=11;case 11:return o<u.length?(m=u[o],[4,this.renderStack(m)]):[3,14];case 12:E.sent(),E.label=13;case 13:return o++,[3,11];case 14:d=0,B=A.nonPositionedInlineLevel,E.label=15;case 15:return d<B.length?(m=B[d],[4,this.renderStack(m)]):[3,18];case 16:E.sent(),E.label=17;case 17:return d++,[3,15];case 18:g=0,v=A.inlineLevel,E.label=19;case 19:return g<v.length?(m=v[g],[4,this.renderNode(m)]):[3,22];case 20:E.sent(),E.label=21;case 21:return g++,[3,19];case 22:p=0,b=A.zeroOrAutoZIndexOrTransformedOrOpacity,E.label=23;case 23:return p<b.length?(m=b[p],[4,this.renderStack(m)]):[3,26];case 24:E.sent(),E.label=25;case 25:return p++,[3,23];case 26:F=0,H=A.positiveZIndex,E.label=27;case 27:return F<H.length?(m=H[F],[4,this.renderStack(m)]):[3,30];case 28:E.sent(),E.label=29;case 29:return F++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},e.prototype.formatPath=function(A){var r=this;A.forEach(function(n,a){var s=Yt(n)?n.start:n;a===0?r.ctx.moveTo(s.x,s.y):r.ctx.lineTo(s.x,s.y),Yt(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(A,r,n,a){this.path(A),this.ctx.fillStyle=r,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},e.prototype.resizeImage=function(A,r,n){var a;if(A.width===r&&A.height===n)return A;var s=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,o=s.createElement("canvas");o.width=Math.max(1,r),o.height=Math.max(1,n);var u=o.getContext("2d");return u.drawImage(A,0,0,A.width,A.height,0,0,r,n),o},e.prototype.renderBackgroundImage=function(A){return Ut(this,void 0,void 0,function(){var r,n,a,s,o,u;return mt(this,function(d){switch(d.label){case 0:r=A.styles.backgroundImage.length-1,n=function(B){var g,v,p,tA,oA,aA,T,O,k,b,tA,oA,aA,T,O,F,H,m,E,R,q,W,j,X,k,G,tA,I,Q,T,O,lA,oA,aA,_,z,rA,TA,L,P,V,J;return mt(this,function(eA){switch(eA.label){case 0:if(B.type!==0)return[3,5];g=void 0,v=B.url,eA.label=1;case 1:return eA.trys.push([1,3,,4]),[4,a.context.cache.match(v)];case 2:return g=eA.sent(),[3,4];case 3:return eA.sent(),a.context.logger.error("Error loading background-image "+v),[3,4];case 4:return g&&(p=oc(A,r,[g.width,g.height,g.width/g.height]),tA=p[0],oA=p[1],aA=p[2],T=p[3],O=p[4],k=a.ctx.createPattern(a.resizeImage(g,T,O),"repeat"),a.renderRepeat(tA,k,oA,aA)),[3,6];case 5:Zw(B)?(b=oc(A,r,[null,null,null]),tA=b[0],oA=b[1],aA=b[2],T=b[3],O=b[4],F=zw(B.angle,T,O),H=F[0],m=F[1],E=F[2],R=F[3],q=F[4],W=document.createElement("canvas"),W.width=T,W.height=O,j=W.getContext("2d"),X=j.createLinearGradient(m,R,E,q),wf(B.stops,H).forEach(function(uA){return X.addColorStop(uA.stop,st(uA.color))}),j.fillStyle=X,j.fillRect(0,0,T,O),T>0&&O>0&&(k=a.ctx.createPattern(W,"repeat"),a.renderRepeat(tA,k,oA,aA))):A5(B)&&(G=oc(A,r,[null,null,null]),tA=G[0],I=G[1],Q=G[2],T=G[3],O=G[4],lA=B.position.length===0?[Jc]:B.position,oA=Ne(lA[0],T),aA=Ne(lA[lA.length-1],O),_=Xw(B,oA,aA,T,O),z=_[0],rA=_[1],z>0&&rA>0&&(TA=a.ctx.createRadialGradient(I+oA,Q+aA,0,I+oA,Q+aA,z),wf(B.stops,z*2).forEach(function(uA){return TA.addColorStop(uA.stop,st(uA.color))}),a.path(tA),a.ctx.fillStyle=TA,z!==rA?(L=A.bounds.left+.5*A.bounds.width,P=A.bounds.top+.5*A.bounds.height,V=rA/z,J=1/V,a.ctx.save(),a.ctx.translate(L,P),a.ctx.transform(1,0,0,V,0,0),a.ctx.translate(-L,-P),a.ctx.fillRect(I,J*(Q-P)+P,T,O*J),a.ctx.restore()):a.ctx.fill())),eA.label=6;case 6:return r--,[2]}})},a=this,s=0,o=A.styles.backgroundImage.slice(0).reverse(),d.label=1;case 1:return s<o.length?(u=o[s],[5,n(u)]):[3,4];case 2:d.sent(),d.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(A,r,n){return Ut(this,void 0,void 0,function(){return mt(this,function(a){return this.path(Xf(n,r)),this.ctx.fillStyle=st(A),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(A,r,n,a){return Ut(this,void 0,void 0,function(){var s,o;return mt(this,function(u){switch(u.label){case 0:return r<3?[4,this.renderSolidBorder(A,n,a)]:[3,2];case 1:return u.sent(),[2];case 2:return s=rC(a,n),this.path(s),this.ctx.fillStyle=st(A),this.ctx.fill(),o=nC(a,n),this.path(o),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(A){return Ut(this,void 0,void 0,function(){var r,n,a,s,o,u,d,B,g=this;return mt(this,function(v){switch(v.label){case 0:return this.applyEffects(A.getEffects(2)),r=A.container.styles,n=!vn(r.backgroundColor)||r.backgroundImage.length,a=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],s=gC(ka(r.backgroundClip,0),A.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),vn(r.backgroundColor)||(this.ctx.fillStyle=st(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:v.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(p){g.ctx.save();var b=Eo(A.curves),F=p.inset?0:fC,H=eC(b,-F+(p.inset?1:-1)*p.spread.number,(p.inset?1:-1)*p.spread.number,p.spread.number*(p.inset?-2:2),p.spread.number*(p.inset?-2:2));p.inset?(g.path(b),g.ctx.clip(),g.mask(H)):(g.mask(b),g.ctx.clip(),g.path(H)),g.ctx.shadowOffsetX=p.offsetX.number+F,g.ctx.shadowOffsetY=p.offsetY.number,g.ctx.shadowColor=st(p.color),g.ctx.shadowBlur=p.blur.number,g.ctx.fillStyle=p.inset?st(p.color):"rgba(0,0,0,1)",g.ctx.fill(),g.ctx.restore()}),v.label=2;case 2:o=0,u=0,d=a,v.label=3;case 3:return u<d.length?(B=d[u],B.style!==0&&!vn(B.color)&&B.width>0?B.style!==2?[3,5]:[4,this.renderDashedDottedBorder(B.color,B.width,o,A.curves,2)]:[3,11]):[3,13];case 4:return v.sent(),[3,11];case 5:return B.style!==3?[3,7]:[4,this.renderDashedDottedBorder(B.color,B.width,o,A.curves,3)];case 6:return v.sent(),[3,11];case 7:return B.style!==4?[3,9]:[4,this.renderDoubleBorder(B.color,B.width,o,A.curves)];case 8:return v.sent(),[3,11];case 9:return[4,this.renderSolidBorder(B.color,o,A.curves)];case 10:v.sent(),v.label=11;case 11:o++,v.label=12;case 12:return u++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(A,r,n,a,s){return Ut(this,void 0,void 0,function(){var o,u,d,B,g,v,p,b,F,H,m,E,R,q,W,j,W,j;return mt(this,function(X){return this.ctx.save(),o=aC(a,n),u=Xf(a,n),s===2&&(this.path(u),this.ctx.clip()),Yt(u[0])?(d=u[0].start.x,B=u[0].start.y):(d=u[0].x,B=u[0].y),Yt(u[1])?(g=u[1].end.x,v=u[1].end.y):(g=u[1].x,v=u[1].y),n===0||n===2?p=Math.abs(d-g):p=Math.abs(B-v),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(u.slice(0,2)),b=r<3?r*3:r*2,F=r<3?r*2:r,s===3&&(b=r,F=r),H=!0,p<=b*2?H=!1:p<=b*2+F?(m=p/(2*b+F),b*=m,F*=m):(E=Math.floor((p+F)/(b+F)),R=(p-E*b)/(E-1),q=(p-(E+1)*b)/E,F=q<=0||Math.abs(F-R)<Math.abs(F-q)?R:q),H&&(s===3?this.ctx.setLineDash([0,b+F]):this.ctx.setLineDash([b,F])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=st(A),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(Yt(u[0])&&(W=u[3],j=u[0],this.ctx.beginPath(),this.formatPath([new VA(W.end.x,W.end.y),new VA(j.start.x,j.start.y)]),this.ctx.stroke()),Yt(u[1])&&(W=u[1],j=u[2],this.ctx.beginPath(),this.formatPath([new VA(W.end.x,W.end.y),new VA(j.start.x,j.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(A){return Ut(this,void 0,void 0,function(){var r;return mt(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=st(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=tC(A),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(Ld),dC=function(t){return t instanceof ud||t instanceof cd?!0:t instanceof Au&&t.type!==Qo&&t.type!==Fo},gC=function(t,e){switch(t){case 0:return Eo(e);case 2:return Jm(e);case 1:default:return Lo(e)}},pC=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},BC=["-apple-system","system-ui"],wC=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(e){return BC.indexOf(e)===-1}):t},vC=function(t){pr(e,t);function e(A,r){var n=t.call(this,A,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(A){return Ut(this,void 0,void 0,function(){var r,n;return mt(this,function(a){switch(a.label){case 0:return r=Mc(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,mC(r)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=st(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(Ld),mC=function(t){return new Promise(function(e,A){var r=new Image;r.onload=function(){e(r)},r.onerror=A,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},CC=function(){function t(e){var A=e.id,r=e.enabled;this.id=A,this.enabled=r,this.start=Date.now()}return t.prototype.debug=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Ps([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Ps([this.id,this.getTime()+"ms"],e))},t.prototype.warn=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Ps([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.error=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Ps([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.instances={},t}(),yC=function(){function t(e,A){var r;this.windowBounds=A,this.instanceName="#"+t.instanceCount++,this.logger=new CC({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new Rm(this,e)}return t.instanceCount=1,t}(),xd=function(t,e){return e===void 0&&(e={}),FC(t,e)};typeof window<"u"&&yd.setContext(window);var FC=function(t,e){return Ut(void 0,void 0,void 0,function(){var A,r,n,a,s,o,u,d,B,g,v,p,b,F,H,m,E,R,q,W,X,j,X,k,G,tA,I,Q,T,O,lA,oA,aA,_,z,rA,TA,L,P,V;return mt(this,function(J){switch(J.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(A=t.ownerDocument,!A)throw new Error("Element is not attached to a Document");if(r=A.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(k=e.allowTaint)!==null&&k!==void 0?k:!1,imageTimeout:(G=e.imageTimeout)!==null&&G!==void 0?G:15e3,proxy:e.proxy,useCORS:(tA=e.useCORS)!==null&&tA!==void 0?tA:!1},a=Fc({logging:(I=e.logging)!==null&&I!==void 0?I:!0,cache:e.cache},n),s={windowWidth:(Q=e.windowWidth)!==null&&Q!==void 0?Q:r.innerWidth,windowHeight:(T=e.windowHeight)!==null&&T!==void 0?T:r.innerHeight,scrollX:(O=e.scrollX)!==null&&O!==void 0?O:r.pageXOffset,scrollY:(lA=e.scrollY)!==null&&lA!==void 0?lA:r.pageYOffset},o=new Wr(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),u=new yC(a,o),d=(oA=e.foreignObjectRendering)!==null&&oA!==void 0?oA:!1,B={allowTaint:(aA=e.allowTaint)!==null&&aA!==void 0?aA:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:d,copyStyles:d},u.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),g=new qf(u,t,B),v=g.clonedReferenceElement,v?[4,g.toIFrame(A,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return p=J.sent(),b=eu(v)||bm(v)?e2(v.ownerDocument):ko(u,v),F=b.width,H=b.height,m=b.left,E=b.top,R=QC(u,v,e.backgroundColor),q={canvas:e.canvas,backgroundColor:R,scale:(z=(_=e.scale)!==null&&_!==void 0?_:r.devicePixelRatio)!==null&&z!==void 0?z:1,x:((rA=e.x)!==null&&rA!==void 0?rA:0)+m,y:((TA=e.y)!==null&&TA!==void 0?TA:0)+E,width:(L=e.width)!==null&&L!==void 0?L:Math.ceil(F),height:(P=e.height)!==null&&P!==void 0?P:Math.ceil(H)},d?(u.logger.debug("Document cloned, using foreign object rendering"),X=new vC(u,q),[4,X.render(v)]):[3,3];case 2:return W=J.sent(),[3,5];case 3:return u.logger.debug("Document cloned, element located at "+m+","+E+" with size "+F+"x"+H+" using computed rendering"),u.logger.debug("Starting DOM parsing"),j=dd(u,v),R===j.styles.backgroundColor&&(j.styles.backgroundColor=qr.TRANSPARENT),u.logger.debug("Starting renderer for element at "+q.x+","+q.y+" with size "+q.width+"x"+q.height),X=new hC(u,q),[4,X.render(j)];case 4:W=J.sent(),J.label=5;case 5:return(!((V=e.removeContainer)!==null&&V!==void 0)||V)&&(qf.destroy(p)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),u.logger.debug("Finished rendering"),[2,W]}})})},QC=function(t,e,A){var r=e.ownerDocument,n=r.documentElement?Di(t,getComputedStyle(r.documentElement).backgroundColor):qr.TRANSPARENT,a=r.body?Di(t,getComputedStyle(r.body).backgroundColor):qr.TRANSPARENT,s=typeof A=="string"?Di(t,A):A===null?qr.TRANSPARENT:4294967295;return e===r.documentElement?vn(n)?vn(a)?s:a:n:s};const bC=Object.freeze(Object.defineProperty({__proto__:null,default:xd},Symbol.toStringTag,{value:"Module"})),UC={class:"gantt-body"},EC=["title"],LC={width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5"},xC={key:0,points:"15,18 9,12 15,6"},IC={key:1,points:"9,18 15,12 9,6"},xa=1160,oo=320,SC=l.defineComponent({__name:"GanttChart",props:{tasks:{default:()=>[]},milestones:{default:()=>[]},onTaskDoubleClick:{type:Function,default:void 0},editComponent:{default:void 0},useDefaultDrawer:{type:Boolean,default:!0},onTaskDelete:{type:Function,default:void 0},onMilestoneSave:{type:Function,default:void 0},onMilestoneDelete:{type:Function,default:void 0},onTaskUpdate:{type:Function,default:void 0},onTaskAdd:{type:Function,default:void 0},onMilestoneIconChange:{type:Function,default:void 0},toolbarConfig:{default:()=>({})},showToolbar:{type:Boolean,default:!0},onAddTask:{type:Function,default:void 0},onAddMilestone:{type:Function,default:void 0},onTodayLocate:{type:Function,default:void 0},onExportCsv:{type:Function,default:void 0},onExportPdf:{type:Function,default:void 0},onLanguageChange:{type:Function,default:void 0},onThemeChange:{type:Function,default:void 0},onFullscreenChange:{type:Function,default:void 0},localeMessages:{default:void 0}},emits:["taskbar-drag-end","taskbar-resize-end","milestone-drag-end"],setup(t,{emit:e}){const A=t,r=e,{showMessage:n}=jc(),a=l.ref(320),s=l.ref(null),o=l.ref(xa),u=l.ref(oo),d=l.ref(oo),B=l.ref(xa),g=l.ref(xa),v=D=>D<u.value?u.value:D>g.value?g.value:Math.max(u.value,D),p=l.ref(!1);function b(D){if(D.target.closest(".task-list-toggle"))return;D.preventDefault(),D.stopPropagation(),p.value=!0;const BA=D.clientX,sA=a.value,pA=document.querySelector(".task-list-body");if(!pA)return;const FA=pA.getBoundingClientRect();o.value=FA.width,B.value=window.innerWidth*.8-6,g.value=Math.min(B.value,o.value),window.dispatchEvent(new CustomEvent("splitter-drag-start")),document.body.style.userSelect="none",document.body.style.webkitUserSelect="none",document.body.style.cursor="col-resize";function UA(QA){if(!p.value)return;QA.preventDefault(),QA.stopPropagation();const yA=QA.clientX-BA,_A=sA+yA,XA=v(_A);a.value=XA}function IA(){p.value=!1,window.dispatchEvent(new CustomEvent("splitter-drag-end")),document.body.style.userSelect="",document.body.style.webkitUserSelect="",document.body.style.cursor="",o.value=xa,u.value=oo,B.value=xa,g.value=xa,d.value=oo,window.removeEventListener("mousemove",UA),window.removeEventListener("mouseup",IA)}window.addEventListener("mousemove",UA),window.addEventListener("mouseup",IA)}const F=l.ref(!0),H=l.ref(!1),m=l.ref(""),E=()=>{H.value||(H.value=!0,F.value?m.value="impact-left":m.value="impact-right",setTimeout(()=>{F.value=!F.value},200),setTimeout(()=>{H.value=!1,m.value=""},400))},R=D=>{F.value=D.detail};function q(D){r("taskbar-drag-end",D.detail)}function W(D){r("taskbar-resize-end",D.detail)}function j(D){r("milestone-drag-end",D.detail)}l.onMounted(()=>{window.addEventListener("taskbar-drag-end",q),window.addEventListener("taskbar-resize-end",W),window.addEventListener("milestone-drag-end",j)}),l.onUnmounted(()=>{window.removeEventListener("taskbar-drag-end",q),window.removeEventListener("taskbar-resize-end",W),window.removeEventListener("milestone-drag-end",j)});const X=D=>{const $=(BA,sA,pA)=>{for(const FA of BA){if(FA.id===sA)return FA.collapsed=pA,!0;if(FA.children&&FA.children.length>0&&$(FA.children,sA,pA))return!0}return!1};A.tasks&&$(A.tasks,D.id,D.collapsed??!1),k.value++},k=l.ref(0),G=()=>{const D=[],$=BA=>{BA.forEach(sA=>{D.push(sA),sA.children&&sA.children.length>0&&$(sA.children)})};A.tasks&&$(A.tasks),A.milestones&&D.push(...A.milestones),window.dispatchEvent(new CustomEvent("task-list-updated",{detail:D}))},tA=()=>{G()};l.watch([()=>A.tasks,()=>A.milestones],()=>{l.nextTick(()=>{tA()})},{deep:!0,immediate:!0}),l.onMounted(()=>{window.addEventListener("toggle-task-list",R),window.addEventListener("fullscreen-toggle",P),window.addEventListener("task-updated",J),window.addEventListener("task-added",uA),window.addEventListener("milestone-icon-changed",dA),window.addEventListener("milestone-deleted",gA),window.addEventListener("milestone-data-changed",HA),window.addEventListener("request-task-list",G),window.addEventListener("resize",wA),l.nextTick(()=>{s.value&&typeof s.value.scrollToTodayCenter=="function"&&s.value.scrollToTodayCenter()})}),l.onUnmounted(()=>{p.value=!1,window.removeEventListener("toggle-task-list",R),window.removeEventListener("fullscreen-toggle",P),window.removeEventListener("task-updated",J),window.removeEventListener("task-added",uA),window.removeEventListener("milestone-icon-changed",dA),window.removeEventListener("milestone-deleted",gA),window.removeEventListener("milestone-data-changed",HA),window.removeEventListener("request-task-list",G),window.removeEventListener("resize",wA)});const I=l.ref(!1),{t:Q,locale:T}=Gn(),O=l.computed(()=>Q.value.collapseTaskList),lA=l.computed(()=>Q.value.expandTaskList),oA=l.computed(()=>{const D=[];if(A.milestones&&A.milestones.length>0){const $={id:-1,name:Q.value.milestoneGroup,startDate:"",endDate:"",type:"milestone-group",children:A.milestones,isParent:!0,collapsed:!1};D.push($)}return A.tasks&&A.tasks.length>0&&D.push(...A.tasks),D}),aA=l.computed(()=>{k.value>=0;const D=[];if(A.milestones&&A.milestones.length>0){const $={id:-1,name:Q.value.milestoneGroup,startDate:"",endDate:"",type:"milestone-group",children:A.milestones,isParent:!0,collapsed:!1};D.push($)}if(A.tasks&&A.tasks.length>0){const $=QA=>{const yA=[],_A=[];return QA.forEach(XA=>{if(XA.startDate&&yA.push(XA.startDate),XA.endDate&&_A.push(XA.endDate),XA.children&&XA.children.length>0){const ie=$(XA.children);yA.push(...ie.starts),_A.push(...ie.ends)}}),{starts:yA,ends:_A}},BA=QA=>{if(!QA.children||QA.children.length===0)return{startDate:QA.startDate||"",endDate:QA.endDate||""};const{starts:yA,ends:_A}=$(QA.children);if(yA.length===0||_A.length===0)return{startDate:QA.startDate||"",endDate:QA.endDate||""};const XA=yA.reduce((WA,Ae)=>new Date(Ae)<new Date(WA)?Ae:WA),ie=_A.reduce((WA,Ae)=>new Date(Ae)>new Date(WA)?Ae:WA);return{startDate:XA,endDate:ie}},sA=QA=>QA.map(yA=>{let _A={...yA};yA.children&&yA.children.length>0&&(_A.children=sA(yA.children));const XA=yA.type==="story"||_A.children&&_A.children.length>0;if(_A.isParent=XA,XA&&_A.children&&_A.children.length>0){const{startDate:ie,endDate:WA}=BA(_A);_A={..._A,startDate:ie,endDate:WA}}return _A}),pA=(QA,yA=0)=>{const _A=[];return QA.forEach(XA=>{const ie={...XA,level:yA};if(_A.push(ie),XA.children&&XA.children.length>0&&!XA.collapsed){const WA=pA(XA.children,yA+1);_A.push(...WA)}}),_A},FA=oA.value.filter(QA=>QA.type!=="milestone-group"),UA=sA(FA),IA=pA(UA);D.push(...IA)}return D}),_=l.computed(()=>{const D=QA=>{let yA=[];return QA.forEach(_A=>{yA.push(_A),_A.children&&_A.children.length>0&&(yA=yA.concat(D(_A.children)))}),yA};let $=[];A.tasks&&($=$.concat(D(A.tasks))),A.milestones&&($=$.concat(A.milestones));const BA=$.map(QA=>QA.startDate).filter(Boolean).map(QA=>new Date(QA)),sA=$.map(QA=>QA.endDate).filter(Boolean).map(QA=>new Date(QA));if(BA.length===0||sA.length===0){const QA=new Date,yA=new Date(QA.getFullYear(),QA.getMonth()-6,1),_A=new Date(QA.getFullYear(),QA.getMonth()+6+1,0);return{min:yA,max:_A}}const pA=new Date(Math.min(...BA.map(QA=>QA.getTime()))),FA=new Date(Math.max(...sA.map(QA=>QA.getTime()))),UA=new Date(pA.getFullYear(),pA.getMonth()-6,1),IA=new Date(FA.getFullYear(),FA.getMonth()+6+1,0);return{min:UA,max:IA}}),z=()=>{if(A.onExportCsv&&typeof A.onExportCsv=="function"){A.onExportCsv()===!1&&rA();return}rA()},rA=()=>{try{const D=[];A.tasks&&A.tasks.length>0&&D.push(...A.tasks),A.milestones&&A.milestones.length>0&&D.push(...A.milestones);const sA="\uFEFF"+TA(D),pA=new Blob([sA],{type:"text/csv;charset=utf-8;"}),FA=document.createElement("a"),UA=URL.createObjectURL(pA),QA=`gantt-tasks-${new Date().toISOString().split("T")[0]}.csv`;FA.setAttribute("href",UA),FA.setAttribute("download",QA),FA.style.visibility="hidden",document.body.appendChild(FA),FA.click(),document.body.removeChild(FA),URL.revokeObjectURL(UA)}catch(D){console.error("CSV导出失败:",D),n("CSV导出失败","error",{closable:!1})}},TA=D=>{const $=Q.value.csvHeaders,BA=[$.id,$.taskName,$.predecessor,$.assignee,$.startDate,$.endDate,$.estimatedHours,$.actualHours,$.progress,$.type,$.description],sA=IA=>{if(IA==null)return"";const QA=String(IA);return QA.includes(",")||QA.includes('"')||QA.includes(`
304
+ `)||QA.includes("\r")?`"${QA.replace(/"/g,'""')}"`:QA},pA=IA=>{const QA=[];return IA.forEach(yA=>{QA.push({id:yA.id,name:yA.name||"",predecessor:yA.predecessor||"",assignee:yA.assignee||"",startDate:yA.startDate||"",endDate:yA.endDate||"",estimatedHours:yA.estimatedHours||"",actualHours:yA.actualHours||"",progress:yA.progress!==void 0?`${yA.progress}%`:"",type:yA.type||"",description:yA.description||""}),yA.children&&yA.children.length>0&&QA.push(...pA(yA.children))}),QA},FA=pA(D);return[BA.map(IA=>sA(IA)).join(","),...FA.map(IA=>[sA(IA.id),sA(IA.name),sA(IA.predecessor),sA(IA.assignee),sA(IA.startDate),sA(IA.endDate),sA(IA.estimatedHours),sA(IA.actualHours),sA(IA.progress),sA(IA.type),sA(IA.description)].join(","))].join(`
305
+ `)},L=async()=>{try{const D=Q.value.pdfExportLoading,$=Q.value.pdfExportTitle,BA=Q.value.pdfExportDate,sA=document.createElement("div");sA.innerHTML=`
306
+ <div style="position: fixed; top: 0; left: 0; width: 100%; height: 100%;
307
+ background: rgba(0,0,0,0.5); display: flex; align-items: center;
308
+ justify-content: center; z-index: 10000; color: white; font-size: 16px;">
309
+ ${D}
310
+ </div>
311
+ `,document.body.appendChild(sA);const pA=document.querySelector(".gantt-body");if(!pA)throw new Error("找不到甘特图元素");const FA={overflow:pA.style.overflow,height:pA.style.height};pA.style.overflow="visible",pA.style.height="auto";const UA=await xd(pA,{allowTaint:!0,useCORS:!0,scale:2,width:pA.scrollWidth,height:pA.scrollHeight,backgroundColor:"#ffffff"});pA.style.overflow=FA.overflow,pA.style.height=FA.height;const IA=UA.toDataURL("image/png"),QA=new te({orientation:"landscape",unit:"mm",format:"a4"}),yA=QA.internal.pageSize.getWidth(),_A=QA.internal.pageSize.getHeight(),XA=UA.width,ie=UA.height,WA=Math.min(yA/XA,_A/ie),Ae=XA*WA,OA=ie*WA,_e=(yA-Ae)/2,mA=(_A-OA)/2;QA.setFontSize(16),QA.text($,yA/2,15,{align:"center"}),QA.setFontSize(10);const DA=new Date().toLocaleDateString(T.value);if(QA.text(`${BA}: ${DA}`,yA-10,10,{align:"right"}),QA.addImage(IA,"PNG",_e,mA+10,Ae,OA-15),OA>_A-30){const JA=Math.ceil(OA/(_A-30));for(let de=1;de<JA;de++){QA.addPage();const re=-de*(_A-30);QA.addImage(IA,"PNG",_e,mA+10+re,Ae,OA-15)}}const xA=`gantt-chart-${new Date().toISOString().split("T")[0]}.pdf`;QA.save(xA),sA&&sA.parentNode&&sA.parentNode.removeChild(sA)}catch(D){const $=document.querySelector('[style*="position: fixed"]');$&&$.parentNode&&$.parentNode.removeChild($),console.error("PDF导出失败:",D),alert("PDF导出失败")}},P=D=>{I.value=D.detail,A.onFullscreenChange&&typeof A.onFullscreenChange=="function"&&A.onFullscreenChange(I.value)},V=D=>{A.onMilestoneSave&&typeof A.onMilestoneSave=="function"&&A.onMilestoneSave(D)},J=D=>{const $=D.detail;if($.type==="task"&&$.parentId){const BA=eA($.parentId,$);A.onTaskUpdate&&typeof A.onTaskUpdate=="function"&&A.onTaskUpdate($),BA&&A.onTaskUpdate&&typeof A.onTaskUpdate=="function"&&A.onTaskUpdate(BA)}else A.onTaskUpdate&&typeof A.onTaskUpdate=="function"&&A.onTaskUpdate($);k.value++},eA=(D,$)=>{const BA=[...A.tasks||[]],sA=[],pA=yA=>{yA.forEach(_A=>{sA.push(_A),_A.children&&_A.children.length>0&&pA(_A.children)})};pA(BA);const FA=sA.find(yA=>yA.id===D&&yA.type==="story");if(!FA)return null;let UA=sA.filter(yA=>yA.parentId===D&&yA.type==="task");if(UA.length===0)return null;$&&$.type==="task"&&$.parentId===D&&(UA=UA.map(yA=>yA.id===$.id?$:yA));const IA=UA.reduce((yA,_A)=>yA+(_A.progress||0),0),QA=Math.round(IA/UA.length);return FA.progress!==QA?{...FA,progress:QA}:null},uA=D=>{const $=D.detail;A.onTaskAdd&&typeof A.onTaskAdd=="function"&&A.onTaskAdd($),k.value++},dA=D=>{const{milestoneId:$,icon:BA}=D.detail;A.onMilestoneIconChange&&typeof A.onMilestoneIconChange=="function"&&A.onMilestoneIconChange($,BA)},gA=D=>{const{milestoneId:$}=D.detail;A.onMilestoneDelete&&typeof A.onMilestoneDelete=="function"&&A.onMilestoneDelete($),k.value++},HA=()=>{k.value++,l.nextTick(()=>{})};l.onMounted(()=>{l.nextTick(()=>{s.value&&typeof s.value.scrollToTodayCenter=="function"&&s.value.scrollToTodayCenter()})});const NA=()=>{if(A.onTodayLocate&&typeof A.onTodayLocate=="function"){A.onTodayLocate();return}if(s.value&&typeof s.value.scrollToTodayCenter=="function"){s.value.scrollToTodayCenter();return}YA()},MA=()=>{if(A.onAddMilestone&&typeof A.onAddMilestone=="function"){A.onAddMilestone();return}PA()},PA=()=>{window.dispatchEvent(new CustomEvent("add-milestone"))},YA=()=>{if(s.value&&typeof s.value.scrollToToday=="function"){s.value.scrollToToday();return}const D=new Date,$=D.getMonth(),BA=D.getDate();let sA=0;for(let yA=0;yA<$;yA++)sA+=new Date(D.getFullYear(),yA+1,0).getDate();sA+=BA;const pA=document.querySelector(".gantt-panel-right"),FA=pA==null?void 0:pA.clientWidth,UA=FA?FA/2:200,IA=(sA-1)*30-UA,QA=document.querySelector(".timeline");if(QA){QA.scrollLeft=Math.max(0,IA);const yA=QA.querySelector(".day-column.today");yA&&(yA.classList.add("today-highlight"),setTimeout(()=>{yA.classList.remove("today-highlight")},2e3))}},wA=()=>{const D=v(a.value);D!==a.value&&(a.value=D)};return A.localeMessages&&xu(T.value,A.localeMessages),l.watch(()=>A.localeMessages,D=>{D&&xu(T.value,D)},{deep:!0}),(D,$)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["gantt-root",{"gantt-fullscreen":I.value,"splitter-dragging":p.value}])},[A.showToolbar?(l.openBlock(),l.createBlock(rB,{key:0,config:A.toolbarConfig,"on-add-task":A.onAddTask,"on-add-milestone":MA,"on-today-locate":NA,"on-export-csv":z,"on-export-pdf":L,"on-language-change":A.onLanguageChange,"on-theme-change":A.onThemeChange,"on-fullscreen-change":A.onFullscreenChange},null,8,["config","on-add-task","on-language-change","on-theme-change","on-fullscreen-change"])):l.createCommentVNode("",!0),l.createElementVNode("div",UC,[F.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"gantt-panel gantt-panel-left",style:l.normalizeStyle({width:a.value+"px"})},[l.createVNode($f,{tasks:oA.value,"on-task-double-click":A.onTaskDoubleClick,"edit-component":A.editComponent,"use-default-drawer":A.useDefaultDrawer,onTaskCollapseChange:X},null,8,["tasks","on-task-double-click","edit-component","use-default-drawer"])],4)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"gantt-splitter",onMousedown:b},[l.createElementVNode("div",{class:l.normalizeClass(["task-list-toggle",{collapsed:!F.value,[m.value]:H.value}]),title:F.value?O.value:lA.value,onClick:l.withModifiers(E,["stop"])},[(l.openBlock(),l.createElementBlock("svg",LC,[F.value?(l.openBlock(),l.createElementBlock("polyline",xC)):(l.openBlock(),l.createElementBlock("polyline",IC))]))],10,EC)],32),l.createElementVNode("div",{class:l.normalizeClass(["gantt-panel gantt-panel-right",{"full-width":!F.value}])},[$[0]||($[0]=l.createElementVNode("div",{class:"timeline-fade-overlay timeline-fade-left"},null,-1)),$[1]||($[1]=l.createElementVNode("div",{class:"timeline-fade-overlay timeline-fade-right"},null,-1)),l.createVNode(nh,{ref_key:"timelineRef",ref:s,tasks:aA.value,milestones:A.milestones,"start-date":_.value.min,"end-date":_.value.max,"on-task-double-click":A.onTaskDoubleClick,"edit-component":A.editComponent,"use-default-drawer":A.useDefaultDrawer,"on-task-delete":A.onTaskDelete,"on-milestone-save":V},null,8,["tasks","milestones","start-date","end-date","on-task-double-click","edit-component","use-default-drawer","on-task-delete"])],2)])],2))}}),Id=hr(SC,[["__scopeId","data-v-9fc7d7d0"]]),Sd=t=>{t.component("GanttChart",Id)},NC={install:Sd};exports.GanttChart=Id;exports.MilestoneDialog=rh;exports.MilestonePoint=Ah;exports.TaskBar=Zf;exports.TaskDrawer=th;exports.TaskList=$f;exports.TaskRow=Yf;exports.Timeline=nh;exports._typeof=ye;exports.index=NC;exports.install=Sd;exports.useMessage=jc;