
管理员
站长
- UID
- 1
- 积分
- 224400
- 余额
- 13 R
- Moe币
- 84881
- 在线时间
- 279 小时
- 注册时间
- 2025-12-28
- 最后登录
- 2026-11-9
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["562c"],{"0e80":function(t,e,i){t.exports=function(t,e){i.e("366d").then(i.bind(null,"1c80")).then((function(e){t&&t(e)})).catch((function(t){/loading.* chunk/i.test(t.message)&&window.badJsFunc(!0,t),console.error(t),e&&e(t)}))}},2565:function(t,e,i){"use strict";i.r(e),i.d(e,"EMimes",(function(){return n})),i.d(e,"MIME_TYPES",(function(){return h})),i.d(e,"CLIPBOARD_TYPE",(function(){return u})),i.d(e,"PPT_MIME_TYPE_PREFIX",(function(){return p})),i.d(e,"WPS_MIME_TYPE_PREFIX",(function(){return d})),i.d(e,"CUSTOM_DATA_MIME_TYPES",(function(){return f}));var n,r=i("ef68"),o=i("8b02"),s=i("3c76"),a=i("baed"),c=function(){function t(){this.version="1.0.0"}return t.prototype.successCall=function(t){return{callstatus:"ok",result:t}},t.prototype.errorCall=function(t,e){return{callstatus:"fail",err:t,extra:e}},t}(),l=i("58a8");!function(t){t.TEXT="text",t.HTML="html",t.IMAGE="image",t.INFO="info",t.FILE="file"}(n||(n={}));var u,p="ppt/",d="wps/",f={PPT_SLIDES:"ppt/slides",PPT_SLIDE_LAYOUTS:"ppt/slide-layouts",PPT_SLIDE_MASTERS:"ppt/slide-masters",WPS_TEXTS:"wps/texts",WPS_OBJECTS:"wps/objects",WPS_ART_TABLE:"wps/art-table"};!function(t){t.CLIENT="client",t.ASYNC="async",t.SYNC="sync",t.KDOCS="kdocs",t.WOA="woa",t.WPS_PC="wps_pc"}(u||(u={}));var h={TEXT:"text/plain",HTML:"text/html",PNG:"image/png",GIF:"image/gif",JPG:"image/jpg",JPEG:"image/jpeg",OO_GVML:"Art::GVML ClipFormat",OO_TABLE:"Art::Table ClipFormat",OO_TEXT:"Art::Text ClipFormat",OO_SHAPE:"Office Drawing Shape Format",OO_PP14:"PowerPoint 14.0 Slides Package",KS_IMAGE:"Kingsoft Image Data",KS_DATA:"Kingsoft Data Descriptor",KS_SHAPE:"WPS Drawing Shape Format",WPS9:"Kingsoft WPS 9.0 Format",WPP10:"Kingsoft WPP 10.0 Format",ET6:"WPS Spreadsheets 6.0 Format",ET_SHAPE:"Et Internal Shape",WPP:"kso slide package type"},m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.configService=new l.a,e}return Object(r.__extends)(e,t),e}(c),b=i("66db"),g=i("4a1f");function w(t,e,i){if(t||e||(e="<html><body> </body></html>"),i){var n="",r=i.id,o=void 0===r?"":r,s=i.from,a=void 0===s?"":s,c=i.priorityFormat,l=void 0===c?"":c,u=i.mimeTypes,p=void 0===u?[]:u,d=i.dataType,f=void 0===d?"":d,h=i.srcRange,m=void 0===h?"":h,g=i.ext,w=void 0===g?{}:g,v=p.join(";"),_=JSON.stringify(w),y="ksdocclipboard=\"ksDocClipboardId:'".concat(o,"';from:'").concat(a,"';priorityFormat:'").concat(l,"';mimetypes:'").concat(v,"';dataType:'").concat(f,"';srcRange:'").concat(m,"';ext:'").concat(b.a.encode(_),"'\""),O="webwpp"===a?'<meta ksdocclipboardid="'+o+'" app="wpp">':"";if(e){var C=/<body [^>]*>/g.exec(e)||/<body>/g.exec(e);if(C){var T=C[0].length+C.index,x=e.indexOf("</body>",T),P=e.substring(T,x);n=e.substring(0,T)+"<div ".concat(y,">").concat(O).concat(P,"</div>")+e.substring(x),window.__CONFIG__.isEnableAddCopyOriginMetaTag&&(n=function(t){var e='<meta name="origin" content="weboffice"></meta>',i=/<head[^>]*>/i;return t=i.test(t)?t.replace(i,(function(t){return t+e})):t.replace(/<html[^>]*>/i,"<html><head>".concat(e,"</head>"))}(n))}else n="<div ".concat(y,">").concat(e,"</div>")}else n=t?"<div ".concat(y,">").concat(t,"</div>"):"";return n}return e}function v(t){var e={},i=/<div ksdocclipboard="ksDocClipboardId:'(.*?)';from:'(.*?)';priorityFormat:'(.*?)';mimetypes:'(.*?)'(?:;dataType:'(.*?)')?(?:;srcRange:'(.*?)')?(?:;ext:'(.*?)')?[^>]*?>/gi.exec(t);if(i){var r=void 0;try{r=i[7]?JSON.parse(b.a.decode(i[7])):{}}catch(t){}e[n.INFO]={id:i[1]||"",from:i[2]||"",priorityFormat:i[3]||"",mimeTypes:i[4]?i[4].split(";"):[],dataType:i[5]||"",srcRange:i[6]||"",ext:r};var o=t.substring(0,i.index),s=t.substring(i.index+i[0].length,t.lastIndexOf("</div>")),a=t.substring(t.lastIndexOf("</div>")+6);s=-1!==s.indexOf("<img")&&-1!==s.indexOf("<meta")?s.substring(s.indexOf("<img")):s,e[n.HTML]=o+s+a}else e[n.HTML]=t;return e}function _(t){var e;e=t.split(",")[0].indexOf("base64")>=0?atob(t.split(",")[1]):unescape(t.split(",")[1]);for(var i=t.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(e.length),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return new Blob([n],{type:i})}function y(t){return t instanceof Blob?new Promise((function(e){var i=new FileReader;i.onload=function(){e(i.result)},i.readAsText(t)})):Promise.resolve(t)}function O(t){return t&&t instanceof Blob?new Promise((function(e){var i=new FileReader;i.onload=function(t){e(t.target.result)},i.readAsDataURL(t)})):t}function C(t){return new Promise((function(e,i){var n=new XMLHttpRequest;n.onload=function(){200===n.status?e(n.response):i(new Error(n.statusText))},n.onerror=function(){i(new Error("Fetch Image Error"))},n.responseType="blob",n.open("GET",t),n.send()}))}function T(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i;return Object(r.__generator)(this,(function(n){switch(n.label){case 0:if(!t)return[2,null];e=null,n.label=1;case 1:return n.trys.push([1,6,,7]),t instanceof Blob?(e=t,[3,5]):[3,2];case 2:return t.match(/^https?:\/\//)?[4,C(t)]:[3,4];case 3:return e=n.sent(),[3,5];case 4:t.match(/^data:image/)&&(e=_(t)),n.label=5;case 5:return e&&"image/png"!==e.type&&(e=new Blob([e],{type:"image/png"})),[3,7];case 6:return i=n.sent(),console.warn(i.message),[3,7];case 7:return[2,e]}}))}))}function x(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e;return Object(r.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),t?t instanceof Blob?[2,O(t)]:t.match(/^data:image/)?[2,t]:t.match(/^https?:\/\//)?[4,C(t)]:[3,2]:[2,""];case 1:return[2,O(i.sent())];case 2:return[3,4];case 3:return e=i.sent(),console.warn(e),[3,4];case 4:return[2]}}))}))}function P(t){try{for(var e=t.clipboardData.items,i=[],n=0;n<e.length;n++){var r=e[n];if("file"===r.kind&&r.type.match(/^image\//i)){var o=r.getAsFile();o&&i.push(o)}}return i}catch(t){return[]}}function M(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i,n;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:e="text/html",r.label=1;case 1:return r.trys.push([1,5,,6]),[4,window.navigator.clipboard.read()];case 2:return[4,r.sent()[0].getType(e)];case 3:return[4,r.sent().text()];case 4:return i=r.sent(),n=i.replace(/<br>/g,'<br style="mso-data-placement:same-cell;">'),t[e]=new Blob([n],{type:e}),[2,window.navigator.clipboard.write([new window.ClipboardItem(t)])];case 5:return r.sent(),[3,6];case 6:return[2]}}))}))}function I(t){return t?t.trim().replace(/\r|\n|\t/g,""):""}var E,S,D=function(t){function e(){var e=t.call(this)||this;return e.type=u.CLIENT,e.mimes={text:"text",html:"html",image:"image",info:"kdocs-info"},e.init(),e}return Object(r.__extends)(e,t),e.isSupport=function(){return Object(r.__awaiter)(this,void 0,Promise,(function(){return Object(r.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),o.b.isSupport()?[4,s.a.check([a.b.SYSTEM.CLIPBOARD.WRITE])]:[2,!1];case 1:return t.sent()[a.b.SYSTEM.CLIPBOARD.WRITE]?[2,!0]:[2,!1];case 2:return t.sent(),[2,!1];case 3:return[2]}}))}))},e.prototype.init=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){var t,e=this;return Object(r.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,o.b.execPromise(a.b.SYSTEM.CLIPBOARD.FORMATS)];case 1:return t=i.sent(),this.formats=t.map((function(t){return t===e.mimes.info?n.INFO:t})),[3,3];case 2:return i.sent(),[3,3];case 3:return[2]}}))}))},e.prototype.write=function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i,s,c,l,u,p=this;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return e={},i=t[n.TEXT],s=t[n.HTML],c=t[n.IMAGE],l=t[n.INFO],null!=i&&(e[this.mimes.text]=i),s&&(e[this.mimes.html]=s),[4,x(c)];case 1:return(u=r.sent())&&(e[this.mimes.image]=u),l&&(e[this.mimes.info]=JSON.stringify(l),delete e[n.INFO]),[2,o.b.execPromise(a.b.SYSTEM.CLIPBOARD.WRITE,e).then((function(){return console.log("😊[WO3.0 Clipboard] write success: ",e),p.successCall(!0)})).catch((function(t){return p.errorCall(t)}))]}}))}))},e.prototype.read=function(t){var e=this,i=P(t);return o.b.execPromise(a.b.SYSTEM.CLIPBOARD.READ).then((function(t){return Object(r.__awaiter)(e,void 0,void 0,(function(){var e,o,s,a,c,l;return Object(r.__generator)(this,(function(r){return e={},o=t[this.mimes.text],s=t[this.mimes.html],a=t[this.mimes.image],c=t[this.mimes.info],o&&(e[n.TEXT]=o),s&&(l=v(s),e[n.HTML]=l[n.HTML],l[n.INFO]&&(e[n.INFO]=l[n.INFO])),i.length?t[n.IMAGE]=i:a&&(e[n.IMAGE]=[_(a)]),c&&(e[n.INFO]=JSON.parse(c)),console.log("😊[WO3.0 Clipboard] read success: ",e),[2,this.successCall(e)]}))}))})).catch((function(t){return e.errorCall(t)}))},e.prototype.clear=function(){var t=this;return o.b.execPromise(a.b.SYSTEM.CLIPBOARD.CLEAR).then((function(){return t.successCall(!0)})).catch((function(e){return t.errorCall(e)}))},e.prototype.getMimes=function(){var t=Object.values(n),e=this.formats||t.slice(t.length/2);return this.successCall(e)},e}(m),A="setClipboard",j="getClipboard",N=function(t){function e(){var e=t.call(this)||this;return e.type=u.KDOCS,e.iosMimes={text:"public.plain-text",html:"public.html",info:"id"},e.androidMimes={text:"text",html:"html",info:"clipId"},e}return Object(r.__extends)(e,t),e.isSupport=function(){var t,e;return g.isMobileWpsClient&&((null===(e=null===(t=window.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===e?void 0:e.invokeKDocsApi)||window.WPSDoc)},e.prototype.iosExec=function(t,e){return new Promise((function(i,r){window.parent.callKDocsSuccess=function(t){var e;if(void 0===t&&i(!0),Array.isArray(t)&&t.length){var o=t[0];i(((e={})[n.TEXT]=o["public.plain-text"]||o["public.utf8-plain-text"]||o["public.utf16-plain-text"],e[n.HTML]=o["public.html"]||o["com.microsoft.HTML"],e.id=o.id,e))}else r("invalid response")},window.parent.callKDocsFail=function(t){console.log("err: ",t),r(t)},window.webkit.messageHandlers.invokeKDocsApi.postMessage({apiName:t,onSuccess:"callKDocsSuccess",onFail:"callKDocsFail",params:e})}))},e.prototype.androidExec=function(t,e){return new Promise((function(i,r){window.top.callKDocsApi=function(t){var e,o=t.clipId||"";try{var s=((e={})[n.TEXT]=t.text,e[n.HTML]=t.html,e.clipId=o,e);o&&Object.assign(s,{info:{id:o}}),i(s),console.log("callKDocsApi Callback",t,s)}catch(t){r(t)}},window.WPSDoc.invoke("yun",t,JSON.stringify(e),"callKDocsApi")}))},e.prototype.exec=function(t,e){return g.isIos?this.iosExec(t,e):this.androidExec(t,e)},e.prototype.convert=function(t){var e=g.isIos?this.iosMimes:this.androidMimes,i={};return i[e.text]=t.text||"",i[e.html]=t.html||"",t.info&&(i[e.info]=t.info.id||""),i},e.prototype.write=function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i=this;return Object(r.__generator)(this,(function(n){return e=this.convert(t),[2,this.exec(A,e).then((function(){return console.log("😊[Kdocs Clipboard] write success: ",t),i.successCall(!0)})).catch((function(t){return i.errorCall(t)}))]}))}))},e.prototype.read=function(t){var e=this,i=P(t);return this.exec(j,{}).then((function(t){var r=t[n.IMAGE];if(t[n.HTML]){var o=v(t[n.HTML]);Object.assign(t,o)}return i.length?t[n.IMAGE]=i:r&&(t[n.IMAGE]=[r]),console.log("😊[Kdocs Clipboard] read success: ",t),e.successCall(t)})).catch((function(t){return e.errorCall(t)}))},e.prototype.getMimes=function(){return this.successCall(["text","html","info"])},e.prototype.clear=function(){var t=this;return this.write({text:"",html:""}).then((function(){return t.successCall(!0)})).catch((function(e){return t.errorCall(e)}))},e}(m),R="woClipWrite",F="woClipRead",W=function(t){function e(){var e=t.call(this)||this;return e.type=u.WOA,e.callCount=0,e.mimes={text:"text/plain",html:"text/html",image:"image/png",info:"text/ksDocClipBoardInfo"},e}return Object(r.__extends)(e,t),e.isSupport=function(){var t,e;return g.isWOA&&(null===(e=null===(t=window.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===e?void 0:e.WOMessageHandle)},e.prototype.exec=function(t,e){var i=this;return console.log("woa exec",t,e),new Promise((function(n,r){var o="WOA_Client_CallBack_".concat(i.callCount++);window.parent.__WPSENV__[o]=function(t){delete window.parent.__WPSENV__[o],console.log("woa response",t),t&&"success"===t.status?n(t.params):r(!1)},window.webkit.messageHandlers.WOMessageHandle.postMessage({methodName:t,callbackName:"".concat("__WPSENV__",".").concat(o),params:e})}))},e.prototype.write=function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i,o,s,a=this;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return(e={})[this.mimes.text]=t.text||"",t.info&&(e[this.mimes.info]=JSON.stringify(t.info)),t.html&&(e[this.mimes.html]=t.html),t.image?[4,T(t[n.IMAGE])]:[3,3];case 1:return i=r.sent(),o=e,s=this.mimes.image,[4,O(i)];case 2:o[s]=r.sent(),r.label=3;case 3:return[4,this.exec(R,e).then((function(){return console.log("😊[WO2.0 Clipboard] write success: ",t),a.successCall(!0)})).catch((function(t){return a.errorCall(t)}))];case 4:return[2,r.sent()]}}))}))},e.prototype.read=function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i,o,s,a,c,l;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return e=null,[4,this.exec(F,{}).catch((function(t){return e=t,!1}))];case 1:if(!(i=r.sent()))return[2,this.errorCall(e)];for(s in o={},i)a=i[s],s===this.mimes.text&&(o[n.TEXT]=a),s===this.mimes.html&&(l=v(a),Object.assign(o,l)),s===this.mimes.info&&(o[n.INFO]=a?JSON.parse(a):null),s.includes("image/")&&(o[n.IMAGE]=[_(a)]);return(c=P(t)).length&&(o[n.IMAGE]=c),o[n.HTML]&&(l=v(o[n.HTML]),Object.assign(o,l)),console.log("😊[WO2.0 Clipboard] read success: ",o),[2,this.successCall(o)]}}))}))},e.prototype.getMimes=function(){return this.successCall(["text","html","image","info"])},e.prototype.clear=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){var t,e=this;return Object(r.__generator)(this,(function(i){switch(i.label){case 0:return(t={})[this.mimes.text]="",[4,this.exec(R,t).then((function(){return e.successCall(!0)})).catch((function(t){return e.errorCall(t)}))];case 1:return[2,i.sent()]}}))}))},e}(m),k=function(t){function e(){var e=t.call(this)||this;return e.type=u.WPS_PC,e.isMacOsOrIPadProductWps=g.isMacOs||g.isIPadProductPcOffice,e.callCount=0,e.writeKey=e.isMacOsOrIPadProductWps?"common.webview.setClipboardData":"setClipboardData",e.readKey=e.isMacOsOrIPadProductWps?"common.webview.getClipboardData":"getClipboardData",e.mimes={text:"text/plain",html:"text/html",image:"image/base64",info:"text/ksDocClipBoardInfo"},e}return Object(r.__extends)(e,t),e.isSupport=function(){return g.isWps2019},Object.defineProperty(e.prototype,"isSupportWpsPcClipboardInfoData",{get:function(){return this.configService.getPublicConfig("isSupportWpsPcClipboardInfoData")},enumerable:!1,configurable:!0}),e.prototype.exec=function(t,e){var i=this;return new Promise((function(n,r){var o="PCWpsClientCallBack".concat(i.callCount++);window.parent[o]=function(e){delete window.parent[o];var s=JSON.parse(e);if(s&&"ok"===s.callstatus){var a=s.result;if(i.isMacOsOrIPadProductWps&&t===i.readKey){a={};for(var c=s.dataArray||[],l=0;l<c.length;l++){var u=c[l];a[u.type]=u.data}}n(a)}else r(s)};var s="fromJSAsynCall(".concat(JSON.stringify({method:t,params:e,callback:o}),")");(window.cefQuery||window.wpsQuery)({request:s})}))},e.prototype.write=function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i=this;return Object(r.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.createParams(t)];case 1:return e=n.sent(),[4,this.exec(this.writeKey,e).then((function(){return console.log("😊[wpsClientCliboard] write success: ",t),i.successCall(!0)})).catch((function(t){return console.log("😱[wpsClientCliboard] write failed: ",t),i.errorCall(t)}))];case 2:return[2,n.sent()]}}))}))},e.prototype.createParams=function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i,o,s,a,c;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return(c={})[this.mimes.text]=t.text||"",e=c,i=[],t.html&&(o=t.info?w(t.text,t.html,t.info):t.html,e[this.mimes.html]=o),t.image?[4,T(t[n.IMAGE])]:[3,3];case 1:return[4,O(r.sent())];case 2:(s=r.sent())&&(e[this.mimes.image]=s.startsWith("data:image")?s.split(",")[1]:s),r.label=3;case 3:if(this.isSupportWpsPcClipboardInfoData&&t.info&&(e[this.mimes.info]=JSON.stringify(t.info)),this.isMacOsOrIPadProductWps){for(a in e)i.push({type:a,data:e[a]});return[2,{dataArray:i}]}return[2,e]}}))}))},e.prototype.read=function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i,o,s,a,c,l,u,p,d,f,h,m,b,g,w;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return e=null,[4,this.exec(this.readKey,{}).catch((function(t){return e=t,!1}))];case 1:if(!(i=r.sent()))return console.log("😱[WPSClient Cliboard] read fail: ",i),[2,this.errorCall(e)];for(c in o={},a=[],s=i)a.push(c);l=0,r.label=2;case 2:return l<a.length?(c=a[l])in s?(p=i[u=c],u!==this.mimes.text?[3,4]:(g=this.base64ToBlob(p,"text/plain"),d=o,f=n.TEXT,[4,y(g)])):[3,9]:[3,10];case 3:d[f]=r.sent(),r.label=4;case 4:return u!==this.mimes.html?[3,6]:(g=this.base64ToBlob(p,"text/html"),h=o,m=n.HTML,[4,y(g)]);case 5:h[m]=r.sent(),r.label=6;case 6:return this.isSupportWpsPcClipboardInfoData?this.mimes.info.toLocaleLowerCase()!==u.toLocaleLowerCase()?[3,8]:[4,y(g=this.base64ToBlob(p,this.mimes.info))]:[3,8];case 7:b=r.sent(),o[n.INFO]=b?JSON.parse(b):null,r.label=8;case 8:u.includes("image/")&&(o[n.IMAGE]=[this.base64ToBlob(p,"image/png")]),r.label=9;case 9:return l++,[3,2];case 10:return o.html&&(g=v(o.html),Object.assign(o,g)),(w=P(t)).length&&(o[n.IMAGE]=w),console.log("😊[WPSClient Cliboard] read success: ",o),[2,this.successCall(o)]}}))}))},e.prototype.getMimes=function(){return this.successCall(["text","html","image","info"])},e.prototype.clear=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){var t,e=this;return Object(r.__generator)(this,(function(i){switch(i.label){case 0:return(t={})[this.mimes.text]="",[4,this.exec(this.writeKey,t).then((function(){return e.successCall(!0)})).catch((function(t){return e.errorCall(t)}))];case 1:return[2,i.sent()]}}))}))},e.prototype.base64ToBlob=function(t,e){if(!t)return t;for(var i=atob(t),n=i.length,r=new Uint8Array(n);n--;)r[n]=i.charCodeAt(n);return new Blob([r],{type:e})},e}(m),L=function(t){function e(){var e=t.call(this)||this;return e.type=u.CLIENT,e.mimes={text:"text",html:"html",image:"image",info:"info"},console.log("构造WPSMobileClipboard"),e}return Object(r.__extends)(e,t),e.isEnvSupport=function(){return g.isMobileWps},e.isApiSupport=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){return Object(r.__generator)(this,(function(t){return[2,new Promise((function(t){var e;window.wps&&(null===(e=window.wps)||void 0===e?void 0:e.getWOClipboardData)?t(!0):document.addEventListener("WpsofficeSDKReady",(function(){var e;window.wps&&(null===(e=window.wps)||void 0===e?void 0:e.getWOClipboardData)&&t(!0)}),!1)}))]}))}))},e.prototype.write=function(t){return Object(r.__awaiter)(this,void 0,Promise,(function(){var e=this;return Object(r.__generator)(this,(function(i){return[2,new Promise((function(i){return Object(r.__awaiter)(e,void 0,void 0,(function(){var e,o,s,a,c,l,u=this;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return e={},o=t[n.TEXT],s=t[n.HTML],a=t[n.IMAGE],c=t[n.INFO],o&&(e[this.mimes.text]=o),s&&(e[this.mimes.html]=s),[4,x(a)];case 1:return(l=r.sent())&&(e[this.mimes.image]=l),c&&(e[this.mimes.info]=JSON.stringify(c)),window.wps.setWOClipboardData({params:e,complete:function(t){0===t.code?(console.log("😊[WpsMobileCliboard] write success: ",e),i(u.successCall(!0))):(console.log("😱[WpsMobileCliboard] write fail: ",t),i(u.errorCall(t)))}}),[2]}}))}))}))]}))}))},e.prototype.read=function(t){return Object(r.__awaiter)(this,void 0,Promise,(function(){var e,i=this;return Object(r.__generator)(this,(function(r){return e=P(t),[2,new Promise((function(t,r){window.wps.getWOClipboardData({complete:function(r){console.log("原始response:",r);try{if(0===r.code){var o=r.data.result,s=o[i.mimes.text],a=o[i.mimes.html],c=o[i.mimes.info],l=o[i.mimes.image],u={};if(s&&(u[n.TEXT]=g.isIos?decodeURIComponent(s):s),a){var p=v(g.isIos?decodeURIComponent(a):a);u[n.HTML]=p[n.HTML],u[n.INFO]=p[n.INFO]}if(e.length)o[n.IMAGE]=e;else if(l){var d=g.isIos?decodeURIComponent(l):l;u[n.IMAGE]=[i.dataURLToBlob(d)]}if(c){var f=g.isIos?decodeURIComponent(c):c;u[n.INFO]=JSON.parse(f)}console.log("😊[WpsMobileCliboard] read success: ",u),t(i.successCall(u))}else t(i.errorCall(r.data))}catch(e){console.log("😱[WpsMobileCliboard] read fail: ",e),t(i.errorCall(e))}}})}))]}))}))},e.prototype.clear=function(){return this.write({text:""})},e.prototype.getMimes=function(){return Object.keys(this.mimes)},e.prototype.dataURLToBlob=function(t){var e="",i="image/png";t.split(",")[0].indexOf("base64")>=0?(e=atob(t.split(",")[1]),i=t.split(",")[0].split(":")[1].split(";")[0]):e=atob(t.split(",")[0]);for(var n=new Uint8Array(e.length),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return new Blob([n],{type:i})},e}(m),G=["text/rtf"],B=function(t){function e(){var e=t.call(this)||this;return e.type=u.SYNC,e.mimes={text:g.isIEPure?"Text":"text/plain",html:"text/html",info:"text/ksDocClipBoardInfo"},e.container=document.body,e}return Object(r.__extends)(e,t),e.isSupport=function(){return!0},e.prototype.write=function(t,e){return Object(r.__awaiter)(this,void 0,void 0,(function(){var i;return Object(r.__generator)(this,(function(n){return(i=window.clipboardData||(null==e?void 0:e.clipboardData))?(null==e||e.preventDefault(),[2,this.setClipboardData(t,i)]):[2,this.triggerCopy(t)]}))}))},e.prototype.read=function(t,e){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i,o,s,a,c,l,u,f;return Object(r.__generator)(this,(function(r){if(!(e=window.clipboardData||(null==t?void 0:t.clipboardData)))return[2,this.errorCall("Missing ClipboardEvent object")];if(i={},o=[],s=[],g.isIEPure)i[n.TEXT]=e.getData(this.mimes.text);else for(a=e.items,c=0;c<a.length;c++)if(l=a[c],!G.includes(l.type))if(u=e.getData(l.type),"file"!==l.kind&&l.type===this.mimes.text)i[n.TEXT]=u;else if(l.type===this.mimes.html)f=v(u),Object.assign(i,f);else if(/text\/ksDocClipBoardInfo/i.test(l.type))i[n.INFO]=u?JSON.parse(u):null;else if("p"===window.officeType&&(l.type.startsWith(p)||l.type.startsWith(d))){i.customData||(i.customData={});try{i.customData[l.type]=u?JSON.parse(u):null}catch(t){}}else"file"===l.kind&&l.type.match(/^image\//i)?o.push(l.getAsFile()):"file"===l.kind?s.push(l.getAsFile()):i[l.type]=u;return s.length&&(i[n.FILE]=s),o.length&&(i[n.IMAGE]=o),i.customData&&0===Object.keys(i.customData).length&&delete i.customData,console.log("😊[SyncClipboard] read success:",i),[2,this.successCall(i)]}))}))},e.prototype.clear=function(){return Object(r.__awaiter)(this,void 0,Promise,(function(){return Object(r.__generator)(this,(function(t){return window.clipboardData?(window.clipboardData.setData("Text",""),[2,this.successCall(!0)]):[2,this.triggerCopy()]}))}))},e.prototype.getMimes=function(){var t=Object.keys(this.mimes);return this.successCall(t)},e.prototype.triggerCopy=function(t){var e=this;return new Promise((function(i,n){var r=function n(r){var o=e.setClipboardData(t,r.clipboardData);document.removeEventListener("copy",n),i(o),r.preventDefault()};document.addEventListener("copy",r);var o=document.activeElement;e.createTextDOM(null==t?void 0:t.text);var s=document.execCommand("copy");console.log("execCommand('copy') = "+s),o&&"function"==typeof o.focus&&o.focus({preventScroll:!0}),s||(i(e.errorCall(!1)),document.removeEventListener("copy",r),console.log("😱[SyncClipboard] write failed:","execCommand('copy')=false")),e.removeTextDOM()}))},e.prototype.createTextDOM=function(t){if(this.textDOM=document.createElement("textarea"),this.textDOM.setAttribute("style","font-Size:12px;border:0;padding:0;margin:0;opacity:0;z-index:-1;position:absolute;top:0px"),this.textDOM.setAttribute("readonly",""),g.isIEPure&&(this.textDOM.style.position="fixed"),this.textDOM.value=t?t.substring(0,37e3):" ",this.container.appendChild(this.textDOM),this.textDOM.setSelectionRange)this.textDOM.setSelectionRange(0,this.textDOM.value.length);else if(this.textDOM.createTextRange){var e=this.textDOM.createTextRange();e.collapse(!0),e.moveStart("character",0),e.moveEnd("character",0,this.textDOM.value.length),e.select()}this.textDOM.focus()},e.prototype.setClipboardData=function(t,e){try{if(!t)return e.setData("text/plain",""),this.successCall(!0);var i=t[n.TEXT],r=t[n.HTML],o=t[n.INFO];return null!=i&&e.setData(this.mimes.text,i),r&&(r=w(i,r,o),e.setData(this.mimes.html,r)),o&&e.setData(this.mimes.info,JSON.stringify(t[n.INFO])),console.log("😊[SyncClipboard] write success:",t),this.successCall(!0)}catch(t){return console.log("😱[SyncClipboard] write failed:",t),this.errorCall(t.message,t)}},e.prototype.removeTextDOM=function(){this.textDOM&&(this.container.removeChild(this.textDOM),this.textDOM=null)},e}(m),H=function(t){function e(){var e=t.call(this)||this;return e.type=u.ASYNC,e.syncClipboard=new B,e.permissions={},e.mimes={text:"text/plain",html:"text/html",image:"image/png"},e.init(),e}return Object(r.__extends)(e,t),e.isSupport=function(){return!(g.isMobile&&!window.__CONFIG__.openMobileAsyncPaste||!window.navigator.clipboard||!window.ClipboardItem||g.isPc&&g.chromeVS&&g.chromeVS<86)},e.prototype.init=function(){var t=this.configService.getPublicConfig("openMobileAsyncPaste");g.isSafari&&g.isPc||g.isPad&&!t?(this.permissions["clipboard-write"]=!0,this.permissions["clipboard-read"]=!1,console.log("📌[AsyncClipboard] support WRITE: yes, READ: no")):(this.queryPermission("clipboard-read"),this.queryPermission("clipboard-write"))},e.prototype.queryPermission=function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,i;return Object(r.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,window.navigator.permissions.query({name:t})];case 1:return e=n.sent(),this.permissions[t]="granted"===e.state||"prompt"===e.state,"clipboard-read"===t&&g.isPc&&g.chromeVS&&g.chromeVS<88&&(this.permissions[t]=!1),[3,3];case 2:return i=n.sent(),(g.isMobile||g.isPad)&&(this.permissions["clipboard-write"]=!0,this.permissions["clipboard-read"]=!0),console.log("📌[BrowserClipboard] query permission:",i),[3,3];case 3:return[2]}}))}))},e.prototype.write=function(t,e){return Object(r.__awaiter)(this,arguments,void 0,(function(t,e,i){var n,o,s,a,c=this;return void 0===i&&(i=!0),Object(r.__generator)(this,(function(l){switch(l.label){case 0:return this.permissions["clipboard-write"]&&i&&(t.image||t.html||!t.info)?(n={},o=t.html,void 0!==t.text&&null!==t.text&&(n[this.mimes.text]=new Blob([t.text],{type:this.mimes.text})),o&&(s=t.info?w(t.text,o,t.info):t.html,n[this.mimes.html]=new Blob([s],{type:this.mimes.html})),t.image?g.isIPad||g.isSafari||g.isMiniProgram&&g.isIos?(n[this.mimes.image]=T(t.image),[3,3]):[3,1]:[3,3]):[2,this.syncClipboard.write(t,e)];case 1:return[4,T(t.image)];case 2:(a=l.sent())&&a.size>0&&(n[this.mimes.image]=a),l.label=3;case 3:return 0===Object.keys(n).length?[2,this.errorCall("Invalid params")]:[2,window.navigator.clipboard.write([new window.ClipboardItem(n)]).then((function(){return Object(r.__awaiter)(c,void 0,void 0,(function(){return Object(r.__generator)(this,(function(e){return console.log("😊[AsyncClipboard] write success:",t),M(n),[2,this.successCall(!0)]}))}))})).catch((function(i){return console.log("😱[AsyncClipboard] write failed:",i,t),c.syncClipboard.write(t,e)}))]}}))}))},e.prototype.read=function(t,e){return Object(r.__awaiter)(this,void 0,void 0,(function(){var i,o,s,a,c,l,u,p,d,f,h,m,b,w,_,O,C;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:if(i={async:!0},o=window.self!==window.top&&!window.__IN_SANDBOX__,s=this.configService.getPublicConfig("isForceAsyncClipboardOnEmbed")&&o,t&&"paste"===t.type&&!s)return[2,this.syncClipboard.read(t)];if(null!=t&&(g.isPad||g.isSafari))return console.log("😱[AsyncClipboard] No paste event object"),[2,this.errorCall("No paste event object")];if(!this.permissions["clipboard-read"])return console.log("😱[AsyncClipboard] ERROR_PERMISSION_READ"),[2,this.errorCall("ERROR_PERMISSION_READ")];a=(e||{}).browserReadFormats,r.label=1;case 1:return r.trys.push([1,13,,14]),[4,navigator.clipboard.read(a)];case 2:c=r.sent(),l=0,u=c,r.label=3;case 3:if(!(l<u.length))return[3,12];p=u[l],d=0,f=p.types,r.label=4;case 4:return d<f.length?(h=f[d],[4,p.getType(h)]):[3,11];case 5:return(m=r.sent())?h!==this.mimes.text?[3,7]:(b=i,w=n.TEXT,[4,y(m)]):[3,10];case 6:return b[w]=r.sent(),[3,10];case 7:return h!==this.mimes.html?[3,9]:[4,y(m)];case 8:return _=r.sent(),O=v(_),Object.assign(i,O),[3,10];case 9:h.includes("image/")?i[n.IMAGE]=[m]:i[h]=m,r.label=10;case 10:return d++,[3,4];case 11:return l++,[3,3];case 12:return console.log("😊[AsyncClipboard] read success:",i),[2,this.successCall(i)];case 13:return C=r.sent(),console.log("😱[AsyncClipboard] read failed:",C),0===C.code&&"DataError"===C.name?[2,this.successCall(i)]:C.message.includes("user denied permission")?[2,this.successCall(i)]:(console.log("😱[AsyncClipboard] read failed:",C),[2,this.errorCall(C.message,C)]);case 14:return[2]}}))}))},e.prototype.clear=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){var t,e=this;return Object(r.__generator)(this,(function(i){return(t={})[this.mimes.text]=new Blob([""],{type:this.mimes.text}),[2,window.navigator.clipboard.write([new window.ClipboardItem(t)]).then((function(){return e.successCall(!0)})).catch((function(t){return e.errorCall(t)}))]}))}))},e.prototype.getMimes=function(){return this.successCall(Object.keys(this.mimes))},e}(m),K=i("a9d8"),X=i.n(K),J=i("5b14"),U=i("feb7"),Y=+new Date(1995,1,1),V=function(t){function e(){var e=t.call(this)||this;return e.syncClipboard=new B,e.init(),e}return Object(r.__extends)(e,t),e.prototype.init=function(){H.isSupport()?this.clipboard=new H:this.clipboard=this.syncClipboard,this.type=this.clipboard.type},e.prototype.write=function(t,e,i){return Object(r.__awaiter)(this,void 0,void 0,(function(){return Object(r.__generator)(this,(function(n){switch(n.label){case 0:return g.isInMiniProgram&&(Y=Date.now()),(g.isMobile||g.isPad)&&(t.html||t.info)&&(void 0!==t.text&&null!==t.text||(t.text=" ")),[4,this.clipboard.write(t,e,i)];case 1:return[2,n.sent()]}}))}))},e.prototype.read=function(t,e){return Object(r.__awaiter)(this,void 0,void 0,(function(){var i;return Object(r.__generator)(this,(function(n){switch(n.label){case 0:return g.isInMiniProgram?[4,this.updateFromMiniProgram()]:[3,2];case 1:return i=n.sent(),[3,4];case 2:return[4,this.clipboard.read(t,e)];case 3:i=n.sent(),n.label=4;case 4:return[2,i]}}))}))},e.prototype.getMimes=function(){return this.clipboard.getMimes()},e.prototype.clear=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){return Object(r.__generator)(this,(function(t){return[2,this.clipboard.clear()]}))}))},e.prototype.updateFromMiniProgram=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){var t,e,i,o,s;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),t=window.APP.userid,[4,window.__WPSENV__.reduxDispatch((a=t,l=Object(U.getQuery)("clipid"),u=l?"/api/v3/clipboard/"+l:"/api/kdocs/clipboard?key="+a,{types:J.b,autoErrorToast:!1,callAPI:(c=X()(regeneratorRuntime.mark((function t(e){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.get(u).end();case 2:return i=t.sent,t.abrupt("return",{body:i.body});case 4:case"end":return t.stop()}}),t,void 0)}))),function(t){return c.apply(this,arguments)})}))];case 1:return e=r.sent().response,(i=e&&e.body)&&i.timestamp>=Y?[2,this.successCall((s={},s[n.TEXT]=i.data,s))]:[2,this.errorCall("CLIPBOARD_NOT_SURPPORT")];case 2:return o=r.sent(),console.error("Something went wrong...",o),[2,this.errorCall("CLIPBOARD_NOT_SURPPORT")];case 3:return[2]}var a,c,l,u}))}))},e}(m),q=i("182d"),z=i("6458"),Q=i.n(z),Z=i("0e80"),$=i.n(Z),tt=i("fa54"),et=i("2c4e"),it={debounceDelay:3e3,maxWaitTime:1e4},nt=function(){function t(){var t=this;this.pendingEvents=new Map,this.initialized=!1,this.debounceTimer=null,this.maxWaitTimer=null,this.firstRecordTime=null,this.config=Object(r.__assign)({},it),this.handleBeforeUnload=function(){t.doReport()},this.configService=new l.a}return t.prototype.setConfig=function(t){Object.assign(this.config,t)},t.prototype.init=function(){this.initialized||(this.initialized=!0,window.addEventListener(et.default.names.ON_BEFORE_UNLOAD,this.handleBeforeUnload))},t.prototype.isReportEnabled=function(t){return this.configService.getPublicConfig(t)},t.prototype.getFileId=function(){var t,e,i;return(null===(i=null===(e=null===(t=window.__WPSENV__)||void 0===t?void 0:t.file_info)||void 0===e?void 0:e.file)||void 0===i?void 0:i.id)||""},t.prototype.addEvent=function(t,e){this.init();var i=Date.now();null===this.firstRecordTime&&(this.firstRecordTime=i),this.mergeEvent(t,e),this.scheduleReport()},t.prototype.mergeEvent=function(t,e){this.pendingEvents.set(t,e)},t.prototype.scheduleReport=function(){var t=this,e=Date.now();if(null!==this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=null),null!==this.firstRecordTime&&e-this.firstRecordTime>=this.config.maxWaitTime)this.doReport();else{if(null===this.maxWaitTimer&&null!==this.firstRecordTime){var i=this.config.maxWaitTime-(e-this.firstRecordTime);this.maxWaitTimer=setTimeout((function(){t.doReport()}),i)}this.debounceTimer=setTimeout((function(){t.doReport()}),this.config.debounceDelay)}},t.prototype.doReport=function(){if(this.clearTimers(),this.firstRecordTime=null,0!==this.pendingEvents.size){var t=this.getFileId();if(t){var e={file_id:t,details:Array.from(this.pendingEvents.values())};this.sendReport(e),this.pendingEvents.clear()}else console.warn("[ClipboardReporter] Cannot report: file_id not found")}},t.prototype.clearTimers=function(){null!==this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=null),null!==this.maxWaitTimer&&(clearTimeout(this.maxWaitTimer),this.maxWaitTimer=null)},t.prototype.sendReport=function(t){console.log("[ClipboardReporter] Reporting data:",t),window.__WPSENV__.reduxDispatch(function(t){return{types:J.b,autoErrorToast:!1,callAPI:(e=X()(regeneratorRuntime.mark((function e(i){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.post("/office/v5/commons/monitor/files/"+t.file_id+"/events").send(t).end();case 2:return n=e.sent,e.abrupt("return",{body:n.body});case 4:case"end":return e.stop()}}),e,void 0)}))),function(t){return e.apply(this,arguments)})};var e}(t)).then((function(t){(null==t?void 0:t.error)&&console.error("[ClipboardReporter] Report failed:",t.error)}))},t.prototype.destroy=function(){this.clearTimers(),window.removeEventListener(et.default.names.ON_BEFORE_UNLOAD,this.handleBeforeUnload),this.pendingEvents.clear(),this.firstRecordTime=null,this.initialized=!1},t}();!function(t){t[t.COPY=1]="COPY"}(E||(E={})),function(t){t[t.TEXT=1]="TEXT",t[t.IMAGE=2]="IMAGE"}(S||(S={}));var rt=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.isReportEnabled=function(){return t.prototype.isReportEnabled.call(this,"enableClipboardReport")},e.prototype.record=function(t){var e;try{if(!this.isReportEnabled())return;var i=this.parseContentTypes(t);if(0===i.length)return;var n=Date.now(),r=(null===(e=t.info)||void 0===e?void 0:e.id)||"temp_".concat(n,"_").concat(Math.random().toString(36).substring(2,11)),o={type:E.COPY,copy_event:{content_types:i},timestamp:n};this.addEvent(r,o)}catch(t){console.error("[ClipboardReporter] record error:",t)}},e.prototype.parseContentTypes=function(t){var e=[],i=t[n.HTML]||"";return(/<img[^>]*>/i.test(i)||!!t[n.IMAGE])&&e.push(S.IMAGE),(/<span[^>]*>/i.test(i)||!!t[n.TEXT])&&e.push(S.TEXT),e},e}(nt)),ot=g.isMobile&&g.isMiniProgram,st=!1;try{st=window.__WPSPLUGIN__.pluginMgr.hasPlugin({pluginName:"OpenApp"})}catch(t){}var at=function(){function t(){this.browserClipboard=new V,this.cache={},this.init()}return Object.defineProperty(t.prototype,"type",{get:function(){return this.clipboard.type},enumerable:!1,configurable:!0}),t.prototype.readFromBrowser=function(t,e){return Object(r.__awaiter)(this,void 0,Promise,(function(){return Object(r.__generator)(this,(function(i){return[2,this.browserClipboard.read(t,e)]}))}))},t.prototype.setDocumentPositionFunc=function(t){this.getDocumentPosition=t},t.prototype.init=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){var t,e,i=this;return Object(r.__generator)(this,(function(n){switch(n.label){case 0:return t=window.officeType===q.a.outline,e=Object(q.h)(window.officeType),this.clipboard=this.browserClipboard,L.isEnvSupport()?(L.isApiSupport().then((function(){i.clipboard=new L})),[2]):self!==top&&window===window._parent?[2]:[4,D.isSupport()];case 1:return n.sent()?(this.clipboard=new D,[2]):N.isSupport()?(this.clipboard=new N,[2]):W.isSupport()&&(t||e)?(this.clipboard=new W,[2]):k.isSupport()?(this.clipboard=new k,[2]):[2]}}))}))},t.prototype.validate=function(t){if("Object"!==Object.prototype.toString.call(t).slice(8,-1)||0===Object.keys(t).length)return"Invalid params";if(t.info){if(!t.info.id)return"Missing info.id";if(!t.info.from)return"Missing info.from";if(!t.info.mimeTypes)return"Missing info.mimeTypes";var e=t.info.mimeTypes;if(e)for(var i=0;i<e.length;i++){var n=e[i];Object.values(h).includes(n)||console.error('Unknow MIME type in info.mimeTypes: "'.concat(n,'"'))}}return""},t.prototype.write=function(t,e,i){return Object(r.__awaiter)(this,arguments,Promise,(function(t,e,i,o){var s,a,c,l;return void 0===o&&(o=!0),Object(r.__generator)(this,(function(u){switch(u.label){case 0:return(s=this.validate(t))?[2,Promise.resolve({callstatus:"fail",err:s})]:(this.setCache(t),a=Object(r.__assign)({},t),g.isAndroid&&a[n.HTML]&&(a[n.HTML]=a[n.HTML].replace(/<!--[\w\W\r\n]*?-->/gim,"")),[4,null===(l=this.clipboard)||void 0===l?void 0:l.write(a,e,i)]);case 1:return c=u.sent(),this.clipboard===this.browserClipboard||"ok"===c.callstatus?[3,3]:[4,this.browserClipboard.write(a,e)];case 2:c=u.sent(),u.label=3;case 3:return o&&"ok"===c.callstatus&&rt.record(t),[2,c]}}))}))},t.prototype.read=function(t,e){return Object(r.__awaiter)(this,void 0,Promise,(function(){var i,n,o,s,a,c,l,p,d,f,h,m,b;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return i={callstatus:"fail"},n=!(!e||!e.forceClientClipboardRead),!t||"paste"!==t.type||g.isLinux||g.isOhOs||n?[3,2]:[4,this.browserClipboard.read(t,e)];case 1:return i=r.sent(),[3,4];case 2:return[4,this.clipboard.read(t,e)];case 3:i=r.sent(),r.label=4;case 4:return o=i.result,s=void 0===o?{}:o,"ok"===i.callstatus?((g.isMobile||g.isPad||(null==e?void 0:e.useCacheForAsync))&&s.async&&(p=this.cache.text||"",s.info||" "!==s.text&&s.text!==p&&I(s.text)!==I(p)||(a=this.getCache(),s.info=a.info)),ot&&(c=this.getCache(!0),l=null===(b=null==i?void 0:i.result)||void 0===b?void 0:b.text,p=null==c?void 0:c.text,(this.isTextEqual(l,p)||" "===l)&&(i=this.readCache(!0)))):(d=g.isPad&&(g.isMobileWps&&this.type!==u.CLIENT||g.isMiniProgram||!st),(g.isMobile||d)&&(i=this.readCache())),f=!t&&"fail"===i.callstatus,h=s.async&&1===Object.keys(s).length,g.isMobile||g.isPad||!f&&!h||(null==e?void 0:e.hideTips)||(window.Message.info(g.convertCtrl(_i18n("", "当前浏览器内,请按下 Ctrl+V 进行粘贴", "ftfy40"))),m=i.extra||{},Object.assign(m,{showTips:!0}),i.extra=m),this.cleanClipboardData(i),console.log("[Clipboard] read data: ",i),[2,i]}}))}))},t.prototype.isTextEqual=function(t,e){var i=/[\u2014\uE000\uF8FF]|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]|[\x01-\t]/g;return(t?t.replace(i,""):t)===(e?e.replace(i,""):e)},t.prototype.readCache=function(t){void 0===t&&(t=!1);var e=this.getCache(t);return 0===Object.keys(e).length?(console.log("😱[Clipboard Cache] read failed: ",e),{callstatus:"fail",err:"No cache data"}):(console.log("😊[Clipboard Cache] read success:",e),{callstatus:"ok",result:e})},t.prototype.cleanClipboardData=function(t){if(t[n.IMAGE]){(t[n.TEXT]&&t[n.TEXT].includes("blob:https:")||/<img[^src]*src="(blob:https:[^"]+)".*>/g.test(t[n.HTML]))&&(t[n.TEXT]="",t[n.HTML]="")}},t.prototype.clear=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){var t;return Object(r.__generator)(this,(function(e){return[2,null===(t=this.clipboard)||void 0===t?void 0:t.clear()]}))}))},t.prototype.getMimes=function(){var t;return null===(t=this.clipboard)||void 0===t?void 0:t.getMimes()},t.prototype.setCache=function(t){var e,i;this.cache=Object.assign({},t);var r=null!==(e=t[n.INFO])&&void 0!==e?e:"",o=null!==(i=t[n.TEXT])&&void 0!==i?i:"";if(r){var s={t:+new Date,info:r,text:ot?o:void 0};try{tt.d.setItem("nKsClipboard",JSON.stringify(s),tt.a.necessary),tt.d.setItem("ksDocClipBoardInfo",JSON.stringify(r),tt.a.necessary)}catch(t){console.error("[Clipboard] set cache error: ",t)}}else window.localStorage.removeItem("nKsClipboard"),window.localStorage.removeItem("ksDocClipBoardInfo")},t.prototype.getCache=function(t){void 0===t&&(t=!1);var e=Object.assign({},this.cache);try{var i=window.localStorage.getItem("nKsClipboard"),r=JSON.parse(i);if(r.t){var o=r.t;+new Date-o<36e5&&(e[n.INFO]=r.info,e[n.TEXT]=t?r.text:this.cache.text)}else e[n.INFO]=r}catch(t){}return e},t.prototype.showPasteTips=function(t,e){var i=this;if(void 0===t&&(t=!1),!(g.isMobileWpsClient||g.isWOA||g.isMobileWps&&this.type===u.CLIENT||g.isMobile&&g.isMiniProgram)){var n=window.APP&&"function"==typeof window.APP.isEmbedFull&&window.APP.isEmbedFull();if(!st&&!n||g.isMiniProgram||g.isMobileWps)window.Toast.info(e||_i18n("", "请使用 Ctrl+V 进行粘贴,或点击屏幕键盘的「粘贴」按钮", "71jgxl"));else{var r=function(){var t,e=null===(t=i.getDocumentPosition)||void 0===t?void 0:t.call(i),n=location.href;e&&(n=location.href.includes("?")?location.href+"&".concat(e):location.href+"?".concat(e)),window.__WPSPLUGIN__.pluginMgr.getPlugin({pluginName:"OpenApp"}).then((function(t){(new t).kdocs(n)})).catch((function(){})),window.collection2("paste_popup_download")};g.isMobile?$()((function(t){(0,t.default)({onOk:r,okText:_i18n("", "打开App", "duq2wt"),cancelText:_i18n("", "取消", "bm179w")})})):Q()((function(e){(0,e.default)({title:_i18n("", "提示", "71g0x6"),onOk:r,okText:_i18n("", "打开App", "duq2wt"),cancelText:_i18n("", "取消", "bm179w"),isCtrlV:t})}))}}},t.createClipboardId=function(t,e){void 0===t&&(t="0"),void 0===e&&(e="");var i=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},n="{"+i()+i()+"-"+i()+"-"+i()+"-"+i()+"-"+i()+i()+i()+"}";return n=n.substring(0,n.length-1)+"-"+t+"}",e?e+":"+n:n},t}();e.default=at},"58a8":function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return a}));var n=i("3afe"),r=i("8b15"),o=i.n(r),s=Object(n.c)("ConfigService"),a=function(){function t(){var t=this;this.mocksMap={},this._officeTypeAllConfigGetters={w:function(){return window.__CONFIG__.wps},f:function(){return window.__CONFIG__.pdf},o:function(){return window.__CONFIG__.outline},k:function(){return window.__CONFIG__.ksheet},s:function(){return window.__CONFIG__.et},d:function(){return window.__CONFIG__.db},p:function(){return window.__CONFIG__.wpp},b:function(){return window.__CONFIG__.kw},i:function(){return window.__CONFIG__.image},e:function(){return window.__CONFIG__.epub},n:function(){return window.__CONFIG__.note},md:function(){return window.__CONFIG__.markdown}},this._getOfflineType=function(){return window.__WPSENV__.office_type},this._getPublicAllConfig=function(){return window.__CONFIG__},this.getPublicAllConfig=function(){var e=t._getPublicAllConfig();return e||(console.error("[IConfigService]: __CONFIG__ is not defined"),{})},this.getCurrentOfficeTypeAllConfig=function(){var e=t._getOfflineType();if(!e)return console.error("[IConfigService]: officeType is not defined"),{};var i=t._officeTypeAllConfigGetters[e];return i?i()||{}:(console.error("[IConfigService]: No config getter found for office type: ".concat(e)),{})},this.getPublicConfig=function(e){if(e){if(void 0!==t.mocksMap[e])return t.mocksMap[e];var i=t.getPublicAllConfig();return o()(i,e)}console.error("[IConfigService]: key is not defined")},this.getCurrentOfficeTypeConfig=function(e){if(e){if(void 0!==t.mocksMap[e])return t.mocksMap[e];var i=t.getCurrentOfficeTypeAllConfig();return o()(i,e)}console.error("[IConfigService]: key is not defined")},this.getCurrentOfficeTypeOrPublicConfig=function(e){var i=t.getCurrentOfficeTypeConfig(e);return void 0===i&&(i=t.getPublicConfig(e)),i},this.mockConfig=function(e,i){window.isDebugger&&(t.mocksMap[e]=i)}}return t.prototype.dispose=function(){},t}()},6458:function(t,e,i){t.exports=function(t,e){i.e("3378").then(i.bind(null,"5710")).then((function(e){t&&t(e)})).catch((function(t){/loading.* chunk/i.test(t.message)&&window.badJsFunc(!0,t),console.error(t),e&&e(t)}))}}}]); 煞在又一次整根没入到底之后,没有像之前那样立刻抽出,而是停在了她身体的最深处。
紧接着,那根狗屌的根部,也就是最靠近那两颗沉甸甸的毛茸茸卵蛋的一截,开始以一种不可思议的速度,迅速地膨胀变大!
那感觉,就像是在她的逼口处,突然吹起了一个硬邦邦的肉气球!
“呃……那是什么……怎么……怎么变大了……”
妈妈惊恐地想要挣脱黑煞的压制,但为时已晚。
那个迅速膨胀起来的肉结,是犬类在交配时特有的“锁扣”。
它死死地卡在了妈妈秦海淑的小穴出口处,将一人一狗,用一种最原始彻底地连接在了一起。
妈妈被锁住了。
黑煞用它的狗屌,牢牢地锁住了妈妈的穴口,让高贵冷艳的妈妈再无半点可以逃脱的可能。
犬科动物为了最大化地确保繁殖成功率,其生殖器演化出了一种极为特殊的生理结构。也就是在其阴茎根部,存在一个被称为“球腺”的海绵体组织。
在交配进入白热化时,该组织会在极短时间内大量充血,迅速膨胀成一个坚硬的球状或结状物,其直径远大于阴茎主体。这个“锁结”会牢牢地卡在雌性的阴道括约肌内,形成一种强制性的物理闭锁。
使得双方在雄性完成射精前,几乎不可能分离。
几乎可以预见的是,在黑煞将它的狗精彻底射入妈妈体内之前,肉锁是不可能松开的。
“死狗……不要……”
妈妈不信邪地向前挪动着自己的身体,试图将那凭空长出的“肉瘤”从小穴内挣脱出去。
然而,她才刚刚向前挪动了半公分不到的距离,那被肉结死死卡住的穴口嫩肉,便传来一阵如同被撕裂般的剧痛!
那疼痛是如此剧烈,让妈妈瞬间眼前一黑,差点昏死过去。此刻,就似乎是身体在用最直接的方式抗议着她的脱离。
“不……不……放开我……放开我……”
妈妈那张一直以来都用冰冷和高傲来妆饰的俏脸,终于在这一刻彻底地卸下了伪装。
那双总是带着审视和威严的丹凤眼,此刻如同小女孩般的恐惧和无助,玫瑰红色的嘴唇亦轻轻颤抖颤,长长的睫毛上也挂满了泪珠。
那副模样,再也没有半分平日里叱咤风云的女总裁的气势。
“嗯啊……哈啊……不……那里……别……”
妈妈开始语无伦次地哀求起来,然而回答她的,只有黑煞更加粗重的喘息。 |
|