!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=3)}([function(t,e,n){var o,r,i;!function(a,c){r=[t,n(7)],o=c,void 0!==(i="function"==typeof o?o.apply(e,r):o)&&(t.exports=i)}(0,function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(t){return t&&t.__esModule?t:{default:t}}(e),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":r(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=a})},function(t,e,n){function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!c.string(e))throw new TypeError("Second argument must be a String");if(!c.fn(n))throw new TypeError("Third argument must be a Function");if(c.node(t))return r(t,e,n);if(c.nodeList(t))return i(t,e,n);if(c.string(t))return a(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function r(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function i(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}function a(t,e,n){return u(document.body,t,e,n)}var c=n(6),u=n(5);t.exports=o},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function o(){r.off(t,o),e.apply(n,arguments)}var r=this;return o._=e,this.on(t,o,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;for(o;o0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===d(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,f.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(s.default);t.exports=p})},function(t,e){function n(t,e){for(;t&&t.nodeType!==o;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}var o=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=n},function(t,e,n){function o(t,e,n,o,r){var a=i.apply(this,arguments);return t.addEventListener(n,a,r),{destroy:function(){t.removeEventListener(n,a,r)}}}function r(t,e,n,r,i){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return o(t,e,n,r,i)}))}function i(t,e,n,o){return function(n){n.delegateTarget=a(n.target,e),n.delegateTarget&&o.call(t,n)}}var a=n(4);t.exports=r},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}t.exports=n}])}); var sMobile = 0; var sUserAgent = navigator.userAgent.toLowerCase(); var windowWidth = document.documentElement.clientWidth; var windowHeight = document.documentElement.clientHeight; function objCenter(objWidth,objHeight,objname){ var t = Math.floor(windowHeight/2)-Math.floor(objHeight/2)+'px'; var l = Math.floor(windowWidth/2)-Math.floor(objWidth/2)+'px'; document.getElementById(objname).style.top=t; document.getElementById(objname).style.left=l; } function online_box_2(i){ if (i==0){ document.getElementById('online-box').style.display='none'; document.getElementById('online-box-button').style.display='block'; }else{ document.getElementById('online-box').style.display='block'; document.getElementById('online-box-button').style.display='none'; } } function online_box(i){ objCenter(560,320,'dialog-expert-box'); if (i==0){ document.getElementById('dialog-expert-box').style.display='none'; }else{ document.getElementById('dialog-expert-box').style.display='block'; //QQ面板 if (i==1){ document.getElementById('dialog-expert-box').style.display='block'; document.getElementById('expert-qq-box').style.display='block'; document.getElementById('expert-qq-menu').className='current'; document.getElementById('expert-webchat-box').style.display='none'; document.getElementById('expert-webchat-menu').className=''; document.getElementById('expert-qq-target').innerHTML=''; } //微信面板 if (i==2){ document.getElementById('expert-webchat-box').style.display='block'; document.getElementById('expert-webchat-menu').className='current'; document.getElementById('expert-qq-box').style.display='none'; document.getElementById('expert-qq-menu').className=''; } } } if ((sUserAgent.match(/(ipod|iphone os|midp|ucweb|android|windows ce|windows mobile)/i))){ sMobile = 1; var qq = 1; var qqURL = 'mqqwpa://im/chat?chat_type=wpa&uin=1205297163&version=1&src_type=web&web_src=qq.com'; if(sUserAgent.match(/MicroMessenger/i)=='micromessenger'){ qqURL = 'http://wpa.qq.com/msgrd?v=3&uin=1205297163&site=qq&menu=yes'; } if(sUserAgent.indexOf('baidu')!=-1){qq = 0} var itemWidth = Math.floor(windowWidth/3)-25; itemWidth = Math.floor(itemWidth); document.write(''); document.write('
'); document.write('
1

在线咨询

'); if(qq==1){ document.write('

免费评估

'); }else{ document.write('

QQ咨询

'); } document.write('

电话咨询

'); document.write('
'); }else{ document.write(''); document.write(''); document.write(''); document.write('
'); document.write(' '); document.write('
'); document.write('
18018632408
'); document.write(''); document.write('
'); var clipboard = new ClipboardJS('#expert-qq-copy', { text: function() { return '1205297163'; } }); clipboard.on('success', function(e) { alert('老师的QQ【1205297163】复制成功,请打开QQ手动添加'); }); clipboard.on('error', function(e) { alert('您的浏览器不支持快捷复制,请直接添加老师的QQ【1205297163】'); }); document.write(''); document.write('
'); document.write(''); document.write('
'); document.write('
资深外教辅导
'); document.write('
六重文书保障
'); document.write('
名校保驾护航
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); function DialogActivclick(a){ if (a==0){document.getElementById('DialogActiv').style.display='none';} } $(function () { //获取短信验证码 var validCode = true; $("#GetCaptcha").click(function () { var mobile = $("#dialog_mobile").val(); var myreg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/; if (!myreg.test(mobile)) { alert('手机号格式不正确') return false; } else { var time = 60; var $code = $(this); var sms_url = "https://www.sll.cn/plug/wechat/miniprogram/sms.asp?action=send&mobile=" + mobile + "&item_id=0"; $.get(sms_url, function (res) { if (res != 1) { alert(res); return false; } else { $code.attr("disabled", true); // 禁止重复点击 var t = setInterval(function () { time--; $code.html(time + "秒"); if (time == 0) { clearInterval(t); // 清除计时器 $code.html("重新获取"); $code.removeAttr("disabled"); // 倒计时结束可以点击 validCode = true; } }, 1000) } }) } }); }) var _apply = $('#applyFormModal') _apply.find('select,input,textarea').click(function () { $(this).removeClass('failed'); }); function apply_submit_index() { var flag = false; var failed = 0; //var select_tip = '请按要求完善警示部分的内容!'; _apply.find('select,input,textarea').removeClass('failed'); var country_id = _apply.find('#country_id'); var name = _apply.find('#name'); var mobile = _apply.find('#dialog_mobile'); var captcha = _apply.find('#captcha'); if (country_id.val() == 0) { country_id.addClass('failed'); failed = 1; } if (name.val() == '') { name.addClass('failed'); failed = 1; } if (mobile.val() == '') { mobile.addClass('failed'); failed = 1; } if (captcha.val() == '') { captcha.addClass('failed'); failed = 1; } if (failed == 1) { alert('请按要求完善警示部分的内容'); } else { var sms_url = "https://www.sll.cn/plug/wechat/miniprogram/sms.asp?action=check&item_id=0"; $.ajax({ type: 'GET', url: sms_url, data: { mobile: mobile.val(), code: captcha.val() }, dataType: 'json', async: false, success: function (res) { if (res == 1) { flag = true; } }, error: function (res) { flag = false; alert(res.responseText); } }); } return flag; } } function ivyboxclick(a){ if (a==0){document.getElementById('ivy-league-box').style.display='none';} if (a==1){document.getElementById('ivy-expert').style.display='none';document.getElementById('ivy-form').style.display='block';} } (function(m, ei, q, i, a, j, s) { m[i] = m[i] || function() { (m[i].a = m[i].a || []).push(arguments) }; j = ei.createElement(q), s = ei.getElementsByTagName(q)[0]; j.async = true; j.charset = 'UTF-8'; j.src = 'https://static.meiqia.com/dist/meiqia.js?_=t'; s.parentNode.insertBefore(j, s); })(window, document, 'script', '_MEIQIA'); _MEIQIA('entId', 100667); _MEIQIA('assign', { agentToken: 'aaf2ddfbf39ef8dac51a246c2d43d522' }); _MEIQIA('fallback', 1); _MEIQIA('allSet', setTimeout(function(){_MEIQIA('showPanel');},5000)); //if(sMobile==1){ // console.log('mobile') // _MEIQIA('withoutBtn'); //}