PageSourceSearch

https://kmedia.vn/_next/static/chunks/8884.99ed642b006d4fe0.js

js kmedia.vn collected 2026-10-02 00:42:18 UTC 3,951 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8884],{8884:(e,t,l)=>{l(81971)},81971:()=>{!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");let t=(e,t,l)=>{e.execCommand("UL"===t?"InsertUnorderedList":"InsertOrderedList",!1,!1===l?null:{"list-style-type":l})},l=e=>t=>t.options.get(e),r=l("advlist_number_styles"),s=l("advlist_bullet_styles"),i=e=>null!=e;class n{tag;value;static singletonNone=new n(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new n(!0,e)}static none(){return n.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?n.some(e(this.value)):n.none()}bind(e){return this.tag?e(this.value):n.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:n.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw Error(e??"Called getOrDie on None")}static from(e){return i(e)?n.some(e):n.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}let o=Array.prototype.indexOf,a=Object.keys;var u=tinymce.util.Tools.resolve("tinymce.util.Tools");let d=e=>t=>i(t)&&e.test(t.nodeName),h=d(/^(OL|UL|DL)$/),g=d(/^(TH|TD)$/),p=e=>null==e||"default"===e?"":e,c=(e,t)=>l=>{var r;let s;return r=r=>{var s;let i,o;return s=r.parents,i=e.selection.getStart(!0),l.setActive(((e,t,l)=>{for(let r=0,s=e.length;r<s;r++){let s=e[r];if(t(s,r))return n.some(s);if(l(s,r))break}return n.none()})(s,e=>h(e)&&!/\btox\-/.test(e.className),g).exists(l=>l.nodeName===t&&e.dom.isChildOf(l,e.getBody()))),void l.setEnabled((o=e.dom.getParent(i,"ol,ul,dl"),(null===o||!!e.dom.isEditable(o))&&!!e.selection.isEditable()))},s=e.selection.getNode(),r({parents:e.dom.getParents(s),element:s}),e.on("NodeChange",r),()=>e.off("NodeChange",r)},m=(e,l,r,s,i,d)=>{var h,g,m;if(d.length>1){let h,v;h={"lower-latin":"lower-alpha","upper-latin":"upper-alpha","lower-alpha":"lower-latin","upper-alpha":"upper-latin"},g=h,m=(e,t)=>({k:t,v:(e=>o.call(d,e)>-1)(e)}),v={},((e,t)=>{let l=a(e);for(let r=0,s=l.length;r<s;r++){let s=l[r];t(e[s],s)}})(g,(e,t)=>{let l=m(e,t);v[l.k]=l.v}),e.ui.registry.addSplitButton(l,{tooltip:r,chevronTooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",presets:"listpreview",columns:"OL"===i?3:4,fetch:e=>{e(u.map(d,e=>{let t="OL"===i?"num":"bull",l="decimal"===e?"default":e;return{type:"choiceitem",value:p(e),icon:"list-"+t+"-"+l,text:e.replace(/\-/g," ").replace(/\b\w/g,e=>e.toUpperCase())}}))},onAction:()=>e.execCommand(s),onItemAction:(l,r)=>{t(e,i,r)},select:t=>{let l,r;return(l=e.dom.getParent(e.selection.getNode(),"ol,ul"),r=e.dom.getStyle(l,"listStyleType"),n.from(r)).exists(e=>t===e||h[e]===t&&!v[t])},onSetup:c(e,i)})}else h=p(d[0]),e.ui.registry.addToggleButton(l,{active:!1,tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",onSetup:c(e,i),onAction:()=>e.queryCommandState(s)||""===h?e.execCommand(s):t(e,i,h)})};e.add("advlist",e=>{if(e.hasPlugin("lists")){let l;(l=e.options.register)("advlist_number_styles",{processor:"string[]",default:"default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")}),l("advlist_bullet_styles",{processor:"string[]",default:"default,disc,circle,square".split(",")}),m(e,"numlist","Numbered list","InsertOrderedList","OL",r(e)),m(e,"bullist","Bullet list","InsertUnorderedList","UL",s(e)),e.addCommand("ApplyUnorderedListStyle",(l,r)=>{t(e,"UL",r["list-style-type"])}),e.addCommand("ApplyOrderedListStyle",(l,r)=>{t(e,"OL",r["list-style-type"])})}else console.error("Please use the Lists plugin together with the List Styles plugin.")})}()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.