fix: [用户前端]修复ipad会被识别为mac的问题
This commit is contained in:
1 parent
d32163d3fe
commit
26d2bf78d5
3 files changed
+2
-2
No files matched your search
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.v2board-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.v2board-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.v2board-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.v2board-plan-features>li>b{color:#2a2e36;font-weight:500}.v2board-plan-content{padding-top:20px;padding-left:20px}.v2board-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.v2board-email-whitelist-enable{display:flex}.v2board-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.v2board-email-whitelist-enable select{flex:1 1;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-position:right 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M3.862 7.931L0 4.069h7.725z'/%3E%3C/svg%3E");padding-right:1.5em}.block.block-mode-loading:before{background:hsla(0,0%,100%,.7)}#server .ant-drawer-content-wrapper{max-width:500px}.v2board-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v2board-lang-item{padding:10px 20px}.v2board-lang-item:hover{background:#eee}.v2board-auth-lang-btn{position:absolute;right:0;top:0}.v2board-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.v2board-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.v2board-auth-box{position:fixed;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;overflow-y:auto}.content-header{height:3.25rem}#page-container.page-header-fixed #main-container{padding-top:3.25rem}.v2board-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.v2board-container-title{flex:1 1;color:#fff}.v2board-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.v2board-order-info>div>span:first-child{flex:1 1;opacity:.5}.v2board-order-info>div>span:last-child{flex:2 1;font-family:menlo}.v2board-bg-pixels{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}#page-container{min-height:100%}#page-container .content,#main-container{background-color:#f0f3f8!important}a:not([href]):hover{color:unset}.v2board-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.v2board-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.v2board-shortcuts-item>.description{font-size:12px;opacity:.5}
Line truncated
|
||||
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.v2board-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.v2board-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.v2board-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.v2board-plan-features>li>b{color:#2a2e36;font-weight:500}.v2board-plan-content{padding-top:20px;padding-left:20px}.v2board-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.v2board-email-whitelist-enable{display:flex}.v2board-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.v2board-email-whitelist-enable select{flex:1 1;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-position:right 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M3.862 7.931L0 4.069h7.725z'/%3E%3C/svg%3E");padding-right:1.5em}.block.block-mode-loading:before{background:hsla(0,0%,100%,.7)}#server .ant-drawer-content-wrapper{max-width:500px}.v2board-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v2board-lang-item{padding:10px 20px}.v2board-lang-item:hover{background:#eee}.v2board-auth-lang-btn{position:absolute;right:0;top:0}.v2board-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.v2board-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.v2board-auth-box{position:fixed;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;overflow-y:auto}.content-header{height:3.25rem}#page-container.page-header-fixed #main-container{padding-top:3.25rem}.v2board-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.v2board-container-title{flex:1 1;color:#fff}.v2board-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.v2board-order-info>div>span:first-child{flex:1 1;opacity:.5}.v2board-order-info>div>span:last-child{flex:2 1;font-family:menlo}.v2board-bg-pixels{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}#page-container{min-height:100%}#page-container .content,#main-container{background-color:#f0f3f8!important}a:not([href]):hover{color:unset}.v2board-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.v2board-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.v2board-shortcuts-item>.description{font-size:12px;opacity:.5}
Line truncated
|
||||
var kk=Object.defineProperty;var Tk=(e,t,n)=>t in e?kk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Pk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ju=(e,t,n)=>(Tk(e,typeof t!="symbol"?t+"":t,n),n);var E7e=Pk((qn,Kn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function wh(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Yt={},ea=[],vo=()=>{},Rk=()=>!1,Ek=/^on[^a-z]/,Ic=e=>Ek.test(e),_h=e=>e.startsWith("onUpdate:"),dn=Object.assign,Sh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$k=Object.prototype.hasOwnProperty,zt=(e,t)=>$k.call(e,t),dt=Array.isArray,ta=e=>zc(e)==="[object Map]",B1=e=>zc(e)==="[object Set]",vt=e=>typeof e=="function",ln=e=>typeof e=="string",Mc=e=>typeof e=="symbol",qt=e=>e!==null&&typeof e=="object",H1=e=>(qt(e)||vt(e))&&vt(e.then)&&vt(e.catch),j1=Object.prototype.toString,zc=e=>j1.call(e),Ak=e=>zc(e).slice(8,-1),U1=e=>zc(e)==="[object Object]",kh=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gl=wh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Oc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ik=/-(\w)/g,Lo=Oc(e=>e.replace(Ik,(t,n)=>n?n.toUpperCase():"")),Mk=/\B([A-Z])/g,_i=Oc(e=>e.replace(Mk,"-$1").toLowerCase()),Dc=Oc(e=>e.charAt(0).toUpperCase()+e.slice(1)),ed=Oc(e=>e?`on${Dc(e)}`:""),pi=(e,t)=>!Object.is(e,t),Yl=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},sc=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},af=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zk=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let Am;const sf=()=>Am||(Am=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fo(e){if(dt(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=ln(o)?Fk(o):Fo(o);if(r)for(const i in r)t[i]=r[i]}return t}else if(ln(e)||qt(e))return e}const Ok=/;(?![^(]*\))/g,Dk=/:([^]+)/,Lk=/\/\*[^]*?\*\//g;function Fk(e){const t={};return e.replace(Lk,"").split(Ok).forEach(n=>{if(n){const o=n.split(Dk);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function tr(e){let t="";if(ln(e))t=e;else if(dt(e))for(let n=0;n<e.length;n++){const o=tr(e[n]);o&&(t+=o+" ")}else if(qt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Nk="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bk=wh(Nk);function V1(e){return!!e||e===""}const ce=e=>ln(e)?e:e==null?"":dt(e)||qt(e)&&(e.toString===j1||!vt(e.toString))?JSON.stringify(e,W1,2):String(e),W1=(e,t)=>t&&t.__v_isRef?W1(e,t.value):ta(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:B1(t)?{[`Set(${t.size})`]:[...t.values()]}:qt(t)&&!dt(t)&&!U1(t)?String(t):t;let Vn;class q1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Vn,!t&&Vn&&(this.index=(Vn.scopes||(Vn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Vn;try{return Vn=this,t()}finally{Vn=n}}}on(){Vn=this}off(){Vn=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Th(e){return new q1(e)}function Hk(e,t=Vn){t&&t.active&&t.effects.push(e)}function Ph(){return Vn}function K1(e){Vn&&Vn.cleanups.push(e)}const Rh=e=>{const t=new Set(e);return t.w=0,t.n=0,t},G1=e=>(e.w&Ar)>0,Y1=e=>(e.n&Ar)>0,jk=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ar},Uk=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];G1(r)&&!Y1(r)?r.delete(e):t[n++]=r,r.w&=~Ar,r.n&=~Ar}t.length=n}},lc=new WeakMap;let ns=0,Ar=1;const lf=30;let mo;const li=Symbol(""),cf=Symbol("");class Eh{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Hk(this,o)}run(){if(!this.active)return this.fn();let t=mo,n=Rr;for(;t;){if(t===this)return;t=t.parent}try{return this.parLine truncated
|
||||
* vue-router v4.2.5
|
||||
* (c) 2023 Eduardo San Martin Morote
|
||||
@@ -3811,4 +3811,4 @@ ${t}
|
||||
`:">",i)};ja.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a<s;a++)o=e[a].type,typeof i[o]<"u"?r+=i[o](e,a,t,n,this):r+=this.renderToken(e,a,t);return r};ja.prototype.renderInlineAsText=function(e,t,n){for(var o="",r=0,i=e.length;r<i;r++)e[r].type==="text"?o+=e[r].content:e[r].type==="image"?o+=this.renderInlineAsText(e[r].children,t,n):e[r].type==="softbreak"&&(o+=`
|
||||
`);return o};ja.prototype.render=function(e,t,n){var o,r,i,a="",s=this.rules;for(o=0,r=e.length;o<r;o++)i=e[o].type,i==="inline"?a+=this.renderInline(e[o].children,t,n):typeof s[i]<"u"?a+=s[i](e,o,t,n,this):a+=this.renderToken(e,o,t,n);return a};var i8e=ja;function ko(){this.__rules__=[],this.__cache__=null}ko.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};ko.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(o){t.indexOf(o)<0&&t.push(o)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(o){o.enabled&&(n&&o.alt.indexOf(n)<0||e.__cache__[n].push(o.fn))})})};ko.prototype.at=function(e,t,n){var o=this.__find__(e),r=n||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__[o].fn=t,this.__rules__[o].alt=r.alt||[],this.__cache__=null};ko.prototype.before=function(e,t,n,o){var r=this.__find__(e),i=o||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};ko.prototype.after=function(e,t,n,o){var r=this.__find__(e),i=o||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};ko.prototype.push=function(e,t,n){var o=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null};ko.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(o){var r=this.__find__(o);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!0,n.push(o)},this),this.__cache__=null,n};ko.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};ko.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(o){var r=this.__find__(o);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!1,n.push(o)},this),this.__cache__=null,n};ko.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};var Cm=ko,a8e=/\r\n?|\n/g,s8e=/\0/g,l8e=function(t){var n;n=t.src.replace(a8e,`
|
||||
`),n=n.replace(s8e,"�"),t.src=n},c8e=function(t){var n;t.inlineMode?(n=new t.Token("inline","",0),n.content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)},u8e=function(t){var n=t.tokens,o,r,i;for(r=0,i=n.length;r<i;r++)o=n[r],o.type==="inline"&&t.md.inline.parse(o.content,t.md,t.env,o.children)},d8e=Dt.arrayReplaceAt;function f8e(e){return/^<a[>\s]/i.test(e)}function h8e(e){return/^<\/a\s*>/i.test(e)}var p8e=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,g,x=t.tokens,S;if(t.md.options.linkify){for(o=0,r=x.length;o<r;o++)if(!(x[o].type!=="inline"||!t.md.linkify.pretest(x[o].content)))for(i=x[o].children,h=0,n=i.length-1;n>=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(f8e(s.content)&&h>0&&h--,h8e(s.content)&&h++),!(h>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,S=t.md.linkify.match(u),l=[],p=s.level,f=0,S.length>0&&S[0].index===0&&n>0&&i[n-1].type==="text_special"&&(S=S.slice(1)),c=0;c<S.length;c++)m=S[c].url,v=t.md.normalizeLink(m),t.md.validateLink(v)&&(g=S[c].text,S[c].schema?S[c].schema==="mailto:"&&!/^mailto:/i.test(g)?g=t.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):g=t.md.normalizeLinkText(g):g=t.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),d=S[c].index,d>f&&(a=new t.Token("text","",0),a.content=u.slice(f,d),a.level=p,l.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",v]],a.level=p++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=g,a.level=p,l.push(a),a=new t.Token("link_close","a",-1),a.level=--p,a.markup="linkify",a.info="auto",l.push(a),f=S[c].lastIndex);f<u.length&&(a=new t.Token("text","",0),a.content=u.slice(f),a.level=p,l.push(a)),x[o].children=i=d8e(i,n,l)}}}},RS=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,m8e=/\((c|tm|r)\)/i,g8e=/\((c|tm|r)\)/ig,v8e={c:"©",r:"®",tm:"™"};function b8e(e,t){return v8e[t.toLowerCase()]}function y8e(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(g8e,b8e)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function x8e(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&RS.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}var C8e=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(m8e.test(t.tokens[n].content)&&y8e(t.tokens[n].children),RS.test(t.tokens[n].content)&&x8e(t.tokens[n].children))},c1=Dt.isWhiteSpace,u1=Dt.isPunctChar,d1=Dt.isMdAsciiPunct,w8e=/['"]/,f1=/['"]/g,h1="’";function Wl(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function _8e(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,g,x,S,w,_,y;for(w=[],n=0;n<e.length;n++){for(o=e[n],l=e[n].level,x=w.length-1;x>=0&&!(w[x].level<=l);x--);if(w.length=x+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a<s&&(f1.lastIndex=a,i=f1.exec(r),!!i);){if(v=g=!0,a=i.index+1,S=i[0]==="'",u=32,i.index-1>=0)u=r.charCodeAt(i.index-1);else for(x=n-1;x>=0&&!(e[x].type==="softbreak"||e[x].type==="hardbreak");x--)if(e[x].content){u=e[x].content.charCodeAt(e[x].content.length-1);break}if(d=32,a<s)d=r.charCodeAt(a);else for(x=n+1;x<e.length&&!(e[x].type==="softbreak"||e[x].type==="hardbreak");x++)if(e[x].content){d=e[x].content.charCodeAt(0);break}if(f=d1(u)||u1(String.fromCharCode(u)),p=d1(d)||u1(String.fromCharCode(d)),h=c1(u),m=c1(d),m?v=!1:p&&(h||f||(v=!1)),h?g=!1:f&&(m||p||(g=!1)),d===34&&i[0]==='"'&&u>=48&&u<=57&&(g=v=!1),v&&g&&(v=f,g=p),!v&&!g){S&&(o.content=Wl(o.content,i.index,h1));continue}if(g){for(x=w.length-1;x>=0&&(c=w[x],!(w[x].level<l));x--)if(c.single===S&&w[x].level===l){c=w[x],S?(_=t.md.options.quotes[2],y=t.md.options.quotes[3]):(_=t.md.options.quotes[0],y=t.md.options.quotes[1]),o.content=Wl(o.content,i.index,y),e[c.token].content=Wl(e[c.token].content,c.pos,_),a+=y.length-1,c.token===n&&(a+=_.length-1),r=o.content,s=r.length,w.length=x;continue e}}v?w.push({token:n,pos:i.index,single:S,level:l}):g&&S&&(o.content=Wl(o.content,i.index,h1))}}}}var S8e=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type!=="inline"||!w8e.test(t.tokens[n].content)||_8e(t.tokens[n].children,t)},k8e=function(t){var n,o,r,i,a,s,l=t.tokens;for(n=0,o=l.length;n<o;n++)if(l[n].type==="inline"){for(r=l[n].children,a=r.length,i=0;i<a;i++)r[i].type==="text_special"&&(r[i].type="text");for(i=s=0;i<a;i++)r[i].type==="text"&&i+1<a&&r[i+1].type==="text"?r[i+1].content=r[i].content+r[i+1].content:(i!==s&&(r[s]=r[i]),s++);i!==s&&(r.length=s)}};function Ua(e,t,n){this.type=e,this.tag=t,this.attrs=null,this
Line truncated
|
||||
`,a.map=[n,t.line],!0},I8e=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,p=t.bMarks[n]+t.tShift[n],h=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||p+3>h||(i=t.src.charCodeAt(p),i!==126&&i!==96)||(c=p,p=t.skipChars(p,i),a=p-c,a<3)||(d=t.src.slice(c,p),s=t.src.slice(p,h),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(p=c=t.bMarks[l]+t.tShift[l],h=t.eMarks[l],p<h&&t.sCount[l]<t.blkIndent));)if(t.src.charCodeAt(p)===i&&!(t.sCount[l]-t.blkIndent>=4)&&(p=t.skipChars(p,i),!(p-c<a)&&(p=t.skipSpaces(p),!(p<h)))){f=!0;break}return a=t.sCount[n],t.line=l+(f?1:0),u=t.push("fence","code",0),u.info=s,u.content=t.getLines(n+1,l,a,!0),u.markup=d,u.map=[n,t.line],!0},M8e=Dt.isSpace,z8e=function(t,n,o,r){var i,a,s,l,c,u,d,f,p,h,m,v,g,x,S,w,_,y,C,T,R=t.lineMax,k=t.bMarks[n]+t.tShift[n],A=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||t.src.charCodeAt(k)!==62)return!1;if(r)return!0;for(h=[],m=[],x=[],S=[],y=t.md.block.ruler.getRules("blockquote"),g=t.parentType,t.parentType="blockquote",f=n;f<o&&(T=t.sCount[f]<t.blkIndent,k=t.bMarks[f]+t.tShift[f],A=t.eMarks[f],!(k>=A));f++){if(t.src.charCodeAt(k++)===62&&!T){for(l=t.sCount[f]+1,t.src.charCodeAt(k)===32?(k++,l++,i=!1,w=!0):t.src.charCodeAt(k)===9?(w=!0,(t.bsCount[f]+l)%4===3?(k++,l++,i=!1):i=!0):w=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=k;k<A&&(a=t.src.charCodeAt(k),M8e(a));){a===9?p+=4-(p+t.bsCount[f]+(i?1:0))%4:p++;k++}u=k>=A,m.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(w?1:0),x.push(t.sCount[f]),t.sCount[f]=p-l,S.push(t.tShift[f]),t.tShift[f]=k-t.bMarks[f];continue}if(u)break;for(_=!1,s=0,c=y.length;s<c;s++)if(y[s](t,f,o,!0)){_=!0;break}if(_){t.lineMax=f,t.blkIndent!==0&&(h.push(t.bMarks[f]),m.push(t.bsCount[f]),S.push(t.tShift[f]),x.push(t.sCount[f]),t.sCount[f]-=t.blkIndent);break}h.push(t.bMarks[f]),m.push(t.bsCount[f]),S.push(t.tShift[f]),x.push(t.sCount[f]),t.sCount[f]=-1}for(v=t.blkIndent,t.blkIndent=0,C=t.push("blockquote_open","blockquote",1),C.markup=">",C.map=d=[n,0],t.md.block.tokenize(t,n,f),C=t.push("blockquote_close","blockquote",-1),C.markup=">",t.lineMax=R,t.parentType=g,d[1]=t.line,s=0;s<S.length;s++)t.bMarks[s+n]=h[s],t.tShift[s+n]=S[s],t.sCount[s+n]=x[s],t.bsCount[s+n]=m[s];return t.blkIndent=v,!0},O8e=Dt.isSpace,D8e=function(t,n,o,r){var i,a,s,l,c=t.bMarks[n]+t.tShift[n],u=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c<u;){if(s=t.src.charCodeAt(c++),s!==i&&!O8e(s))return!1;s===i&&a++}return a<3?!1:(r||(t.line=n+1,l=t.push("hr","hr",0),l.map=[n,t.line],l.markup=Array(a+1).join(String.fromCharCode(i))),!0)},$S=Dt.isSpace;function m1(e,t){var n,o,r,i;return o=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],n=e.src.charCodeAt(o++),n!==42&&n!==45&&n!==43||o<r&&(i=e.src.charCodeAt(o),!$S(i))?-1:o}function g1(e,t){var n,o=e.bMarks[t]+e.tShift[t],r=o,i=e.eMarks[t];if(r+1>=i||(n=e.src.charCodeAt(r++),n<48||n>57))return-1;for(;;){if(r>=i)return-1;if(n=e.src.charCodeAt(r++),n>=48&&n<=57){if(r-o>=10)return-1;continue}if(n===41||n===46)break;return-1}return r<i&&(n=e.src.charCodeAt(r),!$S(n))?-1:r}function L8e(e,t){var n,o,r=e.level+2;for(n=t+2,o=e.tokens.length-2;n<o;n++)e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}var F8e=function(t,n,o,r){var i,a,s,l,c,u,d,f,p,h,m,v,g,x,S,w,_,y,C,T,R,k,A,I,W,B,O,$=n,U=!1,X=!0;if(t.sCount[$]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[$]-t.listIndent>=4&&t.sCount[$]<t.blkIndent)return!1;if(r&&t.parentType==="paragraph"&&t.sCount[$]>=t.blkIndent&&(U=!0),(k=g1(t,$))>=0){if(d=!0,I=t.bMarks[$]+t.tShift[$],g=Number(t.src.slice(I,k-1)),U&&g!==1)return!1}else if((k=m1(t,$))>=0)d=!1;else return!1;if(U&&t.skipSpaces(k)>=t.eMarks[$])return!1;if(r)return!0;for(v=t.src.charCodeAt(k-1),m=t.tokens.length,d?(O=t.push("ordered_list_open","ol",1),g!==1&&(O.attrs=[["start",g]])):O=t.push("bullet_list_open","ul",1),O.map=h=[$,0],O.markup=String.fromCharCode(v),A=!1,B=t.md.block.ruler.getRules("list"),_=t.parentType,t.parentType="list";$<o;){for(R=k,x=t.eMarks[$],u=S=t.sCount[$]+k-(t.bMarks[$]+t.tShift[$]);R<x;){if(i=t.src.charCodeAt(R),i===9)S+=4-(S+t.bsCount[$])%4;else if(i===32)S++;else break;R++}if(a=R,a>=x?c=1:c=S-u,c>4&&(c=1),l=u+c,O=t.push("list_item_open","li",1),O.markup=String.fromCharCode(v),O.map=f=[$,0],d&&(O.info=t.src.slice(I,k-1)),T=t.tight,C=t.tShift[$],y=t.sCount[$],w=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[$]=a-t.bMarks[$],t.sCount[$]=S,a>=x&&t.isEmpty($+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,$,o,!0),(!t.tight||A)&&(X=!1),A=t.line-$>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[$]=C,t.sCount[$]=y,t.tight=T,O=t.push("list_item_close","li",-1),O.markup=String.fromCharCode(v),$=t.line,f[1]=$,$>=o||t.sCount[$]<t.blkIndent||t.sCount[$]-t.blkIndent>=4)break;for(W=!1,s=0,p=B.length;s<p;s++)if(B[s](t,$,o,!0)){W=!0;break}if(W)break;if(d){if(k=g1(t,$),k<0)break;I=t.bMarks[$]+t.tShift[$]}else if(k=m1(t,$),k<0)break;if(v!
Line truncated
|
||||
`,a.map=[n,t.line],!0},I8e=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,p=t.bMarks[n]+t.tShift[n],h=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||p+3>h||(i=t.src.charCodeAt(p),i!==126&&i!==96)||(c=p,p=t.skipChars(p,i),a=p-c,a<3)||(d=t.src.slice(c,p),s=t.src.slice(p,h),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(p=c=t.bMarks[l]+t.tShift[l],h=t.eMarks[l],p<h&&t.sCount[l]<t.blkIndent));)if(t.src.charCodeAt(p)===i&&!(t.sCount[l]-t.blkIndent>=4)&&(p=t.skipChars(p,i),!(p-c<a)&&(p=t.skipSpaces(p),!(p<h)))){f=!0;break}return a=t.sCount[n],t.line=l+(f?1:0),u=t.push("fence","code",0),u.info=s,u.content=t.getLines(n+1,l,a,!0),u.markup=d,u.map=[n,t.line],!0},M8e=Dt.isSpace,z8e=function(t,n,o,r){var i,a,s,l,c,u,d,f,p,h,m,v,g,x,S,w,_,y,C,T,R=t.lineMax,k=t.bMarks[n]+t.tShift[n],A=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||t.src.charCodeAt(k)!==62)return!1;if(r)return!0;for(h=[],m=[],x=[],S=[],y=t.md.block.ruler.getRules("blockquote"),g=t.parentType,t.parentType="blockquote",f=n;f<o&&(T=t.sCount[f]<t.blkIndent,k=t.bMarks[f]+t.tShift[f],A=t.eMarks[f],!(k>=A));f++){if(t.src.charCodeAt(k++)===62&&!T){for(l=t.sCount[f]+1,t.src.charCodeAt(k)===32?(k++,l++,i=!1,w=!0):t.src.charCodeAt(k)===9?(w=!0,(t.bsCount[f]+l)%4===3?(k++,l++,i=!1):i=!0):w=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=k;k<A&&(a=t.src.charCodeAt(k),M8e(a));){a===9?p+=4-(p+t.bsCount[f]+(i?1:0))%4:p++;k++}u=k>=A,m.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(w?1:0),x.push(t.sCount[f]),t.sCount[f]=p-l,S.push(t.tShift[f]),t.tShift[f]=k-t.bMarks[f];continue}if(u)break;for(_=!1,s=0,c=y.length;s<c;s++)if(y[s](t,f,o,!0)){_=!0;break}if(_){t.lineMax=f,t.blkIndent!==0&&(h.push(t.bMarks[f]),m.push(t.bsCount[f]),S.push(t.tShift[f]),x.push(t.sCount[f]),t.sCount[f]-=t.blkIndent);break}h.push(t.bMarks[f]),m.push(t.bsCount[f]),S.push(t.tShift[f]),x.push(t.sCount[f]),t.sCount[f]=-1}for(v=t.blkIndent,t.blkIndent=0,C=t.push("blockquote_open","blockquote",1),C.markup=">",C.map=d=[n,0],t.md.block.tokenize(t,n,f),C=t.push("blockquote_close","blockquote",-1),C.markup=">",t.lineMax=R,t.parentType=g,d[1]=t.line,s=0;s<S.length;s++)t.bMarks[s+n]=h[s],t.tShift[s+n]=S[s],t.sCount[s+n]=x[s],t.bsCount[s+n]=m[s];return t.blkIndent=v,!0},O8e=Dt.isSpace,D8e=function(t,n,o,r){var i,a,s,l,c=t.bMarks[n]+t.tShift[n],u=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c<u;){if(s=t.src.charCodeAt(c++),s!==i&&!O8e(s))return!1;s===i&&a++}return a<3?!1:(r||(t.line=n+1,l=t.push("hr","hr",0),l.map=[n,t.line],l.markup=Array(a+1).join(String.fromCharCode(i))),!0)},$S=Dt.isSpace;function m1(e,t){var n,o,r,i;return o=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],n=e.src.charCodeAt(o++),n!==42&&n!==45&&n!==43||o<r&&(i=e.src.charCodeAt(o),!$S(i))?-1:o}function g1(e,t){var n,o=e.bMarks[t]+e.tShift[t],r=o,i=e.eMarks[t];if(r+1>=i||(n=e.src.charCodeAt(r++),n<48||n>57))return-1;for(;;){if(r>=i)return-1;if(n=e.src.charCodeAt(r++),n>=48&&n<=57){if(r-o>=10)return-1;continue}if(n===41||n===46)break;return-1}return r<i&&(n=e.src.charCodeAt(r),!$S(n))?-1:r}function L8e(e,t){var n,o,r=e.level+2;for(n=t+2,o=e.tokens.length-2;n<o;n++)e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}var F8e=function(t,n,o,r){var i,a,s,l,c,u,d,f,p,h,m,v,g,x,S,w,_,y,C,T,R,k,A,I,W,B,O,$=n,U=!1,X=!0;if(t.sCount[$]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[$]-t.listIndent>=4&&t.sCount[$]<t.blkIndent)return!1;if(r&&t.parentType==="paragraph"&&t.sCount[$]>=t.blkIndent&&(U=!0),(k=g1(t,$))>=0){if(d=!0,I=t.bMarks[$]+t.tShift[$],g=Number(t.src.slice(I,k-1)),U&&g!==1)return!1}else if((k=m1(t,$))>=0)d=!1;else return!1;if(U&&t.skipSpaces(k)>=t.eMarks[$])return!1;if(r)return!0;for(v=t.src.charCodeAt(k-1),m=t.tokens.length,d?(O=t.push("ordered_list_open","ol",1),g!==1&&(O.attrs=[["start",g]])):O=t.push("bullet_list_open","ul",1),O.map=h=[$,0],O.markup=String.fromCharCode(v),A=!1,B=t.md.block.ruler.getRules("list"),_=t.parentType,t.parentType="list";$<o;){for(R=k,x=t.eMarks[$],u=S=t.sCount[$]+k-(t.bMarks[$]+t.tShift[$]);R<x;){if(i=t.src.charCodeAt(R),i===9)S+=4-(S+t.bsCount[$])%4;else if(i===32)S++;else break;R++}if(a=R,a>=x?c=1:c=S-u,c>4&&(c=1),l=u+c,O=t.push("list_item_open","li",1),O.markup=String.fromCharCode(v),O.map=f=[$,0],d&&(O.info=t.src.slice(I,k-1)),T=t.tight,C=t.tShift[$],y=t.sCount[$],w=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[$]=a-t.bMarks[$],t.sCount[$]=S,a>=x&&t.isEmpty($+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,$,o,!0),(!t.tight||A)&&(X=!1),A=t.line-$>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[$]=C,t.sCount[$]=y,t.tight=T,O=t.push("list_item_close","li",-1),O.markup=String.fromCharCode(v),$=t.line,f[1]=$,$>=o||t.sCount[$]<t.blkIndent||t.sCount[$]-t.blkIndent>=4)break;for(W=!1,s=0,p=B.length;s<p;s++)if(B[s](t,$,o,!0)){W=!0;break}if(W)break;if(d){if(k=g1(t,$),k<0)break;I=t.bMarks[$]+t.tShift[$]}else if(k=m1(t,$),k<0)break;if(v!
Line truncated
|
||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user