【22店适用·万利记】19.9元享特惠单人餐!拆骨肉粉/面、山楂乌梅汁/可乐......(购买截止时间12.19)

 

try{document.getElementsByTagName('html').item(0).style.webkitTextSizeAdjust=JSON.parse(window.__wxWebEnv.getEnv()).fontScale+'%'}catch(e){}

 

window.logs = { pagetime:{} }; window.logs.pagetime['html_begin'] = (+new Date()); window.LANG = ""; // 页面语言 zh_CN en_US

 

/** * 于2022-02-21重构vite * 仅保留原有moon.js中上报相关的部分 * @author baakqiu * @date 2022-02-21 */ var WX_BJ_REPORT = window.WX_BJ_REPORT || {}; (function(_) { if (_.BadJs) { return; } //onerror上报名 var BADJS_WIN_ERR = 'BadjsWindowError'; var extend = function(source, destination) { for (var property in destination) { source[property] = destination[property] } return source } /* 出错上报字段:mid name key msg stack file col line uin mid 模块名 name 监控名 key 特征值 msg 额外信息 */ _.BadJs = { uin:0, mid:"", view:"wap", _cache:{}, //上报_cache 同一mid name key 只会上报一次 _info:{}, // 打点记录 会写入msg帮助定位 _hookCallback:null, ignorePath:true, throw:function(e, extData) { this.onError(e, extData); throw e; }, //接收异常并上报处理 如果有额外信息可以放在第二个参数_data中 // _data 只能覆盖上报协议的字段mid (name,key 不建议通过data覆盖) msg stack file col line uin onError:function(e, extData) { try { //标记已执行的throw if (e.BADJS_EXCUTED == true) { return; } e.BADJS_EXCUTED = true; var data = errToData(e); data.uin = this.uin; data.mid = this.mid; data.view = this.view; data.cmdb_module = 'mmbizwap'; //data.msg = msg || data.msg; if (!!extData) { data = extend(data, extData); } //如果cid存在 将cid合并到key if (data.cid) { data.key = "[" + data.cid + "]:" + data.key; } if (data._info) { if (Object.prototype.toString.call(data._info) == "[object Object]") { data.msg += " || info:" + JSON.stringify(data._info); } else if (Object.prototype.toString.call(data._info) == "[object String]") { data.msg += " || info:" + data._info; } else { data.msg += " || info:" + data._info; } } if (typeof this._hookCallback == "function") { if (this._hookCallback(data) === false) { return } } this._send(data); return _.BadJs; } catch (e) { console.error(e); } }, winErr:function(event) { if (event.error && event.error.BADJS_EXCUTED) { return; } if (event.type === 'unhandledrejection') { _.BadJs.onError(createError(event.type, event.reason, "", "", "", event.reason)); }else{ _.BadJs.onError(createError(BADJS_WIN_ERR, event.message, event.filename, event.lineno, event.colno, event.error)); } }, init:function(uin, mid, view) { this.uin = uin || this.uin; this.mid = mid || this.mid; this.view = view || this.view; return _.BadJs; }, //钩子函数 hook:function(fn) { this._hookCallback = fn; return _.BadJs; }, _send:function(data) { //hack uin mid if (!data.mid) { if (typeof window.PAGE_MID !== 'undefined' && window.PAGE_MID) { data.mid = window.PAGE_MID; } else { return; } } if (!data.uin) { data.uin = window.user_uin || 0; } // 发送要去重 var flag = [data.mid, data.name, data.key].join("|"); if (this._cache && this._cache[flag]) { return } else { this._cache && (this._cache[flag] = true); this._xhr(data); } return _.BadJs; }, _xhr:function(data) { //console.log(data); var xmlobj; if (window.ActiveXObject) { try { xmlobj = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlobj = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlobj = false; } } } else if (window.XMLHttpRequest) { xmlobj = new XMLHttpRequest(); } var param = ""; for (var key in data) { if (key && data[key]) { param += [key, "=", encodeURIComponent(data[key]), "&"].join(""); } } if (xmlobj && typeof xmlobj.open == "function") { xmlobj.open("POST", "https://badjs.weixinbridge.com/report", true); xmlobj.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); xmlobj.onreadystatechange = function(status) {}; xmlobj.send(param.slice(0, -1)); } else { var img = new Image(); img.src = "https://badjs.weixinbridge.com/report?" + param; } }, // key是特征值 默认上报msg就是key,也可以主动传msg包含更多上报信息 report:function(name, key, data) { this.onError(createError(name, key), data); return this; }, // 打点标记 mark:function(info) { this._info = extend(this._info, info); }, nocache:function() { this._cache = false; return _.BadJs; } } function createError(name, msg, url, line, col, error) { return { name:name || "", message:msg || "", file:url || "", line:line || "", col:col || "", stack:(error && error.stack) || "", } } //将异常错误转换成上报协议支持的字段 /* * 先取e对象上的file line col等字段 * 再解析e.statck * name 错误大类 默认取badjs_try_err|badjs_win_err * key 错误标识 e.message * msg 错误信息 e.message * stack 错误堆栈 e.stack * file 错误发生的文件 * line 行 * col 列 * client_version */ function errToData(e) { var _stack = parseStack(e); return { name:e.name, key:e.message, msg:e.message, stack:_stack.info, file:_stack.file, line:_stack.line, col:_stack.col, client_version:"", _info:e._info } } function parseStack(e) { e._info = e._info || ""; // 当前错误的额外信息 最终上报到info var stack = e.stack || ""; var _stack = { info:stack, file:e.file || "", line:e.line || "", col:e.col || "", }; if (_stack.file == "") { // 提取file line col var stackArr = stack.split(/\bat\b/); if (stackArr && stackArr[1]) { var match = /(https?:\/\/[^\n]+)\:(\d+)\:(\d+)/.exec(stackArr[1]); if (match) { //若stack提取的file line col跟e中的属性不一致,以stack为准 但在e._info中记录原始数据 if (match[1] && match[1] != _stack.file) { _stack.file && (e._info += " [file:" + _stack.file + " ]"); _stack.file = match[1]; } if (match[2] && match[2] != _stack.line) { _stack.line && (e._info += " [line:" + _stack.line + " ]"); _stack.line = match[2]; } if (match[3] && match[3] != _stack.col) { _stack.col && (e._info += " [col:" + _stack.col + " ]"); _stack.col = match[3]; } } } } //替换堆栈中的文件路径 combojs太长 if (_stack && _stack.file && _stack.file.length > 0) { _stack.info = _stack.info.replace(new RegExp(_stack.file.split("?")[0], "gi"), "__FILE__") } //堆栈路径只保存文件名 if (_.BadJs.ignorePath) { _stack.info = _stack.info.replace(/http(s)?\:[^:\n]*\//ig, "").replace(/\n/gi, ""); } return _stack; } //兜底方法 window.addEventListener && window.addEventListener('error', _.BadJs.winErr); window.addEventListener && window.addEventListener('unhandledrejection', _.BadJs.winErr); return _.BadJs; })(WX_BJ_REPORT); window.WX_BJ_REPORT = WX_BJ_REPORT; /** * 兼容wap项目的简单CMD管理 * 所有wap项目必须包含此文件才可以执行成功 * 暴露在全局的变量仍然以seajs为命名空间,跟web项目保持一致 * 支持的API是seajs.use,以及require define * @author raphealguo * @date 20140326 */ function __moonf__() { if (window.__moonhasinit) return; window.__moonhasinit = true; window.__moonclientlog = []; // moon中存到客户端日志里面的内容,最终写入到客户端的地点在fereport.js if (typeof JSON != "object") { //针对IE7的hack window.JSON = { stringify:function() { return ""; }, parse:function() { return {}; } }; } var moon_init = function() { /** * mooncatch * 对各种异步回调都使用try catch错误上报 * @radeonwu raphealguo */ (function() { var inWx = (/MicroMessenger/i).test(navigator.userAgent); var inMp = (/MPAPP/i).test(navigator.userAgent); var _idkey = 121261; //上报的idkey 添加默认上报值 var _startKey; //开始的key var _limit; //上报的key的长度 var _badjsId; var _reportOpt; //上报的额外信息 var _extInfo; //附加的预留字段,如网络采样率采样率network_rate, 总体上报率rate var MOON_AJAX_NETWORK_OFFSET = 4; //network错误时的上报偏移量为4,这里在ajax.js中上报,这里需要加入采样率 window.__initCatch = function(opt) { _idkey = opt.idkey; _startKey = opt.startKey || 0; _limit = opt.limit; _badjsId = opt.badjsId; _reportOpt = opt.reportOpt || ""; _extInfo = opt.extInfo || {}; _extInfo.rate = _extInfo.rate || 0.5; } //暴露的上报函数,供core.js和ajax.js上报错误使用,array = [{offset:MOON_JSAPI_KEY_OFFSET, log:"ready", e:e}] window.__moon_report = function(array, rate_opt) { var isAcrossOrigin = false; var href = ''; try { href = top.location.href; } catch (e) { isAcrossOrigin = true; } var rate = 0.5; if (!!_extInfo && !!_extInfo.rate) { rate = _extInfo.rate; } if (!!rate_opt && (typeof rate_opt == 'number')) { rate = rate_opt; } if ( (!(/mp\.weixin\.qq\.com/).test(location.href) && !(/payapp\.weixin\.qq\.com/).test(location.href)) || Math.random() > rate || !(inWx || inMp) || (top != window && !isAcrossOrigin && !(/mp\.weixin\.qq\.com/).test(href)) ) { //return ; } if (isObject(array)) array = [array]; if (!isArray(array) || _idkey == '') return; var data = ""; var log = []; //存放array中每个对象关联的log var key = []; //存放array中每个上报的key var val = []; //存放array中每个上报的value var idkey = []; //如果这里没有opt.limit,直接上报到startKey if (typeof _limit != "number") { _limit = Infinity; } for (var i = 0; i _limit) continue; //上报的偏移量超过limit if (typeof item.offset != "number") continue; if (item.offset == MOON_AJAX_NETWORK_OFFSET && !!_extInfo && !!_extInfo.network_rate && Math.random() >= _extInfo.network_rate) { continue; } //log[i] = item.log || ""; var k = _limit == Infinity ? _startKey :(_startKey + item.offset); log[i] = (("[moon]" + _idkey + "_" + k + ";") + item.log + ";" + getErrorMessage(item.e || {})) || ""; key[i] = k; val[i] = 1; } for (var j = 0; j 0) { // sendReport("idkey=" + idkey.join(";") + "&lc=" + log.length + data); sendReport("POST", location.protocol + '//mp.weixin.qq.com/mp/jsmonitor?', "idkey=" + idkey.join(";") + "&r=" + Math.random() + "&lc=" + log.length + data); // 把图文消息的错误上报一份到badjs,只支持get请求 // 这里由于量比较大,把badjs的内层怼爆了,这里加多一个采样,并且去掉用户的信息 var rate = 1; if (_extInfo && _extInfo.badjs_rate) { // 初始化时的badjs采样率 rate = _extInfo.badjs_rate; } if (Math.random() < rate) { data = data.replace(/uin\:(.)*\|biz\:(.)*\|mid\:(.)*\|idx\:(.)*\|sn\:(.)*\|/, ''); if(!!_badjsId){ var _img = new Image(); var _src = 'https://badjs.weixinbridge.com/badjs?id=' + _badjsId + '&level=4&from=' + encodeURIComponent(location.host) + '&msg=' + encodeURIComponent(data); _img.src = _src.slice(0, 1024); } // badjs同时报一份到新监控 if (typeof WX_BJ_REPORT != "undefined" && WX_BJ_REPORT.BadJs) { for (var i = 0; i < array.length; i++) { var item = array[i] || {}; if (item.e) { WX_BJ_REPORT.BadJs.onError(item.e,{_info:item.log}); } else { var name = /[^:;]*/.exec(item.log)[0]; WX_BJ_REPORT.BadJs.report(name, item.log, { mid:"mmbizwap:Monitor" }); } } } } else { //虽然采样没有执行 但实际是有被BadJs.onError,置位一下 for (var i = 0; i < array.length; i++) { var item = array[i] || {}; if (item.e) { item.e.BADJS_EXCUTED = true; } } } } } function isArray(obj) { //判断输入是否为数组 return Object.prototype.toString.call(obj) === '[object Array]'; } function isObject(obj) { //判断输入是否为对象 return Object.prototype.toString.call(obj) === '[object Object]'; } function getErrorMessage(e) { var stack = e.stack + ' ' + e.toString() || ""; //错误堆栈信息 try { //先取出res域名 if (!window.testenv_reshost) { stack = stack.replace(/http(s)?:\/\/res\.wx\.qq\.com/g, ""); } else { var host = 'http(s)?://' + window.testenv_reshost; var reg = new RegExp(host, 'g'); stack = stack.replace(reg, ""); } //提取最后一个.js前边的 var reg = /\/([^.]+)\/js\/(\S+?)\.js(\,|:)?/g; while (reg.test(stack)) { // stack = stack.replace(reg, "3"); 解决$问题 stack = stack.replace(reg, function(a, b, c, d, e, f) { return c + d }); } } catch (e) { stack = e.stack ? e.stack :"" //错误堆栈信息 } var ret = []; for (o in _reportOpt) { if (_reportOpt.hasOwnProperty(o)) { ret.push(o + ":" + _reportOpt[o]); } } ret.push("STK:" + stack.replace(/\n/g, "")); return ret.join("|"); } function sendReport(type, url, data) { //post方法用于提交数据 if (!/^mp\.weixin\.qq\.com$/.test(location.hostname)) { //非MP域名使用 img方式上报 var tmp = []; data = data.replace(location.href, (location.origin || "") + (location.pathname || "")).replace("#wechat_redirect", "").replace("#rd", "").split("&"); for (var i = 0, il = data.length; i < il; i++) { var a = data[i].split("="); if (!!a[0] && !!a[1]) { tmp.push(a[0] + "=" + encodeURIComponent(a[1])); } } var _img = new window.Image(); _img.src = (url + tmp.join("&")).substr(0, 1024); return; } var xmlobj; //定义XMLHttpRequest对象 if (window.ActiveXObject) { //如果当前浏览器支持Active Xobject,则创建ActiveXObject对象 try { xmlobj = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlobj = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlobj = false; } } } else if (window.XMLHttpRequest) { //如果当前浏览器支持XMLHttpRequest,则创建XMLHttpRequest对象 xmlobj = new XMLHttpRequest(); } if (!xmlobj) return; //xmlobj.open("POST", location.protocol + "//mp.weixin.qq.com/mp/jsmonitor?", true); xmlobj.open(type, url, true); xmlobj.setRequestHeader("cache-control", "no-cache"); xmlobj.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); //设置请求头信息 xmlobj.setRequestHeader("X-Requested-With", "XMLHttpRequest"); xmlobj.send(data); //发送数据 } })(); // 后面的@cunjinli }; moon_init(); //由于moon异步化,所以有些逻辑需要moon加载完之后才执行的 放到全局callback函数__moon_initcallback里边 (!!window.__moon_initcallback) && (window.__moon_initcallback()); } // 为适应inline逻辑,有map时才主动自执行 @zhikaimai // if (typeof window.moon_map == 'object') { // __moonf__(); // } __moonf__(); if (!!window.addEventListener){ window.addEventListener("load",function(){ var MOON_SCRIPT_ERROR_KEY_OFFSET = 1; //script上报时的偏移量为1 var ns = document.querySelectorAll("[reportloaderror]"); for(var ni=0,nl=ns.length;ni<nl;ni++) ns[ni].onerror=function(ev){ window.__moon_report([{ offset:MOON_SCRIPT_ERROR_KEY_OFFSET, log:"load_script_error:" + ev.target.src, e:new Error('LoadResError') }], 1); window.WX_BJ_REPORT.BadJs.report("load_script_error", ev.target.src, { mid:"mmbizwap:Monitor" }); }; }); }

 

 

!function(){"use strict";var t=window.WebKitMutationObserver||window.MutationObserver||window.MozMutationObserver,e=0===location.href.indexOf("http://"),r=function(t){if(t){var e=t.match(/http(?:s)?:\/\/([^\/]+?)(\/|$)/);if(e&&!/qq\.com(\:8080)?$/.test(e[1])&&!/weishi\.com$/.test(e[1]))return!0}return!1};-1===location.href.indexOf("safe=0")&&e&&"function"==typeof t&&"mp.weixin.qq.com"===location.host&&(window.__observer_data={count:0,exec_time:0,list:[]},window.__observer=new t((function(t){window.__observer_data.count++;var e=new Date,o=[];t.forEach((function(t){for(var e=t.addedNodes,n=0;n<e.length;n++){var i=e[n];if("SCRIPT"===i.tagName){var _=i.src;r(_)&&(window.__observer_data.list.push(_),o.push(i)),!_&&window.__nonce_str&&i.getAttribute("nonce")!=window.__nonce_str&&(window.__observer_data.list.push("inlinescript_without_nonce"),o.push(i))}}}));for(var n=0;n<o.length;n++){var i=o[n];i.parentNode&&i.parentNode.removeChild(i)}window.__observer_data.exec_time+=new Date-e})),window.__observer.observe(document,{subtree:!0,childList:!0})),function(){if(-1===location.href.indexOf("safe=0")&&Math.random()<.01&&e&&HTMLScriptElement.prototype.__lookupSetter__&&void 0!==Object.defineProperty){window.__danger_src={xmlhttprequest:[],script_src:[],script_setAttribute:[]};var t="$"+Math.random(),o="Setter__";HTMLScriptElement.prototype.__old_method_script_src=HTMLScriptElement.prototype["__lookup"+o]("src"),HTMLScriptElement.prototype["__define"+o]("src",(function(t){t&&r(t)&&window.__danger_src.script_src.push(t),this.__old_method_script_src(t)}));var n="__setAttribute"+t;Object.defineProperty(Element.prototype,n,{value:Element.prototype.setAttribute,enumerable:!1}),Element.prototype.setAttribute=function(t,e){"SCRIPT"===this.tagName&&"src"===t&&r(e)&&window.__danger_src.script_setAttribute.push(e),this[n](t,e)}}}()}();

 

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Darkmode",[],t):"object"==typeof exports?exports.Darkmode=t():e.Darkmode=t()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=9)}([function(e,t,r){"use strict";var n=r(3),a=r(6),o=[].slice,i=["keyword","gray","hex"],l={};Object.keys(a).forEach((function(e){l[o.call(a[e].labels).sort().join("")]=e}));var s={};function u(e,t){if(!(this instanceof u))return new u(e,t);if(t&&t in i&&(t=null),t&&!(t in a))throw new Error("Unknown model:"+t);var r,c;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof u)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var h=n.get(e);if(null===h)throw new Error("Unable to parse color from string:"+e);this.model=h.model,c=a[this.model].channels,this.color=h.value.slice(0,c),this.valpha="number"==typeof h.value[c]?h.value[c]:1}else if(e.length){this.model=t||"rgb",c=a[this.model].channels;var f=o.call(e,0,c);this.color=d(f,c),this.valpha="number"==typeof e[c]?e[c]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var g=Object.keys(e);"alpha"in e&&(g.splice(g.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var b=g.sort().join("");if(!(b in l))throw new Error("Unable to parse color from object:"+JSON.stringify(e));this.model=l[b];var p=a[this.model].labels,y=[];for(r=0;r<p.length;r++)y.push(e[p[r]]);this.color=d(y)}if(s[this.model])for(c=a[this.model].channels,r=0;r<c;r++){var m=s[this.model][r];m&&(this.color[r]=m(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function c(e,t,r){return(e=Array.isArray(e)?e:[e]).forEach((function(e){(s[e]||(s[e]=[]))[t]=r})),e=e[0],function(n){var a;return arguments.length?(r&&(n=r(n)),(a=this[e]()).color[t]=n,a):(a=this[e]().color[t],r&&(a=r(a)),a)}}function h(e){return function(t){return Math.max(0,Math.min(e,t))}}function f(e){return Array.isArray(e)?e:[e]}function d(e,t){for(var r=0;r<t;r++)"number"!=typeof e[r]&&(e[r]=0);return e}u.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in n.to?this:this.rgb(),r=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return n.to[t.model](r)},percentString:function(e){var t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:t.color.concat(this.valpha);return n.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=a[this.model].channels,r=a[this.model].labels,n=0;n<t;n++)e[r[n]]=this.color[n];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new u(this.color.map(function(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new u(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:c("rgb",0,h(255)),green:c("rgb",1,h(255)),blue:c("rgb",2,h(255)),hue:c(["hsl","hsv","hsl","hwb","hcg"],0,(function(e){return(e%360+360)%360})),saturationl:c("hsl",1,h(100)),lightness:c("hsl",2,h(100)),saturationv:c("hsv",1,h(100)),value:c("hsv",2,h(100)),chroma:c("hcg",1,h(100)),gray:c("hcg",2,h(100)),white:c("hwb",1,h(100)),wblack:c("hwb",2,h(100)),cyan:c("cmyk",0,h(100)),magenta:c("cmyk",1,h(100)),yellow:c("cmyk",2,h(100)),black:c("cmyk",3,h(100)),x:c("xyz",0,h(100)),y:c("xyz",1,h(100)),z:c("xyz",2,h(100)),l:c("lab",0,h(100)),a:c("lab",1),b:c("lab",2),keyword:function(e){return arguments.length?new u(e):a[this.model].keyword(this.color)},hex:function(e){return arguments.length?new u(e):n.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=nr?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return u.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),r=t.color[0];return r=(r=(r+e)%360)<0?360+r:r,t.color[0]=r,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var r=e.rgb(),n=this.rgb(),a=void 0===t?.5:t,o=2*a-1,i=r.alpha()-n.alpha(),l=((o*i==-1?o:(o+i)/(1+o*i))+1)/2,s=1-l;return u.rgb(l*r.red()+s*n.red(),l*r.green()+s*n.green(),l*r.blue()+s*n.blue(),r.alpha()*a+n.alpha()*(1-a))}},Object.keys(a).forEach((function(e){if(-1===i.indexOf(e)){var t=a[e].channels;u.prototype[e]=function(){if(this.model===e)return new u(this);if(arguments.length)return new u(arguments,e);var r="number"==typeof arguments[t]?t:this.valpha;return new u(f(a[this.model][e].raw(this.color)).concat(r),e)},u[e]=function(r){return"number"==typeof r&&(r=d(o.call(arguments),t)),new u(r,e)}}})),e.exports=u},function(e,t,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){var n=r(7),a={};for(var o in n)n.hasOwnProperty(o)&&(a[n[o]]=o);var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var l in i)if(i.hasOwnProperty(l)){if(!("channels"in i[l]))throw new Error("missing channels property:"+l);if(!("labels"in i[l]))throw new Error("missing channel labels property:"+l);if(i[l].labels.length!==i[l].channels)throw new Error("channel and label counts mismatch:"+l);var s=i[l].channels,u=i[l].labels;delete i[l].channels,delete i[l].labels,Object.defineProperty(i[l],"channels",{value:s}),Object.defineProperty(i[l],"labels",{value:u})}i.rgb.hsl=function(e){var t,r,n=e[0]/255,a=e[1]/255,o=e[2]/255,i=Math.min(n,a,o),l=Math.max(n,a,o),s=l-i;return l===i?t=0:n===l?t=(a-o)/s:a===l?t=2+(o-n)/s:o===l&&(t=4+(n-a)/s),(t=Math.min(60*t,360))<0&&(t+=360),r=(i+l)/2,[t,100*(l===i?0:r<=.5?s/(l+i):s/(2-l-i)),100*r]},i.rgb.hsv=function(e){var t,r,n,a,o,i=e[0]/255,l=e[1]/255,s=e[2]/255,u=Math.max(i,l,s),c=u-Math.min(i,l,s),h=function(e){return(u-e)/6/c+.5};return 0===c?a=o=0:(o=c/u,t=h(i),r=h(l),n=h(s),i===u?a=n-r:l===u?a=1/3+t-n:s===u&&(a=2/3+r-t),a1&&(a-=1)),[360*a,100*o,100*u]},i.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[i.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},i.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},i.rgb.keyword=function(e){var t=a[e];if(t)return t;var r,o,i,l=1/0;for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],c=(o=e,i=u,Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},i.rgb.lab=function(e){var t=i.rgb.xyz(e),r=t[0],n=t[1],a=t[2];return n/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},i.hsl.rgb=function(e){var t,r,n,a,o,i=e[0]/360,l=e[1]/100,s=e[2]/100;if(0===l)return[o=255*s,o,o];t=2*s-(r=s<.5?s*(1+l):s+l-s*l),a=[0,0,0];for(var u=0;u<3;u++)(n=i+1/3*-(u-1))1&&n--,o=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[u]=255*o;return a},i.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,a*=o<=1?o:2-o,[t,100*(0===n?2*a/(o+a):2*r/(n+r)),100*((n+r)/2)]},i.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),l=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,a){case 0:return[n,s,i];case 1:return[l,n,i];case 2:return[i,n,s];case 3:return[i,l,n];case 4:return[s,i,n];case 5:return[n,i,l]}},i.hsv.hsl=function(e){var t,r,n,a=e[0],o=e[1]/100,i=e[2]/100,l=Math.max(i,.01);return n=(2-o)*i,r=o*l,[a,100*(r=(r/=(t=(2-o)*l)1&&(u/=h,c/=h),n=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(n=1-n),a=u+n*((r=1-c)-u),t){default:case 6:case 0:o=r,i=a,l=u;break;case 1:o=a,i=r,l=u;break;case 2:o=u,i=r,l=a;break;case 3:o=u,i=a,l=r;break;case 4:o=a,i=u,l=r;break;case 5:o=r,i=u,l=a}return[255*o,255*i,255*l]},i.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},i.xyz.rgb=function(e){var t,r,n,a=e[0]/100,o=e[1]/100,i=e[2]/100;return r=-.9689*a+1.8758*o+.0415*i,n=.0557*a+-.204*o+1.057*i,t=(t=3.2406*a+-1.5372*o+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},i.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},i.lab.xyz=function(e){var t,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;var o=Math.pow(r,3),i=Math.pow(t,3),l=Math.pow(n,3);return r=o>.008856?o:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=l>.008856?l:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},i.lab.lch=function(e){var t,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},i.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},i.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],a=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===a&&(o+=60),o},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},i.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},i.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<>16&255,n>>8&255,255&n]},i.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,o=Math.max(Math.max(r,n),a),i=Math.min(Math.min(r,n),a),l=o-i;return t=l<=0?0:o===r?(n-a)/l%6:o===n?2+(a-r)/l:4+(r-n)/l+4,t/=6,[360*(t%=1),100*l,100*(l<1?i/(1-l):0)]},i.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},i.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n0&&(n=t/r),[e[0],100*n,100*r]},i.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},i.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},i.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]},i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,r){var n=r(1),a=r(4),o=Object.hasOwnProperty,i={};for(var l in n)o.call(n,l)&&(i[n[l]]=l);var s=e.exports={to:{},get:{}};function u(e,t,r){return Math.min(Math.max(t,e),r)}function c(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),r="hsl";break;case"hwb":t=s.get.hwb(e),r="hwb";break;default:t=s.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,r,a,i=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(a=t[2],t=t[1],r=0;r<3;r++){var l=2*r;i[r]=parseInt(t.slice(l,l+2),16)}a&&(i[3]=parseInt(a,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(a=(t=t[1])[3],r=0;r<3;r++)i[r]=parseInt(t[r]+t[r],16);a&&(i[3]=parseInt(a+a,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)i[r]=parseInt(t[r+1],0);t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:o.call(n,t[1])?((i=n[t[1]])[3]=1,i):null:null;for(r=0;r<3;r++)i[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}for(r=0;r<3;r++)i[r]=u(i[r],0,255);return i[3]=u(i[3],0,1),i},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(r)?1:r,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(r)?1:r,0,1)]}return null},s.to.hex=function(){var e=a(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=a(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=a(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},s.to.hsl=function(){var e=a(arguments);return e.length=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return i[e.slice(0,3)]}},function(e,t,r){"use strict";var n=r(5),a=Array.prototype.concat,o=Array.prototype.slice,i=e.exports=function(e){for(var t=[],r=0,i=e.length;r=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},function(e,t,r){var n=r(2),a=r(8),o={};Object.keys(n).forEach((function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});var t=a(e);Object.keys(t).forEach((function(r){var n=t[r];o[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,a=0;a1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=o},function(e,t,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){var n=r(2);function a(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,a=0;a<r;a++)e[t[a]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var a=r.pop(),o=Object.keys(n[a]),i=o.length,l=0;l<i;l++){var s=o[l],u=t[s];-1===u.distance&&(u.distance=t[a].distance+1,u.parent=a,r.unshift(s))}return t}function o(e,t){return function(r){return t(e(r))}}function i(e,t){for(var r=[t[e].parent,e],a=n[t[e].parent][e],i=t[e].parent;t[i].parent;)r.unshift(t[i].parent),a=o(n[t[i].parent][i],a),i=t[i].parent;return a.conversion=r,a}e.exports=function(e){for(var t=a(e),r={},n=Object.keys(t),o=n.length,l=0;l<o;l++){var s=n[l];null!==t[s].parent&&(r[s]=i(s,t))}return r}},function(e,t,r){"use strict";r.r(t),r.d(t,"run",(function(){return ve})),r.d(t,"init",(function(){return ke})),r.d(t,"convertBg",(function(){return we})),r.d(t,"extend",(function(){return xe})),r.d(t,"updateStyle",(function(){return Me}));var n="(prefers-color-scheme:dark)",a="data_color_scheme_dark",o="".concat(1*new Date).concat(Math.round(10*Math.random())),i="data-darkmode-color-".concat(o),l="data-darkmode-bgcolor-".concat(o),s="data-darkmode-original-color-".concat(o),u="data-darkmode-original-bgcolor-".concat(o),c="data-darkmode-bgimage-".concat(o),h=window.getInnerHeight&&window.getInnerHeight()||window.innerHeight||document.documentElement.clientHeight,f=["TABLE","TR","TD","TH"],d=/ !important$/,g={hasInit:!1,begin:null,showFirstPage:null,error:null,mode:"",whitelist:{tagName:["MPCPS","IFRAME"]},needJudgeFirstPage:!0,delayBgJudge:!1,container:null,cssSelectorsPrefix:"",defaultLightTextColor:"#191919",defaultLightBgColor:"#fff",defaultDarkTextColor:"#a3a3a3",defaultDarkBgColor:"#191919",set:function(e,t,r){var n=t[r];switch(e){case"boolean":"boolean"==typeof n&&(this[r]=n);break;case"string":"string"==typeof n&&""!==n&&(this[r]=n);break;case"function":"function"==typeof n&&(this[r]=n);break;case"dom":n instanceof HTMLElement&&(this[r]=n)}}};function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r2&&void 0!==arguments[2])||arguments[2];(r?v:k).push(de.genCss(e,t.map((function(e){var t=e.key,r=e.value;return de.genCssKV(t,r)})).join("")))}}]),e}(),x=function(){function e(){p(this,e),b(this,"_plugins",[]),b(this,"length",0),b(this,"loopTimes",0),b(this,"firstPageStyle",""),b(this,"otherPageStyle",""),b(this,"firstPageStyleNoMQ",""),b(this,"otherPageStyleNoMQ","")}return m(e,[{key:"extend",value:function(e){this._plugins.push(new(e(w))),this.length++}},{key:"emit",value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this._plugins.forEach((function(t){"function"==typeof t[e]&&t[e].apply(t,r)}))}},{key:"addCss",value:function(e){e?(this.firstPageStyle+=v.join(""),this.firstPageStyleNoMQ+=k.join("")):(this.otherPageStyle+=v.join(""),this.otherPageStyleNoMQ+=k.join(""))}},{key:"resetCss",value:function(){v=[],k=[]}}]),e}();function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),C(this,"_queue",[]),C(this,"_idx",0),this._prefix=t}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t="".concat(this._prefix).concat(this._idx++);e.classList.add(t),this._queue.push({el:e,className:t,updated:!g.delayBgJudge})}},{key:"forEach",value:function(e){var t=[];for(this._queue.forEach((function(r,n){r.updated&&(t.unshift(n),M(e)&&e(r.el))}));t.length;)this._queue.splice(t.shift(),1)}},{key:"update",value:function(e){this._queue.forEach((function(t){t.updated||Array.prototype.some.call(e,(function(e){return!(1!==e.nodeType||!e.classList.contains(t.className)||(t.el=e,t.updated=!0,0))}))}))}}])&&_(t.prototype,r),n&&_(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e,t){for(var r=0;r=a.bottom||r.bottom=a.right||r.righte.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function N(e,t){for(var r=0;r1&&void 0!==arguments[1]&&arguments[1];this[t?"_firstPageStyle":"_otherPageStyle"]+=e,ce.addCss(t)}},{key:"writeStyle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!e&&be.isDarkmode&&(this.isFinish=!0);var t=(be.isDarkmode?[{target:this,key:["_firstPageStyle","_otherPageStyle"],needMediaQuery:!0}]:[]).concat([{target:ce,key:["firstPageStyle","otherPageStyle"],needMediaQuery:!0},{target:ce,key:["firstPageStyleNoMQ","otherPageStyleNoMQ"],needMediaQuery:!1}]).map((function(t){var r=t.target,a=B(t.key,2),o=a[0],i=a[1],l=t.needMediaQuery,s="";e?s=o:(r[i]=r[o]+r[i],r[o]="",s=i);var u=r[s];return u?(r[s]="","dark"!==g.mode&&l?"@media ".concat(n," {").concat(u,"}"):u):""})).join("");t&&document.head.insertAdjacentHTML("beforeend",''.concat(t,""))}}])&&N(t.prototype,r),o&&N(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function F(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:[];this._nodes=e}},{key:"get",value:function(){var e=[];return this._nodes.length?(e=this._nodes,be.isDarkmode&&(this._nodes=[])):this._delayNodes.length?(e=this._delayNodes,this._delayNodes=[]):g.container&&(e=g.container.querySelectorAll("*")),e}},{key:"delay",value:function(){var e=this;Array.prototype.forEach.call(this._nodes,(function(t){return e._delayNodes.push(t)})),this._nodes=[]}},{key:"hasDelay",value:function(){return this._delayNodes.length>0}},{key:"addFirstPageNode",value:function(e){this._firstPageNodes.push(e)}},{key:"showFirstPageNodes",value:function(){this._firstPageNodes.forEach((function(e){return e.style.visibility="visible"})),this.showFirstPage=!0}},{key:"emptyFirstPageNodes",value:function(){this._firstPageNodes=[]}}])&&F(t.prototype,r),n&&F(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),z=r(0),K=r.n(z),J=r(1),R=r.n(J);function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,a,o=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw a}}return o}(e,t)||Q(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Q(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){if(e){if("string"==typeof e)return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?G(e,t):void 0}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function W(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}R.a.windowtext=[0,0,0],R.a.transparent=[255,255,255,0];var Y=//g,Z=new RegExp("".concat("js_darkmode__","\\d+")),ee=new RegExp(Object.keys(R.a).map((function(e){return"\\b".concat(e,"\\b")})).join("|"),"ig"),te=/\brgba?\([^)]+\)/i,re=/\brgba?\([^)]+\)/gi,ne=function(e){return e.replace(d,"")},ae=function(e,t){return ne(e).replace(ee,(function(e){if(!t&&"transparent"===e)return e;var r=R.a[e.toLowerCase()];return"".concat(r.length>3?"rgba":"rgb","(").concat(r.toString(),")")}))},oe=function(e){if(!e||e.length=250)return e;if(u>this._maxLimitOffsetBrightness&&a=65)return e;if(a>=100){if(i[2]>50){i[2]=90-i[2];var c=K.a.hsl.apply(K.a,H(i)).alpha(l);return this._adjustTextBrightness(c,t)}return se(Math.min(this._maxLimitOffsetBrightness,a-65),o).alpha(l)}if(i[2]40||a>250?o=K.a.hsl(0,0,Math.min(100,100+this._defaultDarkBgColorHslBrightness-r[2])):a>190?o=se(190,t).alpha(n):r[2]=.05&&delete t[c],a=this._adjustBackgroundBrightness(e),!r.hasInlineColor){var u=t[i]||g.defaultLightTextColor,h=a||e,f=this._adjustBrightness(K()(u),t,{isTextColor:!0,parentElementBgColorStr:h},n);f.newColor?s+=de.genCssKV("color",f.newColor):s+=de.genCssKV("color",u)}}else if(r.isTextColor||r.isBorderColor){var d=r.parentElementBgColorStr||r.isTextColor&&t[l]||g.defaultDarkBgColor,b=K()(d);t[c]||(a=this._adjustTextBrightness(e,b),ce.emit("afterConvertTextColor".concat(n?"ByUpdateStyle":""),t,{fontColor:a,bgColor:b}))}else r.isTextShadow&&(t[c]||(a=this._adjustBackgroundBrightness(e)));return{newColor:a&&e.toString()!==a.toString()&&a.alpha(o).rgb(),extStyle:s}}},{key:"_try",value:function(e){try{return e()}catch(e){console.log("An error occurred when running the dark mode conversion algorithm\n",e),"function"==typeof g.error&&g.error(e)}}},{key:"convert",value:function(e,t,r){var n=this;ce.resetCss(),ce.emit("beforeConvertNode".concat(r?"ByUpdateStyle":""),e);var a,o,h="",b="";if(this.isDarkmode||r){var p=e.nodeName;if(g.whitelist.tagName.indexOf(p)>-1)return"";var y=e.style;t||(t=(y.cssText&&y.cssText.replace(/("[^;]*);([^;]*")|('[^;]*);([^;]*')/g,"$1$3".concat("","$2$4")).split(";")||[]).map((function(e){var t=e.indexOf(":");return[e.slice(0,t).toLowerCase(),e.slice(t+1).replace(Y,";")].map((function(e){return(e||"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}))})));var m,v,k=!1,w=!1,x=!1;t=t.filter((function(e){var t=U(e,2),r=t[0],n=t[1];return"color"===r?k=!0:/background/i.test(r)&&(w=!0,"background-position"===r?m=n:"background-size"===r&&(v=n)),(/background/i.test(r)||/^(-webkit-)?border-image/.test(r))&&/url\([^)]*\)/i.test(n)&&(x=!0),["-webkit-border-image","border-image","color","background-color","background-image","background","border","border-top","border-right","border-bottom","border-left","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","text-shadow"].indexOf(r)>-1})).sort((function(e,t){var r=U(e,1)[0],n=U(t,1)[0];return"color"===r||"background-image"===r&&"background-color"===n||0===n.indexOf("-webkit-text")?1:-1})),f.indexOf(p)>-1&&!w&&this._try((function(){var r=function(e){var t=null;return Array.prototype.some.call(e.classList,(function(e){return!!$[e]&&(t=$[e],!0)})),t}(e);r||(r=e.getAttribute("bgcolor")),r&&(t.unshift(["background-color",K()(r).toString()]),w=!0)})),"FONT"!==p||k||this._try((function(){var r=e.getAttribute("color");r&&(t.push(["color",K()(r).toString()]),k=!0)}));var M="",_="",C=0;t.some((function(e,t){var r=U(e,2),a=r[0],o=r[1];return n._try((function(){if(0!==a.indexOf("-webkit-text"))return C=t,!0;switch(a){case"-webkit-text-fill-color":M=ie(o);break;case"-webkit-text-stroke":var e=o.split(" ");2===e.length&&(_=ie(e[1]));break;case"-webkit-text-stroke-color":_=ie(o)}return!1}))})),M&&(k?t[t.length-1]=["-webkit-text-fill-color",M]:(t.push(["-webkit-text-fill-color",M]),k=!0)),C&&(t.splice(0,C),_&&t.unshift(["-webkit-text-stroke-color",_]));var j="",S="";if(r&&e.className&&"string"==typeof e.className){var P=e.className.match(Z);P&&(j=P[0]),(P=e.className.match(fe.classNameReg))&&(S=P[0])}var O="";t.forEach((function(t){var a=U(t,2),o=a[0],h=a[1];return n._try((function(){var t,a=h,f=!1,p=/^background/.test(o),M="text-shadow"===o,_=["-webkit-text-stroke-color","color","-webkit-text-fill-color"].indexOf(o),C=/^border/.test(o),j=/gradient/.test(h),P=[],B="";if(h=ae(h,j),te.test(h)){if(j){for(var A=re.exec(h);A;)P.push(A[0]),A=re.exec(h);t=oe(P)}var N=0;h=h.replace(re,(function(a){j&&(a=t,f=!0);var o=n._adjustBrightness(K()(a),e,{isBgColor:p,isTextShadow:M,isTextColor:_>-1,isBorderColor:C,hasInlineColor:k},r),h=!x&&o.newColor;if(B+=o.extStyle,p||_>0){var d=p?l:i,b=p?u:s,y=h?h.toString():a;0===N&&q(e).forEach((function(e){var t=e[b]||g.defaultLightBgColor;e[d]=y,e[b]=t.split("|").concat(a).join("|"),p&&K()(y).alpha()>=.05&&e[c]&&delete e[c]}))}return h&&(f=!0),N+=1,h||a})).replace(/\s?!\s?important/gi,"")}if(B&&(O+=B),!(e instanceof SVGElement)){var E=/^background/.test(o),T=/^(-webkit-)?border-image/.test(o);if((E||T)&&/url\([^)]*\)/i.test(h)){f=!0;var F=oe((e[u]||g.defaultLightBgColor).split("|"));if(h=h.replace(/^(.*?)url\(([^)]*)\)(.*)$/i,(function(t){var r=t,n="",a="",i="";return e[c]||q(e).forEach((function(e){e[c]=!0})),E?(r="linear-gradient(".concat("rgba(0,0,0,0.2)",", ").concat("rgba(0,0,0,0.2)","),").concat(t),i=de.genCssKV(o,"".concat(r,",linear-gradient(").concat(F,", ").concat(F,")")),m&&(n="top left,".concat(m),O+=de.genCssKV("background-position","".concat(n)),i+=de.genCssKV("background-position","".concat(n,",top left"))),v&&(a="100%,".concat(v),O+=de.genCssKV("background-size","".concat(a)),i+=de.genCssKV("background-size","".concat(a,",100%"))),S?b+=de.genCss(S,i):fe.push(e,i)):w||(i=de.genCssKV("background-image","linear-gradient(".concat("rgba(0,0,0,0.2)",", ").concat("rgba(0,0,0,0.2)","),linear-gradient(").concat(F,", ").concat(F,")")),S?b+=de.genCss(S,i):fe.push(e,i)),r})),!k){var D=oe((e[s]||g.defaultLightTextColor).split("|"));O+=de.genCssKV("color",D),q(e).forEach((function(e){e[i]=D}))}}}f&&(!r&&d.test(a)&&(y[o]=ne(a)),j?S?b+=de.genCss(S,de.genCssKV(o,h)):fe.push(e,de.genCssKV(o,h)):O+=de.genCssKV(o,h))}))})),O&&(e.setAttribute("data-style",y.cssText),j||(j="".concat("js_darkmode__").concat(this._idx++),e.classList.add(j)),h+=O?de.genCss(j,O):""),h+=b,!r&&(a=e,o="",Array.prototype.forEach.call(a.childNodes,(function(e){3===e.nodeType&&(o+=e.nodeValue.replace(/\s/g,""))})),o.length>0)&&(g.delayBgJudge?he.push(e):fe.contains(e,(function(e){h+=de.genCss(e.className,e.cssKV)})))}return ce.emit("afterConvertNode".concat(r?"ByUpdateStyle":""),e),h}}])&&W(t.prototype,r),n&&W(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ce=new x,he=new j("".concat("js_darkmode__","text__")),fe=new O("".concat("js_darkmode__","bg__")),de=new T,ge=new V,be=new ue,pe=new RegExp("".concat("js_darkmode__","[^ ]+"),"g"),ye=null,me=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{type:"dom"};if(t.force&&(de.isFinish=!1),!de.isFinish)try{be.isDarkmode=g.mode?"dark"===g.mode:e.matches,"dom"===t.type?(be.isDarkmode&&"function"==typeof g.begin&&g.begin(ge.hasDelay()),Array.prototype.forEach.call(ge.get(),(function(e){if(be.isDarkmode&&e.className&&"string"==typeof e.className&&(e.className=e.className.replace(pe,"")),be.isDarkmode||ce.length)if(g.needJudgeFirstPage){var t=e.getBoundingClientRect(),r=t.top,n=t.bottom;r<=0&&n0&&r0&&n0&&void 0!==arguments[0]?arguments[0]:{};if(!g.hasInit){g.hasInit=!0;var t=g.whitelist.tagName;e.whitelist&&e.whitelist.tagName instanceof Array&&e.whitelist.tagName.forEach((function(e){e=e.toUpperCase(),-1===t.indexOf(e)&&t.push(e)})),["dark","light"].indexOf(e.mode)>-1&&(g.set("string",e,"mode"),document.getElementsByTagName("html")[0].classList.add(a)),g.set("function",e,"begin"),g.set("function",e,"showFirstPage"),g.set("function",e,"error"),g.set("boolean",e,"needJudgeFirstPage"),g.set("boolean",e,"delayBgJudge"),g.set("dom",e,"container"),g.set("string",e,"cssSelectorsPrefix"),g.set("string",e,"defaultLightTextColor"),g.set("string",e,"defaultLightBgColor"),g.set("string",e,"defaultDarkTextColor"),g.set("string",e,"defaultDarkBgColor"),!g.mode&&null===ye&&window.matchMedia&&(ye=window.matchMedia(n)).addListener(me)}}function we(e){ge.set(e),null!==g.container&&(fe.update(e),he.update(e)),me(ye,{force:!0,type:"bg"})}function xe(e){e.forEach((function(e){return ce.extend(e)}))}function Me(e,t){de.isFinish&&(de.addCss(be.convert(e,t?Object.keys(t).map((function(e){return[e,t[e]]})):void 0,!0),!1),de.writeStyle())}}])}));

                                                                                                     

.cooldown_tips { margin: 30px auto; margin-top: 0; display: flex; align-items: center; padding: 10px; font-size: 14px; background-color: #f6f7f9; border-radius: 6px; } .cooldown_tips_icon { display: block; width: 18px; height: 18px; margin-right: 8px; }

 

.body-center-border-bottom{font-size: 10px;padding: calc(20px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) 12px calc(16px + env(safe-area-inset-left));}.item-money{font-size: 12px;font-family: PingFangSC-Medium, PingFang SC;font-weight: 500;color: #333333;width: 80px;text-align: right;}.image{width: 120px;height: 62px;position: absolute;}.english{font-size: 14px;transform: scale(0.5, 0.5);font-family: SFPro-Regular, SFPro;font-weight: 400;color: #FF7E11;margin-top: -2px;}.title{font-size: 16px;font-family: 975HazyGothicSC-Bold, 975HazyGothicSC;font-weight: bold;color: #333333;}.image{width: 60px;height: 30px;position: absolute;}.header-text{display: flex;flex-direction: column;align-items: center;justify-content: center;font-weight: bold;z-index: 90;}.body-center {padding-bottom: 10px;}.header{display: flex;flex-direction: column;align-items: center;}.list-header{display: flex;align-items: center;}.border-left-bor{width: 6px;height: 6px;border-radius: 50%;background: #FF7E11;}.header-text{font-size: 14px;font-family: PingFangSC-Medium, PingFang SC;font-weight: 400;color: #000000;margin-left: 3%;}.list{margin-top: 2%;padding-bottom: 1%;}.item{padding-left: 3%; padding-right: 3%;display: flex;align-items: center;justify-content:space-between;margin-top: 8px;margin-bottom: 8px;}.item-text{font-size: 12px;font-family: PingFangSC-Regular, PingFang SC;font-weight: 400;color: #333333;text-align: justify;text-justify: newspaper;word-break: break-all;}.item-text-pad{padding-right: 40px;}.item-number{font-size: 10px;font-family: PingFangSC-Regular, PingFang SC;font-weight: 400;color: #999999;}.item_right{display: flex;align-items: center;}

套餐内容PRODUCT CONTENT【22店适用·万利记】19.9元享特惠单人餐!拆骨肉粉/面、山楂乌梅汁/可乐......(购买截止时间12.19)【超值单人餐】· 拆骨肉粉/面(25元)山楂乌梅汁/可乐(6元)(1)¥31购买/使用时间BUY/USAGE TIME【22店适用·万利记】19.9元享特惠单人餐!拆骨肉粉/面、山楂乌梅汁/可乐......(购买截止时间12.19)购买日期· 2022-11-20 - 2022-12-19使用时间· 2022-11-20 - 2023-03-28

【22店适用·万利记】19.9元享特惠单人餐!拆骨肉粉/面、山楂乌梅汁/可乐......(购买截止时间12.19) 【22店适用·万利记】19.9元享特惠单人餐!拆骨肉粉/面、山楂乌梅汁/可乐......(购买截止时间12.19)

万利记,一家连锁的宝藏长沙小吃社

终于被小联“安排”上了。

22店适用,特色长沙粉/面

让你一键解锁长沙人偏爱的“辣”

双人餐、单人餐、特色小吃,划算实在

贴心又对味的宝藏小吃社,环境雅致

长沙粉/面,臭豆腐、饮品……

分分钟让你爱上~

【22店适用·万利记】19.9元享特惠单人餐!拆骨肉粉/面、山楂乌梅汁/可乐......(购买截止时间12.19)

01.

「 连锁品牌门店,匠心出品 」

· 放开吃,对味!·

//

在各大街区都很容易看到得一家宝藏小吃社——『万利记』,带着超对味的长沙小吃席卷而来,特色地道的长沙风味,每一种都让人记挂~

 ①“来自长沙的经典粉/面,地道又好吃!”

 ②“经典名菜,长沙臭豆腐”

众所周知,湖南菜以辣出名,辣而不燥,香且勾人,就算是小吃也不例外.....长沙的特色小吃马上以惊艳味蕾的方式散发开来~等你来品尝!

02.

「 把长沙的厨房搬来了深圳 」

· 这些菜式,来了得吃上!·

 ①  | 长沙经典肉丝粉/面

长沙经典肉丝粉/面,可以自由选择哦!这里的米粉为了保持新鲜爽弹的口感,每一根粉都经过磨米、蒸粉、晾粉、折粉、切粉等工艺才能完成~不会很软也保持着弹性,也有着同样的韧性哟~在浇汁的浸入下味道被调制的恰到好处!不咸不腻,带着丝丝的辣香,好吃到甚至连汤底都不愿放过~

//

 ②   | 辣椒炒肉粉/面

让我记挂的还有这份辣椒炒肉粉/面,满满的一大碗,吃完之后大汗淋漓,不能吃辣的小伙伴都要赞不绝口了,辣而不燥,属实过瘾!

质地软烂的鲜肉、香辣交缠,吃到嘴里干香浓郁,搭配上粉/面,口口撩人~

 ③   | 臭豆腐  

无论在长沙还是深圳等地,来万利记,这道臭豆腐几乎是每桌都点的,灵魂浇汁搭配特色长沙的黑豆腐,香辣过瘾!豆腐软糯的口感在料汁的侵入下又糯又多汁,不愧是国民特色小吃!

//

④   | 米酒冲蛋

03.

「 来这,还能玩转国潮风?」

· 国潮风潮,在这里找到!·

店铺装修得复古又别致,闪亮的霓虹灯,复古红搭配皮质座椅,时尚有趣。

店内有大量网红打卡区域吆!大吉大利砖墙、炫酷的霓虹灯..座位宽敞且充足,卡座、小方桌、四人桌...无论是平时的工作餐或多人小聚都能满足。

忙碌工作日的中午或者下班后,来吃一桌长沙小吃,也不失为一种简单的享受。

—— END ——

预览时标签不可点购买须知Purchase Notes【22店适用·万利记】19.9元享特惠单人餐!拆骨肉粉/面、山楂乌梅汁/可乐......(购买截止时间12.19)预约方式· 无需预约,高峰期需等位营业时间· 10:00-21:00使用规则· 深上业店、8号仓店周六日不参与活动· 本套餐不可叠加使用· 活动不可同时享受店里其他优惠活动,超出套餐内容费用,按店内实际收费另付· 如部分菜品因时令或其他不可抗因素导致无法提供,商家将用等价菜品替换· 购买此套票视为认同此声明及认同活动规则· 本产品仅限本人或转赠亲友使用,禁止二次售卖· 图片仅供参考商家信息MERCHANT【22店适用·万利记】19.9元享特惠单人餐!拆骨肉粉/面、山楂乌梅汁/可乐......(购买截止时间12.19)万利记(坂田天虹店)· 联系电话:84508520· 商家地址:龙岗区坂田街道大发埔社区吉华路698号坂田天虹二楼201万利记老长沙小吃社(佳兆业店)· 联系电话:2886658· 商家地址:惠州大道11号佳兆业广场F5层万利记老长沙现制小吃社(龙岗宝能店)· 联系电话:33692080· 商家地址:龙城街道尚景社区龙城建设路28号宝能·allcity购物中心F1东莞万利记餐饮有限公司· 联系电话:15322965532· 商家地址:大朗镇大润发一楼万利记餐饮有限公司万利记(西丽创智云城店)· 联系电话:18676793023· 商家地址:西丽街道西丽社区留仙大道创智云城1标段124号万利记老长沙现制小吃社(佳纷天地店)· 联系电话:23834330· 商家地址:松山湖园区博恒二路1号2栋103室、104室万利记老长沙现制小吃社(深铁汇里广场店)· 联系电话:28500539· 商家地址:龙岗大道地铁站3号线六约站A出口东南侧深铁汇里广场4楼L423号铺万利记(深圳杉杉奥特莱斯广场店)· 联系电话:18898742557· 商家地址:艺展一路与三交叉口东南100米万利记(东莞益田店)· 联系电话:87772969· 商家地址:凤岗镇龙平南路1号408万利记老长沙现制小吃社(西乡天虹店)· 联系电话:23207848· 商家地址:西乡大道西乡站天虹商场负二楼B2025万利记老长沙现制小吃社(新沙天虹店)· 联系电话:23725684· 商家地址:西环路2105号新沙天虹购物中心F3层万利记(勤诚达店)· 联系电话:858503· 商家地址:新安街道灵芝园社区22区勤诚达悦园10AB座商业1237-1238万利记老长沙小吃社(福城天虹店)· 联系电话:23737376· 商家地址:福城街道茜坑社区观澜大道117号澜汇花园商业半地下室86福城天虹大厦B1层B137号万利记八号仓店· 联系电话:61951519· 商家地址:民治街道民康路华南物流8号仓奥特莱斯商场L303万利记(龙华天虹购物中心店)· 联系电话:21030201· 商家地址:人民路2020号龙华九方购物中心L3层L318号万利记龙坪天虹店· 联系电话:13714796500· 商家地址:坪山街道六和社区和强路8号财富城一期1栋A单元2001万利记老长沙现制小吃社(天安云谷店)· 联系电话:20268046· 商家地址:坂田街道坂田天安云谷一期3栋D座一楼1C12-1商铺万利记老长沙现制小吃社(科兴科学园店)· 联系电话:26641851· 商家地址:科兴科学园A栋G层原味街乐购旁万利记老长沙现制小吃社(深业上城店)· 联系电话:82762080· 商家地址:皇岗路深业上城M层M04B(麦当劳旁)万利记老长沙现制小吃社(KKONE店)· 联系电话:83256490· 商家地址:沙头街道滨河大道9289号滨河时代裙楼京基百纳时代负一楼B119号商铺万利记老长沙现制小吃社(连城店)· 联系电话:82567335· 商家地址:福华路连城新天地1期会购区间B区B1层B31号铺万利记老长沙现制小吃社(丰盛町店)· 联系电话:82575547· 商家地址:深南大道车公庙丰盛町商场负二楼B区B2-031-035

微信扫一扫
关注该公众号

知道了 微信扫一扫
使用小程序取消 允许取消 允许


微信二维码
小程序码