diff --git a/app/Http/Controllers/Api/WorkflowController.php b/app/Http/Controllers/Api/WorkflowController.php index ed690a38b..602d8fa80 100755 --- a/app/Http/Controllers/Api/WorkflowController.php +++ b/app/Http/Controllers/Api/WorkflowController.php @@ -3,16 +3,22 @@ namespace App\Http\Controllers\Api; use Request; +use Session; +use Response; +use Madzipper; +use Carbon\Carbon; use App\Models\User; use App\Module\Base; use App\Module\Ihttp; use App\Tasks\PushTask; +use App\Module\BillExport; use App\Models\WebSocketDialog; use App\Models\WorkflowProcMsg; use App\Exceptions\ApiException; +use App\Models\UserDepartment; use App\Models\WebSocketDialogMsg; +use App\Module\BillMultipleExport; use Hhxsv5\LaravelS\Swoole\Task\Task; - /** * @apiDefine workflow * @@ -70,7 +76,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/procdef/all 02. 查询流程定义 + * @api {post} api/workflow/procdef/all 03. 查询流程定义 * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -96,7 +102,7 @@ class WorkflowController extends AbstractController } /** - * @api {get} api/workflow/procdef/del 03. 删除流程定义 + * @api {get} api/workflow/procdef/del 04. 删除流程定义 * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -122,7 +128,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/process/start 04. 启动流程(审批中) + * @api {post} api/workflow/process/start 05. 启动流程(审批中) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -185,7 +191,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/task/complete 05. 审批 + * @api {post} api/workflow/task/complete 06. 审批 * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -248,7 +254,7 @@ class WorkflowController extends AbstractController $this->workflowMsg('workflow_reviewer', $dialog, $botUser, $val, $process,'start'); } } - + // 抄送人 $notifier = $this->handleProcessNode($process, $task['step']); if ($notifier && $pass == 'pass') { @@ -261,7 +267,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/task/withdraw 06. 撤回 + * @api {post} api/workflow/task/withdraw 07. 撤回 * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -306,7 +312,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/process/findTask 07. 查询需要我审批的流程(审批中) + * @api {post} api/workflow/process/findTask 08. 查询需要我审批的流程(审批中) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -348,7 +354,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/process/startByMyselfAll 08. 查询我启动的流程(全部) + * @api {post} api/workflow/process/startByMyselfAll 09. 查询我启动的流程(全部) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -356,7 +362,7 @@ class WorkflowController extends AbstractController * @apiName process__startByMyselfAll * * @apiQuery {String} proc_def_name 流程分类 - * @apiQuery {String} state 流程状态[0待审批,1审批中,2通过,3拒绝,4撤回] + * @apiQuery {String} state 流程状态[0全部,1审批中,2通过,3拒绝,4撤回] * @apiQuery {Number} page 页码 * @apiQuery {Number} page_size 每页条数 * @@ -390,7 +396,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/process/startByMyself 09. 查询我启动的流程(审批中) + * @api {post} api/workflow/process/startByMyself 10. 查询我启动的流程(审批中) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -428,7 +434,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/process/findProcNotify 10. 查询抄送我的流程(审批中) + * @api {post} api/workflow/process/findProcNotify 11. 查询抄送我的流程(审批中) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -472,7 +478,7 @@ class WorkflowController extends AbstractController } /** - * @api {get} api/workflow/identitylink/findParticipant 11. 查询流程实例的参与者(审批中) + * @api {get} api/workflow/identitylink/findParticipant 12. 查询流程实例的参与者(审批中) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -507,7 +513,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/procHistory/findTask 12. 查询需要我审批的流程(已结束) + * @api {post} api/workflow/procHistory/findTask 13. 查询需要我审批的流程(已结束) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -549,7 +555,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/procHistory/startByMyself 13. 查询我启动的流程(已结束) + * @api {post} api/workflow/procHistory/startByMyself 14. 查询我启动的流程(已结束) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -587,7 +593,7 @@ class WorkflowController extends AbstractController } /** - * @api {post} api/workflow/procHistory/findProcNotify 14. 查询抄送我的流程(已结束) + * @api {post} api/workflow/procHistory/findProcNotify 15. 查询抄送我的流程(已结束) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -630,7 +636,7 @@ class WorkflowController extends AbstractController } /** - * @api {get} api/workflow/identitylinkHistory/findParticipant 15. 查询流程实例的参与者(已结束) + * @api {get} api/workflow/identitylinkHistory/findParticipant 16. 查询流程实例的参与者(已结束) * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -665,7 +671,7 @@ class WorkflowController extends AbstractController } /** - * @api {get} api/workflow/process/detail 16. 根据流程ID查询流程详情 + * @api {get} api/workflow/process/detail 17. 根据流程ID查询流程详情 * * @apiDescription 需要token身份 * @apiVersion 1.0.0 @@ -686,6 +692,240 @@ class WorkflowController extends AbstractController return Base::retSuccess('success', $workflow); } + /** + * @api {post} api/workflow/export 18. 导出数据 + * + * @apiDescription 需要token身份 + * @apiVersion 1.0.0 + * @apiGroup workflow + * @apiName export + * + * @apiQuery {String} proc_def_name 流程分类 + * @apiQuery {String} state 流程状态[0全部,1审批中,2通过,3拒绝,4撤回] + * @apiQuery {String} is_finished 是否完成 + * @apiQuery {Array} [date] 指定日期范围,如:['2020-12-12', '2020-12-30'] + * + * @apiSuccess {Number} ret 返回状态码(1正确、0错误) + * @apiSuccess {String} msg 返回信息(错误描述) + * @apiSuccess {Object} data 返回数据 + */ + public function export() + { + $user = User::auth('admin'); + $name = $data['procName'] = Request::input('proc_def_name'); //分类 + $data['state'] = intval(Request::input('state')); //状态 + $data['isFinished'] = intval(Request::input('is_finished')); //是否完成 + $date = Request::input('date'); + $data['startTime'] = $date[0]; //开始时间 + $data['endTime'] = $date[1]; //结束时间 + // + if (empty($name) || empty($date)) { + return Base::retError('参数错误'); + } + if (!(is_array($date) && Base::isDate($date[0]) && Base::isDate($date[1]))) { + return Base::retError('日期选择错误'); + } + if (Carbon::parse($date[1])->timestamp - Carbon::parse($date[0])->timestamp > 35 * 86400) { + return Base::retError('日期范围限制最大35天'); + } + // + $ret = Ihttp::ihttp_post($this->flow_url.'/api/v1/workflow/process/findAllProcIns', json_encode($data)); + $process = json_decode($ret['ret'] == 1 ? $ret['data'] : '{}', true); + if (!$process || $process['status'] != 200) { + return Base::retError($process['message'] ?? '查询失败'); + } + // + $res = Base::arrayKeyToUnderline($process['data']); + // + $headings = []; + $headings[] = '申请编号'; + $headings[] = '标题'; + $headings[] = '申请状态'; + $headings[] = '发起时间'; + $headings[] = '完成时间'; + $headings[] = '发起人工号'; + $headings[] = '发起人User ID'; + $headings[] = '发起人姓名'; + $headings[] = '发起人部门'; + $headings[] = '发起人部门ID'; + $headings[] = '部门负责人'; + $headings[] = '历史审批人'; + $headings[] = '历史办理人'; + $headings[] = '审批记录'; + $headings[] = '当前处理人'; + $headings[] = '审批节点'; + $headings[] = '审批人数'; + $headings[] = '审批耗时'; + $headings[] = '假期类型'; + $headings[] = '开始时间'; + $headings[] = '结束时间'; + $headings[] = '时长'; + $headings[] = '请假事由'; + $headings[] = '请假单位'; + // + $sheets = []; + $datas = []; + foreach ($res as $val) { + // + $nickname = Base::filterEmoji($val['start_user_name']); + $participant = $this->getUserProcessParticipantById($val['id']); // 获取参与人 + $participant = $this->handleParticipant($participant['data']); // 处理参与人返回数据 + // + $department_leader = User::userid2nickname(UserDepartment::find(1, ['owner_userid'])['owner_userid']); // 部门负责人 + $historical_approver = $participant['historical_approver'] ?? ''; // 历史审批人 + $historical_agent = $participant['historical_agent'] ?? ''; // 历史办理人 + $approval_record = $participant['approval_record'] ?? ''; // 审批记录 + $current_handler = implode(',', User::whereIn('userid', explode(';', $val['candidate']))->pluck('nickname')->toArray()); // 当前处理人 + $approved_node = $participant['approved_node'] ?? 0; // 审批节点 + $approved_num = $participant['approved_num'] ?? 0; // 审批人数 + // 计算审批耗时 + $startTime = Carbon::parse($val['start_time'])->timestamp; + $endTime = $val['end_time'] ? Carbon::parse($val['end_time'])->timestamp : time(); + $approval_time = Base::timeDiff($startTime, $endTime); // 审批耗时 + // 计算时长 + $varStartTime = Carbon::parse($val['var']['start_time'])->timestamp; + $varEndTime = Carbon::parse($val['var']['end_time'])->timestamp; + $duration = Base::timeDiff($varStartTime, $varEndTime); // 时长 + $duration_unit = '小时'; // 时长单位 + $datas[] = [ + $val['id'], // 申请编号 + $val['proc_def_name'], // 标题 + $this->getStateDescription($val['state']), // 申请状态 + $val['start_time'], // 发起时间 + $val['end_time'], // 完成时间 + $val['start_user_id'], // 发起人工号 + $val['start_user_id'], // 发起人User ID + $nickname, // 发起人姓名 + $val['department'], // 发起人部门 + $val['department_id'], // 发起人部门ID + $department_leader, // 部门负责人 + $historical_approver, // 历史审批人 + $historical_agent, // 历史办理人 + $approval_record, // 审批记录 + $current_handler, // 当前处理人 + $approved_node, // 审批节点 + $approved_num, // 审批人数 + $approval_time, // 审批耗时 + $val['var']['type'], // 假期类型 + $val['var']['start_time'], // 开始时间 + $val['var']['end_time'], // 结束时间 + $duration, // 时长 + $val['var']['description'], // 请假事由 + $duration_unit, // 请假单位 + ]; + } + if (empty($datas)) { + return Base::retError('没有任何数据'); + } + // + $title = (count($sheets) + 1) . "." . ($nickname ?: $val['start_user_id']); + $sheets = [ + BillExport::create()->setTitle($title)->setHeadings($headings)->setData($datas)->setStyles(["A1:Y1" => ["font" => ["bold" => true]]]) + ]; + // + $fileName .= '审批记录_' . Base::time() . '.xls'; + $filePath = "temp/workflow/export/" . date("Ym", Base::time()); + $export = new BillMultipleExport($sheets); + $res = $export->store($filePath . "/" . $fileName); + if ($res != 1) { + return Base::retError('导出失败,' . $fileName . '!'); + } + $xlsPath = storage_path("app/" . $filePath . "/" . $fileName); + $zipFile = "app/" . $filePath . "/" . Base::rightDelete($fileName, '.xls') . ".zip"; + $zipPath = storage_path($zipFile); + if (file_exists($zipPath)) { + Base::deleteDirAndFile($zipPath, true); + } + try { + Madzipper::make($zipPath)->add($xlsPath)->close(); + } catch (\Throwable) { + } + // + if (file_exists($zipPath)) { + $base64 = base64_encode(Base::array2string([ + 'file' => $zipFile, + ])); + Session::put('workflow::export:userid', $user->userid); + return Base::retSuccess('success', [ + 'size' => Base::twoFloat(filesize($zipPath) / 1024, true), + 'url' => Base::fillUrl('api/workflow/down?key=' . urlencode($base64)), + ]); + } else { + return Base::retError('打包失败,请稍后再试...'); + } + } + + function getStateDescription($state) { + $state_map = array( + 0 => '全部', + 1 => '审批中', + 2 => '通过', + 3 => '拒绝', + 4 => '撤回' + ); + return isset($state_map[$state]) ? $state_map[$state] : ''; + } + + /** + * @api {get} api/workflow/down 19. 下载导出的审批数据 + * + * @apiVersion 1.0.0 + * @apiGroup system + * @apiName down + * + * @apiParam {String} key 通过export接口得到的下载钥匙 + * + * @apiSuccess {File} data 返回数据(直接下载文件) + */ + public function down() + { + $userid = Session::get('workflow::export:userid'); + if (empty($userid)) { + return Base::ajaxError("请求已过期,请重新导出!", [], 0, 502); + } + // + $array = Base::string2array(base64_decode(urldecode(Request::input('key')))); + $file = $array['file']; + if (empty($file) || !file_exists(storage_path($file))) { + return Base::ajaxError("文件不存在!", [], 0, 502); + } + return Response::download(storage_path($file)); + } + + // 处理参与人返回数据 + public function handleParticipant($participant) + { + // 如果空 + if (empty($participant)) { + return []; + } + $res = []; + $approved_node = 0; // 审批节点 + $approved_num = 0; // 审批人数 + foreach ($participant as $val) { + // 如果是审批人 + if ($val['type'] == 'participant') { + // 审批人累加加到;格式字符串 + if ($val['step'] != 0) { + $res['historical_approver'] .= $val['username'] . ';'; + $approved_node++; + $approved_num++; + } + // 审批记录用|格式字符串 + $name = $val['username'] . '|'; + $call = $val['step'] == 0 ? '发起审批'. '|' : '同意' . '|'; + $time = date('Y-m-d H:i:s', $val['time']) . '|'; + $comment = $val['step'] == 0 ? '' : ($val['comment'] ?? '') . '|'; + $res['approval_record'] .= $name . $call . $time . $comment; + } + } + $res['approved_node'] = $approved_node; + $res['approved_num'] = $approved_num; + $res['historical_agent'] = $res['historical_approver']; + return $res; + } + + // 审批机器人消息 public function workflowMsg($type, $dialog, $botUser, $toUser, $process, $action = null) { @@ -787,11 +1027,11 @@ class WorkflowController extends AbstractController return []; } - // 根据ID查询流程实例的参与者(审批中) + // 根据ID查询流程实例的参与者(所有) public function getUserProcessParticipantById($id) { - $data['id'] = intval($id); - $ret = Ihttp::ihttp_get($this->flow_url."/api/v1/workflow/identitylink/findParticipant?".http_build_query($data)); + $data['procInstId'] = intval($id); + $ret = Ihttp::ihttp_get($this->flow_url."/api/v1/workflow/identitylink/findParticipantAll?".http_build_query($data)); $process = json_decode($ret['ret'] == 1 ? $ret['data'] : '{}', true); if (!$process || $process['status'] != 200) { throw new ApiException($process['message'] ?? '查询失败'); diff --git a/public/docs/assets/main.bundle.js b/public/docs/assets/main.bundle.js index be58a6855..45dd5c54e 100644 --- a/public/docs/assets/main.bundle.js +++ b/public/docs/assets/main.bundle.js @@ -1,7 +1,7 @@ -(()=>{var Za={2988:()=>{+function(P){"use strict";var y=".dropdown-backdrop",o='[data-toggle="dropdown"]',h=function(p){P(p).on("click.bs.dropdown",this.toggle)};h.VERSION="3.4.1";function i(p){var s=p.attr("data-target");s||(s=p.attr("href"),s=s&&/#[A-Za-z]/.test(s)&&s.replace(/.*(?=#[^\s]*$)/,""));var u=s!=="#"?P(document).find(s):null;return u&&u.length?u:p.parent()}function r(p){p&&p.which===3||(P(y).remove(),P(o).each(function(){var s=P(this),u=i(s),g={relatedTarget:this};!u.hasClass("open")||p&&p.type=="click"&&/input|textarea/i.test(p.target.tagName)&&P.contains(u[0],p.target)||(u.trigger(p=P.Event("hide.bs.dropdown",g)),!p.isDefaultPrevented()&&(s.attr("aria-expanded","false"),u.removeClass("open").trigger(P.Event("hidden.bs.dropdown",g))))}))}h.prototype.toggle=function(p){var s=P(this);if(!s.is(".disabled, :disabled")){var u=i(s),g=u.hasClass("open");if(r(),!g){"ontouchstart"in document.documentElement&&!u.closest(".navbar-nav").length&&P(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(P(this)).on("click",r);var n={relatedTarget:this};if(u.trigger(p=P.Event("show.bs.dropdown",n)),p.isDefaultPrevented())return;s.trigger("focus").attr("aria-expanded","true"),u.toggleClass("open").trigger(P.Event("shown.bs.dropdown",n))}return!1}},h.prototype.keydown=function(p){if(!(!/(38|40|27|32)/.test(p.which)||/input|textarea/i.test(p.target.tagName))){var s=P(this);if(p.preventDefault(),p.stopPropagation(),!s.is(".disabled, :disabled")){var u=i(s),g=u.hasClass("open");if(!g&&p.which!=27||g&&p.which==27)return p.which==27&&u.find(o).trigger("focus"),s.trigger("click");var n=" li:not(.disabled):visible a",m=u.find(".dropdown-menu"+n);if(!!m.length){var f=m.index(p.target);p.which==38&&f>0&&f--,p.which==40&&f{+function(P){"use strict";var y=function(i,r){this.init("popover",i,r)};if(!P.fn.tooltip)throw new Error("Popover requires tooltip.js");y.VERSION="3.4.1",y.DEFAULTS=P.extend({},P.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),y.prototype=P.extend({},P.fn.tooltip.Constructor.prototype),y.prototype.constructor=y,y.prototype.getDefaults=function(){return y.DEFAULTS},y.prototype.setContent=function(){var i=this.tip(),r=this.getTitle(),l=this.getContent();if(this.options.html){var c=typeof l;this.options.sanitize&&(r=this.sanitizeHtml(r),c==="string"&&(l=this.sanitizeHtml(l))),i.find(".popover-title").html(r),i.find(".popover-content").children().detach().end()[c==="string"?"html":"append"](l)}else i.find(".popover-title").text(r),i.find(".popover-content").children().detach().end().text(l);i.removeClass("fade top bottom left right in"),i.find(".popover-title").html()||i.find(".popover-title").hide()},y.prototype.hasContent=function(){return this.getTitle()||this.getContent()},y.prototype.getContent=function(){var i=this.$element,r=this.options;return i.attr("data-content")||(typeof r.content=="function"?r.content.call(i[0]):r.content)},y.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function o(i){return this.each(function(){var r=P(this),l=r.data("bs.popover"),c=typeof i=="object"&&i;!l&&/destroy|hide/.test(i)||(l||r.data("bs.popover",l=new y(this,c)),typeof i=="string"&&l[i]())})}var h=P.fn.popover;P.fn.popover=o,P.fn.popover.Constructor=y,P.fn.popover.noConflict=function(){return P.fn.popover=h,this}}(jQuery)},954:()=>{+function(P){"use strict";function y(i,r){this.$body=P(document.body),this.$scrollElement=P(i).is(document.body)?P(window):P(i),this.options=P.extend({},y.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",P.proxy(this.process,this)),this.refresh(),this.process()}y.VERSION="3.4.1",y.DEFAULTS={offset:10},y.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},y.prototype.refresh=function(){var i=this,r="offset",l=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),P.isWindow(this.$scrollElement[0])||(r="position",l=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var c=P(this),p=c.data("target")||c.attr("href"),s=/^#./.test(p)&&P(p);return s&&s.length&&s.is(":visible")&&[[s[r]().top+l,p]]||null}).sort(function(c,p){return c[0]-p[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})},y.prototype.process=function(){var i=this.$scrollElement.scrollTop()+this.options.offset,r=this.getScrollHeight(),l=this.options.offset+r-this.$scrollElement.height(),c=this.offsets,p=this.targets,s=this.activeTarget,u;if(this.scrollHeight!=r&&this.refresh(),i>=l)return s!=(u=p[p.length-1])&&this.activate(u);if(s&&i=c[u]&&(c[u+1]===void 0||i{+function(P){"use strict";var y=function(r){this.element=P(r)};y.VERSION="3.4.1",y.TRANSITION_DURATION=150,y.prototype.show=function(){var r=this.element,l=r.closest("ul:not(.dropdown-menu)"),c=r.data("target");if(c||(c=r.attr("href"),c=c&&c.replace(/.*(?=#[^\s]*$)/,"")),!r.parent("li").hasClass("active")){var p=l.find(".active:last a"),s=P.Event("hide.bs.tab",{relatedTarget:r[0]}),u=P.Event("show.bs.tab",{relatedTarget:p[0]});if(p.trigger(s),r.trigger(u),!(u.isDefaultPrevented()||s.isDefaultPrevented())){var g=P(document).find(c);this.activate(r.closest("li"),l),this.activate(g,g.parent(),function(){p.trigger({type:"hidden.bs.tab",relatedTarget:r[0]}),r.trigger({type:"shown.bs.tab",relatedTarget:p[0]})})}}},y.prototype.activate=function(r,l,c){var p=l.find("> .active"),s=c&&P.support.transition&&(p.length&&p.hasClass("fade")||!!l.find("> .fade").length);function u(){p.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),r.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(r[0].offsetWidth,r.addClass("in")):r.removeClass("fade"),r.parent(".dropdown-menu").length&&r.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),c&&c()}p.length&&s?p.one("bsTransitionEnd",u).emulateTransitionEnd(y.TRANSITION_DURATION):u(),p.removeClass("in")};function o(r){return this.each(function(){var l=P(this),c=l.data("bs.tab");c||l.data("bs.tab",c=new y(this)),typeof r=="string"&&c[r]()})}var h=P.fn.tab;P.fn.tab=o,P.fn.tab.Constructor=y,P.fn.tab.noConflict=function(){return P.fn.tab=h,this};var i=function(r){r.preventDefault(),o.call(P(this),"show")};P(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery)},8480:()=>{+function(P){"use strict";var y=["sanitize","whiteList","sanitizeFn"],o=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],h=/^aria-[\w-]*$/i,i={"*":["class","dir","id","lang","role",h],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},r=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function c(n,m){var f=n.nodeName.toLowerCase();if(P.inArray(f,m)!==-1)return P.inArray(f,o)!==-1?Boolean(n.nodeValue.match(r)||n.nodeValue.match(l)):!0;for(var d=P(m).filter(function(E,w){return w instanceof RegExp}),S=0,v=d.length;S
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:i},s.prototype.init=function(n,m,f){if(this.enabled=!0,this.type=n,this.$element=P(m),this.options=this.getOptions(f),this.$viewport=this.options.viewport&&P(document).find(P.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var d=this.options.trigger.split(" "),S=d.length;S--;){var v=d[S];if(v=="click")this.$element.on("click."+this.type,this.options.selector,P.proxy(this.toggle,this));else if(v!="manual"){var E=v=="hover"?"mouseenter":"focusin",w=v=="hover"?"mouseleave":"focusout";this.$element.on(E+"."+this.type,this.options.selector,P.proxy(this.enter,this)),this.$element.on(w+"."+this.type,this.options.selector,P.proxy(this.leave,this))}}this.options.selector?this._options=P.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},s.prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.getOptions=function(n){var m=this.$element.data();for(var f in m)m.hasOwnProperty(f)&&P.inArray(f,y)!==-1&&delete m[f];return n=P.extend({},this.getDefaults(),m,n),n.delay&&typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=p(n.template,n.whiteList,n.sanitizeFn)),n},s.prototype.getDelegateOptions=function(){var n={},m=this.getDefaults();return this._options&&P.each(this._options,function(f,d){m[f]!=d&&(n[f]=d)}),n},s.prototype.enter=function(n){var m=n instanceof this.constructor?n:P(n.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(n.currentTarget,this.getDelegateOptions()),P(n.currentTarget).data("bs."+this.type,m)),n instanceof P.Event&&(m.inState[n.type=="focusin"?"focus":"hover"]=!0),m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}if(clearTimeout(m.timeout),m.hoverState="in",!m.options.delay||!m.options.delay.show)return m.show();m.timeout=setTimeout(function(){m.hoverState=="in"&&m.show()},m.options.delay.show)},s.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1},s.prototype.leave=function(n){var m=n instanceof this.constructor?n:P(n.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(n.currentTarget,this.getDelegateOptions()),P(n.currentTarget).data("bs."+this.type,m)),n instanceof P.Event&&(m.inState[n.type=="focusout"?"focus":"hover"]=!1),!m.isInStateTrue()){if(clearTimeout(m.timeout),m.hoverState="out",!m.options.delay||!m.options.delay.hide)return m.hide();m.timeout=setTimeout(function(){m.hoverState=="out"&&m.hide()},m.options.delay.hide)}},s.prototype.show=function(){var n=P.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var m=P.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!m)return;var f=this,d=this.tip(),S=this.getUID(this.type);this.setContent(),d.attr("id",S),this.$element.attr("aria-describedby",S),this.options.animation&&d.addClass("fade");var v=typeof this.options.placement=="function"?this.options.placement.call(this,d[0],this.$element[0]):this.options.placement,E=/\s?auto?\s?/i,w=E.test(v);w&&(v=v.replace(E,"")||"top"),d.detach().css({top:0,left:0,display:"block"}).addClass(v).data("bs."+this.type,this),this.options.container?d.appendTo(P(document).find(this.options.container)):d.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var A=this.getPosition(),D=d[0].offsetWidth,b=d[0].offsetHeight;if(w){var N=v,T=this.getPosition(this.$viewport);v=v=="bottom"&&A.bottom+b>T.bottom?"top":v=="top"&&A.top-bT.width?"left":v=="left"&&A.left-DE.top+E.height&&(S.top=E.top+E.height-A)}else{var D=m.left-v,b=m.left+v+f;DE.right&&(S.left=E.left+E.width-b)}return S},s.prototype.getTitle=function(){var n,m=this.$element,f=this.options;return n=m.attr("data-original-title")||(typeof f.title=="function"?f.title.call(m[0]):f.title),n},s.prototype.getUID=function(n){do n+=~~(Math.random()*1e6);while(document.getElementById(n));return n},s.prototype.tip=function(){if(!this.$tip&&(this.$tip=P(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},s.prototype.enable=function(){this.enabled=!0},s.prototype.disable=function(){this.enabled=!1},s.prototype.toggleEnabled=function(){this.enabled=!this.enabled},s.prototype.toggle=function(n){var m=this;n&&(m=P(n.currentTarget).data("bs."+this.type),m||(m=new this.constructor(n.currentTarget,this.getDelegateOptions()),P(n.currentTarget).data("bs."+this.type,m))),n?(m.inState.click=!m.inState.click,m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)},s.prototype.destroy=function(){var n=this;clearTimeout(this.timeout),this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type),n.$tip&&n.$tip.detach(),n.$tip=null,n.$arrow=null,n.$viewport=null,n.$element=null})},s.prototype.sanitizeHtml=function(n){return p(n,this.options.whiteList,this.options.sanitizeFn)};function u(n){return this.each(function(){var m=P(this),f=m.data("bs.tooltip"),d=typeof n=="object"&&n;!f&&/destroy|hide/.test(n)||(f||m.data("bs.tooltip",f=new s(this,d)),typeof n=="string"&&f[n]())})}var g=P.fn.tooltip;P.fn.tooltip=u,P.fn.tooltip.Constructor=s,P.fn.tooltip.noConflict=function(){return P.fn.tooltip=g,this}}(jQuery)},7030:P=>{var y=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},o=-1,h=1,i=0;y.Diff=function(r,l){return[r,l]},y.prototype.diff_main=function(r,l,c,p){typeof p=="undefined"&&(this.Diff_Timeout<=0?p=Number.MAX_VALUE:p=new Date().getTime()+this.Diff_Timeout*1e3);var s=p;if(r==null||l==null)throw new Error("Null input. (diff_main)");if(r==l)return r?[new y.Diff(i,r)]:[];typeof c=="undefined"&&(c=!0);var u=c,g=this.diff_commonPrefix(r,l),n=r.substring(0,g);r=r.substring(g),l=l.substring(g),g=this.diff_commonSuffix(r,l);var m=r.substring(r.length-g);r=r.substring(0,r.length-g),l=l.substring(0,l.length-g);var f=this.diff_compute_(r,l,u,s);return n&&f.unshift(new y.Diff(i,n)),m&&f.push(new y.Diff(i,m)),this.diff_cleanupMerge(f),f},y.prototype.diff_compute_=function(r,l,c,p){var s;if(!r)return[new y.Diff(h,l)];if(!l)return[new y.Diff(o,r)];var u=r.length>l.length?r:l,g=r.length>l.length?l:r,n=u.indexOf(g);if(n!=-1)return s=[new y.Diff(h,u.substring(0,n)),new y.Diff(i,g),new y.Diff(h,u.substring(n+g.length))],r.length>l.length&&(s[0][0]=s[2][0]=o),s;if(g.length==1)return[new y.Diff(o,r),new y.Diff(h,l)];var m=this.diff_halfMatch_(r,l);if(m){var f=m[0],d=m[1],S=m[2],v=m[3],E=m[4],w=this.diff_main(f,S,c,p),A=this.diff_main(d,v,c,p);return w.concat([new y.Diff(i,E)],A)}return c&&r.length>100&&l.length>100?this.diff_lineMode_(r,l,p):this.diff_bisect_(r,l,p)},y.prototype.diff_lineMode_=function(r,l,c){var p=this.diff_linesToChars_(r,l);r=p.chars1,l=p.chars2;var s=p.lineArray,u=this.diff_main(r,l,!1,c);this.diff_charsToLines_(u,s),this.diff_cleanupSemantic(u),u.push(new y.Diff(i,""));for(var g=0,n=0,m=0,f="",d="";g=1&&m>=1){u.splice(g-n-m,n+m),g=g-n-m;for(var S=this.diff_main(f,d,!1,c),v=S.length-1;v>=0;v--)u.splice(g,0,S[v]);g=g+S.length}m=0,n=0,f="",d="";break}g++}return u.pop(),u},y.prototype.diff_bisect_=function(r,l,c){for(var p=r.length,s=l.length,u=Math.ceil((p+s)/2),g=u,n=2*u,m=new Array(n),f=new Array(n),d=0;dc);b++){for(var N=-b+E;N<=b-w;N+=2){var T=g+N,I;N==-b||N!=b&&m[T-1]p)w+=2;else if(R>s)E+=2;else if(v){var x=g+S-N;if(x>=0&&x=O)return this.diff_bisectSplit_(r,l,I,R,c)}}}for(var $=-b+A;$<=b-D;$+=2){var x=g+$,O;$==-b||$!=b&&f[x-1]p)D+=2;else if(F>s)A+=2;else if(!v){var T=g+S-$;if(T>=0&&T=O)return this.diff_bisectSplit_(r,l,I,R,c)}}}}return[new y.Diff(o,r),new y.Diff(h,l)]},y.prototype.diff_bisectSplit_=function(r,l,c,p,s){var u=r.substring(0,c),g=l.substring(0,p),n=r.substring(c),m=l.substring(p),f=this.diff_main(u,g,!1,s),d=this.diff_main(n,m,!1,s);return f.concat(d)},y.prototype.diff_linesToChars_=function(r,l){var c=[],p={};c[0]="";function s(m){for(var f="",d=0,S=-1,v=c.length;Sp?r=r.substring(c-p):cl.length?r:l,p=r.length>l.length?l:r;if(c.length<4||p.length*2=w.length?[I,R,x,O,T]:null}var g=u(c,p,Math.ceil(c.length/4)),n=u(c,p,Math.ceil(c.length/2)),m;if(!g&&!n)return null;n?g?m=g[4].length>n[4].length?g:n:m=n:m=g;var f,d,S,v;r.length>l.length?(f=m[0],d=m[1],S=m[2],v=m[3]):(S=m[0],v=m[1],f=m[2],d=m[3]);var E=m[4];return[f,d,S,v,E]},y.prototype.diff_cleanupSemantic=function(r){for(var l=!1,c=[],p=0,s=null,u=0,g=0,n=0,m=0,f=0;u0?c[p-1]:-1,g=0,n=0,m=0,f=0,s=null,l=!0)),u++;for(l&&this.diff_cleanupMerge(r),this.diff_cleanupSemanticLossless(r),u=1;u=E?(v>=d.length/2||v>=S.length/2)&&(r.splice(u,0,new y.Diff(i,S.substring(0,v))),r[u-1][1]=d.substring(0,d.length-v),r[u+1][1]=S.substring(v),u++):(E>=d.length/2||E>=S.length/2)&&(r.splice(u,0,new y.Diff(i,d.substring(0,E))),r[u-1][0]=h,r[u-1][1]=S.substring(0,S.length-E),r[u+1][0]=o,r[u+1][1]=d.substring(E),u++),u++}u++}},y.prototype.diff_cleanupSemanticLossless=function(r){function l(E,w){if(!E||!w)return 6;var A=E.charAt(E.length-1),D=w.charAt(0),b=A.match(y.nonAlphaNumericRegex_),N=D.match(y.nonAlphaNumericRegex_),T=b&&A.match(y.whitespaceRegex_),I=N&&D.match(y.whitespaceRegex_),R=T&&A.match(y.linebreakRegex_),x=I&&D.match(y.linebreakRegex_),O=R&&E.match(y.blanklineEndRegex_),$=x&&w.match(y.blanklineStartRegex_);return O||$?5:R||x?4:b&&!T&&I?3:T||I?2:b||N?1:0}for(var c=1;c=S&&(S=v,m=p,f=s,d=u)}r[c-1][1]!=m&&(m?r[c-1][1]=m:(r.splice(c-1,1),c--),r[c][1]=f,d?r[c+1][1]=d:(r.splice(c+1,1),c--))}c++}},y.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,y.whitespaceRegex_=/\s/,y.linebreakRegex_=/[\r\n]/,y.blanklineEndRegex_=/\n\r?\n$/,y.blanklineStartRegex_=/^\r?\n\r?\n/,y.prototype.diff_cleanupEfficiency=function(r){for(var l=!1,c=[],p=0,s=null,u=0,g=!1,n=!1,m=!1,f=!1;u0?c[p-1]:-1,m=f=!1),l=!0)),u++;l&&this.diff_cleanupMerge(r)},y.prototype.diff_cleanupMerge=function(r){r.push(new y.Diff(i,""));for(var l=0,c=0,p=0,s="",u="",g;l1?(c!==0&&p!==0&&(g=this.diff_commonPrefix(u,s),g!==0&&(l-c-p>0&&r[l-c-p-1][0]==i?r[l-c-p-1][1]+=u.substring(0,g):(r.splice(0,0,new y.Diff(i,u.substring(0,g))),l++),u=u.substring(g),s=s.substring(g)),g=this.diff_commonSuffix(u,s),g!==0&&(r[l][1]=u.substring(u.length-g)+r[l][1],u=u.substring(0,u.length-g),s=s.substring(0,s.length-g))),l-=c+p,r.splice(l,c+p),s.length&&(r.splice(l,0,new y.Diff(o,s)),l++),u.length&&(r.splice(l,0,new y.Diff(h,u)),l++),l++):l!==0&&r[l-1][0]==i?(r[l-1][1]+=r[l][1],r.splice(l,1)):l++,p=0,c=0,s="",u="";break}r[r.length-1][1]===""&&r.pop();var n=!1;for(l=1;ll));g++)s=c,u=p;return r.length!=g&&r[g][0]===o?u:u+(l-s)},y.prototype.diff_prettyHtml=function(r){for(var l=[],c=/&/g,p=//g,u=/\n/g,g=0;g");switch(n){case h:l[g]=''+f+"";break;case o:l[g]=''+f+"";break;case i:l[g]=""+f+"";break}}return l.join("")},y.prototype.diff_text1=function(r){for(var l=[],c=0;cthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var p=this.match_alphabet_(l),s=this;function u(I,R){var x=I/l.length,O=Math.abs(c-R);return s.Match_Distance?x+O/s.Match_Distance:O?1:x}var g=this.Match_Threshold,n=r.indexOf(l,c);n!=-1&&(g=Math.min(u(0,n),g),n=r.lastIndexOf(l,c+l.length),n!=-1&&(g=Math.min(u(0,n),g)));var m=1<=w;b--){var N=p[r.charAt(b-1)];if(E===0?D[b]=(D[b+1]<<1|1)&N:D[b]=(D[b+1]<<1|1)&N|((v[b+1]|v[b])<<1|1)|v[b+1],D[b]&m){var T=u(E,b-1);if(T<=g)if(g=T,n=b-1,n>c)w=Math.max(1,2*c-n);else break}}if(u(E+1,c)>g)break;v=D}return n},y.prototype.match_alphabet_=function(r){for(var l={},c=0;c2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(r&&typeof r=="object"&&typeof l=="undefined"&&typeof c=="undefined")s=r,p=this.diff_text1(s);else if(typeof r=="string"&&l&&typeof l=="object"&&typeof c=="undefined")p=r,s=l;else if(typeof r=="string"&&typeof l=="string"&&c&&typeof c=="object")p=r,s=c;else throw new Error("Unknown call format to patch_make.");if(s.length===0)return[];for(var u=[],g=new y.patch_obj,n=0,m=0,f=0,d=p,S=p,v=0;v=2*this.Patch_Margin&&n&&(this.patch_addContext_(g,d),u.push(g),g=new y.patch_obj,n=0,d=S,m=f);break}E!==h&&(m+=w.length),E!==o&&(f+=w.length)}return n&&(this.patch_addContext_(g,d),u.push(g)),u},y.prototype.patch_deepCopy=function(r){for(var l=[],c=0;cthis.Match_MaxBits?(m=this.match_main(l,n.substring(0,this.Match_MaxBits),g),m!=-1&&(f=this.match_main(l,n.substring(n.length-this.Match_MaxBits),g+n.length-this.Match_MaxBits),(f==-1||m>=f)&&(m=-1))):m=this.match_main(l,n,g),m==-1)s[u]=!1,p-=r[u].length2-r[u].length1;else{s[u]=!0,p=m-g;var d;if(f==-1?d=l.substring(m,m+n.length):d=l.substring(m,f+this.Match_MaxBits),n==d)l=l.substring(0,m)+this.diff_text2(r[u].diffs)+l.substring(m+n.length);else{var S=this.diff_main(n,d,!1);if(n.length>this.Match_MaxBits&&this.diff_levenshtein(S)/n.length>this.Patch_DeleteThreshold)s[u]=!1;else{this.diff_cleanupSemanticLossless(S);for(var v=0,E,w=0;wu[0][1].length){var g=l-u[0][1].length;u[0][1]=c.substring(u[0][1].length)+u[0][1],s.start1-=g,s.start2-=g,s.length1+=g,s.length2+=g}if(s=r[r.length-1],u=s.diffs,u.length==0||u[u.length-1][0]!=i)u.push(new y.Diff(i,c)),s.length1+=l,s.length2+=l;else if(l>u[u.length-1][1].length){var g=l-u[u.length-1][1].length;u[u.length-1][1]+=c.substring(0,g),s.length1+=g,s.length2+=g}return c},y.prototype.patch_splitMax=function(r){for(var l=this.Match_MaxBits,c=0;c2*l?(n.length1+=d.length,s+=d.length,m=!1,n.diffs.push(new y.Diff(f,d)),p.diffs.shift()):(d=d.substring(0,l-n.length1-this.Patch_Margin),n.length1+=d.length,s+=d.length,f===i?(n.length2+=d.length,u+=d.length):m=!1,n.diffs.push(new y.Diff(f,d)),d==p.diffs[0][1]?p.diffs.shift():p.diffs[0][1]=p.diffs[0][1].substring(d.length))}g=this.diff_text2(n.diffs),g=g.substring(g.length-this.Patch_Margin);var S=this.diff_text1(p.diffs).substring(0,this.Patch_Margin);S!==""&&(n.length1+=S.length,n.length2+=S.length,n.diffs.length!==0&&n.diffs[n.diffs.length-1][0]===i?n.diffs[n.diffs.length-1][1]+=S:n.diffs.push(new y.Diff(i,S))),m||r.splice(++c,0,n)}}},y.prototype.patch_toText=function(r){for(var l=[],c=0;c{var Za={2988:()=>{+function(P){"use strict";var y=".dropdown-backdrop",o='[data-toggle="dropdown"]',h=function(l){P(l).on("click.bs.dropdown",this.toggle)};h.VERSION="3.4.1";function i(l){var s=l.attr("data-target");s||(s=l.attr("href"),s=s&&/#[A-Za-z]/.test(s)&&s.replace(/.*(?=#[^\s]*$)/,""));var u=s!=="#"?P(document).find(s):null;return u&&u.length?u:l.parent()}function r(l){l&&l.which===3||(P(y).remove(),P(o).each(function(){var s=P(this),u=i(s),g={relatedTarget:this};!u.hasClass("open")||l&&l.type=="click"&&/input|textarea/i.test(l.target.tagName)&&P.contains(u[0],l.target)||(u.trigger(l=P.Event("hide.bs.dropdown",g)),!l.isDefaultPrevented()&&(s.attr("aria-expanded","false"),u.removeClass("open").trigger(P.Event("hidden.bs.dropdown",g))))}))}h.prototype.toggle=function(l){var s=P(this);if(!s.is(".disabled, :disabled")){var u=i(s),g=u.hasClass("open");if(r(),!g){"ontouchstart"in document.documentElement&&!u.closest(".navbar-nav").length&&P(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(P(this)).on("click",r);var n={relatedTarget:this};if(u.trigger(l=P.Event("show.bs.dropdown",n)),l.isDefaultPrevented())return;s.trigger("focus").attr("aria-expanded","true"),u.toggleClass("open").trigger(P.Event("shown.bs.dropdown",n))}return!1}},h.prototype.keydown=function(l){if(!(!/(38|40|27|32)/.test(l.which)||/input|textarea/i.test(l.target.tagName))){var s=P(this);if(l.preventDefault(),l.stopPropagation(),!s.is(".disabled, :disabled")){var u=i(s),g=u.hasClass("open");if(!g&&l.which!=27||g&&l.which==27)return l.which==27&&u.find(o).trigger("focus"),s.trigger("click");var n=" li:not(.disabled):visible a",m=u.find(".dropdown-menu"+n);if(!!m.length){var f=m.index(l.target);l.which==38&&f>0&&f--,l.which==40&&f{+function(P){"use strict";var y=function(i,r){this.init("popover",i,r)};if(!P.fn.tooltip)throw new Error("Popover requires tooltip.js");y.VERSION="3.4.1",y.DEFAULTS=P.extend({},P.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),y.prototype=P.extend({},P.fn.tooltip.Constructor.prototype),y.prototype.constructor=y,y.prototype.getDefaults=function(){return y.DEFAULTS},y.prototype.setContent=function(){var i=this.tip(),r=this.getTitle(),p=this.getContent();if(this.options.html){var c=typeof p;this.options.sanitize&&(r=this.sanitizeHtml(r),c==="string"&&(p=this.sanitizeHtml(p))),i.find(".popover-title").html(r),i.find(".popover-content").children().detach().end()[c==="string"?"html":"append"](p)}else i.find(".popover-title").text(r),i.find(".popover-content").children().detach().end().text(p);i.removeClass("fade top bottom left right in"),i.find(".popover-title").html()||i.find(".popover-title").hide()},y.prototype.hasContent=function(){return this.getTitle()||this.getContent()},y.prototype.getContent=function(){var i=this.$element,r=this.options;return i.attr("data-content")||(typeof r.content=="function"?r.content.call(i[0]):r.content)},y.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function o(i){return this.each(function(){var r=P(this),p=r.data("bs.popover"),c=typeof i=="object"&&i;!p&&/destroy|hide/.test(i)||(p||r.data("bs.popover",p=new y(this,c)),typeof i=="string"&&p[i]())})}var h=P.fn.popover;P.fn.popover=o,P.fn.popover.Constructor=y,P.fn.popover.noConflict=function(){return P.fn.popover=h,this}}(jQuery)},954:()=>{+function(P){"use strict";function y(i,r){this.$body=P(document.body),this.$scrollElement=P(i).is(document.body)?P(window):P(i),this.options=P.extend({},y.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",P.proxy(this.process,this)),this.refresh(),this.process()}y.VERSION="3.4.1",y.DEFAULTS={offset:10},y.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},y.prototype.refresh=function(){var i=this,r="offset",p=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),P.isWindow(this.$scrollElement[0])||(r="position",p=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var c=P(this),l=c.data("target")||c.attr("href"),s=/^#./.test(l)&&P(l);return s&&s.length&&s.is(":visible")&&[[s[r]().top+p,l]]||null}).sort(function(c,l){return c[0]-l[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})},y.prototype.process=function(){var i=this.$scrollElement.scrollTop()+this.options.offset,r=this.getScrollHeight(),p=this.options.offset+r-this.$scrollElement.height(),c=this.offsets,l=this.targets,s=this.activeTarget,u;if(this.scrollHeight!=r&&this.refresh(),i>=p)return s!=(u=l[l.length-1])&&this.activate(u);if(s&&i=c[u]&&(c[u+1]===void 0||i{+function(P){"use strict";var y=function(r){this.element=P(r)};y.VERSION="3.4.1",y.TRANSITION_DURATION=150,y.prototype.show=function(){var r=this.element,p=r.closest("ul:not(.dropdown-menu)"),c=r.data("target");if(c||(c=r.attr("href"),c=c&&c.replace(/.*(?=#[^\s]*$)/,"")),!r.parent("li").hasClass("active")){var l=p.find(".active:last a"),s=P.Event("hide.bs.tab",{relatedTarget:r[0]}),u=P.Event("show.bs.tab",{relatedTarget:l[0]});if(l.trigger(s),r.trigger(u),!(u.isDefaultPrevented()||s.isDefaultPrevented())){var g=P(document).find(c);this.activate(r.closest("li"),p),this.activate(g,g.parent(),function(){l.trigger({type:"hidden.bs.tab",relatedTarget:r[0]}),r.trigger({type:"shown.bs.tab",relatedTarget:l[0]})})}}},y.prototype.activate=function(r,p,c){var l=p.find("> .active"),s=c&&P.support.transition&&(l.length&&l.hasClass("fade")||!!p.find("> .fade").length);function u(){l.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),r.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(r[0].offsetWidth,r.addClass("in")):r.removeClass("fade"),r.parent(".dropdown-menu").length&&r.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),c&&c()}l.length&&s?l.one("bsTransitionEnd",u).emulateTransitionEnd(y.TRANSITION_DURATION):u(),l.removeClass("in")};function o(r){return this.each(function(){var p=P(this),c=p.data("bs.tab");c||p.data("bs.tab",c=new y(this)),typeof r=="string"&&c[r]()})}var h=P.fn.tab;P.fn.tab=o,P.fn.tab.Constructor=y,P.fn.tab.noConflict=function(){return P.fn.tab=h,this};var i=function(r){r.preventDefault(),o.call(P(this),"show")};P(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery)},8480:()=>{+function(P){"use strict";var y=["sanitize","whiteList","sanitizeFn"],o=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],h=/^aria-[\w-]*$/i,i={"*":["class","dir","id","lang","role",h],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},r=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,p=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function c(n,m){var f=n.nodeName.toLowerCase();if(P.inArray(f,m)!==-1)return P.inArray(f,o)!==-1?Boolean(n.nodeValue.match(r)||n.nodeValue.match(p)):!0;for(var d=P(m).filter(function(E,w){return w instanceof RegExp}),S=0,v=d.length;S
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:i},s.prototype.init=function(n,m,f){if(this.enabled=!0,this.type=n,this.$element=P(m),this.options=this.getOptions(f),this.$viewport=this.options.viewport&&P(document).find(P.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var d=this.options.trigger.split(" "),S=d.length;S--;){var v=d[S];if(v=="click")this.$element.on("click."+this.type,this.options.selector,P.proxy(this.toggle,this));else if(v!="manual"){var E=v=="hover"?"mouseenter":"focusin",w=v=="hover"?"mouseleave":"focusout";this.$element.on(E+"."+this.type,this.options.selector,P.proxy(this.enter,this)),this.$element.on(w+"."+this.type,this.options.selector,P.proxy(this.leave,this))}}this.options.selector?this._options=P.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},s.prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.getOptions=function(n){var m=this.$element.data();for(var f in m)m.hasOwnProperty(f)&&P.inArray(f,y)!==-1&&delete m[f];return n=P.extend({},this.getDefaults(),m,n),n.delay&&typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=l(n.template,n.whiteList,n.sanitizeFn)),n},s.prototype.getDelegateOptions=function(){var n={},m=this.getDefaults();return this._options&&P.each(this._options,function(f,d){m[f]!=d&&(n[f]=d)}),n},s.prototype.enter=function(n){var m=n instanceof this.constructor?n:P(n.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(n.currentTarget,this.getDelegateOptions()),P(n.currentTarget).data("bs."+this.type,m)),n instanceof P.Event&&(m.inState[n.type=="focusin"?"focus":"hover"]=!0),m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}if(clearTimeout(m.timeout),m.hoverState="in",!m.options.delay||!m.options.delay.show)return m.show();m.timeout=setTimeout(function(){m.hoverState=="in"&&m.show()},m.options.delay.show)},s.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1},s.prototype.leave=function(n){var m=n instanceof this.constructor?n:P(n.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(n.currentTarget,this.getDelegateOptions()),P(n.currentTarget).data("bs."+this.type,m)),n instanceof P.Event&&(m.inState[n.type=="focusout"?"focus":"hover"]=!1),!m.isInStateTrue()){if(clearTimeout(m.timeout),m.hoverState="out",!m.options.delay||!m.options.delay.hide)return m.hide();m.timeout=setTimeout(function(){m.hoverState=="out"&&m.hide()},m.options.delay.hide)}},s.prototype.show=function(){var n=P.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var m=P.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!m)return;var f=this,d=this.tip(),S=this.getUID(this.type);this.setContent(),d.attr("id",S),this.$element.attr("aria-describedby",S),this.options.animation&&d.addClass("fade");var v=typeof this.options.placement=="function"?this.options.placement.call(this,d[0],this.$element[0]):this.options.placement,E=/\s?auto?\s?/i,w=E.test(v);w&&(v=v.replace(E,"")||"top"),d.detach().css({top:0,left:0,display:"block"}).addClass(v).data("bs."+this.type,this),this.options.container?d.appendTo(P(document).find(this.options.container)):d.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var A=this.getPosition(),T=d[0].offsetWidth,b=d[0].offsetHeight;if(w){var N=v,D=this.getPosition(this.$viewport);v=v=="bottom"&&A.bottom+b>D.bottom?"top":v=="top"&&A.top-bD.width?"left":v=="left"&&A.left-TE.top+E.height&&(S.top=E.top+E.height-A)}else{var T=m.left-v,b=m.left+v+f;TE.right&&(S.left=E.left+E.width-b)}return S},s.prototype.getTitle=function(){var n,m=this.$element,f=this.options;return n=m.attr("data-original-title")||(typeof f.title=="function"?f.title.call(m[0]):f.title),n},s.prototype.getUID=function(n){do n+=~~(Math.random()*1e6);while(document.getElementById(n));return n},s.prototype.tip=function(){if(!this.$tip&&(this.$tip=P(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},s.prototype.enable=function(){this.enabled=!0},s.prototype.disable=function(){this.enabled=!1},s.prototype.toggleEnabled=function(){this.enabled=!this.enabled},s.prototype.toggle=function(n){var m=this;n&&(m=P(n.currentTarget).data("bs."+this.type),m||(m=new this.constructor(n.currentTarget,this.getDelegateOptions()),P(n.currentTarget).data("bs."+this.type,m))),n?(m.inState.click=!m.inState.click,m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)},s.prototype.destroy=function(){var n=this;clearTimeout(this.timeout),this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type),n.$tip&&n.$tip.detach(),n.$tip=null,n.$arrow=null,n.$viewport=null,n.$element=null})},s.prototype.sanitizeHtml=function(n){return l(n,this.options.whiteList,this.options.sanitizeFn)};function u(n){return this.each(function(){var m=P(this),f=m.data("bs.tooltip"),d=typeof n=="object"&&n;!f&&/destroy|hide/.test(n)||(f||m.data("bs.tooltip",f=new s(this,d)),typeof n=="string"&&f[n]())})}var g=P.fn.tooltip;P.fn.tooltip=u,P.fn.tooltip.Constructor=s,P.fn.tooltip.noConflict=function(){return P.fn.tooltip=g,this}}(jQuery)},7030:P=>{var y=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},o=-1,h=1,i=0;y.Diff=function(r,p){return[r,p]},y.prototype.diff_main=function(r,p,c,l){typeof l=="undefined"&&(this.Diff_Timeout<=0?l=Number.MAX_VALUE:l=new Date().getTime()+this.Diff_Timeout*1e3);var s=l;if(r==null||p==null)throw new Error("Null input. (diff_main)");if(r==p)return r?[new y.Diff(i,r)]:[];typeof c=="undefined"&&(c=!0);var u=c,g=this.diff_commonPrefix(r,p),n=r.substring(0,g);r=r.substring(g),p=p.substring(g),g=this.diff_commonSuffix(r,p);var m=r.substring(r.length-g);r=r.substring(0,r.length-g),p=p.substring(0,p.length-g);var f=this.diff_compute_(r,p,u,s);return n&&f.unshift(new y.Diff(i,n)),m&&f.push(new y.Diff(i,m)),this.diff_cleanupMerge(f),f},y.prototype.diff_compute_=function(r,p,c,l){var s;if(!r)return[new y.Diff(h,p)];if(!p)return[new y.Diff(o,r)];var u=r.length>p.length?r:p,g=r.length>p.length?p:r,n=u.indexOf(g);if(n!=-1)return s=[new y.Diff(h,u.substring(0,n)),new y.Diff(i,g),new y.Diff(h,u.substring(n+g.length))],r.length>p.length&&(s[0][0]=s[2][0]=o),s;if(g.length==1)return[new y.Diff(o,r),new y.Diff(h,p)];var m=this.diff_halfMatch_(r,p);if(m){var f=m[0],d=m[1],S=m[2],v=m[3],E=m[4],w=this.diff_main(f,S,c,l),A=this.diff_main(d,v,c,l);return w.concat([new y.Diff(i,E)],A)}return c&&r.length>100&&p.length>100?this.diff_lineMode_(r,p,l):this.diff_bisect_(r,p,l)},y.prototype.diff_lineMode_=function(r,p,c){var l=this.diff_linesToChars_(r,p);r=l.chars1,p=l.chars2;var s=l.lineArray,u=this.diff_main(r,p,!1,c);this.diff_charsToLines_(u,s),this.diff_cleanupSemantic(u),u.push(new y.Diff(i,""));for(var g=0,n=0,m=0,f="",d="";g=1&&m>=1){u.splice(g-n-m,n+m),g=g-n-m;for(var S=this.diff_main(f,d,!1,c),v=S.length-1;v>=0;v--)u.splice(g,0,S[v]);g=g+S.length}m=0,n=0,f="",d="";break}g++}return u.pop(),u},y.prototype.diff_bisect_=function(r,p,c){for(var l=r.length,s=p.length,u=Math.ceil((l+s)/2),g=u,n=2*u,m=new Array(n),f=new Array(n),d=0;dc);b++){for(var N=-b+E;N<=b-w;N+=2){var D=g+N,I;N==-b||N!=b&&m[D-1]l)w+=2;else if(R>s)E+=2;else if(v){var x=g+S-N;if(x>=0&&x=O)return this.diff_bisectSplit_(r,p,I,R,c)}}}for(var $=-b+A;$<=b-T;$+=2){var x=g+$,O;$==-b||$!=b&&f[x-1]l)T+=2;else if(F>s)A+=2;else if(!v){var D=g+S-$;if(D>=0&&D=O)return this.diff_bisectSplit_(r,p,I,R,c)}}}}return[new y.Diff(o,r),new y.Diff(h,p)]},y.prototype.diff_bisectSplit_=function(r,p,c,l,s){var u=r.substring(0,c),g=p.substring(0,l),n=r.substring(c),m=p.substring(l),f=this.diff_main(u,g,!1,s),d=this.diff_main(n,m,!1,s);return f.concat(d)},y.prototype.diff_linesToChars_=function(r,p){var c=[],l={};c[0]="";function s(m){for(var f="",d=0,S=-1,v=c.length;Sl?r=r.substring(c-l):cp.length?r:p,l=r.length>p.length?p:r;if(c.length<4||l.length*2=w.length?[I,R,x,O,D]:null}var g=u(c,l,Math.ceil(c.length/4)),n=u(c,l,Math.ceil(c.length/2)),m;if(!g&&!n)return null;n?g?m=g[4].length>n[4].length?g:n:m=n:m=g;var f,d,S,v;r.length>p.length?(f=m[0],d=m[1],S=m[2],v=m[3]):(S=m[0],v=m[1],f=m[2],d=m[3]);var E=m[4];return[f,d,S,v,E]},y.prototype.diff_cleanupSemantic=function(r){for(var p=!1,c=[],l=0,s=null,u=0,g=0,n=0,m=0,f=0;u0?c[l-1]:-1,g=0,n=0,m=0,f=0,s=null,p=!0)),u++;for(p&&this.diff_cleanupMerge(r),this.diff_cleanupSemanticLossless(r),u=1;u=E?(v>=d.length/2||v>=S.length/2)&&(r.splice(u,0,new y.Diff(i,S.substring(0,v))),r[u-1][1]=d.substring(0,d.length-v),r[u+1][1]=S.substring(v),u++):(E>=d.length/2||E>=S.length/2)&&(r.splice(u,0,new y.Diff(i,d.substring(0,E))),r[u-1][0]=h,r[u-1][1]=S.substring(0,S.length-E),r[u+1][0]=o,r[u+1][1]=d.substring(E),u++),u++}u++}},y.prototype.diff_cleanupSemanticLossless=function(r){function p(E,w){if(!E||!w)return 6;var A=E.charAt(E.length-1),T=w.charAt(0),b=A.match(y.nonAlphaNumericRegex_),N=T.match(y.nonAlphaNumericRegex_),D=b&&A.match(y.whitespaceRegex_),I=N&&T.match(y.whitespaceRegex_),R=D&&A.match(y.linebreakRegex_),x=I&&T.match(y.linebreakRegex_),O=R&&E.match(y.blanklineEndRegex_),$=x&&w.match(y.blanklineStartRegex_);return O||$?5:R||x?4:b&&!D&&I?3:D||I?2:b||N?1:0}for(var c=1;c=S&&(S=v,m=l,f=s,d=u)}r[c-1][1]!=m&&(m?r[c-1][1]=m:(r.splice(c-1,1),c--),r[c][1]=f,d?r[c+1][1]=d:(r.splice(c+1,1),c--))}c++}},y.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,y.whitespaceRegex_=/\s/,y.linebreakRegex_=/[\r\n]/,y.blanklineEndRegex_=/\n\r?\n$/,y.blanklineStartRegex_=/^\r?\n\r?\n/,y.prototype.diff_cleanupEfficiency=function(r){for(var p=!1,c=[],l=0,s=null,u=0,g=!1,n=!1,m=!1,f=!1;u0?c[l-1]:-1,m=f=!1),p=!0)),u++;p&&this.diff_cleanupMerge(r)},y.prototype.diff_cleanupMerge=function(r){r.push(new y.Diff(i,""));for(var p=0,c=0,l=0,s="",u="",g;p1?(c!==0&&l!==0&&(g=this.diff_commonPrefix(u,s),g!==0&&(p-c-l>0&&r[p-c-l-1][0]==i?r[p-c-l-1][1]+=u.substring(0,g):(r.splice(0,0,new y.Diff(i,u.substring(0,g))),p++),u=u.substring(g),s=s.substring(g)),g=this.diff_commonSuffix(u,s),g!==0&&(r[p][1]=u.substring(u.length-g)+r[p][1],u=u.substring(0,u.length-g),s=s.substring(0,s.length-g))),p-=c+l,r.splice(p,c+l),s.length&&(r.splice(p,0,new y.Diff(o,s)),p++),u.length&&(r.splice(p,0,new y.Diff(h,u)),p++),p++):p!==0&&r[p-1][0]==i?(r[p-1][1]+=r[p][1],r.splice(p,1)):p++,l=0,c=0,s="",u="";break}r[r.length-1][1]===""&&r.pop();var n=!1;for(p=1;pp));g++)s=c,u=l;return r.length!=g&&r[g][0]===o?u:u+(p-s)},y.prototype.diff_prettyHtml=function(r){for(var p=[],c=/&/g,l=//g,u=/\n/g,g=0;g");switch(n){case h:p[g]=''+f+"";break;case o:p[g]=''+f+"";break;case i:p[g]=""+f+"";break}}return p.join("")},y.prototype.diff_text1=function(r){for(var p=[],c=0;cthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var l=this.match_alphabet_(p),s=this;function u(I,R){var x=I/p.length,O=Math.abs(c-R);return s.Match_Distance?x+O/s.Match_Distance:O?1:x}var g=this.Match_Threshold,n=r.indexOf(p,c);n!=-1&&(g=Math.min(u(0,n),g),n=r.lastIndexOf(p,c+p.length),n!=-1&&(g=Math.min(u(0,n),g)));var m=1<=w;b--){var N=l[r.charAt(b-1)];if(E===0?T[b]=(T[b+1]<<1|1)&N:T[b]=(T[b+1]<<1|1)&N|((v[b+1]|v[b])<<1|1)|v[b+1],T[b]&m){var D=u(E,b-1);if(D<=g)if(g=D,n=b-1,n>c)w=Math.max(1,2*c-n);else break}}if(u(E+1,c)>g)break;v=T}return n},y.prototype.match_alphabet_=function(r){for(var p={},c=0;c2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(r&&typeof r=="object"&&typeof p=="undefined"&&typeof c=="undefined")s=r,l=this.diff_text1(s);else if(typeof r=="string"&&p&&typeof p=="object"&&typeof c=="undefined")l=r,s=p;else if(typeof r=="string"&&typeof p=="string"&&c&&typeof c=="object")l=r,s=c;else throw new Error("Unknown call format to patch_make.");if(s.length===0)return[];for(var u=[],g=new y.patch_obj,n=0,m=0,f=0,d=l,S=l,v=0;v=2*this.Patch_Margin&&n&&(this.patch_addContext_(g,d),u.push(g),g=new y.patch_obj,n=0,d=S,m=f);break}E!==h&&(m+=w.length),E!==o&&(f+=w.length)}return n&&(this.patch_addContext_(g,d),u.push(g)),u},y.prototype.patch_deepCopy=function(r){for(var p=[],c=0;cthis.Match_MaxBits?(m=this.match_main(p,n.substring(0,this.Match_MaxBits),g),m!=-1&&(f=this.match_main(p,n.substring(n.length-this.Match_MaxBits),g+n.length-this.Match_MaxBits),(f==-1||m>=f)&&(m=-1))):m=this.match_main(p,n,g),m==-1)s[u]=!1,l-=r[u].length2-r[u].length1;else{s[u]=!0,l=m-g;var d;if(f==-1?d=p.substring(m,m+n.length):d=p.substring(m,f+this.Match_MaxBits),n==d)p=p.substring(0,m)+this.diff_text2(r[u].diffs)+p.substring(m+n.length);else{var S=this.diff_main(n,d,!1);if(n.length>this.Match_MaxBits&&this.diff_levenshtein(S)/n.length>this.Patch_DeleteThreshold)s[u]=!1;else{this.diff_cleanupSemanticLossless(S);for(var v=0,E,w=0;wu[0][1].length){var g=p-u[0][1].length;u[0][1]=c.substring(u[0][1].length)+u[0][1],s.start1-=g,s.start2-=g,s.length1+=g,s.length2+=g}if(s=r[r.length-1],u=s.diffs,u.length==0||u[u.length-1][0]!=i)u.push(new y.Diff(i,c)),s.length1+=p,s.length2+=p;else if(p>u[u.length-1][1].length){var g=p-u[u.length-1][1].length;u[u.length-1][1]+=c.substring(0,g),s.length1+=g,s.length2+=g}return c},y.prototype.patch_splitMax=function(r){for(var p=this.Match_MaxBits,c=0;c2*p?(n.length1+=d.length,s+=d.length,m=!1,n.diffs.push(new y.Diff(f,d)),l.diffs.shift()):(d=d.substring(0,p-n.length1-this.Patch_Margin),n.length1+=d.length,s+=d.length,f===i?(n.length2+=d.length,u+=d.length):m=!1,n.diffs.push(new y.Diff(f,d)),d==l.diffs[0][1]?l.diffs.shift():l.diffs[0][1]=l.diffs[0][1].substring(d.length))}g=this.diff_text2(n.diffs),g=g.substring(g.length-this.Patch_Margin);var S=this.diff_text1(l.diffs).substring(0,this.Patch_Margin);S!==""&&(n.length1+=S.length,n.length2+=S.length,n.diffs.length!==0&&n.diffs[n.diffs.length-1][0]===i?n.diffs[n.diffs.length-1][1]+=S:n.diffs.push(new y.Diff(i,S))),m||r.splice(++c,0,n)}}},y.prototype.patch_toText=function(r){for(var p=[],c=0;c= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};o.REVISION_CHANGES=v;var E="[object Object]";i.prototype={constructor:i,logger:n.default,log:n.default.log,registerHelper:function(A,D){if(l.toString.call(A)===E){if(D)throw new p.default("Arg not supported with multiple helpers");l.extend(this.helpers,A)}else this.helpers[A]=D},unregisterHelper:function(A){delete this.helpers[A]},registerPartial:function(A,D){if(l.toString.call(A)===E)l.extend(this.partials,A);else{if(typeof D=="undefined")throw new p.default('Attempting to register a partial called "'+A+'" as undefined');this.partials[A]=D}},unregisterPartial:function(A){delete this.partials[A]},registerDecorator:function(A,D){if(l.toString.call(A)===E){if(D)throw new p.default("Arg not supported with multiple decorators");l.extend(this.decorators,A)}else this.decorators[A]=D},unregisterDecorator:function(A){delete this.decorators[A]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var w=n.default.log;o.log=w,o.createFrame=l.createFrame,o.logger=n.default},function(y,o){"use strict";function h(v){return g[v]}function i(v){for(var E=1;E":">",'"':""","'":"'","`":"`","=":"="},n=/[&<>"'`=]/g,m=/[&<>"'`=]/,f=Object.prototype.toString;o.toString=f;var d=function(v){return typeof v=="function"};d(/x/)&&(o.isFunction=d=function(v){return typeof v=="function"&&f.call(v)==="[object Function]"}),o.isFunction=d;var S=Array.isArray||function(v){return!(!v||typeof v!="object")&&f.call(v)==="[object Array]"};o.isArray=S},function(y,o,h){"use strict";function i(c,p){var s=p&&p.loc,u=void 0,g=void 0,n=void 0,m=void 0;s&&(u=s.start.line,g=s.end.line,n=s.start.column,m=s.end.column,c+=" - "+u+":"+n);for(var f=Error.prototype.constructor.call(this,c),d=0;d0?(c.ids&&(c.ids=[c.name]),r.helpers.each(l,c)):p(this);if(c.data&&c.ids){var u=i.createFrame(c.data);u.contextPath=i.appendContextPath(c.data.contextPath,c.name),c={data:u}}return s(l,c)})},y.exports=o.default},function(y,o,h){(function(i){"use strict";var r=h(13).default,l=h(1).default;o.__esModule=!0;var c=h(5),p=h(6),s=l(p);o.default=function(u){u.registerHelper("each",function(g,n){function m(T,I,R){E&&(E.key=T,E.index=I,E.first=I===0,E.last=!!R,w&&(E.contextPath=w+T)),v+=f(g[T],{data:E,blockParams:c.blockParams([g[T],T],[w+T,null])})}if(!n)throw new s.default("Must pass iterator to #each");var f=n.fn,d=n.inverse,S=0,v="",E=void 0,w=void 0;if(n.data&&n.ids&&(w=c.appendContextPath(n.data.contextPath,n.ids[0])+"."),c.isFunction(g)&&(g=g.call(this)),n.data&&(E=c.createFrame(n.data)),g&&typeof g=="object")if(c.isArray(g))for(var A=g.length;S=0?c:parseInt(l,10)}return l},log:function(l){if(l=r.lookupLevel(l),typeof console!="undefined"&&r.lookupLevel(r.level)<=l){var c=r.methodMap[l];console[c]||(c="log");for(var p=arguments.length,s=Array(p>1?p-1:0),u=1;u= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};o.REVISION_CHANGES=v;var E="[object Object]";i.prototype={constructor:i,logger:n.default,log:n.default.log,registerHelper:function(A,T){if(p.toString.call(A)===E){if(T)throw new l.default("Arg not supported with multiple helpers");p.extend(this.helpers,A)}else this.helpers[A]=T},unregisterHelper:function(A){delete this.helpers[A]},registerPartial:function(A,T){if(p.toString.call(A)===E)p.extend(this.partials,A);else{if(typeof T=="undefined")throw new l.default('Attempting to register a partial called "'+A+'" as undefined');this.partials[A]=T}},unregisterPartial:function(A){delete this.partials[A]},registerDecorator:function(A,T){if(p.toString.call(A)===E){if(T)throw new l.default("Arg not supported with multiple decorators");p.extend(this.decorators,A)}else this.decorators[A]=T},unregisterDecorator:function(A){delete this.decorators[A]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var w=n.default.log;o.log=w,o.createFrame=p.createFrame,o.logger=n.default},function(y,o){"use strict";function h(v){return g[v]}function i(v){for(var E=1;E":">",'"':""","'":"'","`":"`","=":"="},n=/[&<>"'`=]/g,m=/[&<>"'`=]/,f=Object.prototype.toString;o.toString=f;var d=function(v){return typeof v=="function"};d(/x/)&&(o.isFunction=d=function(v){return typeof v=="function"&&f.call(v)==="[object Function]"}),o.isFunction=d;var S=Array.isArray||function(v){return!(!v||typeof v!="object")&&f.call(v)==="[object Array]"};o.isArray=S},function(y,o,h){"use strict";function i(c,l){var s=l&&l.loc,u=void 0,g=void 0,n=void 0,m=void 0;s&&(u=s.start.line,g=s.end.line,n=s.start.column,m=s.end.column,c+=" - "+u+":"+n);for(var f=Error.prototype.constructor.call(this,c),d=0;d0?(c.ids&&(c.ids=[c.name]),r.helpers.each(p,c)):l(this);if(c.data&&c.ids){var u=i.createFrame(c.data);u.contextPath=i.appendContextPath(c.data.contextPath,c.name),c={data:u}}return s(p,c)})},y.exports=o.default},function(y,o,h){(function(i){"use strict";var r=h(13).default,p=h(1).default;o.__esModule=!0;var c=h(5),l=h(6),s=p(l);o.default=function(u){u.registerHelper("each",function(g,n){function m(D,I,R){E&&(E.key=D,E.index=I,E.first=I===0,E.last=!!R,w&&(E.contextPath=w+D)),v+=f(g[D],{data:E,blockParams:c.blockParams([g[D],D],[w+D,null])})}if(!n)throw new s.default("Must pass iterator to #each");var f=n.fn,d=n.inverse,S=0,v="",E=void 0,w=void 0;if(n.data&&n.ids&&(w=c.appendContextPath(n.data.contextPath,n.ids[0])+"."),c.isFunction(g)&&(g=g.call(this)),n.data&&(E=c.createFrame(n.data)),g&&typeof g=="object")if(c.isArray(g))for(var A=g.length;S=0?c:parseInt(p,10)}return p},log:function(p){if(p=r.lookupLevel(p),typeof console!="undefined"&&r.lookupLevel(r.level)<=p){var c=r.methodMap[p];console[c]||(c="log");for(var l=arguments.length,s=Array(l>1?l-1:0),u=1;u=b.LAST_COMPATIBLE_COMPILER_REVISION&&x<=b.COMPILER_REVISION)){if(x2&&O.push("'"+this.terminals_[I]+"'");F=this.lexer.showPosition?"Parse error on line "+(d+1)+`: +See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function l(){u(d).forEach(function(S){delete d[S]})}var s=h(34).default,u=h(13).default,g=h(3).default;o.__esModule=!0,o.createProtoAccessControl=i,o.resultIsAllowed=r,o.resetLoggedProperties=l;var n=h(36),m=h(32),f=g(m),d=s(null)},function(y,o,h){y.exports={default:h(35),__esModule:!0}},function(y,o,h){var i=h(9);y.exports=function(r,p){return i.create(r,p)}},function(y,o,h){"use strict";function i(){for(var c=arguments.length,l=Array(c),s=0;s=b.LAST_COMPATIBLE_COMPILER_REVISION&&x<=b.COMPILER_REVISION)){if(x2&&O.push("'"+this.terminals_[I]+"'");F=this.lexer.showPosition?"Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` -Expecting `+O.join(", ")+", got '"+(this.terminals_[A]||A)+"'":"Parse error on line "+(d+1)+": Unexpected "+(A==1?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(F,{text:this.lexer.match,token:this.terminals_[A]||A,line:this.lexer.yylineno,loc:E,expected:O})}}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+A);switch(N[0]){case 1:u.push(A),g.push(this.lexer.yytext),n.push(this.lexer.yylloc),u.push(N[1]),A=null,D?(A=D,D=null):(S=this.lexer.yyleng,f=this.lexer.yytext,d=this.lexer.yylineno,E=this.lexer.yylloc,v>0&&v--);break;case 2:if(R=this.productions_[N[1]][1],$.$=g[g.length-R],$._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},w&&($._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]]),T=this.performAction.call($,f,S,d,this.yy,N[1],g,n),typeof T!="undefined")return T;R&&(u=u.slice(0,-1*R*2),g=g.slice(0,-1*R),n=n.slice(0,-1*R)),u.push(this.productions_[N[1]][0]),g.push($.$),n.push($._$),x=m[u[u.length-2]][u[u.length-1]],u.push(x);break;case 3:return!0}}return!0}},l=function(){var c={EOF:1,parseError:function(p,s){if(!this.yy.parser)throw new Error(p);this.yy.parser.parseError(p,s)},setInput:function(p){return this._input=p,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var s=p.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var s=p.length,u=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===g.length?this.yylloc.first_column:0)+g[g.length-u.length].length-u[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),s=new Array(p.length+1).join("-");return p+this.upcomingInput()+` -`+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,s,u,g,n;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),f=0;fs[0].length)||(s=u,g=f,this.options.flex));f++);return s?(n=s[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],p=this.performAction.call(this,this.yy,this,m[g],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),p||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var p=this.next();return typeof p!="undefined"?p:this.lex()},begin:function(p){this.conditionStack.push(p)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(p){this.begin(p)}};return c.options={},c.performAction=function(p,s,u,g){function n(m,f){return s.yytext=s.yytext.substring(m,s.yyleng-f+m)}switch(u){case 0:if(s.yytext.slice(-2)==="\\\\"?(n(0,1),this.begin("mu")):s.yytext.slice(-1)==="\\"?(n(0,1),this.begin("emu")):this.begin("mu"),s.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(n(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(s.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return s.yytext=n(1,2).replace(/\\"/g,'"'),80;case 32:return s.yytext=n(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return s.yytext=s.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},c.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],c.conditions={mu:{rules:[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],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},c}();return r.lexer=l,i.prototype=r,r.Parser=i,new i}();o.default=h,y.exports=o.default},function(y,o,h){"use strict";function i(){var n=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=n}function r(n,m,f){m===void 0&&(m=n.length);var d=n[m-1],S=n[m-2];return d?d.type==="ContentStatement"?(S||!f?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original):void 0:f}function l(n,m,f){m===void 0&&(m=-1);var d=n[m+1],S=n[m+2];return d?d.type==="ContentStatement"?(S||!f?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original):void 0:f}function c(n,m,f){var d=n[m==null?0:m+1];if(d&&d.type==="ContentStatement"&&(f||!d.rightStripped)){var S=d.value;d.value=d.value.replace(f?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==S}}function p(n,m,f){var d=n[m==null?n.length-1:m-1];if(d&&d.type==="ContentStatement"&&(f||!d.leftStripped)){var S=d.value;return d.value=d.value.replace(f?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==S,d.leftStripped}}var s=h(1).default;o.__esModule=!0;var u=h(49),g=s(u);i.prototype=new g.default,i.prototype.Program=function(n){var m=!this.options.ignoreStandalone,f=!this.isRootSeen;this.isRootSeen=!0;for(var d=n.body,S=0,v=d.length;S0)throw new v.default("Invalid path: "+D,{loc:A});R===".."&&N++}}return{type:"PathExpression",data:E,depth:N,parts:b,original:D,loc:A}}function u(E,w,A,D,b,N){var T=D.charAt(3)||D.charAt(2),I=T!=="{"&&T!=="&",R=/\*/.test(D);return{type:R?"Decorator":"MustacheStatement",path:E,params:w,hash:A,escaped:I,strip:b,loc:this.locInfo(N)}}function g(E,w,A,D){i(E,A),D=this.locInfo(D);var b={type:"Program",body:w,strip:{},loc:D};return{type:"BlockStatement",path:E.path,params:E.params,hash:E.hash,program:b,openStrip:{},inverseStrip:{},closeStrip:{},loc:D}}function n(E,w,A,D,b,N){D&&D.path&&i(E,D);var T=/\*/.test(E.open);w.blockParams=E.blockParams;var I=void 0,R=void 0;if(A){if(T)throw new v.default("Unexpected inverse block on decorator",A);A.chain&&(A.program.body[0].closeStrip=D.strip),R=A.strip,I=A.program}return b&&(b=I,I=w,w=b),{type:T?"DecoratorBlock":"BlockStatement",path:E.path,params:E.params,hash:E.hash,program:w,inverse:I,openStrip:E.strip,inverseStrip:R,closeStrip:D&&D.strip,loc:this.locInfo(N)}}function m(E,w){if(!w&&E.length){var A=E[0].loc,D=E[E.length-1].loc;A&&D&&(w={source:A.source,start:{line:A.start.line,column:A.start.column},end:{line:D.end.line,column:D.end.column}})}return{type:"Program",body:E,strip:{},loc:w}}function f(E,w,A,D){return i(E,A),{type:"PartialBlockStatement",name:E.path,params:E.params,hash:E.hash,program:w,openStrip:E.strip,closeStrip:A&&A.strip,loc:this.locInfo(D)}}var d=h(1).default;o.__esModule=!0,o.SourceLocation=r,o.id=l,o.stripFlags=c,o.stripComment=p,o.preparePath=s,o.prepareMustache=u,o.prepareRawBlock=g,o.prepareBlock=n,o.prepareProgram=m,o.preparePartialBlock=f;var S=h(6),v=d(S)},function(y,o,h){"use strict";function i(){}function r(v,E,w){if(v==null||typeof v!="string"&&v.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+v);E=E||{},"data"in E||(E.data=!0),E.compat&&(E.useDepths=!0);var A=w.parse(v,E),D=new w.Compiler().compile(A,E);return new w.JavaScriptCompiler().compile(D,E)}function l(v,E,w){function A(){var N=w.parse(v,E),T=new w.Compiler().compile(N,E),I=new w.JavaScriptCompiler().compile(T,E,void 0,!0);return w.template(I)}function D(N,T){return b||(b=A()),b.call(this,N,T)}if(E===void 0&&(E={}),v==null||typeof v!="string"&&v.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+v);E=m.extend({},E),"data"in E||(E.data=!0),E.compat&&(E.useDepths=!0);var b=void 0;return D._setup=function(N){return b||(b=A()),b._setup(N)},D._child=function(N,T,I,R){return b||(b=A()),b._child(N,T,I,R)},D}function c(v,E){if(v===E)return!0;if(m.isArray(v)&&m.isArray(E)&&v.length===E.length){for(var w=0;w1)throw new n.default("Unsupported number of partial arguments: "+w.length,v);w.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):w.push({type:"PathExpression",parts:[],depth:0}));var A=v.name.original,D=v.name.type==="SubExpression";D&&this.accept(v.name),this.setupFullMustacheParams(v,E,void 0,!0);var b=v.indent||"";this.options.preventIndent&&b&&(this.opcode("appendContent",b),b=""),this.opcode("invokePartial",D,A,b),this.opcode("append")},PartialBlockStatement:function(v){this.PartialStatement(v)},MustacheStatement:function(v){this.SubExpression(v),v.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(v){this.DecoratorBlock(v)},ContentStatement:function(v){v.value&&this.opcode("appendContent",v.value)},CommentStatement:function(){},SubExpression:function(v){p(v);var E=this.classifySexpr(v);E==="simple"?this.simpleSexpr(v):E==="helper"?this.helperSexpr(v):this.ambiguousSexpr(v)},ambiguousSexpr:function(v,E,w){var A=v.path,D=A.parts[0],b=E!=null||w!=null;this.opcode("getContext",A.depth),this.opcode("pushProgram",E),this.opcode("pushProgram",w),A.strict=!0,this.accept(A),this.opcode("invokeAmbiguous",D,b)},simpleSexpr:function(v){var E=v.path;E.strict=!0,this.accept(E),this.opcode("resolvePossibleLambda")},helperSexpr:function(v,E,w){var A=this.setupFullMustacheParams(v,E,w),D=v.path,b=D.parts[0];if(this.options.knownHelpers[b])this.opcode("invokeKnownHelper",A.length,b);else{if(this.options.knownHelpersOnly)throw new n.default("You specified knownHelpersOnly, but used the unknown helper "+b,v);D.strict=!0,D.falsy=!0,this.accept(D),this.opcode("invokeHelper",A.length,D.original,d.default.helpers.simpleId(D))}},PathExpression:function(v){this.addDepth(v.depth),this.opcode("getContext",v.depth);var E=v.parts[0],w=d.default.helpers.scopedId(v),A=!v.depth&&!w&&this.blockParamIndex(E);A?this.opcode("lookupBlockParam",A,v.parts):E?v.data?(this.options.data=!0,this.opcode("lookupData",v.depth,v.parts,v.strict)):this.opcode("lookupOnContext",v.parts,v.falsy,v.strict,w):this.opcode("pushContext")},StringLiteral:function(v){this.opcode("pushString",v.value)},NumberLiteral:function(v){this.opcode("pushLiteral",v.value)},BooleanLiteral:function(v){this.opcode("pushLiteral",v.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(v){var E=v.pairs,w=0,A=E.length;for(this.opcode("pushHash");w=0)return[E,D]}}}},function(y,o,h){"use strict";function i(d){this.value=d}function r(){}function l(d,S,v,E){var w=S.popStack(),A=0,D=v.length;for(d&&D--;A1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+A);switch(N[0]){case 1:u.push(A),g.push(this.lexer.yytext),n.push(this.lexer.yylloc),u.push(N[1]),A=null,T?(A=T,T=null):(S=this.lexer.yyleng,f=this.lexer.yytext,d=this.lexer.yylineno,E=this.lexer.yylloc,v>0&&v--);break;case 2:if(R=this.productions_[N[1]][1],$.$=g[g.length-R],$._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},w&&($._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]]),D=this.performAction.call($,f,S,d,this.yy,N[1],g,n),typeof D!="undefined")return D;R&&(u=u.slice(0,-1*R*2),g=g.slice(0,-1*R),n=n.slice(0,-1*R)),u.push(this.productions_[N[1]][0]),g.push($.$),n.push($._$),x=m[u[u.length-2]][u[u.length-1]],u.push(x);break;case 3:return!0}}return!0}},p=function(){var c={EOF:1,parseError:function(l,s){if(!this.yy.parser)throw new Error(l);this.yy.parser.parseError(l,s)},setInput:function(l){return this._input=l,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var s=l.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},unput:function(l){var s=l.length,u=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===g.length?this.yylloc.first_column:0)+g[g.length-u.length].length-u[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(l){this.unput(this.match.slice(l))},pastInput:function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var l=this.pastInput(),s=new Array(l.length+1).join("-");return l+this.upcomingInput()+` +`+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,s,u,g,n;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),f=0;fs[0].length)||(s=u,g=f,this.options.flex));f++);return s?(n=s[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],l=this.performAction.call(this,this.yy,this,m[g],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var l=this.next();return typeof l!="undefined"?l:this.lex()},begin:function(l){this.conditionStack.push(l)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(l){this.begin(l)}};return c.options={},c.performAction=function(l,s,u,g){function n(m,f){return s.yytext=s.yytext.substring(m,s.yyleng-f+m)}switch(u){case 0:if(s.yytext.slice(-2)==="\\\\"?(n(0,1),this.begin("mu")):s.yytext.slice(-1)==="\\"?(n(0,1),this.begin("emu")):this.begin("mu"),s.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(n(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(s.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return s.yytext=n(1,2).replace(/\\"/g,'"'),80;case 32:return s.yytext=n(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return s.yytext=s.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},c.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],c.conditions={mu:{rules:[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],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},c}();return r.lexer=p,i.prototype=r,r.Parser=i,new i}();o.default=h,y.exports=o.default},function(y,o,h){"use strict";function i(){var n=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=n}function r(n,m,f){m===void 0&&(m=n.length);var d=n[m-1],S=n[m-2];return d?d.type==="ContentStatement"?(S||!f?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original):void 0:f}function p(n,m,f){m===void 0&&(m=-1);var d=n[m+1],S=n[m+2];return d?d.type==="ContentStatement"?(S||!f?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original):void 0:f}function c(n,m,f){var d=n[m==null?0:m+1];if(d&&d.type==="ContentStatement"&&(f||!d.rightStripped)){var S=d.value;d.value=d.value.replace(f?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==S}}function l(n,m,f){var d=n[m==null?n.length-1:m-1];if(d&&d.type==="ContentStatement"&&(f||!d.leftStripped)){var S=d.value;return d.value=d.value.replace(f?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==S,d.leftStripped}}var s=h(1).default;o.__esModule=!0;var u=h(49),g=s(u);i.prototype=new g.default,i.prototype.Program=function(n){var m=!this.options.ignoreStandalone,f=!this.isRootSeen;this.isRootSeen=!0;for(var d=n.body,S=0,v=d.length;S0)throw new v.default("Invalid path: "+T,{loc:A});R===".."&&N++}}return{type:"PathExpression",data:E,depth:N,parts:b,original:T,loc:A}}function u(E,w,A,T,b,N){var D=T.charAt(3)||T.charAt(2),I=D!=="{"&&D!=="&",R=/\*/.test(T);return{type:R?"Decorator":"MustacheStatement",path:E,params:w,hash:A,escaped:I,strip:b,loc:this.locInfo(N)}}function g(E,w,A,T){i(E,A),T=this.locInfo(T);var b={type:"Program",body:w,strip:{},loc:T};return{type:"BlockStatement",path:E.path,params:E.params,hash:E.hash,program:b,openStrip:{},inverseStrip:{},closeStrip:{},loc:T}}function n(E,w,A,T,b,N){T&&T.path&&i(E,T);var D=/\*/.test(E.open);w.blockParams=E.blockParams;var I=void 0,R=void 0;if(A){if(D)throw new v.default("Unexpected inverse block on decorator",A);A.chain&&(A.program.body[0].closeStrip=T.strip),R=A.strip,I=A.program}return b&&(b=I,I=w,w=b),{type:D?"DecoratorBlock":"BlockStatement",path:E.path,params:E.params,hash:E.hash,program:w,inverse:I,openStrip:E.strip,inverseStrip:R,closeStrip:T&&T.strip,loc:this.locInfo(N)}}function m(E,w){if(!w&&E.length){var A=E[0].loc,T=E[E.length-1].loc;A&&T&&(w={source:A.source,start:{line:A.start.line,column:A.start.column},end:{line:T.end.line,column:T.end.column}})}return{type:"Program",body:E,strip:{},loc:w}}function f(E,w,A,T){return i(E,A),{type:"PartialBlockStatement",name:E.path,params:E.params,hash:E.hash,program:w,openStrip:E.strip,closeStrip:A&&A.strip,loc:this.locInfo(T)}}var d=h(1).default;o.__esModule=!0,o.SourceLocation=r,o.id=p,o.stripFlags=c,o.stripComment=l,o.preparePath=s,o.prepareMustache=u,o.prepareRawBlock=g,o.prepareBlock=n,o.prepareProgram=m,o.preparePartialBlock=f;var S=h(6),v=d(S)},function(y,o,h){"use strict";function i(){}function r(v,E,w){if(v==null||typeof v!="string"&&v.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+v);E=E||{},"data"in E||(E.data=!0),E.compat&&(E.useDepths=!0);var A=w.parse(v,E),T=new w.Compiler().compile(A,E);return new w.JavaScriptCompiler().compile(T,E)}function p(v,E,w){function A(){var N=w.parse(v,E),D=new w.Compiler().compile(N,E),I=new w.JavaScriptCompiler().compile(D,E,void 0,!0);return w.template(I)}function T(N,D){return b||(b=A()),b.call(this,N,D)}if(E===void 0&&(E={}),v==null||typeof v!="string"&&v.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+v);E=m.extend({},E),"data"in E||(E.data=!0),E.compat&&(E.useDepths=!0);var b=void 0;return T._setup=function(N){return b||(b=A()),b._setup(N)},T._child=function(N,D,I,R){return b||(b=A()),b._child(N,D,I,R)},T}function c(v,E){if(v===E)return!0;if(m.isArray(v)&&m.isArray(E)&&v.length===E.length){for(var w=0;w1)throw new n.default("Unsupported number of partial arguments: "+w.length,v);w.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):w.push({type:"PathExpression",parts:[],depth:0}));var A=v.name.original,T=v.name.type==="SubExpression";T&&this.accept(v.name),this.setupFullMustacheParams(v,E,void 0,!0);var b=v.indent||"";this.options.preventIndent&&b&&(this.opcode("appendContent",b),b=""),this.opcode("invokePartial",T,A,b),this.opcode("append")},PartialBlockStatement:function(v){this.PartialStatement(v)},MustacheStatement:function(v){this.SubExpression(v),v.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(v){this.DecoratorBlock(v)},ContentStatement:function(v){v.value&&this.opcode("appendContent",v.value)},CommentStatement:function(){},SubExpression:function(v){l(v);var E=this.classifySexpr(v);E==="simple"?this.simpleSexpr(v):E==="helper"?this.helperSexpr(v):this.ambiguousSexpr(v)},ambiguousSexpr:function(v,E,w){var A=v.path,T=A.parts[0],b=E!=null||w!=null;this.opcode("getContext",A.depth),this.opcode("pushProgram",E),this.opcode("pushProgram",w),A.strict=!0,this.accept(A),this.opcode("invokeAmbiguous",T,b)},simpleSexpr:function(v){var E=v.path;E.strict=!0,this.accept(E),this.opcode("resolvePossibleLambda")},helperSexpr:function(v,E,w){var A=this.setupFullMustacheParams(v,E,w),T=v.path,b=T.parts[0];if(this.options.knownHelpers[b])this.opcode("invokeKnownHelper",A.length,b);else{if(this.options.knownHelpersOnly)throw new n.default("You specified knownHelpersOnly, but used the unknown helper "+b,v);T.strict=!0,T.falsy=!0,this.accept(T),this.opcode("invokeHelper",A.length,T.original,d.default.helpers.simpleId(T))}},PathExpression:function(v){this.addDepth(v.depth),this.opcode("getContext",v.depth);var E=v.parts[0],w=d.default.helpers.scopedId(v),A=!v.depth&&!w&&this.blockParamIndex(E);A?this.opcode("lookupBlockParam",A,v.parts):E?v.data?(this.options.data=!0,this.opcode("lookupData",v.depth,v.parts,v.strict)):this.opcode("lookupOnContext",v.parts,v.falsy,v.strict,w):this.opcode("pushContext")},StringLiteral:function(v){this.opcode("pushString",v.value)},NumberLiteral:function(v){this.opcode("pushLiteral",v.value)},BooleanLiteral:function(v){this.opcode("pushLiteral",v.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(v){var E=v.pairs,w=0,A=E.length;for(this.opcode("pushHash");w=0)return[E,T]}}}},function(y,o,h){"use strict";function i(d){this.value=d}function r(){}function p(d,S,v,E){var w=S.popStack(),A=0,T=v.length;for(d&&T--;A0&&(v+=", "+E.join(", "));var w=0;c(this.aliases).forEach(function(b){var N=S.aliases[b];N.children&&N.referenceCount>1&&(v+=", alias"+ ++w+"="+b,N.children[0]="alias"+w)}),this.lookupPropertyFunctionIsUsed&&(v+=", "+this.lookupPropertyFunctionVarDeclaration());var A=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&A.push("blockParams"),this.useDepths&&A.push("depths");var D=this.mergeSource(v);return d?(A.push(D),Function.apply(this,A)):this.source.wrap(["function(",A.join(","),`) { - `,D,"}"])},mergeSource:function(d){var S=this.environment.isSimple,v=!this.forceBuffer,E=void 0,w=void 0,A=void 0,D=void 0;return this.source.each(function(b){b.appendToBuffer?(A?b.prepend(" + "):A=b,D=b):(A&&(w?A.prepend("buffer += "):E=!0,D.add(";"),A=D=void 0),w=!0,S||(v=!1))}),v?A?(A.prepend("return "),D.add(";")):w||this.source.push('return "";'):(d+=", buffer = "+(E?"":this.initializeBuffer()),A?(A.prepend("return buffer + "),D.add(";")):this.source.push("return buffer;")),d&&this.source.prepend("var "+d.substring(2)+(E?"":`; +`),this.decorators=this.decorators.merge()));var D=this.createFunctionContext(E);if(this.isChild)return D;var I={compiler:this.compilerInfo(),main:D};this.decorators&&(I.main_d=this.decorators,I.useDecorators=!0);var R=this.context,x=R.programs,O=R.decorators;for(b=0,N=x.length;b0&&(v+=", "+E.join(", "));var w=0;c(this.aliases).forEach(function(b){var N=S.aliases[b];N.children&&N.referenceCount>1&&(v+=", alias"+ ++w+"="+b,N.children[0]="alias"+w)}),this.lookupPropertyFunctionIsUsed&&(v+=", "+this.lookupPropertyFunctionVarDeclaration());var A=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&A.push("blockParams"),this.useDepths&&A.push("depths");var T=this.mergeSource(v);return d?(A.push(T),Function.apply(this,A)):this.source.wrap(["function(",A.join(","),`) { + `,T,"}"])},mergeSource:function(d){var S=this.environment.isSimple,v=!this.forceBuffer,E=void 0,w=void 0,A=void 0,T=void 0;return this.source.each(function(b){b.appendToBuffer?(A?b.prepend(" + "):A=b,T=b):(A&&(w?A.prepend("buffer += "):E=!0,T.add(";"),A=T=void 0),w=!0,S||(v=!1))}),v?A?(A.prepend("return "),T.add(";")):w||this.source.push('return "";'):(d+=", buffer = "+(E?"":this.initializeBuffer()),A?(A.prepend("return buffer + "),T.add(";")):this.source.push("return buffer;")),d&&this.source.prepend("var "+d.substring(2)+(E?"":`; `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { @@ -47,8 +47,8 @@ Expecting `+O.join(", ")+", got '"+(this.terminals_[A]||A)+"'":"Parse error on l } return undefined } - `.trim()},blockValue:function(d){var S=this.aliasable("container.hooks.blockHelperMissing"),v=[this.contextName(0)];this.setupHelperArgs(d,0,v);var E=this.popStack();v.splice(1,0,E),this.push(this.source.functionCall(S,"call",v))},ambiguousBlockValue:function(){var d=this.aliasable("container.hooks.blockHelperMissing"),S=[this.contextName(0)];this.setupHelperArgs("",0,S,!0),this.flushInline();var v=this.topStack();S.splice(1,0,v),this.pushSource(["if (!",this.lastHelper,") { ",v," = ",this.source.functionCall(d,"call",S),"}"])},appendContent:function(d){this.pendingContent?d=this.pendingContent+d:this.pendingLocation=this.source.currentLocation,this.pendingContent=d},append:function(){if(this.isInline())this.replaceStack(function(S){return[" != null ? ",S,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var d=this.popStack();this.pushSource(["if (",d," != null) { ",this.appendToBuffer(d,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(d){this.lastContext=d},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(d,S,v,E){var w=0;E||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(d[w++])),this.resolvePath("context",d,w,S,v)},lookupBlockParam:function(d,S){this.useBlockParams=!0,this.push(["blockParams[",d[0],"][",d[1],"]"]),this.resolvePath("context",S,1)},lookupData:function(d,S,v){d?this.pushStackLiteral("container.data(data, "+d+")"):this.pushStackLiteral("data"),this.resolvePath("data",S,0,!0,v)},resolvePath:function(d,S,v,E,w){var A=this;if(this.options.strict||this.options.assumeObjects)return void this.push(l(this.options.strict&&w,this,S,d));for(var D=S.length;vthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var d=this.inlineStack;this.inlineStack=[];for(var S=0,v=d.length;S{var h;/*! + `.trim()},blockValue:function(d){var S=this.aliasable("container.hooks.blockHelperMissing"),v=[this.contextName(0)];this.setupHelperArgs(d,0,v);var E=this.popStack();v.splice(1,0,E),this.push(this.source.functionCall(S,"call",v))},ambiguousBlockValue:function(){var d=this.aliasable("container.hooks.blockHelperMissing"),S=[this.contextName(0)];this.setupHelperArgs("",0,S,!0),this.flushInline();var v=this.topStack();S.splice(1,0,v),this.pushSource(["if (!",this.lastHelper,") { ",v," = ",this.source.functionCall(d,"call",S),"}"])},appendContent:function(d){this.pendingContent?d=this.pendingContent+d:this.pendingLocation=this.source.currentLocation,this.pendingContent=d},append:function(){if(this.isInline())this.replaceStack(function(S){return[" != null ? ",S,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var d=this.popStack();this.pushSource(["if (",d," != null) { ",this.appendToBuffer(d,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(d){this.lastContext=d},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(d,S,v,E){var w=0;E||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(d[w++])),this.resolvePath("context",d,w,S,v)},lookupBlockParam:function(d,S){this.useBlockParams=!0,this.push(["blockParams[",d[0],"][",d[1],"]"]),this.resolvePath("context",S,1)},lookupData:function(d,S,v){d?this.pushStackLiteral("container.data(data, "+d+")"):this.pushStackLiteral("data"),this.resolvePath("data",S,0,!0,v)},resolvePath:function(d,S,v,E,w){var A=this;if(this.options.strict||this.options.assumeObjects)return void this.push(p(this.options.strict&&w,this,S,d));for(var T=S.length;vthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var d=this.inlineStack;this.inlineStack=[];for(var S=0,v=d.length;S{var h;/*! * Sizzle CSS Selector Engine v2.3.6 * https://sizzlejs.com/ * @@ -57,20 +57,20 @@ Expecting `+O.join(", ")+", got '"+(this.terminals_[A]||A)+"'":"Parse error on l * https://js.foundation/ * * Date: 2021-02-16 -*/(function(i){var r,l,c,p,s,u,g,n,m,f,d,S,v,E,w,A,D,b,N,T="sizzle"+1*new Date,I=i.document,R=0,x=0,O=Ge(),$=Ge(),F=Ge(),U=Ge(),W=function(k,G){return k===G&&(d=!0),0},z={}.hasOwnProperty,B=[],V=B.pop,Y=B.push,re=B.push,ne=B.slice,le=function(k,G){for(var Z=0,j=k.length;Z+~]|"+he+")"+he+"*"),Ce=new RegExp(he+"|>"),_t=new RegExp(nt),$e=new RegExp("^"+Ee+"$"),He={ID:new RegExp("^#("+Ee+")"),CLASS:new RegExp("^\\.("+Ee+")"),TAG:new RegExp("^("+Ee+"|[*])"),ATTR:new RegExp("^"+Le),PSEUDO:new RegExp("^"+nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+he+"*(even|odd|(([+-]|)(\\d*)n|)"+he+"*(?:([+-]|)"+he+"*(\\d+)|))"+he+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+he+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+he+"*((?:-\\d)?\\d*)"+he+"*\\)|)(?=[^-]|$)","i")},Wt=/HTML$/i,Fe=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,De=/^[^{]+\{\s*\[native \w/,Te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,se=/[+~]/,ve=new RegExp("\\\\[\\da-fA-F]{1,6}"+he+"?|\\\\([^\\r\\n\\f])","g"),me=function(k,G){var Z="0x"+k.slice(1)-65536;return G||(Z<0?String.fromCharCode(Z+65536):String.fromCharCode(Z>>10|55296,Z&1023|56320))},_e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ze=function(k,G){return G?k==="\0"?"\uFFFD":k.slice(0,-1)+"\\"+k.charCodeAt(k.length-1).toString(16)+" ":"\\"+k},Xe=function(){S()},qe=vt(function(k){return k.disabled===!0&&k.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{re.apply(B=ne.call(I.childNodes),I.childNodes),B[I.childNodes.length].nodeType}catch(k){re={apply:B.length?function(G,Z){Y.apply(G,ne.call(Z))}:function(G,Z){for(var j=G.length,H=0;G[j++]=Z[H++];);G.length=j-1}}}function be(k,G,Z,j){var H,J,ee,ae,fe,ge,Ae,we=G&&G.ownerDocument,Oe=G?G.nodeType:9;if(Z=Z||[],typeof k!="string"||!k||Oe!==1&&Oe!==9&&Oe!==11)return Z;if(!j&&(S(G),G=G||v,w)){if(Oe!==11&&(fe=Te.exec(k)))if(H=fe[1]){if(Oe===9)if(ee=G.getElementById(H)){if(ee.id===H)return Z.push(ee),Z}else return Z;else if(we&&(ee=we.getElementById(H))&&N(G,ee)&&ee.id===H)return Z.push(ee),Z}else{if(fe[2])return re.apply(Z,G.getElementsByTagName(k)),Z;if((H=fe[3])&&l.getElementsByClassName&&G.getElementsByClassName)return re.apply(Z,G.getElementsByClassName(H)),Z}if(l.qsa&&!U[k+" "]&&(!A||!A.test(k))&&(Oe!==1||G.nodeName.toLowerCase()!=="object")){if(Ae=k,we=G,Oe===1&&(Ce.test(k)||Nt.test(k))){for(we=se.test(k)&&dr(G.parentNode)||G,(we!==G||!l.scope)&&((ae=G.getAttribute("id"))?ae=ae.replace(_e,Ze):G.setAttribute("id",ae=T)),ge=u(k),J=ge.length;J--;)ge[J]=(ae?"#"+ae:":scope")+" "+hr(ge[J]);Ae=ge.join(",")}try{return re.apply(Z,we.querySelectorAll(Ae)),Z}catch(Ye){U(k,!0)}finally{ae===T&&G.removeAttribute("id")}}}return n(k.replace(ft,"$1"),G,Z,j)}function Ge(){var k=[];function G(Z,j){return k.push(Z+" ")>c.cacheLength&&delete G[k.shift()],G[Z+" "]=j}return G}function Qe(k){return k[T]=!0,k}function Je(k){var G=v.createElement("fieldset");try{return!!k(G)}catch(Z){return!1}finally{G.parentNode&&G.parentNode.removeChild(G),G=null}}function Ut(k,G){for(var Z=k.split("|"),j=Z.length;j--;)c.attrHandle[Z[j]]=G}function Lt(k,G){var Z=G&&k,j=Z&&k.nodeType===1&&G.nodeType===1&&k.sourceIndex-G.sourceIndex;if(j)return j;if(Z){for(;Z=Z.nextSibling;)if(Z===G)return-1}return k?1:-1}function Dt(k){return function(G){var Z=G.nodeName.toLowerCase();return Z==="input"&&G.type===k}}function br(k){return function(G){var Z=G.nodeName.toLowerCase();return(Z==="input"||Z==="button")&&G.type===k}}function nr(k){return function(G){return"form"in G?G.parentNode&&G.disabled===!1?"label"in G?"label"in G.parentNode?G.parentNode.disabled===k:G.disabled===k:G.isDisabled===k||G.isDisabled!==!k&&qe(G)===k:G.disabled===k:"label"in G?G.disabled===k:!1}}function Ht(k){return Qe(function(G){return G=+G,Qe(function(Z,j){for(var H,J=k([],Z.length,G),ee=J.length;ee--;)Z[H=J[ee]]&&(Z[H]=!(j[H]=Z[H]))})})}function dr(k){return k&&typeof k.getElementsByTagName!="undefined"&&k}l=be.support={},s=be.isXML=function(k){var G=k&&k.namespaceURI,Z=k&&(k.ownerDocument||k).documentElement;return!Wt.test(G||Z&&Z.nodeName||"HTML")},S=be.setDocument=function(k){var G,Z,j=k?k.ownerDocument||k:I;return j==v||j.nodeType!==9||!j.documentElement||(v=j,E=v.documentElement,w=!s(v),I!=v&&(Z=v.defaultView)&&Z.top!==Z&&(Z.addEventListener?Z.addEventListener("unload",Xe,!1):Z.attachEvent&&Z.attachEvent("onunload",Xe)),l.scope=Je(function(H){return E.appendChild(H).appendChild(v.createElement("div")),typeof H.querySelectorAll!="undefined"&&!H.querySelectorAll(":scope fieldset div").length}),l.attributes=Je(function(H){return H.className="i",!H.getAttribute("className")}),l.getElementsByTagName=Je(function(H){return H.appendChild(v.createComment("")),!H.getElementsByTagName("*").length}),l.getElementsByClassName=De.test(v.getElementsByClassName),l.getById=Je(function(H){return E.appendChild(H).id=T,!v.getElementsByName||!v.getElementsByName(T).length}),l.getById?(c.filter.ID=function(H){var J=H.replace(ve,me);return function(ee){return ee.getAttribute("id")===J}},c.find.ID=function(H,J){if(typeof J.getElementById!="undefined"&&w){var ee=J.getElementById(H);return ee?[ee]:[]}}):(c.filter.ID=function(H){var J=H.replace(ve,me);return function(ee){var ae=typeof ee.getAttributeNode!="undefined"&&ee.getAttributeNode("id");return ae&&ae.value===J}},c.find.ID=function(H,J){if(typeof J.getElementById!="undefined"&&w){var ee,ae,fe,ge=J.getElementById(H);if(ge){if(ee=ge.getAttributeNode("id"),ee&&ee.value===H)return[ge];for(fe=J.getElementsByName(H),ae=0;ge=fe[ae++];)if(ee=ge.getAttributeNode("id"),ee&&ee.value===H)return[ge]}return[]}}),c.find.TAG=l.getElementsByTagName?function(H,J){if(typeof J.getElementsByTagName!="undefined")return J.getElementsByTagName(H);if(l.qsa)return J.querySelectorAll(H)}:function(H,J){var ee,ae=[],fe=0,ge=J.getElementsByTagName(H);if(H==="*"){for(;ee=ge[fe++];)ee.nodeType===1&&ae.push(ee);return ae}return ge},c.find.CLASS=l.getElementsByClassName&&function(H,J){if(typeof J.getElementsByClassName!="undefined"&&w)return J.getElementsByClassName(H)},D=[],A=[],(l.qsa=De.test(v.querySelectorAll))&&(Je(function(H){var J;E.appendChild(H).innerHTML="",H.querySelectorAll("[msallowcapture^='']").length&&A.push("[*^$]="+he+`*(?:''|"")`),H.querySelectorAll("[selected]").length||A.push("\\["+he+"*(?:value|"+te+")"),H.querySelectorAll("[id~="+T+"-]").length||A.push("~="),J=v.createElement("input"),J.setAttribute("name",""),H.appendChild(J),H.querySelectorAll("[name='']").length||A.push("\\["+he+"*name"+he+"*="+he+`*(?:''|"")`),H.querySelectorAll(":checked").length||A.push(":checked"),H.querySelectorAll("a#"+T+"+*").length||A.push(".#.+[+~]"),H.querySelectorAll("\\\f"),A.push("[\\r\\n\\f]")}),Je(function(H){H.innerHTML="";var J=v.createElement("input");J.setAttribute("type","hidden"),H.appendChild(J).setAttribute("name","D"),H.querySelectorAll("[name=d]").length&&A.push("name"+he+"*[*^$|!~]?="),H.querySelectorAll(":enabled").length!==2&&A.push(":enabled",":disabled"),E.appendChild(H).disabled=!0,H.querySelectorAll(":disabled").length!==2&&A.push(":enabled",":disabled"),H.querySelectorAll("*,:x"),A.push(",.*:")})),(l.matchesSelector=De.test(b=E.matches||E.webkitMatchesSelector||E.mozMatchesSelector||E.oMatchesSelector||E.msMatchesSelector))&&Je(function(H){l.disconnectedMatch=b.call(H,"*"),b.call(H,"[s!='']:x"),D.push("!=",nt)}),A=A.length&&new RegExp(A.join("|")),D=D.length&&new RegExp(D.join("|")),G=De.test(E.compareDocumentPosition),N=G||De.test(E.contains)?function(H,J){var ee=H.nodeType===9?H.documentElement:H,ae=J&&J.parentNode;return H===ae||!!(ae&&ae.nodeType===1&&(ee.contains?ee.contains(ae):H.compareDocumentPosition&&H.compareDocumentPosition(ae)&16))}:function(H,J){if(J){for(;J=J.parentNode;)if(J===H)return!0}return!1},W=G?function(H,J){if(H===J)return d=!0,0;var ee=!H.compareDocumentPosition-!J.compareDocumentPosition;return ee||(ee=(H.ownerDocument||H)==(J.ownerDocument||J)?H.compareDocumentPosition(J):1,ee&1||!l.sortDetached&&J.compareDocumentPosition(H)===ee?H==v||H.ownerDocument==I&&N(I,H)?-1:J==v||J.ownerDocument==I&&N(I,J)?1:f?le(f,H)-le(f,J):0:ee&4?-1:1)}:function(H,J){if(H===J)return d=!0,0;var ee,ae=0,fe=H.parentNode,ge=J.parentNode,Ae=[H],we=[J];if(!fe||!ge)return H==v?-1:J==v?1:fe?-1:ge?1:f?le(f,H)-le(f,J):0;if(fe===ge)return Lt(H,J);for(ee=H;ee=ee.parentNode;)Ae.unshift(ee);for(ee=J;ee=ee.parentNode;)we.unshift(ee);for(;Ae[ae]===we[ae];)ae++;return ae?Lt(Ae[ae],we[ae]):Ae[ae]==I?-1:we[ae]==I?1:0}),v},be.matches=function(k,G){return be(k,null,null,G)},be.matchesSelector=function(k,G){if(S(k),l.matchesSelector&&w&&!U[G+" "]&&(!D||!D.test(G))&&(!A||!A.test(G)))try{var Z=b.call(k,G);if(Z||l.disconnectedMatch||k.document&&k.document.nodeType!==11)return Z}catch(j){U(G,!0)}return be(G,v,null,[k]).length>0},be.contains=function(k,G){return(k.ownerDocument||k)!=v&&S(k),N(k,G)},be.attr=function(k,G){(k.ownerDocument||k)!=v&&S(k);var Z=c.attrHandle[G.toLowerCase()],j=Z&&z.call(c.attrHandle,G.toLowerCase())?Z(k,G,!w):void 0;return j!==void 0?j:l.attributes||!w?k.getAttribute(G):(j=k.getAttributeNode(G))&&j.specified?j.value:null},be.escape=function(k){return(k+"").replace(_e,Ze)},be.error=function(k){throw new Error("Syntax error, unrecognized expression: "+k)},be.uniqueSort=function(k){var G,Z=[],j=0,H=0;if(d=!l.detectDuplicates,f=!l.sortStable&&k.slice(0),k.sort(W),d){for(;G=k[H++];)G===k[H]&&(j=Z.push(H));for(;j--;)k.splice(Z[j],1)}return f=null,k},p=be.getText=function(k){var G,Z="",j=0,H=k.nodeType;if(H){if(H===1||H===9||H===11){if(typeof k.textContent=="string")return k.textContent;for(k=k.firstChild;k;k=k.nextSibling)Z+=p(k)}else if(H===3||H===4)return k.nodeValue}else for(;G=k[j++];)Z+=p(G);return Z},c=be.selectors={cacheLength:50,createPseudo:Qe,match:He,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(k){return k[1]=k[1].replace(ve,me),k[3]=(k[3]||k[4]||k[5]||"").replace(ve,me),k[2]==="~="&&(k[3]=" "+k[3]+" "),k.slice(0,4)},CHILD:function(k){return k[1]=k[1].toLowerCase(),k[1].slice(0,3)==="nth"?(k[3]||be.error(k[0]),k[4]=+(k[4]?k[5]+(k[6]||1):2*(k[3]==="even"||k[3]==="odd")),k[5]=+(k[7]+k[8]||k[3]==="odd")):k[3]&&be.error(k[0]),k},PSEUDO:function(k){var G,Z=!k[6]&&k[2];return He.CHILD.test(k[0])?null:(k[3]?k[2]=k[4]||k[5]||"":Z&&_t.test(Z)&&(G=u(Z,!0))&&(G=Z.indexOf(")",Z.length-G)-Z.length)&&(k[0]=k[0].slice(0,G),k[2]=Z.slice(0,G)),k.slice(0,3))}},filter:{TAG:function(k){var G=k.replace(ve,me).toLowerCase();return k==="*"?function(){return!0}:function(Z){return Z.nodeName&&Z.nodeName.toLowerCase()===G}},CLASS:function(k){var G=O[k+" "];return G||(G=new RegExp("(^|"+he+")"+k+"("+he+"|$)"))&&O(k,function(Z){return G.test(typeof Z.className=="string"&&Z.className||typeof Z.getAttribute!="undefined"&&Z.getAttribute("class")||"")})},ATTR:function(k,G,Z){return function(j){var H=be.attr(j,k);return H==null?G==="!=":G?(H+="",G==="="?H===Z:G==="!="?H!==Z:G==="^="?Z&&H.indexOf(Z)===0:G==="*="?Z&&H.indexOf(Z)>-1:G==="$="?Z&&H.slice(-Z.length)===Z:G==="~="?(" "+H.replace(gt," ")+" ").indexOf(Z)>-1:G==="|="?H===Z||H.slice(0,Z.length+1)===Z+"-":!1):!0}},CHILD:function(k,G,Z,j,H){var J=k.slice(0,3)!=="nth",ee=k.slice(-4)!=="last",ae=G==="of-type";return j===1&&H===0?function(fe){return!!fe.parentNode}:function(fe,ge,Ae){var we,Oe,Ye,ye,ke,yt,Tt=J!==ee?"nextSibling":"previousSibling",st=fe.parentNode,jt=ae&&fe.nodeName.toLowerCase(),Br=!Ae&&!ae,At=!1;if(st){if(J){for(;Tt;){for(ye=fe;ye=ye[Tt];)if(ae?ye.nodeName.toLowerCase()===jt:ye.nodeType===1)return!1;yt=Tt=k==="only"&&!yt&&"nextSibling"}return!0}if(yt=[ee?st.firstChild:st.lastChild],ee&&Br){for(ye=st,Ye=ye[T]||(ye[T]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),we=Oe[k]||[],ke=we[0]===R&&we[1],At=ke&&we[2],ye=ke&&st.childNodes[ke];ye=++ke&&ye&&ye[Tt]||(At=ke=0)||yt.pop();)if(ye.nodeType===1&&++At&&ye===fe){Oe[k]=[R,ke,At];break}}else if(Br&&(ye=fe,Ye=ye[T]||(ye[T]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),we=Oe[k]||[],ke=we[0]===R&&we[1],At=ke),At===!1)for(;(ye=++ke&&ye&&ye[Tt]||(At=ke=0)||yt.pop())&&!((ae?ye.nodeName.toLowerCase()===jt:ye.nodeType===1)&&++At&&(Br&&(Ye=ye[T]||(ye[T]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),Oe[k]=[R,At]),ye===fe)););return At-=H,At===j||At%j===0&&At/j>=0}}},PSEUDO:function(k,G){var Z,j=c.pseudos[k]||c.setFilters[k.toLowerCase()]||be.error("unsupported pseudo: "+k);return j[T]?j(G):j.length>1?(Z=[k,k,"",G],c.setFilters.hasOwnProperty(k.toLowerCase())?Qe(function(H,J){for(var ee,ae=j(H,G),fe=ae.length;fe--;)ee=le(H,ae[fe]),H[ee]=!(J[ee]=ae[fe])}):function(H){return j(H,0,Z)}):j}},pseudos:{not:Qe(function(k){var G=[],Z=[],j=g(k.replace(ft,"$1"));return j[T]?Qe(function(H,J,ee,ae){for(var fe,ge=j(H,null,ae,[]),Ae=H.length;Ae--;)(fe=ge[Ae])&&(H[Ae]=!(J[Ae]=fe))}):function(H,J,ee){return G[0]=H,j(G,null,ee,Z),G[0]=null,!Z.pop()}}),has:Qe(function(k){return function(G){return be(k,G).length>0}}),contains:Qe(function(k){return k=k.replace(ve,me),function(G){return(G.textContent||p(G)).indexOf(k)>-1}}),lang:Qe(function(k){return $e.test(k||"")||be.error("unsupported lang: "+k),k=k.replace(ve,me).toLowerCase(),function(G){var Z;do if(Z=w?G.lang:G.getAttribute("xml:lang")||G.getAttribute("lang"))return Z=Z.toLowerCase(),Z===k||Z.indexOf(k+"-")===0;while((G=G.parentNode)&&G.nodeType===1);return!1}}),target:function(k){var G=i.location&&i.location.hash;return G&&G.slice(1)===k.id},root:function(k){return k===E},focus:function(k){return k===v.activeElement&&(!v.hasFocus||v.hasFocus())&&!!(k.type||k.href||~k.tabIndex)},enabled:nr(!1),disabled:nr(!0),checked:function(k){var G=k.nodeName.toLowerCase();return G==="input"&&!!k.checked||G==="option"&&!!k.selected},selected:function(k){return k.parentNode&&k.parentNode.selectedIndex,k.selected===!0},empty:function(k){for(k=k.firstChild;k;k=k.nextSibling)if(k.nodeType<6)return!1;return!0},parent:function(k){return!c.pseudos.empty(k)},header:function(k){return pe.test(k.nodeName)},input:function(k){return Fe.test(k.nodeName)},button:function(k){var G=k.nodeName.toLowerCase();return G==="input"&&k.type==="button"||G==="button"},text:function(k){var G;return k.nodeName.toLowerCase()==="input"&&k.type==="text"&&((G=k.getAttribute("type"))==null||G.toLowerCase()==="text")},first:Ht(function(){return[0]}),last:Ht(function(k,G){return[G-1]}),eq:Ht(function(k,G,Z){return[Z<0?Z+G:Z]}),even:Ht(function(k,G){for(var Z=0;ZG?G:Z;--j>=0;)k.push(j);return k}),gt:Ht(function(k,G,Z){for(var j=Z<0?Z+G:Z;++j1?function(G,Z,j){for(var H=k.length;H--;)if(!k[H](G,Z,j))return!1;return!0}:k[0]}function Fr(k,G,Z){for(var j=0,H=G.length;j-1&&(ee[Ae]=!(ae[Ae]=Oe))}}else st=pr(st===ae?st.splice(ke,st.length):st),H?H(null,ae,st,ge):re.apply(ae,st)})}function Nr(k){for(var G,Z,j,H=k.length,J=c.relative[k[0].type],ee=J||c.relative[" "],ae=J?1:0,fe=vt(function(we){return we===G},ee,!0),ge=vt(function(we){return le(G,we)>-1},ee,!0),Ae=[function(we,Oe,Ye){var ye=!J&&(Ye||Oe!==m)||((G=Oe).nodeType?fe(we,Oe,Ye):ge(we,Oe,Ye));return G=null,ye}];ae1&&wr(Ae),ae>1&&hr(k.slice(0,ae-1).concat({value:k[ae-2].type===" "?"*":""})).replace(ft,"$1"),Z,ae0,j=k.length>0,H=function(J,ee,ae,fe,ge){var Ae,we,Oe,Ye=0,ye="0",ke=J&&[],yt=[],Tt=m,st=J||j&&c.find.TAG("*",ge),jt=R+=Tt==null?1:Math.random()||.1,Br=st.length;for(ge&&(m=ee==v||ee||ge);ye!==Br&&(Ae=st[ye])!=null;ye++){if(j&&Ae){for(we=0,!ee&&Ae.ownerDocument!=v&&(S(Ae),ae=!w);Oe=k[we++];)if(Oe(Ae,ee||v,ae)){fe.push(Ae);break}ge&&(R=jt)}Z&&((Ae=!Oe&&Ae)&&Ye--,J&&ke.push(Ae))}if(Ye+=ye,Z&&ye!==Ye){for(we=0;Oe=G[we++];)Oe(ke,yt,ee,ae);if(J){if(Ye>0)for(;ye--;)ke[ye]||yt[ye]||(yt[ye]=V.call(fe));yt=pr(yt)}re.apply(fe,yt),ge&&!J&&yt.length>0&&Ye+G.length>1&&be.uniqueSort(fe)}return ge&&(R=jt,m=Tt),ke};return Z?Qe(H):H}g=be.compile=function(k,G){var Z,j=[],H=[],J=F[k+" "];if(!J){for(G||(G=u(k)),Z=G.length;Z--;)J=Nr(G[Z]),J[T]?j.push(J):H.push(J);J=F(k,ai(H,j)),J.selector=k}return J},n=be.select=function(k,G,Z,j){var H,J,ee,ae,fe,ge=typeof k=="function"&&k,Ae=!j&&u(k=ge.selector||k);if(Z=Z||[],Ae.length===1){if(J=Ae[0]=Ae[0].slice(0),J.length>2&&(ee=J[0]).type==="ID"&&G.nodeType===9&&w&&c.relative[J[1].type]){if(G=(c.find.ID(ee.matches[0].replace(ve,me),G)||[])[0],G)ge&&(G=G.parentNode);else return Z;k=k.slice(J.shift().value.length)}for(H=He.needsContext.test(k)?0:J.length;H--&&(ee=J[H],!c.relative[ae=ee.type]);)if((fe=c.find[ae])&&(j=fe(ee.matches[0].replace(ve,me),se.test(J[0].type)&&dr(G.parentNode)||G))){if(J.splice(H,1),k=j.length&&hr(J),!k)return re.apply(Z,j),Z;break}}return(ge||g(k,Ae))(j,G,!w,Z,!G||se.test(k)&&dr(G.parentNode)||G),Z},l.sortStable=T.split("").sort(W).join("")===T,l.detectDuplicates=!!d,S(),l.sortDetached=Je(function(k){return k.compareDocumentPosition(v.createElement("fieldset"))&1}),Je(function(k){return k.innerHTML="",k.firstChild.getAttribute("href")==="#"})||Ut("type|href|height|width",function(k,G,Z){if(!Z)return k.getAttribute(G,G.toLowerCase()==="type"?1:2)}),(!l.attributes||!Je(function(k){return k.innerHTML="",k.firstChild.setAttribute("value",""),k.firstChild.getAttribute("value")===""}))&&Ut("value",function(k,G,Z){if(!Z&&k.nodeName.toLowerCase()==="input")return k.defaultValue}),Je(function(k){return k.getAttribute("disabled")==null})||Ut(te,function(k,G,Z){var j;if(!Z)return k[G]===!0?G.toLowerCase():(j=k.getAttributeNode(G))&&j.specified?j.value:null});var Vr=i.Sizzle;be.noConflict=function(){return i.Sizzle===be&&(i.Sizzle=Vr),be},h=function(){return be}.call(y,o,y,P),h!==void 0&&(P.exports=h)})(window)},5547:(P,y,o)=>{var h,i;h=[o(264),o(5422),o(4995),o(3153),o(2954),o(6880),o(4330),o(7116),o(5535),o(1188),o(1210),o(8433)],i=function(r,l,c,p,s,u,g){"use strict";var n=/%20/g,m=/#.*$/,f=/([?&])_=[^&]*/,d=/^(.*?):[ \t]*([^\r\n]*)$/mg,S=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,v=/^(?:GET|HEAD)$/,E=/^\/\//,w={},A={},D="*/".concat("*"),b=l.createElement("a");b.href=s.href;function N(O){return function($,F){typeof $!="string"&&(F=$,$="*");var U,W=0,z=$.toLowerCase().match(p)||[];if(c(F))for(;U=z[W++];)U[0]==="+"?(U=U.slice(1)||"*",(O[U]=O[U]||[]).unshift(F)):(O[U]=O[U]||[]).push(F)}}function T(O,$,F,U){var W={},z=O===A;function B(V){var Y;return W[V]=!0,r.each(O[V]||[],function(re,ne){var le=ne($,F,U);if(typeof le=="string"&&!z&&!W[le])return $.dataTypes.unshift(le),B(le),!1;if(z)return!(Y=le)}),Y}return B($.dataTypes[0])||!W["*"]&&B("*")}function I(O,$){var F,U,W=r.ajaxSettings.flatOptions||{};for(F in $)$[F]!==void 0&&((W[F]?O:U||(U={}))[F]=$[F]);return U&&r.extend(!0,O,U),O}function R(O,$,F){for(var U,W,z,B,V=O.contents,Y=O.dataTypes;Y[0]==="*";)Y.shift(),U===void 0&&(U=O.mimeType||$.getResponseHeader("Content-Type"));if(U){for(W in V)if(V[W]&&V[W].test(U)){Y.unshift(W);break}}if(Y[0]in F)z=Y[0];else{for(W in F){if(!Y[0]||O.converters[W+" "+Y[0]]){z=W;break}B||(B=W)}z=z||B}if(z)return z!==Y[0]&&Y.unshift(z),F[z]}function x(O,$,F,U){var W,z,B,V,Y,re={},ne=O.dataTypes.slice();if(ne[1])for(B in O.converters)re[B.toLowerCase()]=O.converters[B];for(z=ne.shift();z;)if(O.responseFields[z]&&(F[O.responseFields[z]]=$),!Y&&U&&O.dataFilter&&($=O.dataFilter($,O.dataType)),Y=z,z=ne.shift(),z){if(z==="*")z=Y;else if(Y!=="*"&&Y!==z){if(B=re[Y+" "+z]||re["* "+z],!B){for(W in re)if(V=W.split(" "),V[1]===z&&(B=re[Y+" "+V[0]]||re["* "+V[0]],B)){B===!0?B=re[W]:re[W]!==!0&&(z=V[0],ne.unshift(V[1]));break}}if(B!==!0)if(B&&O.throws)$=B($);else try{$=B($)}catch(le){return{state:"parsererror",error:B?le:"No conversion from "+Y+" to "+z}}}}return{state:"success",data:$}}return r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:s.href,type:"GET",isLocal:S.test(s.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":D,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(O,$){return $?I(I(O,r.ajaxSettings),$):I(r.ajaxSettings,O)},ajaxPrefilter:N(w),ajaxTransport:N(A),ajax:function(O,$){typeof O=="object"&&($=O,O=void 0),$=$||{};var F,U,W,z,B,V,Y,re,ne,le,te=r.ajaxSetup({},$),he=te.context||te,Ee=te.context&&(he.nodeType||he.jquery)?r(he):r.event,Le=r.Deferred(),nt=r.Callbacks("once memory"),gt=te.statusCode||{},ft={},mt={},Nt="canceled",Ce={readyState:0,getResponseHeader:function($e){var He;if(Y){if(!z)for(z={};He=d.exec(W);)z[He[1].toLowerCase()+" "]=(z[He[1].toLowerCase()+" "]||[]).concat(He[2]);He=z[$e.toLowerCase()+" "]}return He==null?null:He.join(", ")},getAllResponseHeaders:function(){return Y?W:null},setRequestHeader:function($e,He){return Y==null&&($e=mt[$e.toLowerCase()]=mt[$e.toLowerCase()]||$e,ft[$e]=He),this},overrideMimeType:function($e){return Y==null&&(te.mimeType=$e),this},statusCode:function($e){var He;if($e)if(Y)Ce.always($e[Ce.status]);else for(He in $e)gt[He]=[gt[He],$e[He]];return this},abort:function($e){var He=$e||Nt;return F&&F.abort(He),_t(0,He),this}};if(Le.promise(Ce),te.url=((O||te.url||s.href)+"").replace(E,s.protocol+"//"),te.type=$.method||$.type||te.method||te.type,te.dataTypes=(te.dataType||"*").toLowerCase().match(p)||[""],te.crossDomain==null){V=l.createElement("a");try{V.href=te.url,V.href=V.href,te.crossDomain=b.protocol+"//"+b.host!=V.protocol+"//"+V.host}catch($e){te.crossDomain=!0}}if(te.data&&te.processData&&typeof te.data!="string"&&(te.data=r.param(te.data,te.traditional)),T(w,te,$,Ce),Y)return Ce;re=r.event&&te.global,re&&r.active++===0&&r.event.trigger("ajaxStart"),te.type=te.type.toUpperCase(),te.hasContent=!v.test(te.type),U=te.url.replace(m,""),te.hasContent?te.data&&te.processData&&(te.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(te.data=te.data.replace(n,"+")):(le=te.url.slice(U.length),te.data&&(te.processData||typeof te.data=="string")&&(U+=(g.test(U)?"&":"?")+te.data,delete te.data),te.cache===!1&&(U=U.replace(f,"$1"),le=(g.test(U)?"&":"?")+"_="+u.guid+++le),te.url=U+le),te.ifModified&&(r.lastModified[U]&&Ce.setRequestHeader("If-Modified-Since",r.lastModified[U]),r.etag[U]&&Ce.setRequestHeader("If-None-Match",r.etag[U])),(te.data&&te.hasContent&&te.contentType!==!1||$.contentType)&&Ce.setRequestHeader("Content-Type",te.contentType),Ce.setRequestHeader("Accept",te.dataTypes[0]&&te.accepts[te.dataTypes[0]]?te.accepts[te.dataTypes[0]]+(te.dataTypes[0]!=="*"?", "+D+"; q=0.01":""):te.accepts["*"]);for(ne in te.headers)Ce.setRequestHeader(ne,te.headers[ne]);if(te.beforeSend&&(te.beforeSend.call(he,Ce,te)===!1||Y))return Ce.abort();if(Nt="abort",nt.add(te.complete),Ce.done(te.success),Ce.fail(te.error),F=T(A,te,$,Ce),!F)_t(-1,"No Transport");else{if(Ce.readyState=1,re&&Ee.trigger("ajaxSend",[Ce,te]),Y)return Ce;te.async&&te.timeout>0&&(B=window.setTimeout(function(){Ce.abort("timeout")},te.timeout));try{Y=!1,F.send(ft,_t)}catch($e){if(Y)throw $e;_t(-1,$e)}}function _t($e,He,Wt,Fe){var pe,De,Te,se,ve,me=He;Y||(Y=!0,B&&window.clearTimeout(B),F=void 0,W=Fe||"",Ce.readyState=$e>0?4:0,pe=$e>=200&&$e<300||$e===304,Wt&&(se=R(te,Ce,Wt)),!pe&&r.inArray("script",te.dataTypes)>-1&&r.inArray("json",te.dataTypes)<0&&(te.converters["text script"]=function(){}),se=x(te,se,Ce,pe),pe?(te.ifModified&&(ve=Ce.getResponseHeader("Last-Modified"),ve&&(r.lastModified[U]=ve),ve=Ce.getResponseHeader("etag"),ve&&(r.etag[U]=ve)),$e===204||te.type==="HEAD"?me="nocontent":$e===304?me="notmodified":(me=se.state,De=se.data,Te=se.error,pe=!Te)):(Te=me,($e||!me)&&(me="error",$e<0&&($e=0))),Ce.status=$e,Ce.statusText=(He||me)+"",pe?Le.resolveWith(he,[De,me,Ce]):Le.rejectWith(he,[Ce,me,Te]),Ce.statusCode(gt),gt=void 0,re&&Ee.trigger(pe?"ajaxSuccess":"ajaxError",[Ce,te,pe?De:Te]),nt.fireWith(he,[Ce,me]),re&&(Ee.trigger("ajaxComplete",[Ce,te]),--r.active||r.event.trigger("ajaxStop")))}return Ce},getJSON:function(O,$,F){return r.get(O,$,F,"json")},getScript:function(O,$){return r.get(O,void 0,$,"script")}}),r.each(["get","post"],function(O,$){r[$]=function(F,U,W,z){return c(U)&&(z=z||W,W=U,U=void 0),r.ajax(r.extend({url:F,type:$,dataType:z,data:U,success:W},r.isPlainObject(F)&&F))}}),r.ajaxPrefilter(function(O){var $;for($ in O.headers)$.toLowerCase()==="content-type"&&(O.contentType=O.headers[$]||"")}),r}.apply(y,h),i!==void 0&&(P.exports=i)},3004:(P,y,o)=>{var h,i;h=[o(264),o(4995),o(6880),o(4330),o(5547)],i=function(r,l,c,p){"use strict";var s=[],u=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var g=s.pop()||r.expando+"_"+c.guid++;return this[g]=!0,g}}),r.ajaxPrefilter("json jsonp",function(g,n,m){var f,d,S,v=g.jsonp!==!1&&(u.test(g.url)?"url":typeof g.data=="string"&&(g.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&u.test(g.data)&&"data");if(v||g.dataTypes[0]==="jsonp")return f=g.jsonpCallback=l(g.jsonpCallback)?g.jsonpCallback():g.jsonpCallback,v?g[v]=g[v].replace(u,"$1"+f):g.jsonp!==!1&&(g.url+=(p.test(g.url)?"&":"?")+g.jsonp+"="+f),g.converters["script json"]=function(){return S||r.error(f+" was not called"),S[0]},g.dataTypes[0]="json",d=window[f],window[f]=function(){S=arguments},m.always(function(){d===void 0?r(window).removeProp(f):window[f]=d,g[f]&&(g.jsonpCallback=n.jsonpCallback,s.push(f)),S&&l(d)&&d(S[0]),S=d=void 0}),"script"})}.apply(y,h),i!==void 0&&(P.exports=i)},2926:(P,y,o)=>{var h,i;h=[o(264),o(5242),o(4995),o(2023),o(5547),o(3599),o(9921),o(5704)],i=function(r,l,c){"use strict";r.fn.load=function(p,s,u){var g,n,m,f=this,d=p.indexOf(" ");return d>-1&&(g=l(p.slice(d)),p=p.slice(0,d)),c(s)?(u=s,s=void 0):s&&typeof s=="object"&&(n="POST"),f.length>0&&r.ajax({url:p,type:n||"GET",dataType:"html",data:s}).done(function(S){m=arguments,f.html(g?r("
").append(r.parseHTML(S)).find(g):S)}).always(u&&function(S,v){f.each(function(){u.apply(this,m||[S.responseText,v,S])})}),this}}.apply(y,h),i!==void 0&&(P.exports=i)},2377:(P,y,o)=>{var h,i;h=[o(264),o(5422),o(5547)],i=function(r,l){"use strict";r.ajaxPrefilter(function(c){c.crossDomain&&(c.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(c){return r.globalEval(c),c}}}),r.ajaxPrefilter("script",function(c){c.cache===void 0&&(c.cache=!1),c.crossDomain&&(c.type="GET")}),r.ajaxTransport("script",function(c){if(c.crossDomain||c.scriptAttrs){var p,s;return{send:function(u,g){p=r("