(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["other-page-components-SearchBox"],{2634:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e.default=function(){return t};var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(j){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),c=new L(r||[]);return a(i,"_invoke",{value:E(t,n,c)}),i}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(j){return{type:"throw",arg:j}}}t.wrap=f;var d={};function p(){}function v(){}function g(){}var m={};s(m,c,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(P([])));b&&b!==n&&o.call(b,c)&&(m=b);var x=g.prototype=p.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var n;a(this,"_invoke",{value:function(a,i){function c(){return new e((function(n,c){(function n(a,i,c,u){var l=h(t[a],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==(0,r.default)(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)})(a,i,n,c)}))}return n=n?n.then(c,c):c()}})}function E(t,e,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return O()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=T(i,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=h(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function T(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=h(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t},n("6a54"),n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("3872e"),n("4e9b"),n("114e"),n("c240"),n("926e"),n("7a76"),n("c9b5"),n("aa9c"),n("2797"),n("8a8d"),n("dc69"),n("f7a5");var r=function(t){return t&&t.__esModule?t:{default:t}}(n("fcf3"))},"2fdc":function(t,e,n){"use strict";function r(t,e,n,r,o,a,i){try{var c=t[a](i),u=c.value}catch(l){return void n(l)}c.done?e(u):Promise.resolve(u).then(r,o)}n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function c(t){r(i,o,a,c,u,"next",t)}function u(t){r(i,o,a,c,u,"throw",t)}c(void 0)}))}},n("bf0f")},4098:function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.formatTime=e.formatThousand=e.formatPrice=e.debounce=e.createYear=e.copyToClipBoard=e.callPhone=e.addZeroPrefix=void 0,e.isUnionpayApp=function(){var t=navigator.userAgent.toLowerCase(),e=new RegExp(/(com.unionpay.chsp)/).test(t)||new RegExp(/(com.unionpay.mobilepay)/).test(t);return e},e.throttle=void 0,e.unionPaySdkInit=function(){return i.apply(this,arguments)};var o=r(n("2634")),a=r(n("2fdc"));n("64aa"),n("5c47"),n("0506"),n("23f4"),n("7d2f"),n("9c4e"),n("ab80"),n("a1c1"),n("45da"),n("c9b5"),n("bf0f"),n("aa9c"),n("c223");e.throttle=function(t,e){var n,r,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=null,c=0,u=function(){c=!1===a.leading?0:Date.now(),i=null,o=t.apply(n,r),i||(n=r=null)};return function(){var l=Date.now();c||!1!==a.leading||(c=l);var s=e-(l-c);return n=this,r=arguments,s<=0||s>e?(i&&(clearTimeout(i),i=null),c=l,o=t.apply(n,r),i||(n=r=null)):i||!1===a.trailing||(i=setTimeout(u,s)),o}};e.debounce=function(t,e){var n=null;return function(){n||clearTimeout(n),n=setTimeout(t,e)}};e.formatPrice=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t?("string"===typeof t&&(t=Number(t)),t.toFixed(e)):t};e.addZeroPrefix=function(t){return t?("string"===typeof t&&(t=Number(t)),t<10?"0"+t:t):""};e.copyToClipBoard=function(t){"number"===typeof t&&(t=String(t)),uni.setClipboardData({data:t,success:function(){uni.showToast({icon:"none",title:"复制成功"})}})};function i(){return i=(0,a.default)((0,o.default)().mark((function t(){var e;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=null,t.abrupt("return",new Promise((function(t,n){try{upsdk&&"function"===typeof upsdk.pluginReady&&t(!0)}catch(a){var r=document.createElement("script");r.src="https://open.95516.com/s/open/js/upsdk.js";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o),r.onerror=n,e=setInterval((function(){try{upsdk&&"function"===typeof upsdk.pluginReady&&(upsdk.pluginReady((function(){upsdk.setNavigationBarTitle({title:"可可校园"})})),t(!0),clearInterval(e))}catch(a){console.log("upsdk error")}}),300)}})));case 2:case"end":return t.stop()}}),t)}))),i.apply(this,arguments)}e.callPhone=function(t){"number"===typeof t&&(t=String(t)),uni.makePhoneCall({phoneNumber:t,success:function(){uni.showToast({icon:"none",title:"联系成功"})}})};e.formatTime=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dd/MM/yyyy HH:mm:ss";if(t){"string"===typeof t&&(t=t.replaceAll("-","/"));var n=new Date(t),r={"M+":n.getMonth()+1,"d+":n.getDate(),"H+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds()};for(var o in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+o+")").test(e)&&(e=e.replace(RegExp.$1,1===RegExp.$1.length?r[o]:("00"+r[o]).substr((""+r[o]).length)));return e||""}};e.formatThousand=function(t){return isNaN(t)?(console.error("非数字"),""):t.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")};function c(t){var e=new Date(t),n=[e.getFullYear(),e.getMonth()+1,e.getDate()],r=n[0],o=n[1],a=n[2];return"".concat(r,"-").concat(o<10?"0"+o:o,"-").concat(a<10?"0"+a:a)}e.createYear=function(t){var e,n=[],r=new Date("".concat(t,"-01-01")),o=new Date("".concat(t,"-12-31"));e=r.getDay()<1?r.getTime()+864e5*(1-r.getDay()):r.getDay()>1?r.getTime()+5184e5:r.getTime();var a=o.getDay()<7?o.getTime()+864e5*(1-o.getDay()):o.getTime();return function t(e,n,r,o){var a=(new Date).getTime();r.push({week:o+1,value:"".concat(c(e),"至").concat(c(e+5184e5)),weekValue:"第".concat(o+1,"周"),start:c(e),end:c(e+5184e5)}),e+5184e5