%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /disk/www/wwwroot/test-lingceed.echineselearning.biz/wp-includes/js/dist/
Upload File :
Create Path :
Current File : /disk/www/wwwroot/test-lingceed.echineselearning.biz/wp-includes/js/dist/autop.js

/******/ (() => { // webpackBootstrap
/******/ 	"use strict";
/******/ 	// The require scope
/******/ 	var __webpack_require__ = {};
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (exports, definition) => {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (exports) => {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	})();
/******/ 	
/************************************************************************/
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   autop: () => (/* binding */ autop),
/* harmony export */   removep: () => (/* binding */ removep)
/* harmony export */ });
const htmlSplitRegex = (() => {
  const comments = "!(?:-(?!->)[^\\-]*)*(?:-->)?";
  const cdata = "!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?";
  const escaped = "(?=!--|!\\[CDATA\\[)((?=!-)" + // If yes, which type?
  comments + "|" + cdata + ")";
  const regex = "(<(" + // Conditional expression follows.
  escaped + // Find end of escaped element.
  "|[^>]*>?))";
  return new RegExp(regex);
})();
function htmlSplit(input) {
  const parts = [];
  let workingInput = input;
  let match;
  while (match = workingInput.match(htmlSplitRegex)) {
    const index = match.index;
    parts.push(workingInput.slice(0, index));
    parts.push(match[0]);
    workingInput = workingInput.slice(index + match[0].length);
  }
  if (workingInput.length) {
    parts.push(workingInput);
  }
  return parts;
}
function replaceInHtmlTags(haystack, replacePairs) {
  const textArr = htmlSplit(haystack);
  let changed = false;
  const needles = Object.keys(replacePairs);
  for (let i = 1; i < textArr.length; i += 2) {
    for (let j = 0; j < needles.length; j++) {
      const needle = needles[j];
      if (-1 !== textArr[i].indexOf(needle)) {
        textArr[i] = textArr[i].replace(
          new RegExp(needle, "g"),
          replacePairs[needle]
        );
        changed = true;
        break;
      }
    }
  }
  if (changed) {
    haystack = textArr.join("");
  }
  return haystack;
}
function autop(text, br = true) {
  const preTags = [];
  if (text.trim() === "") {
    return "";
  }
  text = text + "\n";
  if (text.indexOf("<pre") !== -1) {
    const textParts = text.split("</pre>");
    const lastText = textParts.pop();
    text = "";
    for (let i = 0; i < textParts.length; i++) {
      const textPart = textParts[i];
      const start = textPart.indexOf("<pre");
      if (start === -1) {
        text += textPart;
        continue;
      }
      const name = "<pre wp-pre-tag-" + i + "></pre>";
      preTags.push([name, textPart.substr(start) + "</pre>"]);
      text += textPart.substr(0, start) + name;
    }
    text += lastText;
  }
  text = text.replace(/<br\s*\/?>\s*<br\s*\/?>/g, "\n\n");
  const allBlocks = "(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";
  text = text.replace(
    new RegExp("(<" + allBlocks + "[\\s/>])", "g"),
    "\n\n$1"
  );
  text = text.replace(
    new RegExp("(</" + allBlocks + ">)", "g"),
    "$1\n\n"
  );
  text = text.replace(/\r\n|\r/g, "\n");
  text = replaceInHtmlTags(text, { "\n": " <!-- wpnl --> " });
  if (text.indexOf("<option") !== -1) {
    text = text.replace(/\s*<option/g, "<option");
    text = text.replace(/<\/option>\s*/g, "</option>");
  }
  if (text.indexOf("</object>") !== -1) {
    text = text.replace(/(<object[^>]*>)\s*/g, "$1");
    text = text.replace(/\s*<\/object>/g, "</object>");
    text = text.replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g, "$1");
  }
  if (text.indexOf("<source") !== -1 || text.indexOf("<track") !== -1) {
    text = text.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g, "$1");
    text = text.replace(/\s*([<\[]\/(?:audio|video)[>\]])/g, "$1");
    text = text.replace(/\s*(<(?:source|track)[^>]*>)\s*/g, "$1");
  }
  if (text.indexOf("<figcaption") !== -1) {
    text = text.replace(/\s*(<figcaption[^>]*>)/, "$1");
    text = text.replace(/<\/figcaption>\s*/, "</figcaption>");
  }
  text = text.replace(/\n\n+/g, "\n\n");
  const texts = text.split(/\n\s*\n/).filter(Boolean);
  text = "";
  texts.forEach((textPiece) => {
    text += "<p>" + textPiece.replace(/^\n*|\n*$/g, "") + "</p>\n";
  });
  text = text.replace(/<p>\s*<\/p>/g, "");
  text = text.replace(
    /<p>([^<]+)<\/(div|address|form)>/g,
    "<p>$1</p></$2>"
  );
  text = text.replace(
    new RegExp("<p>\\s*(</?" + allBlocks + "[^>]*>)\\s*</p>", "g"),
    "$1"
  );
  text = text.replace(/<p>(<li.+?)<\/p>/g, "$1");
  text = text.replace(/<p><blockquote([^>]*)>/gi, "<blockquote$1><p>");
  text = text.replace(/<\/blockquote><\/p>/g, "</p></blockquote>");
  text = text.replace(
    new RegExp("<p>\\s*(</?" + allBlocks + "[^>]*>)", "g"),
    "$1"
  );
  text = text.replace(
    new RegExp("(</?" + allBlocks + "[^>]*>)\\s*</p>", "g"),
    "$1"
  );
  if (br) {
    text = text.replace(
      /<(script|style).*?<\/\\1>/g,
      (match) => match[0].replace(/\n/g, "<WPPreserveNewline />")
    );
    text = text.replace(/<br>|<br\/>/g, "<br />");
    text = text.replace(
      /(<br \/>)?\s*\n/g,
      (a, b) => b ? a : "<br />\n"
    );
    text = text.replace(/<WPPreserveNewline \/>/g, "\n");
  }
  text = text.replace(
    new RegExp("(</?" + allBlocks + "[^>]*>)\\s*<br />", "g"),
    "$1"
  );
  text = text.replace(
    /<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,
    "$1"
  );
  text = text.replace(/\n<\/p>$/g, "</p>");
  preTags.forEach((preTag) => {
    const [name, original] = preTag;
    text = text.replace(name, original);
  });
  if (-1 !== text.indexOf("<!-- wpnl -->")) {
    text = text.replace(/\s?<!-- wpnl -->\s?/g, "\n");
  }
  return text;
}
function removep(html) {
  const blocklist = "blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure";
  const blocklist1 = blocklist + "|div|p";
  const blocklist2 = blocklist + "|pre";
  const preserve = [];
  let preserveLinebreaks = false;
  let preserveBr = false;
  if (!html) {
    return "";
  }
  if (html.indexOf("<script") !== -1 || html.indexOf("<style") !== -1) {
    html = html.replace(
      /<(script|style)[^>]*>[\s\S]*?<\/\1>/g,
      (match) => {
        preserve.push(match);
        return "<wp-preserve>";
      }
    );
  }
  if (html.indexOf("<pre") !== -1) {
    preserveLinebreaks = true;
    html = html.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g, (a) => {
      a = a.replace(/<br ?\/?>(\r\n|\n)?/g, "<wp-line-break>");
      a = a.replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g, "<wp-line-break>");
      return a.replace(/\r?\n/g, "<wp-line-break>");
    });
  }
  if (html.indexOf("[caption") !== -1) {
    preserveBr = true;
    html = html.replace(/\[caption[\s\S]+?\[\/caption\]/g, (a) => {
      return a.replace(/<br([^>]*)>/g, "<wp-temp-br$1>").replace(/[\r\n\t]+/, "");
    });
  }
  html = html.replace(
    new RegExp("\\s*</(" + blocklist1 + ")>\\s*", "g"),
    "</$1>\n"
  );
  html = html.replace(
    new RegExp("\\s*<((?:" + blocklist1 + ")(?: [^>]*)?)>", "g"),
    "\n<$1>"
  );
  html = html.replace(/(<p [^>]+>[\s\S]*?)<\/p>/g, "$1</p#>");
  html = html.replace(/<div( [^>]*)?>\s*<p>/gi, "<div$1>\n\n");
  html = html.replace(/\s*<p>/gi, "");
  html = html.replace(/\s*<\/p>\s*/gi, "\n\n");
  html = html.replace(/\n[\s\u00a0]+\n/g, "\n\n");
  html = html.replace(/(\s*)<br ?\/?>\s*/gi, (_, space) => {
    if (space && space.indexOf("\n") !== -1) {
      return "\n\n";
    }
    return "\n";
  });
  html = html.replace(/\s*<div/g, "\n<div");
  html = html.replace(/<\/div>\s*/g, "</div>\n");
  html = html.replace(
    /\s*\[caption([^\[]+)\[\/caption\]\s*/gi,
    "\n\n[caption$1[/caption]\n\n"
  );
  html = html.replace(/caption\]\n\n+\[caption/g, "caption]\n\n[caption");
  html = html.replace(
    new RegExp("\\s*<((?:" + blocklist2 + ")(?: [^>]*)?)\\s*>", "g"),
    "\n<$1>"
  );
  html = html.replace(
    new RegExp("\\s*</(" + blocklist2 + ")>\\s*", "g"),
    "</$1>\n"
  );
  html = html.replace(/<((li|dt|dd)[^>]*)>/g, " 	<$1>");
  if (html.indexOf("<option") !== -1) {
    html = html.replace(/\s*<option/g, "\n<option");
    html = html.replace(/\s*<\/select>/g, "\n</select>");
  }
  if (html.indexOf("<hr") !== -1) {
    html = html.replace(/\s*<hr( [^>]*)?>\s*/g, "\n\n<hr$1>\n\n");
  }
  if (html.indexOf("<object") !== -1) {
    html = html.replace(/<object[\s\S]+?<\/object>/g, (a) => {
      return a.replace(/[\r\n]+/g, "");
    });
  }
  html = html.replace(/<\/p#>/g, "</p>\n");
  html = html.replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g, "\n$1");
  html = html.replace(/^\s+/, "");
  html = html.replace(/[\s\u00a0]+$/, "");
  if (preserveLinebreaks) {
    html = html.replace(/<wp-line-break>/g, "\n");
  }
  if (preserveBr) {
    html = html.replace(/<wp-temp-br([^>]*)>/g, "<br$1>");
  }
  if (preserve.length) {
    html = html.replace(/<wp-preserve>/g, () => {
      return preserve.shift();
    });
  }
  return html;
}


(window.wp = window.wp || {}).autop = __webpack_exports__;
/******/ })()
;

Zerion Mini Shell 1.0
在线中文学校 7/24,专为华裔青少儿设计,教学经验丰富|灵犀中文
一对一在线课程
一对一在线辅导
灵犀中文 ── 学有”灵犀”一点通

1对1在线中文课程

  • 专为3-18岁华裔青少儿打造
  • 涵盖IB、AP、Alevel、IGCSE等考试辅导
  • 24/7都可以上课!

免费领取价值600元的中文学习大礼包

ft pic 3
国家/地区
search
 

search no result

 
ft pic 4
 
点击立即领取按钮,即表示您同意我们的服务条款和隐私保护。

banner ft gift

1对1个性化教学,专注于青少儿中文学习

华裔孩子学中文,1对1个性化教学
1对1个性化教学

因材施教,根据每个孩子的情况量身定制教学内容。

华裔孩子学中文,专属班主任
专属班主任
班主任全程跟踪,及时给家长反馈孩子学习情况,全方位保障孩子学有所成。
华裔孩子学中文,灵活的上课时间
灵活的上课时间
灵活的上课时间 ( 7*24 ),随时随地在线学中文。
华裔孩子学中文,多样化的趣味互动练习
多样化的趣味互动练习
各种趣味互动游戏,让孩子爱上学中文。

趣味互动课件,让孩子爱上学中文

互动性高
学生不仅可以和课件互动,还能加强和老师的互动。学生、教师和课件三位一体,互动性空前提升,让老师对学生的学习效果把控地更加准确,教学更有效。
趣味性高
通过非常丰富的互动体验和精美的趣味元素设计,让孩子更能记住所学的内容,真正做到寓教于乐,让学生能够快乐地学好中文。
科学性强
灵犀中文的教研团队深耕行业多年,深谙华裔孩子中文学习的特点。课件专业针对华裔青少儿中文学习的特点制作,让孩子的学习更加科学。

高效中文考试辅导课程,助力考生取得高分

多种课程类型
覆盖面广
覆盖多种中文考试课程,包括IB中文、AP中文、A-Level中文、O-Level中文和DSE中文,满足不同中文考试辅导的需求。
华裔孩子学中文,课程针对性强
针对性强
所有考试辅导皆为1对1名师教学,根据考生的水平制定个性化备考课程计划,针对弱项快速补强。
高提分率
高提分率
灵犀的老师有着丰富的考试辅导经验,深谙各中文考试的大纲和重点,帮助学生超越自我,考取高分。

为什么选择灵犀中文

为什么选择灵犀中文

免费领取1对1体验课

ft pic 3
国家/地区
search
 

search no result

 
ft pic 4
 
点击立即领取按钮,即表示您同意我们的服务条款和隐私保护。

17年教学经验沉淀,打造每一堂好课

灵犀中文掌握华裔青少儿中文教学的精髓,让您的孩子快乐高效地学好中文!
华裔孩子学中文,1对1个性化教学
为每个孩子定制个性化课程
华裔孩子学中文,教师教学经验丰富
教师经验丰富,擅于教授华裔青少儿
练习充分,讲练比例1:4,全面提升听说读写,让孩子真正学会中文
练习充分,讲练比例1:4,全面提升听说读写,让孩子真正学会中文
趣味课堂互动,锻炼孩子语言交际能力,激发孩子中文学习兴趣
趣味课堂互动,锻炼孩子语言交际能力,激发孩子中文学习兴趣

专业的师资团队,做最好的中文教育

专业的师资团队,做最好的中文教育
严格的教师筛选标准,只选2%最优秀的老师
严格的教师筛选标准,只选2%最优秀的老师
教师选择众多,保证选到最适合孩子的老师
教师选择众多,保证选到最适合孩子的老师
采用情景式及TPR教学法,课堂教学生动有趣
采用情景式及TPR教学法,课堂教学生动有趣
耐心热情,亦师亦友
耐心热情,亦师亦友

媒体报道

如何参加免费体验课

免费领取1对1体验课
点击下方按钮领取
预约体验课
我们会有专人在1个工作日内跟您联系,预约上课时间
上免费体验课
进入上课教室,体验1对1免费课
滚动至顶部