{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es6.regexp.constructor.js","webpack:///./src/apps/open/views/ApplyDeveloper.vue?fcdf","webpack:///./src/apps/open/types/index.ts","webpack:///./src/apps/open/views/ApplyDeveloper.vue?ceaf","webpack:///./src/apps/open/views/ApplyDeveloper.vue","webpack:///./src/apps/open/views/ApplyDeveloper.vue?4c81","webpack:///./src/apps/open/views/ApplyDeveloper.vue?d2c9","webpack:///./src/apps/open/views/ApplyDeveloper.vue?a3a3","webpack:///./src/apps/open/components/DialogBodys/VerifyPhone.vue?1e57","webpack:///./static/images/open/developer_upload.svg","webpack:///./src/apps/open/components/DialogBodys/VerifyPhone.vue?6c60","webpack:///./src/apps/open/components/DialogBodys/VerifyPhone.vue","webpack:///./src/apps/open/components/DialogBodys/VerifyPhone.vue?5a61","webpack:///./src/apps/open/components/DialogBodys/VerifyPhone.vue?55a2","webpack:///./src/apps/open/mixins/VerifyPhone.ts","webpack:///./node_modules/core-js/modules/es6.string.starts-with.js"],"names":["global","inheritIfRequired","dP","f","gOPN","isRegExp","$flags","$RegExp","RegExp","Base","proto","prototype","re1","re2","CORRECT_NEW","p","tiRE","this","piRE","fiU","undefined","constructor","source","call","proxy","key","configurable","get","set","it","keys","i","length","EVerifyPhoneAction","render","_vm","_h","$createElement","_c","_self","staticClass","isUpdate","_e","_v","_s","userInfo","developer","approve_info","ref","attrs","info","rules","nativeOn","$event","preventDefault","model","value","callback","$$v","$set","expression","isPrivate","staticStyle","uploadFile","onBeforeUpload","business_license","_l","item","label","phone","USER_CENTER_URL","isAgree","on","toProtocol","submitting","disabledSubmit","submit","staticRenderFns","developer_id","open_ssid","developer_name","website","contacts","email","trade","scale","channel","application","the_others","otherChanel","otherApplication","otherthe_others","reqControllers","websiteCheckTimer","checkChanel","rule","Error","checkApplication","includes","checkTheOthers","uploadPercent","uploadState","status","REJECTED","bussinessLicenseKey","test","window","fetch","AbortController","AbortSignal","forEach","reqController","abort","clearTimeout","setTimeout","toLinkWebsite","signal","push","method","mode","then","catch","finally","to","from","next","vm","isPriDocEdit","curEnterprise","developer_type","$message","warning","name","res","remarkInfo","data","object","startsWith","substring","indexOf","split","j","$refs","validate","valid","onVerifyPhoneOk","verifyPhone","action","SIGNUP_DEV","cb","options","params","formData","FormData","append","KSSAccessKeyId","signature","policy","bucket","file","upload","URL","createObjectURL","error","isLt5M","size","result","$store","dispatch","curDeveloper","userDevelopers","find","company_id","id","commit","$router","replace","open","$dialog","close","tempApplication","join","handleApplyAfter","message","getters","privateRules","required","trigger","min","max","pattern","type","validator","checkWebsiteDebounce","developers","VerifyPhone","components","Button","component","module","exports","tip","directives","rawName","captchaSuccess","changeVerifyCode","verifyCode","sendButtonDisable","sendVerifyCode","sendButtonText","onCancel","okText","time","clearInterval","timer","CaptchaSuccess","resetSmartCaptcha","aliyun_session","sessionId","aliyun_scene","NVC_Opt","scene","aliyun_token","token","aliyun_sig","sig","aliyun_appkey","appkey","setInterval","timerFun","captcha","verifySuccess","loadCaptcha","_this","ic","smartCaptcha","renderTo","width","success","reset","init","default","componentName","title","okBtn","show","body","bodyProps","$export","toLength","context","STARTS_WITH","$startsWith","P","F","searchString","that","index","Math","arguments","search","String","slice"],"mappings":"oJAAA,IAAIA,EAAS,EAAQ,QACjBC,EAAoB,EAAQ,QAC5BC,EAAK,EAAQ,QAAgBC,EAC7BC,EAAO,EAAQ,QAAkBD,EACjCE,EAAW,EAAQ,QACnBC,EAAS,EAAQ,QACjBC,EAAUP,EAAOQ,OACjBC,EAAOF,EACPG,EAAQH,EAAQI,UAChBC,EAAM,KACNC,EAAM,KAENC,EAAc,IAAIP,EAAQK,KAASA,EAEvC,GAAI,EAAQ,WAAuBE,GAAe,EAAQ,OAAR,CAAoB,WAGpE,OAFAD,EAAI,EAAQ,OAAR,CAAkB,WAAY,EAE3BN,EAAQK,IAAQA,GAAOL,EAAQM,IAAQA,GAA4B,QAArBN,EAAQK,EAAK,QAC/D,CACHL,EAAU,SAAgBQ,EAAGZ,GAC3B,IA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,QAAK/O,EAAW4O,EAAKhO,SAChFoO,EAASC,OAAON,GACpB,OAAOH,EACHA,EAAYrO,KAAKyO,EAAMI,EAAQH,GAC/BD,EAAKM,MAAML,EAAOA,EAAQG,EAAOpO,UAAYoO","file":"js/apply-developer.758e6b25.js","sourcesContent":["var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplyDeveloper.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplyDeveloper.vue?vue&type=style&index=0&lang=scss&\"","export type OPTION_VALUE = string | number\n\nexport interface OPTION {\n value: OPTION_VALUE,\n label: string,\n children?: OPTION[]\n}\n\nexport interface IUser {\n id: number,\n name: string,\n avatar: string,\n phone: string,\n email: string,\n checked?: boolean\n}\n\nexport enum EVerifyPhoneAction {\n SIGNUP_DEV = 'sms_signup_dev', // 申请服务商\n RESET_APPKEY = 'sms_user_reset_app_key', // 重置APPKEY\n VIEW_APPKEY = 'sms_user_view_app_key', // 查看APPKEY\n TRANSFER_SUPER_ADMIN = 'sms_trans_admin', // 转让超管\n DELETE_APP = 'sms_user_delete_app', // 删除应用\n DELETE_CERTIFICATION_WAY = 'sms_user_delete_certification_way', // 删除应用认证方式信息\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"root apply-developer\"},[(!_vm.isUpdate)?_c('span',{staticClass:\"title\"},[_vm._v(\"请正确填写注册信息,审核通过后即可申请使用WPS开放能力\")]):_vm._e(),(_vm.isUpdate)?_c('span',{staticClass:\"title\"},[_vm._v(\"您提交的服务商信息未通过审核,请参照审核信息进行修改:\"+_vm._s(this.userInfo.developer.approve_info))]):_vm._e(),_c('el-form',{ref:\"info\",attrs:{\"model\":_vm.info,\"rules\":_vm.rules,\"label-width\":\"112px\",\"label-position\":\"left\"},nativeOn:{\"submit\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"block card\"},[_c('span',{staticClass:\"card_title\"},[_vm._v(\"服务商信息\")]),_c('div',{staticClass:\"card_title_line\"}),_c('el-form-item',{attrs:{\"label\":\"服务商全称\",\"prop\":\"developer_name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写与营业执照一致的合法公司全称\"},model:{value:(_vm.info.developer_name),callback:function ($$v) {_vm.$set(_vm.info, \"developer_name\", $$v)},expression:\"info.developer_name\"}})],1),(!_vm.isPrivate)?_c('el-form-item',{attrs:{\"label\":\"服务商官网\",\"prop\":\"website\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写服务商官方网站地址\"},model:{value:(_vm.info.website),callback:function ($$v) {_vm.$set(_vm.info, \"website\", $$v)},expression:\"info.website\"}})],1):_vm._e(),(!_vm.isPrivate)?_c('el-form-item',{attrs:{\"label\":\"营业执照\",\"prop\":\"business_license\"}},[_c('el-input',{staticStyle:{\"display\":\"none\"},model:{value:(_vm.info.business_license),callback:function ($$v) {_vm.$set(_vm.info, \"business_license\", $$v)},expression:\"info.business_license\"}}),_c('div',{staticClass:\"upload_layout\"},[_c('el-upload',{staticClass:\"logo_uploader\",attrs:{\"accept\":\"image/jpeg,image/jpg,image/png\",\"action\":\"\",\"http-request\":_vm.uploadFile,\"show-file-list\":false,\"before-upload\":_vm.onBeforeUpload}},[(_vm.info.business_license)?_c('img',{staticClass:\"logo\",attrs:{\"src\":_vm.info.business_license}}):_c('div',{staticClass:\"logo_uploader_center\"},[_c('img',{attrs:{\"src\":require(\"static/images/open/developer_upload.svg\")}}),_c('span',{staticClass:\"txt\"},[_vm._v(\"上传图片\")])])])],1),_c('div',{staticClass:\"upload_prompt\",staticStyle:{\"margin-top\":\"14px\"}},[_vm._v(\"1. 2MB以内,JPG/PNG格式的图片,\")]),_c('div',{staticClass:\"upload_prompt\"},[_vm._v(\"2. 我司资质验证系统已与工商部门联网,请勿提供虚假证件。\")])],1):_vm._e(),_c('el-form-item',{attrs:{\"label\":\"公司邮箱\",\"prop\":\"email\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写有效邮箱,用于接收平台审核通知等重要信息\"},model:{value:(_vm.info.email),callback:function ($$v) {_vm.$set(_vm.info, \"email\", $$v)},expression:\"info.email\"}})],1),(!_vm.isPrivate)?_c('el-form-item',{attrs:{\"label\":\"所在行业\",\"prop\":\"trade\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择所在行业\",\"popper-append-to-body\":false},model:{value:(_vm.info.trade),callback:function ($$v) {_vm.$set(_vm.info, \"trade\", $$v)},expression:\"info.trade\"}},_vm._l((_vm.trade),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1):_vm._e(),(!_vm.isPrivate)?_c('el-form-item',{attrs:{\"label\":\"公司规模\",\"prop\":\"scale\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择公司规模\",\"popper-append-to-body\":false},model:{value:(_vm.info.scale),callback:function ($$v) {_vm.$set(_vm.info, \"scale\", $$v)},expression:\"info.scale\"}},_vm._l((_vm.scale),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1):_vm._e()],1),_c('div',{staticClass:\"block card block_spacing\"},[_c('span',{staticClass:\"card_title\"},[_vm._v(\"管理员信息\")]),_c('div',{staticClass:\"card_title_line\"}),_c('el-form-item',{attrs:{\"label\":\"管理员姓名\",\"prop\":\"contacts\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写管理员\"},model:{value:(_vm.info.contacts),callback:function ($$v) {_vm.$set(_vm.info, \"contacts\", $$v)},expression:\"info.contacts\"}})],1),(!_vm.isPrivate)?_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"phone\"}},[(!_vm.userInfo.phone)?_c('div',{staticClass:\"no-phone\"},[_vm._v(\"您暂未绑定手机号码,请前往\"),_c('Button',{staticStyle:{\"padding\":\"0\"},attrs:{\"type\":\"text\",\"url\":_vm.USER_CENTER_URL}},[_vm._v(\"个人中心\")]),_vm._v(\"进行绑定\")],1):_c('div',[_vm._v(_vm._s(_vm.userInfo.phone)),_c('span',{staticClass:\"phone-tip\"},[_vm._v(\"若无法接收验证码,请前往\"),_c('Button',{staticStyle:{\"padding\":\"0\"},attrs:{\"type\":\"text\",\"url\":_vm.USER_CENTER_URL}},[_vm._v(\"个人中心\")]),_vm._v(\"进行更改\")],1)])]):_vm._e()],1),(!_vm.isPrivate)?_c('div',{staticClass:\"block card block_spacing\"},[_c('span',{staticClass:\"card_title\"},[_vm._v(\"其他信息\")]),_c('div',{staticClass:\"card_title_line\"}),_c('el-form-item',{attrs:{\"label\":\"获知渠道\",\"prop\":\"channel\"}},[_c('div',[_c('el-radio-group',{model:{value:(_vm.info.channel),callback:function ($$v) {_vm.$set(_vm.info, \"channel\", $$v)},expression:\"info.channel\"}},[_c('el-radio',{attrs:{\"label\":\"WPS官网\"}},[_vm._v(\"WPS官网\")]),_c('el-radio',{attrs:{\"label\":\"微信公众号\"}},[_vm._v(\"微信公众号\")]),_c('el-radio',{attrs:{\"label\":\"百度\"}},[_vm._v(\"百度\")]),_c('el-radio',{attrs:{\"label\":\"钉钉\"}},[_vm._v(\"钉钉\")]),_c('el-radio',{attrs:{\"label\":\"商务合作\"}},[_vm._v(\"商务合作\")])],1)],1),_c('div',[_c('el-radio',{attrs:{\"label\":\"其他\"},model:{value:(_vm.info.channel),callback:function ($$v) {_vm.$set(_vm.info, \"channel\", $$v)},expression:\"info.channel\"}},[_vm._v(\"其他\")]),_c('el-input',{staticStyle:{\"margin-left\":\"15px\",\"width\":\"80%\"},attrs:{\"placeholder\":\"\"},model:{value:(_vm.info.otherChanel),callback:function ($$v) {_vm.$set(_vm.info, \"otherChanel\", $$v)},expression:\"info.otherChanel\"}})],1)]),_c('el-form-item',{attrs:{\"label\":\"接入用途\",\"prop\":\"application\"}},[_c('div',[_c('el-checkbox',{staticClass:\"fixWidth\",attrs:{\"label\":\"接入WPS账号登录\"},model:{value:(_vm.info.application),callback:function ($$v) {_vm.$set(_vm.info, \"application\", $$v)},expression:\"info.application\"}}),_c('el-checkbox',{staticClass:\"fixWidth\",attrs:{\"label\":\"接入WPS文件云存储能力\"},model:{value:(_vm.info.application),callback:function ($$v) {_vm.$set(_vm.info, \"application\", $$v)},expression:\"info.application\"}})],1),_c('div',[_c('el-checkbox',{staticClass:\"fixWidth\",attrs:{\"label\":\"接入WPS在线预览编辑能力\"},model:{value:(_vm.info.application),callback:function ($$v) {_vm.$set(_vm.info, \"application\", $$v)},expression:\"info.application\"}}),_c('el-checkbox',{staticClass:\"fixWidth\",attrs:{\"label\":\"将应用上架到WPS应用市场\"},model:{value:(_vm.info.application),callback:function ($$v) {_vm.$set(_vm.info, \"application\", $$v)},expression:\"info.application\"}})],1),_c('div',[_c('el-checkbox',{attrs:{\"label\":\"其他\"},model:{value:(_vm.info.application),callback:function ($$v) {_vm.$set(_vm.info, \"application\", $$v)},expression:\"info.application\"}}),_c('el-input',{staticStyle:{\"margin-left\":\"15px\",\"width\":\"80%\"},attrs:{\"placeholder\":\"\"},model:{value:(_vm.info.otherApplication),callback:function ($$v) {_vm.$set(_vm.info, \"otherApplication\", $$v)},expression:\"info.otherApplication\"}})],1)]),_c('span',{staticStyle:{\"font-size\":\"14px\"}},[_c('a',{staticStyle:{\"color\":\"#FF0000\"}},[_vm._v(\"*\")]),_vm._v(\"是否接入过其他文档服务\")]),_c('el-form-item',{attrs:{\"prop\":\"the_others\"}},[_c('div',[_c('el-radio-group',{model:{value:(_vm.info.the_others),callback:function ($$v) {_vm.$set(_vm.info, \"the_others\", $$v)},expression:\"info.the_others\"}},[_c('el-radio',{attrs:{\"label\":\"无\"}},[_vm._v(\"无\")]),_c('el-radio',{attrs:{\"label\":\"Microsoft office\"}},[_vm._v(\"Microsoft office\")]),_c('el-radio',{attrs:{\"label\":\"腾讯文档\"}},[_vm._v(\"腾讯文档\")]),_c('el-radio',{attrs:{\"label\":\"石墨文档\"}},[_vm._v(\"石墨文档\")])],1)],1),_c('div',[_c('el-radio',{attrs:{\"label\":\"其他\"},model:{value:(_vm.info.the_others),callback:function ($$v) {_vm.$set(_vm.info, \"the_others\", $$v)},expression:\"info.the_others\"}},[_vm._v(\"其他\")]),_c('el-input',{staticStyle:{\"margin-left\":\"15px\",\"width\":\"80%\"},attrs:{\"placeholder\":\"\"},model:{value:(_vm.info.otherthe_others),callback:function ($$v) {_vm.$set(_vm.info, \"otherthe_others\", $$v)},expression:\"info.otherthe_others\"}})],1)])],1):_vm._e(),(!_vm.isPrivate)?_c('div',{staticClass:\"protocol\"},[_c('el-checkbox',{staticClass:\"checkbox\",model:{value:(_vm.isAgree),callback:function ($$v) {_vm.isAgree=$$v},expression:\"isAgree\"}},[_c('span',{staticStyle:{\"color\":\"#606266\"}},[_vm._v(\"我已阅读并同意\")]),_c('el-button',{staticStyle:{\"padding\":\"0\"},attrs:{\"type\":\"text\"},on:{\"click\":_vm.toProtocol}},[_vm._v(\"《金山办公开放平台开发者协议》\")])],1)],1):_vm._e(),_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('el-button',{staticClass:\"submit\",attrs:{\"type\":\"primary\",\"loading\":_vm.submitting,\"disabled\":_vm.disabledSubmit},on:{\"click\":_vm.submit}},[_vm._v(\"提交并申请\")])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Mixins } from 'vue-property-decorator'\nimport { getLicenseUploadInfo, uploadLicense } from '@/apps/open/services/upload'\nimport { PROTOCOL_URL, USER_CENTER_URL } from '@/apps/open/constants'\nimport { applyDeveloper, getRemarkInfo } from '@/apps/open/services/developer'\nimport Button from '@/apps/open/components/Button'\nimport VerifyPhoneMixin from '@/apps/open/mixins/VerifyPhone'\nimport { EVerifyPhoneAction } from '@/apps/open/types'\nimport store from '@/apps/open/store'\nimport { IUserInfo, EDeveloperStatus } from '@/apps/open/store/modules/user/types'\n\ndeclare global {\n interface Window {\n fetch: (url: string, options?: {}) => Promise,\n AbortController: Function,\n AbortSignal: Function,\n $$DEPLOY_OPENDOC: String,\n $$DEPLOY_YUNDOC: String\n }\n}\n\n@Component({\n data: () => ({\n USER_CENTER_URL\n }),\n components: {\n Button\n }\n})\nexport default class ApplyDeveloper extends Mixins(VerifyPhoneMixin) {\n // info: Developer = { ...this.userInfo.developer}\n\n info = {\n developer_id: '',\n open_ssid: '',\n developer_name: '',\n website: '',\n business_license: '',\n contacts: '',\n phone: this.userInfo.phone,\n email: '',\n trade: '',\n scale: '',\n channel: '',\n application: [] as any,\n the_others: '',\n otherChanel: '',\n otherApplication: '',\n otherthe_others: ''\n }\n\n reqControllers: AbortController[] = []\n\n submitting = false\n\n websiteCheckTimer: number | null = null\n\n checkWebsiteDebounce (rule:any, value: string, callback: Function) {\n // filter some browser that don't support check\n if (!/^(https:\\/\\/)/.test(value) ||\n typeof window.fetch !== 'function' ||\n typeof window.AbortController !== 'function' ||\n typeof window.AbortSignal !== 'function') {\n callback()\n return\n }\n if (this.websiteCheckTimer !== null) {\n this.reqControllers.forEach(reqController => {\n reqController.abort()\n })\n // clear controller after abort\n this.reqControllers = []\n clearTimeout(this.websiteCheckTimer)\n }\n this.websiteCheckTimer = setTimeout(() => {\n this.toLinkWebsite(value, callback)\n }, 300)\n }\n\n toLinkWebsite (value: string, callback: Function) {\n const reqController = new AbortController()\n const signal = reqController.signal\n // collect request controller for abort\n this.reqControllers.push(reqController)\n fetch(value, {\n method: 'GET',\n mode: 'no-cors',\n signal\n }).then(() => {\n callback()\n }).catch(() => {\n callback(new Error('无法访问此网站'))\n }).finally(() => {\n this.websiteCheckTimer = null\n })\n }\n\n get disabledSubmit () {\n return this.isPrivate ? this.submitting : (!this.isAgree || this.submitting)\n }\n\n beforeRouteEnter (to: any, from: any, next: Function) {\n next((vm: any) => {\n if ((vm.isPrivate && !vm.isPriDocEdit) && (!vm.curEnterprise || vm.curEnterprise.developer_type !== 1)) {\n // 私网,屏蔽平台服务商申请\n vm.$message.warning('请联系企业超管进行创建或将你添加为服务商管理员')\n next({ name: 'home' })\n }\n })\n }\n\n get isPrivate () {\n return this.$store.getters['isPrivate']\n }\n\n get isPriDocEdit () {\n return this.$store.getters['isPriDocEdit']\n }\n\n checkChanel = (rule:any, value:any, callback:any) => {\n if (!this.info.channel) {\n callback(new Error('请选择获知渠道'))\n }\n if (value === '其他') {\n if (!this.info.otherChanel || this.info.otherChanel === '') {\n callback(new Error('请输入获知渠道'))\n }\n if (this.info.otherChanel && this.info.otherChanel.length > 100) {\n callback(new Error('不超过100个字符'))\n }\n }\n callback()\n }\n\n checkApplication = (rule:any, value:any, callback:any) => {\n if (this.info.application.length === 0) {\n callback(new Error('请选择接入用途'))\n }\n if (value.includes('其他')) {\n if (!this.info.otherApplication || this.info.otherApplication === '') {\n callback(new Error('请输入接入用途'))\n }\n if (this.info.otherApplication && this.info.otherApplication.length > 100) {\n callback(new Error('不超过100个字符'))\n }\n }\n callback()\n }\n\n checkTheOthers = (rule:any, value:any, callback:any) => {\n if (!this.info.the_others) {\n callback(new Error('请选择是否接入过其他文档服务'))\n }\n if (value === '其他') {\n if (!this.info.otherthe_others || this.info.otherthe_others === '') {\n callback(new Error('请输入其他文档服务'))\n }\n if (this.info.otherthe_others && this.info.otherthe_others.length > 100) {\n callback(new Error('不超过100个字符'))\n }\n }\n callback()\n }\n\n get rules () {\n const privateRules = {\n developer_name: [\n { required: true, message: '请输入服务商全称', trigger: 'blur' },\n { min: 1, max: 30, message: '长度不超过30个字符', trigger: 'change' }\n ],\n contacts: [\n { required: true, pattern: /^[\\u4e00-\\u9fa5]{2,}$/, message: '请输入正确的姓名', trigger: 'blur' },\n { min: 1, max: 20, message: '长度不超过30个字符', trigger: 'change' }\n ],\n email: [\n { required: true, message: '请输入电子邮箱', trigger: 'blur' },\n { min: 1, max: 80, message: '长度不超过80个字符', trigger: 'change' },\n { type: 'email', message: '请输入正确的邮箱地址' }\n ]\n }\n return this.isPrivate ? privateRules : {\n ...privateRules,\n website: [\n { required: true, message: '请输入服务商官网', trigger: 'blur' },\n { min: 1, max: 80, message: '长度不超过80个字符', trigger: 'change' },\n { type: 'url', message: '请输入正确的官网地址' },\n { validator: this.checkWebsiteDebounce, trigger: 'change' }\n ],\n business_license: [\n { required: true, message: '请上传照片', trigger: 'change' }\n ],\n trade: [\n { required: true, message: '请选择所在行业', trigger: 'change' }\n ],\n scale: [\n { required: true, message: '请选择公司规模', trigger: 'change' }\n ],\n phone: [\n { required: true, message: '请先绑定手机号码' }\n ],\n the_others: [\n { required: true, validator: this.checkTheOthers, trigger: 'change' }\n ],\n channel: [\n { required: true, validator: this.checkChanel, trigger: 'change' }\n ],\n application: [\n { required: true, validator: this.checkApplication, trigger: 'change' }\n ]\n }\n }\n isAgree = false\n uploadPercent = 0\n uploadState = 0\n isUpdate = this.userInfo.developer && this.userInfo.developer.status === EDeveloperStatus.REJECTED\n\n trade = [\n { value: 'IT//互联网', label: 'IT//互联网' },\n { value: '教育/科研院校', label: '教育/科研院校' },\n { value: '法律', label: '法律' },\n { value: '办公用品及设备', label: '办公用品及设备' },\n { value: '银行/金融行业', label: '银行/金融行业' },\n { value: '政府/组织', label: '政府/组织' },\n { value: '广告/公关/媒体', label: '广告/公关/媒体' },\n { value: '传统制造业', label: '传统制造业' },\n { value: '批发零售/快消', label: '批发零售/快消' },\n { value: '餐饮娱乐/生活服务', label: '餐饮娱乐/生活服务' },\n { value: '医疗卫生', label: '医疗卫生' },\n { value: '交通/运输/物流', label: '交通/运输/物流' },\n { value: '其他', label: '其他' }\n ]\n\n scale = [\n { value: '20人以下', label: '20人以下' },\n { value: '20-100人', label: '20-100人' },\n { value: '100-500人', label: '100-500人' },\n { value: '500-2000人', label: '500-2000人' },\n { value: '2000人以上', label: '2000人以上' }\n ]\n\n file: any\n bussinessLicenseKey = ''\n\n get userInfo () : IUserInfo {\n return this.$store.getters['User/userInfo']\n }\n\n get userDevelopers () {\n return this.$store.getters['User/userInfo'].developers || []\n }\n\n get curEnterprise (): any {\n return this.$store.getters['User/curEnterprise']\n }\n\n async mounted () {\n if (this.curEnterprise) {\n this.info.developer_name = this.curEnterprise.developer_name!\n this.info.website = this.curEnterprise.website!\n this.info.business_license = this.curEnterprise.business_license!\n this.info.contacts = this.curEnterprise.contacts!\n this.info.email = this.curEnterprise.email!\n const res = await getRemarkInfo(this.curEnterprise && this.curEnterprise.developer_id)\n const remarkInfo = res.data.object\n this.info.trade = remarkInfo.trade\n this.info.scale = remarkInfo.scale\n this.info.channel = remarkInfo.channel\n if (this.info.channel.startsWith('其他')) {\n this.info.otherChanel = this.info.channel.substring(this.info.channel.indexOf(':') + 1)\n this.info.channel = '其他'\n }\n this.info.application = remarkInfo.application.split(';')\n for (let j = 0; j < this.info.application.length; j++) {\n if (this.info.application[j].startsWith('其他')) {\n this.info.otherApplication = this.info.application[j].substring(this.info.application[j].indexOf(':') + 1)\n this.info.application[j] = '其他'\n }\n }\n this.info.the_others = remarkInfo.the_others\n if (this.info.the_others.startsWith('其他')) {\n this.info.otherthe_others = this.info.the_others.substring(this.info.the_others.indexOf(':') + 1)\n this.info.the_others = '其他'\n }\n }\n }\n\n /**\n * 提交申请\n */\n submit () {\n let ref: any = this.$refs['info']\n ref.validate((valid: any) => {\n if (valid) {\n if (!this.isPrivate) {\n this.verifyPhone({\n action: EVerifyPhoneAction.SIGNUP_DEV,\n cb: this.onVerifyPhoneOk\n })\n } else {\n this.onVerifyPhoneOk('')\n }\n } else {\n return false\n }\n })\n }\n\n async uploadFile (options: any) {\n try {\n const res = await getLicenseUploadInfo()\n const { action, params } = res.data\n const formData = new FormData()\n formData.append('key', params.key)\n formData.append('KSSAccessKeyId', params.KSSAccessKeyId)\n formData.append('Signature', params.signature)\n formData.append('Policy', params.policy)\n formData.append('bucket', params.bucket)\n formData.append('acl', 'private')\n formData.append('file', this.file)\n await uploadLicense(action, formData)\n Vue.set(this.info, 'business_license', URL.createObjectURL(this.file))\n this.bussinessLicenseKey = params.key\n } catch (error) {\n this.$message.error(`上传失败,请重试(${error})`)\n }\n }\n\n onBeforeUpload (file: any) {\n const isLt5M = file.size / 1024 / 1024 < 2\n if (!isLt5M) {\n this.$message.error('上传图片大小不能超过2MB')\n }\n let result = isLt5M\n if (result) {\n this.file = file\n this.uploadState = 1\n }\n return result\n }\n\n async handleApplyAfter () {\n // 更新用户信息\n await this.$store.dispatch('User/GET_USER_INFO')\n if (this.curEnterprise && this.curEnterprise.developer_type === 1) {\n const curDeveloper = this.userDevelopers.find((item: any) => item.company_id === this.curEnterprise.id)\n this.$store.commit('User/SET_CUR_ENTERPRISE', curDeveloper)\n this.$store.dispatch('User/SET_DEVELOPER_LIST', false)\n } else {\n const curDeveloper = this.userDevelopers.find((item: any) => item.developer_name === this.info.developer_name)\n this.$store.commit('User/SET_CUR_ENTERPRISE', curDeveloper)\n this.$store.dispatch('User/SET_DEVELOPER_LIST', false)\n }\n this.$message('申请已提交,请您耐心等待')\n this.$router.replace({ name: 'home' })\n }\n\n toProtocol () {\n window.open(PROTOCOL_URL)\n }\n\n onVerifyPhoneOk (open_ssid: string) {\n this.$dialog.close()\n this.info.open_ssid = open_ssid\n if (this.curEnterprise && this.curEnterprise.developer_id) this.info.developer_id = this.curEnterprise.developer_id\n else delete this.info.developer_id\n let developer = { ...this.info }\n developer.business_license = this.bussinessLicenseKey || developer.business_license\n if (developer.channel === '其他' && developer.otherChanel.length > 0) {\n developer.channel = developer.channel + ':' + developer.otherChanel\n }\n delete developer.otherChanel\n if (developer.the_others === '其他' && developer.otherthe_others.length > 0) {\n developer.the_others = developer.the_others + ':' + developer.otherthe_others\n }\n delete developer.otherthe_others\n let tempApplication = developer.application.join(';')\n developer.application = tempApplication.replace('其他', '其他' + ':' + developer.otherApplication)\n delete developer.otherApplication\n if (developer.open_ssid) {\n this.submitting = true\n applyDeveloper(developer)\n .then(async () => {\n await this.handleApplyAfter()\n }).catch((error: Error) => {\n this.$message.error(error.message)\n }).finally(() => {\n this.submitting = false\n })\n } else {\n let developer = { ...this.info }\n applyDeveloper(developer)\n .then(async () => {\n await this.handleApplyAfter()\n }).catch((error: Error) => {\n this.$message.error(error.message)\n }).finally(() => {\n this.submitting = false\n })\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplyDeveloper.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplyDeveloper.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApplyDeveloper.vue?vue&type=template&id=c59fcdb4&scoped=true&\"\nimport script from \"./ApplyDeveloper.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApplyDeveloper.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApplyDeveloper.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./ApplyDeveloper.vue?vue&type=style&index=1&id=c59fcdb4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c59fcdb4\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplyDeveloper.vue?vue&type=style&index=1&id=c59fcdb4&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplyDeveloper.vue?vue&type=style&index=1&id=c59fcdb4&lang=scss&scoped=true&\"","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VerifyPhone.vue?vue&type=style&index=0&id=26306562&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VerifyPhone.vue?vue&type=style&index=0&id=26306562&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/developer_upload.2386e98a.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"tip\"},[_vm._v(_vm._s(_vm.tip))]),(_vm.phone)?[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.captchaSuccess),expression:\"!captchaSuccess\"}],staticClass:\"verify\",attrs:{\"id\":\"captcha\"}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.captchaSuccess),expression:\"captchaSuccess\"}],staticClass:\"verify\"},[_c('el-input',{staticClass:\"msg-input\",attrs:{\"placeholder\":\"请输入短信验证码\",\"maxlength\":\"6\"},on:{\"input\":_vm.changeVerifyCode},model:{value:(_vm.verifyCode),callback:function ($$v) {_vm.verifyCode=$$v},expression:\"verifyCode\"}}),_c('el-button',{staticClass:\"send\",attrs:{\"type\":\"text\",\"disabled\":_vm.sendButtonDisable},on:{\"click\":_vm.sendVerifyCode}},[_vm._v(_vm._s(_vm.sendButtonText))])],1)]:[_c('div',{staticClass:\"empty-phone\"},[_vm._v(\"\\n 您暂未绑定手机号码,请前往\"),_c('Button',{attrs:{\"type\":\"text\",\"url\":_vm.USER_CENTER_URL}},[_vm._v(\"个人中心\")]),_vm._v(\"进行绑定\\n \")],1)],_c('div',{staticClass:\"open-dialog-footer\"},[_c('Button',{on:{\"click\":_vm.onCancel}},[_vm._v(\"取消\")]),_c('Button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.disabledSubmit},on:{\"click\":_vm.submit}},[_vm._v(_vm._s(_vm.okText))])],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator'\nimport { sendSms, verifyPhone } from '@/apps/open/services/user'\nimport { USER_CENTER_URL } from '@/apps/open/constants'\nimport Button from '@/apps/open/components/Button'\n\ndeclare const window: any\ndeclare const smartCaptcha: any\n\n@Component({\n componentName: 'VerifyPhoneDialogBody',\n data: () => ({\n USER_CENTER_URL\n }),\n components: {\n Button\n }\n})\nexport default class VerifyPhoneDialogBody extends Vue {\n @Prop()\n phone!: string\n\n @Prop()\n action!: string\n\n @Prop({\n default: '确定'\n })\n okText!: string\n\n @Prop()\n onCancel!: Function\n\n @Prop()\n verifySuccess!: Function\n\n captchaSuccess = false\n verifyCode = ''\n sendButtonText = '发送验证码'\n sendButtonDisable = false\n time = 60\n timer: any\n\n submitting = false\n\n get disabledSubmit () {\n return this.verifyCode.length < 6 || this.submitting\n }\n\n get tip () {\n return this.captchaSuccess ? `请输入${this.phone}收到的验证码` : '请先完成安全验证'\n }\n\n destroyed () {\n clearInterval(this.timer)\n window.CaptchaSuccess = null\n }\n\n timerFun () {\n if (this.time > 0) {\n this.sendButtonText = `重新发送(${this.time})`\n this.time--\n } else {\n clearInterval(this.timer)\n window.resetSmartCaptcha()\n this.time = 60\n this.sendButtonText = '重新发送'\n this.sendButtonDisable = false\n }\n }\n\n sendVerifyCode () {\n if (!window.CaptchaSuccess) {\n this.$message.warning('请点击智能验证按钮')\n return\n }\n let params: any = {\n action: this.action,\n aliyun_session: window.CaptchaSuccess.sessionId,\n aliyun_scene: window.NVC_Opt.scene,\n aliyun_token: window.CaptchaSuccess.token,\n aliyun_sig: window.CaptchaSuccess.sig,\n aliyun_appkey: window.NVC_Opt.appkey\n }\n sendSms(params)\n .then(() => {\n this.$message.info('验证码已发送')\n this.sendButtonDisable = true\n this.timer = setInterval(this.timerFun, 1000)\n }).catch((error) => {\n if (RegExp('SMSLimitReached').test(error.message)) {\n this.$message.error('验证码发送次数已超过限制,请明天再试')\n } else if (error.message === 'frequency limitation in 60s') {\n this.$message.error('验证码获取太频繁,请稍后重试')\n } else {\n this.$message.error(error.message)\n }\n })\n }\n\n submit () {\n let params = {\n captcha: this.verifyCode,\n action: this.action\n }\n this.submitting = true\n verifyPhone(params)\n .then((res) => {\n this.verifySuccess(res.data.open_ssid)\n }).catch((error) => {\n switch (error.message) {\n case 'invalid verify code':\n this.$message.error('验证码不正确,请重新输入')\n break\n case 'verify code not exists.':\n this.$message.error('验证码已失效,请重新获取')\n break\n default:\n this.$message.error(error.message)\n break\n }\n }).finally(() => {\n this.submitting = false\n })\n }\n\n mounted () {\n if (this.phone) {\n this.loadCaptcha()\n }\n }\n\n loadCaptcha () {\n const _this = this\n var ic = new smartCaptcha({\n renderTo: '#captcha',\n width: '100%',\n success: function (data: any) {\n _this.captchaSuccess = true\n window.CaptchaSuccess = {\n token: window.NVC_Opt.token,\n sessionId: data.sessionId,\n sig: data.sig\n }\n }\n })\n window.resetSmartCaptcha = function () {\n _this.captchaSuccess = false\n _this.verifyCode = ''\n window.CaptchaSuccess = null\n ic.reset()\n }\n ic.init()\n }\n\n changeVerifyCode () {\n this.verifyCode = this.verifyCode.replace(/\\D/g, '')\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VerifyPhone.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VerifyPhone.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VerifyPhone.vue?vue&type=template&id=26306562&scoped=true&\"\nimport script from \"./VerifyPhone.vue?vue&type=script&lang=ts&\"\nexport * from \"./VerifyPhone.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./VerifyPhone.vue?vue&type=style&index=0&id=26306562&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"26306562\",\n null\n \n)\n\nexport default component.exports","import { Component, Vue } from 'vue-property-decorator'\nimport VerifyPhoneDialogBody from '@/apps/open/components/DialogBodys/VerifyPhone.vue'\nimport { EVerifyPhoneAction } from '@/apps/open/types'\n\ninterface IVerifyProps {\n title?: string\n okBtn?: string\n action: EVerifyPhoneAction\n cb: Function\n}\n\n@Component\nexport default class VerifyPhoneMixin extends Vue {\n get userInfo () {\n return this.$store.getters['User/userInfo']\n }\n\n verifyPhone ({ title = '安全验证', action, okBtn = '下一步', cb }: IVerifyProps) {\n this.$dialog.show({\n title: title,\n width: '400px',\n body: VerifyPhoneDialogBody,\n bodyProps: {\n phone: this.userInfo.phone,\n action,\n okText: okBtn,\n onCancel: this.$dialog.close,\n verifySuccess: cb\n }\n })\n }\n}\n","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n"],"sourceRoot":""}