fix: [用户前端]修复更改订阅提示框显示条件有误的问题
This commit is contained in:
1 parent
5f1956094d
commit
9d5f4f1dfd
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 $k=Object.defineProperty;var Ak=(e,t,n)=>t in e?$k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ik=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var td=(e,t,n)=>(Ak(e,typeof t!="symbol"?t+"":t,n),n);var kNe=Ik((Gn,Yn)=>{(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 Rh(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Zt={},aa=[],Kn=()=>{},Mk=()=>!1,Lc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Eh=e=>e.startsWith("onUpdate:"),gn=Object.assign,$h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zk=Object.prototype.hasOwnProperty,Ot=(e,t)=>zk.call(e,t),ft=Array.isArray,sa=e=>Fc(e)==="[object Map]",V1=e=>Fc(e)==="[object Set]",vt=e=>typeof e=="function",un=e=>typeof e=="string",Ea=e=>typeof e=="symbol",Yt=e=>e!==null&&typeof e=="object",U1=e=>(Yt(e)||vt(e))&&vt(e.then)&&vt(e.catch),W1=Object.prototype.toString,Fc=e=>W1.call(e),Ok=e=>Fc(e).slice(8,-1),q1=e=>Fc(e)==="[object Object]",Ah=e=>un(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yl=Rh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Dk=/-(\w)/g,Bo=Nc(e=>e.replace(Dk,(t,n)=>n?n.toUpperCase():"")),Lk=/\B([A-Z])/g,Pi=Nc(e=>e.replace(Lk,"-$1").toLowerCase()),Bc=Nc(e=>e.charAt(0).toUpperCase()+e.slice(1)),nd=Nc(e=>e?`on${Bc(e)}`:""),Fr=(e,t)=>!Object.is(e,t),Xl=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},cc=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},uf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fk=e=>{const t=un(e)?Number(e):NaN;return isNaN(t)?e:t};let zm;const K1=()=>zm||(zm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ho(e){if(ft(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=un(o)?jk(o):Ho(o);if(r)for(const i in r)t[i]=r[i]}return t}else if(un(e)||Yt(e))return e}const Nk=/;(?![^(]*\))/g,Bk=/:([^]+)/,Hk=/\/\*[^]*?\*\//g;function jk(e){const t={};return e.replace(Hk,"").split(Nk).forEach(n=>{if(n){const o=n.split(Bk);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ar(e){let t="";if(un(e))t=e;else if(ft(e))for(let n=0;n<e.length;n++){const o=ar(e[n]);o&&(t+=o+" ")}else if(Yt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Vk="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Uk=Rh(Vk);function G1(e){return!!e||e===""}const re=e=>un(e)?e:e==null?"":ft(e)||Yt(e)&&(e.toString===W1||!vt(e.toString))?JSON.stringify(e,Y1,2):String(e),Y1=(e,t)=>t&&t.__v_isRef?Y1(e,t.value):sa(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[od(o,i)+" =>"]=r,n),{})}:V1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>od(n))}:Ea(t)?od(t):Yt(t)&&!ft(t)&&!q1(t)?String(t):t,od=(e,t="")=>{var n;return Ea(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Wn;class X1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Wn,!t&&Wn&&(this.index=(Wn.scopes||(Wn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Wn;try{return Wn=this,t()}finally{Wn=n}}}on(){Wn=this}off(){Wn=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 Ih(e){return new X1(e)}function Wk(e,t=Wn){t&&t.active&&t.effects.push(e)}function Mh(){return Wn}function Z1(e){Wn&&Wn.cleanups.push(e)}let pi;class zh{constructor(t,n,o,r){this.fn=t,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,Wk(this,r)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,Ri();for(const t of this.deps)if(t.computed&&(qk(t.computed),this._dirtyLevel>=2))break;Ei(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.actiLine truncated
|
||||
* vue-router v4.2.5
|
||||
* (c) 2023 Eduardo San Martin Morote
|
||||
@@ -3781,4 +3781,4 @@ ${t}
|
||||
`:">",i)};qa.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};qa.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};qa.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 Z8e=qa;function Po(){this.__rules__=[],this.__cache__=null}Po.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Po.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))})})};Po.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};Po.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};Po.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};Po.prototype.push=function(e,t,n){var o=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null};Po.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};Po.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};Po.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};Po.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};var Sm=Po,J8e=/\r\n?|\n/g,Q8e=/\0/g,eIe=function(t){var n;n=t.src.replace(J8e,`
|
||||
`),n=n.replace(Q8e,"�"),t.src=n},tIe=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)},nIe=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)},oIe=Lt.arrayReplaceAt;function rIe(e){return/^<a[>\s]/i.test(e)}function iIe(e){return/^<\/a\s*>/i.test(e)}var aIe=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,g,b,m,y=t.tokens,k;if(t.md.options.linkify){for(o=0,r=y.length;o<r;o++)if(!(y[o].type!=="inline"||!t.md.linkify.pretest(y[o].content)))for(i=y[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"&&(rIe(s.content)&&h>0&&h--,iIe(s.content)&&h++),!(h>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,k=t.md.linkify.match(u),l=[],p=s.level,f=0,k.length>0&&k[0].index===0&&n>0&&i[n-1].type==="text_special"&&(k=k.slice(1)),c=0;c<k.length;c++)g=k[c].url,b=t.md.normalizeLink(g),t.md.validateLink(b)&&(m=k[c].text,k[c].schema?k[c].schema==="mailto:"&&!/^mailto:/i.test(m)?m=t.md.normalizeLinkText("mailto:"+m).replace(/^mailto:/,""):m=t.md.normalizeLinkText(m):m=t.md.normalizeLinkText("http://"+m).replace(/^http:\/\//,""),d=k[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",b]],a.level=p++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=m,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=k[c].lastIndex);f<u.length&&(a=new t.Token("text","",0),a.content=u.slice(f),a.level=p,l.push(a)),y[o].children=i=oIe(i,n,l)}}}},OS=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,sIe=/\((c|tm|r)\)/i,lIe=/\((c|tm|r)\)/ig,cIe={c:"©",r:"®",tm:"™"};function uIe(e,t){return cIe[t.toLowerCase()]}function dIe(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(lIe,uIe)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function fIe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&OS.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 hIe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(sIe.test(t.tokens[n].content)&&dIe(t.tokens[n].children),OS.test(t.tokens[n].content)&&fIe(t.tokens[n].children))},f1=Lt.isWhiteSpace,h1=Lt.isPunctChar,p1=Lt.isMdAsciiPunct,pIe=/['"]/,m1=/['"]/g,g1="’";function ql(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function mIe(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,g,b,m,y,k,S,w,x;for(S=[],n=0;n<e.length;n++){for(o=e[n],l=e[n].level,y=S.length-1;y>=0&&!(S[y].level<=l);y--);if(S.length=y+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a<s&&(m1.lastIndex=a,i=m1.exec(r),!!i);){if(b=m=!0,a=i.index+1,k=i[0]==="'",u=32,i.index-1>=0)u=r.charCodeAt(i.index-1);else for(y=n-1;y>=0&&!(e[y].type==="softbreak"||e[y].type==="hardbreak");y--)if(e[y].content){u=e[y].content.charCodeAt(e[y].content.length-1);break}if(d=32,a<s)d=r.charCodeAt(a);else for(y=n+1;y<e.length&&!(e[y].type==="softbreak"||e[y].type==="hardbreak");y++)if(e[y].content){d=e[y].content.charCodeAt(0);break}if(f=p1(u)||h1(String.fromCharCode(u)),p=p1(d)||h1(String.fromCharCode(d)),h=f1(u),g=f1(d),g?b=!1:p&&(h||f||(b=!1)),h?m=!1:f&&(g||p||(m=!1)),d===34&&i[0]==='"'&&u>=48&&u<=57&&(m=b=!1),b&&m&&(b=f,m=p),!b&&!m){k&&(o.content=ql(o.content,i.index,g1));continue}if(m){for(y=S.length-1;y>=0&&(c=S[y],!(S[y].level<l));y--)if(c.single===k&&S[y].level===l){c=S[y],k?(w=t.md.options.quotes[2],x=t.md.options.quotes[3]):(w=t.md.options.quotes[0],x=t.md.options.quotes[1]),o.content=ql(o.content,i.index,x),e[c.token].content=ql(e[c.token].content,c.pos,w),a+=x.length-1,c.token===n&&(a+=w.length-1),r=o.content,s=r.length,S.length=y;continue e}}b?S.push({token:n,pos:i.index,single:k,level:l}):m&&k&&(o.content=ql(o.content,i.index,g1))}}}}var gIe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type!=="inline"||!pIe.test(t.tokens[n].content)||mIe(t.tokens[n].children,t)},vIe=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 Ka(e,t,n){this.type=e,this.tag=t,this.attrs=null,this
Line truncated
|
||||
`,a.map=[n,t.line],!0},SIe=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},kIe=Lt.isSpace,TIe=function(t,n,o,r){var i,a,s,l,c,u,d,f,p,h,g,b,m,y,k,S,w,x,C,_,R=t.lineMax,E=t.bMarks[n]+t.tShift[n],M=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||t.src.charCodeAt(E)!==62)return!1;if(r)return!0;for(h=[],g=[],y=[],k=[],x=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",f=n;f<o&&(_=t.sCount[f]<t.blkIndent,E=t.bMarks[f]+t.tShift[f],M=t.eMarks[f],!(E>=M));f++){if(t.src.charCodeAt(E++)===62&&!_){for(l=t.sCount[f]+1,t.src.charCodeAt(E)===32?(E++,l++,i=!1,S=!0):t.src.charCodeAt(E)===9?(S=!0,(t.bsCount[f]+l)%4===3?(E++,l++,i=!1):i=!0):S=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=E;E<M&&(a=t.src.charCodeAt(E),kIe(a));){a===9?p+=4-(p+t.bsCount[f]+(i?1:0))%4:p++;E++}u=E>=M,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(S?1:0),y.push(t.sCount[f]),t.sCount[f]=p-l,k.push(t.tShift[f]),t.tShift[f]=E-t.bMarks[f];continue}if(u)break;for(w=!1,s=0,c=x.length;s<c;s++)if(x[s](t,f,o,!0)){w=!0;break}if(w){t.lineMax=f,t.blkIndent!==0&&(h.push(t.bMarks[f]),g.push(t.bsCount[f]),k.push(t.tShift[f]),y.push(t.sCount[f]),t.sCount[f]-=t.blkIndent);break}h.push(t.bMarks[f]),g.push(t.bsCount[f]),k.push(t.tShift[f]),y.push(t.sCount[f]),t.sCount[f]=-1}for(b=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=m,d[1]=t.line,s=0;s<k.length;s++)t.bMarks[s+n]=h[s],t.tShift[s+n]=k[s],t.sCount[s+n]=y[s],t.bsCount[s+n]=g[s];return t.blkIndent=b,!0},PIe=Lt.isSpace,RIe=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&&!PIe(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)},LS=Lt.isSpace;function b1(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),!LS(i))?-1:o}function y1(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),!LS(n))?-1:r}function EIe(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 $Ie=function(t,n,o,r){var i,a,s,l,c,u,d,f,p,h,g,b,m,y,k,S,w,x,C,_,R,E,M,A,q,F,z,D=n,Y=!1,Q=!0;if(t.sCount[D]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]<t.blkIndent)return!1;if(r&&t.parentType==="paragraph"&&t.sCount[D]>=t.blkIndent&&(Y=!0),(E=y1(t,D))>=0){if(d=!0,A=t.bMarks[D]+t.tShift[D],m=Number(t.src.slice(A,E-1)),Y&&m!==1)return!1}else if((E=b1(t,D))>=0)d=!1;else return!1;if(Y&&t.skipSpaces(E)>=t.eMarks[D])return!1;if(r)return!0;for(b=t.src.charCodeAt(E-1),g=t.tokens.length,d?(z=t.push("ordered_list_open","ol",1),m!==1&&(z.attrs=[["start",m]])):z=t.push("bullet_list_open","ul",1),z.map=h=[D,0],z.markup=String.fromCharCode(b),M=!1,F=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";D<o;){for(R=E,y=t.eMarks[D],u=k=t.sCount[D]+E-(t.bMarks[D]+t.tShift[D]);R<y;){if(i=t.src.charCodeAt(R),i===9)k+=4-(k+t.bsCount[D])%4;else if(i===32)k++;else break;R++}if(a=R,a>=y?c=1:c=k-u,c>4&&(c=1),l=u+c,z=t.push("list_item_open","li",1),z.markup=String.fromCharCode(b),z.map=f=[D,0],d&&(z.info=t.src.slice(A,E-1)),_=t.tight,C=t.tShift[D],x=t.sCount[D],S=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[D]=a-t.bMarks[D],t.sCount[D]=k,a>=y&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,D,o,!0),(!t.tight||M)&&(Q=!1),M=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=S,t.tShift[D]=C,t.sCount[D]=x,t.tight=_,z=t.push("list_item_close","li",-1),z.markup=String.fromCharCode(b),D=t.line,f[1]=D,D>=o||t.sCount[D]<t.blkIndent||t.sCount[D]-t.blkIndent>=4)break;for(q=!1,s=0,p=F.length;s<p;s++)if(F[s](t,D,o,!0)){q=!0;break}if(q)break;if(d){if(E=y1(t,D),E<0)break;A=t.bMarks[D]+t.tShift[D]}else if(E=b1(t,D),E<0)break;if(b!
Line truncated
|
||||
`,a.map=[n,t.line],!0},SIe=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},kIe=Lt.isSpace,TIe=function(t,n,o,r){var i,a,s,l,c,u,d,f,p,h,g,b,m,y,k,S,w,x,C,_,R=t.lineMax,E=t.bMarks[n]+t.tShift[n],M=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||t.src.charCodeAt(E)!==62)return!1;if(r)return!0;for(h=[],g=[],y=[],k=[],x=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",f=n;f<o&&(_=t.sCount[f]<t.blkIndent,E=t.bMarks[f]+t.tShift[f],M=t.eMarks[f],!(E>=M));f++){if(t.src.charCodeAt(E++)===62&&!_){for(l=t.sCount[f]+1,t.src.charCodeAt(E)===32?(E++,l++,i=!1,S=!0):t.src.charCodeAt(E)===9?(S=!0,(t.bsCount[f]+l)%4===3?(E++,l++,i=!1):i=!0):S=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=E;E<M&&(a=t.src.charCodeAt(E),kIe(a));){a===9?p+=4-(p+t.bsCount[f]+(i?1:0))%4:p++;E++}u=E>=M,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(S?1:0),y.push(t.sCount[f]),t.sCount[f]=p-l,k.push(t.tShift[f]),t.tShift[f]=E-t.bMarks[f];continue}if(u)break;for(w=!1,s=0,c=x.length;s<c;s++)if(x[s](t,f,o,!0)){w=!0;break}if(w){t.lineMax=f,t.blkIndent!==0&&(h.push(t.bMarks[f]),g.push(t.bsCount[f]),k.push(t.tShift[f]),y.push(t.sCount[f]),t.sCount[f]-=t.blkIndent);break}h.push(t.bMarks[f]),g.push(t.bsCount[f]),k.push(t.tShift[f]),y.push(t.sCount[f]),t.sCount[f]=-1}for(b=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=m,d[1]=t.line,s=0;s<k.length;s++)t.bMarks[s+n]=h[s],t.tShift[s+n]=k[s],t.sCount[s+n]=y[s],t.bsCount[s+n]=g[s];return t.blkIndent=b,!0},PIe=Lt.isSpace,RIe=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&&!PIe(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)},LS=Lt.isSpace;function b1(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),!LS(i))?-1:o}function y1(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),!LS(n))?-1:r}function EIe(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 $Ie=function(t,n,o,r){var i,a,s,l,c,u,d,f,p,h,g,b,m,y,k,S,w,x,C,_,R,E,M,A,q,F,z,D=n,Y=!1,Q=!0;if(t.sCount[D]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]<t.blkIndent)return!1;if(r&&t.parentType==="paragraph"&&t.sCount[D]>=t.blkIndent&&(Y=!0),(E=y1(t,D))>=0){if(d=!0,A=t.bMarks[D]+t.tShift[D],m=Number(t.src.slice(A,E-1)),Y&&m!==1)return!1}else if((E=b1(t,D))>=0)d=!1;else return!1;if(Y&&t.skipSpaces(E)>=t.eMarks[D])return!1;if(r)return!0;for(b=t.src.charCodeAt(E-1),g=t.tokens.length,d?(z=t.push("ordered_list_open","ol",1),m!==1&&(z.attrs=[["start",m]])):z=t.push("bullet_list_open","ul",1),z.map=h=[D,0],z.markup=String.fromCharCode(b),M=!1,F=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";D<o;){for(R=E,y=t.eMarks[D],u=k=t.sCount[D]+E-(t.bMarks[D]+t.tShift[D]);R<y;){if(i=t.src.charCodeAt(R),i===9)k+=4-(k+t.bsCount[D])%4;else if(i===32)k++;else break;R++}if(a=R,a>=y?c=1:c=k-u,c>4&&(c=1),l=u+c,z=t.push("list_item_open","li",1),z.markup=String.fromCharCode(b),z.map=f=[D,0],d&&(z.info=t.src.slice(A,E-1)),_=t.tight,C=t.tShift[D],x=t.sCount[D],S=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[D]=a-t.bMarks[D],t.sCount[D]=k,a>=y&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,D,o,!0),(!t.tight||M)&&(Q=!1),M=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=S,t.tShift[D]=C,t.sCount[D]=x,t.tight=_,z=t.push("list_item_close","li",-1),z.markup=String.fromCharCode(b),D=t.line,f[1]=D,D>=o||t.sCount[D]<t.blkIndent||t.sCount[D]-t.blkIndent>=4)break;for(q=!1,s=0,p=F.length;s<p;s++)if(F[s](t,D,o,!0)){q=!0;break}if(q)break;if(d){if(E=y1(t,D),E<0)break;A=t.bMarks[D]+t.tShift[D]}else if(E=b1(t,D),E<0)break;if(b!
Line truncated
|
||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user