(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-common"],{"005c":function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return a})),o.d(e,"d",(function(){return c})),o.d(e,"c",(function(){return s})),o.d(e,"e",(function(){return l})),o.d(e,"f",(function(){return _})),o.d(e,"w",(function(){return m})),o.d(e,"x",(function(){return g})),o.d(e,"k",(function(){return f})),o.d(e,"m",(function(){return b})),o.d(e,"i",(function(){return O})),o.d(e,"l",(function(){return y})),o.d(e,"t",(function(){return v})),o.d(e,"o",(function(){return C})),o.d(e,"v",(function(){return w})),o.d(e,"n",(function(){return E})),o.d(e,"g",(function(){return j})),o.d(e,"y",(function(){return T})),o.d(e,"h",(function(){return A})),o.d(e,"r",(function(){return R})),o.d(e,"p",(function(){return S})),o.d(e,"s",(function(){return L})),o.d(e,"q",(function(){return x})),o.d(e,"u",(function(){return D})),o.d(e,"j",(function(){return M}));var r=o("3c61"),n=o("4a75");function i(t,e=window.document){return e.querySelector(t)}function a(t,e=window.document){const o=[],r=e.querySelectorAll(t);for(let n=0;n{t.style.display="none"},e)}function s(t,e="block"){t.style.display=e,setTimeout(()=>{t.style.opacity="1"})}function l(t,e){return t?t.currentStyle?t.currentStyle[e]:getComputedStyle(t,null)[e]:""}function d(t){if(!t)return 0;const e=l(t,"height"),o=parseInt(e,10);if(!isNaN(o)&&"auto"!==e)return o;const r=t.offsetHeight;if(r>0)return r;const n=t.getBoundingClientRect().height;if(n>0)return n;const i=t.scrollHeight;if(i>0)return i;const a=t.clientHeight;return a>0?a:0}const u=t=>t.scrollTop,p=t=>t.scrollHeight,h=t=>t.clientHeight,_=t=>{const e=u(t),o=p(t),r=h(t);return e+r>=o},m=t=>{const e=t.split("?")[1];if(!e)return{};const o=e.split("&"),r={};return o.forEach(t=>{const[e,o]=t.split("=");null!=e&&""!==e&&(r[e]=o)}),r},g=t=>localStorage.setItem("__h5-openid",t),f=()=>localStorage.getItem("__h5-openid")||"",b=(t="")=>!!r["a"].h5QueryString[t.toLocaleLowerCase()],O=t=>{const e=document.createElement("textarea");e.style.cssText="position:absolute;left:-10000px;top:-10000px;",e.value=t,document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(o){console.error(o)}document.body.removeChild(e)},y=t=>{var e;const{no_min_height:o}=Object(n["p"])();if("1"===o)return null;const r=document.querySelector(".__code_module-content"),i=document.querySelector(".__code_bottom-content"),a=document.querySelector("#__empty-container"),c=document.querySelector(".__empty-container-bottom"),s=document.querySelector(".__reviewWrapper"),l=document.querySelector("#__write-msg-btn"),u=document.querySelector(".code-bottom-normal-actions-wrapper"),p=document.querySelector(".fixedBottomContainer"),h=null!==(e=null===t||void 0===t?void 0:t.totalHeight)&&void 0!==e?e:document.documentElement.clientHeight;if(!r||!i||s&&!l)return 0;const _=t&&t.isOnePageContent?d(u):0,m=d(i)-_,g=d(a),f=d(c),b=d(p),O=h-m-g-f-b;return O-1.5},v=()=>{const t=navigator.userAgent;return!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},C=()=>{const t=navigator.userAgent;return t.indexOf("Android")>-1||t.indexOf("Adr")>-1},w=()=>{const t=navigator.userAgent;return t.indexOf("OpenHarmony")>-1},E=()=>{const t=navigator.userAgent,e=t.replace(/^.*OS ([\d_]+) like.*$/,"$1").replace(/_/g,".");return t===e?"":e},j=()=>{const t=navigator.userAgent,e=t.match(/Android ([/\d/.]+)/i);return e?e[1]:""},T=()=>{const t=navigator.userAgent,e=t.match(/MicroMessenger\/([/\d/.]+)/i);if(e){const o=!!t.match(/WxWork/i);return o?"":e[1]}return""},I=()=>{const t=navigator.userAgent,e=t.match(/WxWork\/([/\d/.]+)/i);return e?e[1]:""},A=(t,e)=>{if(t===e)return!0;const o=t.split("."),r=e.split("."),n=Math.max(o.length,r.length);if(o.lengthe){i=!0;break}}return i},R=()=>{const t=v()?A(E(),"10.3"):A(j(),"5.0");return!!T()&&A(T(),"7.0.12")&&t},S=()=>{const t=[" qq","mqqbrowser","huaweibrowser","safari","miuibrowser","wxwork"];let e=!1;return t.forEach(t=>{navigator.userAgent.toLowerCase().indexOf(t)>-1&&(e=!0)}),e},L=()=>{const t=navigator.userAgent,e=t.match(/wxwork\//i);return!!e},x=()=>{const t=!!I()&&A(I(),"3.0.36");return t},D=()=>{const t=navigator.userAgent,e=t.indexOf("Macintosh")>-1;return e};function M(){let t=!1;const e=setInterval(()=>{!t&&document.body.scrollHeight>window.innerHeight&&0===window.scrollY&&(t=!0,clearInterval(e),setTimeout(()=>{window.scrollBy(0,1),setTimeout(()=>window.scrollBy(0,-1),50)},200))},300);setTimeout(()=>clearInterval(e),3e4)}},"03d1":function(t,e,o){"use strict";var r=o("f1d0"),n=o("e9b6"),i=o("1ddc"),a=o("08f7"),c=o("76ac"),s=o("dfe4"),l=o("b6f3"),d=o("0c6d"),u=o("8262"),p=o("1565"),h=o("77ed");class _{constructor({data:t,project:e,dpr:o,windowWidth:n,windowHeight:c,imageStyle1Margin:l,isLowQuality:d=!1,encodedUserId:u=""}){this.data=null,this.project=null,this.originDpr=1,this.originWindowWidth=0,this.originWindowHeight=0,this.imageStyle1Margin=0,this.computedDpr=1,this.computedWindowWidth=0,this.computedWindowHeight=0,this.images=[],this.isLowQuality=!1,this.encodedUserId="",this.imageStyle=r["h"].IMAGE_STYLE_1,this.imageAppearance="",this.prewType=r["j"].TILE,this.carouselStyle=r["e"].CAROUSEL_STYLE_1,this.data=t,this.project=e,this.originDpr=o,this.originWindowWidth=n,this.originWindowHeight=c,this.imageStyle1Margin=l,this.isLowQuality=d,this.encodedUserId=u,this.computeDpr(),this.computeWindowWidth(),this.computeWindowHeight();const{computedWindowWidth:p,computedWindowHeight:_}=this,m=Object(a["a"])(t,"attribute_list",[]),g=Object(i["a"])(m,t=>{const{deleteFlag:e,type:o}=t,r=Object(a["a"])(t,"image_url.value");return!e&&"loadingItem"!==o&&!!r});this.images=Object(s["a"])(g,(t,o)=>{var n;if(0===o&&(this.imageStyle=Object(a["a"])(t,"image_style.value",r["h"].IMAGE_STYLE_1),this.prewType=Object(a["a"])(t,"prew_type.value",r["j"].TILE),this.carouselStyle=Object(a["a"])(t,"carousel_style.value",r["e"].CAROUSEL_STYLE_1),null!==t&&void 0!==t&&null!==(n=t.image_appearance)&&void 0!==n&&n.value))try{var i;this.imageAppearance=JSON.parse(null===t||void 0===t||null===(i=t.image_appearance)||void 0===i?void 0:i.value)}catch(b){console.error(b)}const{imageStyle:c,prewType:s,imageAppearance:m,carouselStyle:f}=this;return new h["b"]({data:t,project:e,imageStyle:c,imageAppearance:m,prewType:s,carouselStyle:f,isFirst:0===o,isSingle:1===g.length,isLast:g.length===o+1,computedWindowWidth:p,computedWindowHeight:_,imageStyle1Margin:l,isLowQuality:d,encodedUserId:u})})}static hasNoSize(t){const e=Object(a["a"])(t,"attribute_list",[]);return Object(l["a"])(e,t=>h["b"].hasNoSize(t))}static addOssSuffix(t,e){return h["b"].addOssSuffix(t,e)}static getComputedUrl(t){const e=Object(s["a"])(t.data,e=>{if(e.value&&1!==e.status)return h["b"].getComputedUrl({data:e.value,windowWidth:t.windowWidth})}).filter(t=>!!t);return t.type?Object(s["a"])(e,t=>t.url):Object(s["a"])(e,t=>t.previewUrl)}static getComputedImages(t){return Object(s["a"])(t.data,e=>{if(e.value&&1!==e.status)return h["b"].getComputedImage({data:e.value,windowWidth:t.windowWidth})}).filter(t=>!!t)}static initColors({themeColor:t,textColor:e,hasRecord:o}){return o&&!t&&(t="f4f4f4",e="000000"),t=(t||"").replace("#",""),e=(e||"").replace("#",""),{themeColor:t,textColor:e}}static getSwiperDotColors({themeColor:t,textColor:e,project:o,position:i,imageStyle:a,hasTitle:s,hasRecord:l,hasRichText:d,isGradient:u,isColorExtend:p,imageAppearances:h}){({themeColor:t,textColor:e}=_.initColors({themeColor:t,textColor:e,hasRecord:l}));const m=!!t&&!Object(c["a"])(t),g=Object(c["a"])(e),f=m&&!g;let b;b=o===r["k"].CONSOLE||a===r["h"].IMAGE_STYLE_1||(null===h||void 0===h?void 0:h.position)===n["a"].CENTER||(null===h||void 0===h?void 0:h.position)===n["a"].TOP_CENTER||a===r["h"].IMAGE_STYLE_3&&s||l||u&&f||p?i===r["i"].TOP_MODULE||p:!d;let O="",y="";return O="#07C160",y="rgba(0, 0, 0, 0.15)","ffdf22"===t.toLocaleLowerCase()&&(O="#07C160"),{activeColor:O,defaultColor:y,bgUseThemeColor:b}}computeDpr(){const{originDpr:t}=this;this.computedDpr=Object(d["a"])(t)}computeWindowWidth(){const{project:t,computedDpr:e,originWindowWidth:o}=this;this.computedWindowWidth=Object(u["a"])({project:t,computedDpr:e,originWindowWidth:o})}computeWindowHeight(){const{project:t,computedDpr:e,originWindowHeight:o}=this;this.computedWindowHeight=Object(p["a"])({project:t,computedDpr:e,originWindowHeight:o})}}e["a"]=_},"07f0":function(t,e,o){"use strict";o.d(e,"b",(function(){return a})),o.d(e,"a",(function(){return c}));var r=o("131c");const n="online",i={net:"net",online:"online",com:"com",exp:"exp"},a=()=>"production"===n?"online":i[n]||"",c=t=>{Object(r["E"])(["com","net","online","onlineTest","exp"],t)||console.error("环境必须是com、net、online、onlineTest、exp中的一种")}},"08f7":function(t,e,o){"use strict";var r=o("f64c"),n=o("a607");function i(t,e,o){if(!e)return null==t?Object(r["a"])(o)?t:o:t;let a=i(t,null,{});const c=e.split("."),s=c.length;return Object(n["a"])(c,(t,e)=>{a=i(a[t],null,e!==s-1?{}:o)}),a}e["a"]=i},"0be6":function(t,e,o){"use strict";o("d9e2");e["a"]=function(t,e){if(!t)return-1;const o=t.length>>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");const r=arguments[1];let n=0;while(n{let e=1;return t>=3?e=3:t>=2&&(e=2),e}},"0cbb":function(t,e,o){"use strict";e["a"]=t=>"[object String]"===Object.prototype.toString.call(t)},1:function(t,e){},1137:function(t,e,o){"use strict";e["a"]=t=>"[object Function]"===Object.prototype.toString.call(t)},1241:function(t,e,o){"use strict";var r=o("3049");e["a"]=({cmpData:t,cmpDataType:e,hiddenCmpVisibleMap:o})=>Object(r["a"])({cmpData:t,cmpDataType:e})&&!(null!==o&&void 0!==o&&o[null===t||void 0===t?void 0:t.id])},"131c":function(t,e,o){"use strict";o.d(e,"c",(function(){return r["a"]})),o.d(e,"g",(function(){return i})),o.d(e,"h",(function(){return a["a"]})),o.d(e,"i",(function(){return c})),o.d(e,"l",(function(){return s["a"]})),o.d(e,"o",(function(){return n["a"]})),o.d(e,"B",(function(){return l["a"]})),o.d(e,"E",(function(){return d["a"]})),o.d(e,"F",(function(){return u["a"]})),o.d(e,"G",(function(){return p["a"]})),o.d(e,"I",(function(){return h["a"]})),o.d(e,"J",(function(){return _["a"]})),o.d(e,"N",(function(){return m["a"]})),o.d(e,"O",(function(){return g["a"]})),o.d(e,"Q",(function(){return O})),o.d(e,"R",(function(){return y})),o.d(e,"S",(function(){return v["a"]})),o.d(e,"T",(function(){return C})),o.d(e,"U",(function(){return E})),o.d(e,"W",(function(){return j["a"]})),o.d(e,"Z",(function(){return T["a"]})),o.d(e,"ab",(function(){return I})),o.d(e,"bb",(function(){return A})),o.d(e,"n",(function(){return R["a"]})),o.d(e,"k",(function(){return S})),o.d(e,"p",(function(){return x})),o.d(e,"a",(function(){return q})),o.d(e,"y",(function(){return U})),o.d(e,"b",(function(){return P})),o.d(e,"L",(function(){return F})),o.d(e,"e",(function(){return $})),o.d(e,"z",(function(){return W})),o.d(e,"s",(function(){return G})),o.d(e,"w",(function(){return Q})),o.d(e,"j",(function(){return Y})),o.d(e,"A",(function(){return X})),o.d(e,"f",(function(){return z})),o.d(e,"m",(function(){return V["a"]})),o.d(e,"K",(function(){return K["a"]})),o.d(e,"D",(function(){return J["a"]})),o.d(e,"d",(function(){return Z})),o.d(e,"Y",(function(){return mt})),o.d(e,"V",(function(){return gt})),o.d(e,"u",(function(){return ft["a"]})),o.d(e,"r",(function(){return bt})),o.d(e,"X",(function(){return Ot["a"]})),o.d(e,"q",(function(){return Ct})),o.d(e,"v",(function(){return wt})),o.d(e,"t",(function(){return Et})),o.d(e,"x",(function(){return jt})),o.d(e,"C",(function(){return Tt["a"]})),o.d(e,"H",(function(){return It})),o.d(e,"P",(function(){return At["a"]})),o.d(e,"M",(function(){return Lt}));var r=o("d2a4"),n=o("a607"),i=(t,e=1)=>{const o=[];if(t){let r=[];Object(n["a"])(t,t=>{r.push(t),r.length>=e&&(o.push(r),r=[])}),r.length&&o.push(r)}return o},a=o("d6ad"),c=t=>{let e="";try{e=decodeURIComponent(t)}catch(o){console.error(o)}return e},s=o("1ddc"),l=o("08f7"),d=o("76a4"),u=o("a719"),p=o("1137"),h=o("1894"),_=o("cb9b"),m=o("0cbb"),g=o("f64c"),f=(o("76ac"),o("8033")),b=o.n(f),O=t=>{const e=b.a.fromHex(t),o=e.toHsvArray(),r=e.toRgbObject();return r.r===r.g&&r.g===r.b?r.r>240?"#06ae56":"#222":(o[1]<=30?o[0]>=0&&o[0]<=40||o[0]>=320&&o[0]<=360?(o[1]=50,o[2]=75):o[0]>=160&&o[0]<=260?(o[1]=50,o[2]=65):o[0]>40&&o[0]<160?(o[1]=40,o[2]=65):(o[1]=50,o[2]=55):o[2]>=0&&o[2]<=30?o[2]+=30:o[2]-=30,b.a.fromHsvArray(o).toHex())},y=t=>{const e=b.a.fromHex(t),o=e.toHsvArray(),r=e.toRgbObject();return r.r===r.g&&r.g===r.b?r.r>240?"#2aad67":"#333":(o[1]<=30?o[0]>=0&&o[0]<=40||o[0]>=320&&o[0]<=360?(o[1]=50,o[2]=90):o[0]>=160&&o[0]<=260?(o[1]=50,o[2]=80):o[0]>40&&o[0]<160?(o[1]=40,o[2]=80):(o[1]=50,o[2]=70):o[2]>=0&&o[2]<=15?o[2]+=15:o[2]-=15,b.a.fromHsvArray(o).toHex())},v=o("dfe4"),C=()=>{},w=t=>"[object Boolean]"===Object.prototype.toString.call(t),E=(t,e)=>{var o;w(e)&&(e={noEncode:e});const{noEncode:r,mode:i}=null!==(o=e)&&void 0!==o?o:{};t=t||{};const a=[],c=({key:t,value:e})=>{a.push(`${t}=${r?e:encodeURIComponent(e)}`)};return Object(n["a"])(t,(t,e)=>{"string"!==i?null!=t&&(Object(u["a"])(t)?Object(n["a"])(t,t=>{c({key:e,value:t})}):c({key:e,value:t})):c({key:e,value:t})}),a.join("&")},j=o("5af5"),T=o("b6f3"),I=(t,e,o)=>{null==e&&(e=1500);let r,n=0;return function(...i){const a=(new Date).getTime();!n||a-n>e?(clearTimeout(r),t.apply(this,i),n=a):o&&(clearTimeout(r),r=setTimeout(()=>{t.apply(this,i),n=(new Date).getTime()},e-(a-n)))}},A=(t,e)=>{const o=t.indexOf("?");o>-1&&(t=t.substr(o+1));const r={};return t&&Object(n["a"])(t.split("&"),t=>{const o=t.split("="),n=o[0]||"";let i;try{i=o.slice(1).join("=")}catch(s){i=o[1]||""}i=i.replace(/\+/g,"%20"),i=e?i:c(i);const a=r[n];null==a?r[n]=i:Object(u["a"])(a)?a.push(i):r[n]=[a,i]}),r},R=o("0be6"),S=function(t){const e=Object.keys(t);let o=e.length;const r=new Array(o);while(o--)r[o]=[e[o],t[e[o]]];return r};o("d228"),o("28ec");function L(t){let e="qrcode";return Object(m["a"])(t)&&(t=Object(l["a"])(t.split("?"),"0",""),/\/sy\//.test(t)&&(e="summary"),/^https?:\/\//i.test(t)||(t="https://"+t),(/\/pq\//.test(t)||5===t.split("/").length&&"e"===t.split("/")[4].charAt(0))&&(e="placeholderQrcode"),/^https?:\/\/(hqr\.cn|id\.qr46\.cn|test\.hqr\.cn)\//i.test(t)&&(e="gs1")),e}var x=L;const D="https://gstatic.clewm.net/caoliao-resource/260316/a766f0_8a80a200.png",M="https://gstatic.clewm.net/caoliao-resource/260227/a766f0_540647ce.png",N="https://gstatic.clewm.net/caoliao-resource/260126/0f1350_8d27217e.png",k="https://gstatic.clewm.net/caoliao-resource/260126/0f1350_6ffd8910.png";function H(t){if(!Object(m["a"])(t)||!t)return;const e=c(t);if(e.startsWith("tel:"))return{key:"phone",label:"电话",icon_url:k};if(e.startsWith("navLink:")){const t=e.match(/[?&]type=([^&]*)/);if(!t)return;const o=t[1];if("10"===o)return{key:"miniprogram",label:"小程序",icon_url:D};if("7"===o)return{key:"caoliaoform",label:"表单",icon_url:M};if(Object(d["a"])([0,12,13,14,15,20,22,120,130,140,150,200],+o)){const t=e.match(/[?&]list_name=([^&]*)/),o=t?c(t[1]):"草料二维码";return{key:"caoliao",label:o,icon_url:N}}}try{const t=e.match(/#小程序:\/\/([^/]+)/);if(!t)return;const o=decodeURIComponent(t[1])||t[1];return{key:"miniprogram",label:o,icon_url:D}}catch(o){console.error("Error parsing miniprogram label from URL:",o)}}const q="https://gstatic.clewm.net/caoliao-resource/260323/a766f0_7f586520.png",P=/^#小程序:\/\/\S+\/\S+/,B=(t,e)=>{var o,r,n,i,a,c,s;const l=null!==(o=null===(r=t.title)||void 0===r?void 0:r.trim())&&void 0!==o?o:"";if(l)return l;const d=(""+(null!==(n=null===(i=t.extra)||void 0===i?void 0:i.formCode)&&void 0!==n?n:"")).trim();if(d)return"表单编号:"+d;const u=null!==(a=null===(c=t.description)||void 0===c?void 0:c.trim())&&void 0!==a?a:"";return u||(null!==(s=null===e||void 0===e?void 0:e.label)&&void 0!==s?s:"未命名链接")};function U(t){var e,o;const r=(null!==(e=t.url)&&void 0!==e?e:"").trim(),n=H(r);return{displayTitle:B(t,n),iconUrl:null!==(o=t.favicon)&&void 0!==o?o:"",platformInfo:n}}o("be7d");var F=t=>"[object Object]"===Object.prototype.toString.call(t),$=(t,e={})=>{const{keepFalsy:o=!1}=e;return o?Object.keys(t).filter(e=>void 0!==t[e]&&null!==t[e]&&""!==t[e]).map(e=>`${e}=${t[e]}`).join("&"):Object.keys(t).filter(e=>t[e]).map(e=>`${e}=${t[e]}`).join("&")},W=(t,e)=>{const o=Object(l["a"])(t,"form_component_id"),r=Object(l["a"])(t,"form_component_title"),n=Object(l["a"])(t,"form_component_title_label_text"),i=Object(l["a"])(t,"form_component_uuid"),a=Object(l["a"])(t,"form_field_id"),c={id:o,title:r,labelText:n,uuid:i,fieldId:a};return e?c[e]:c};const G=(t,e)=>{if(e.indexOf("?")>-1){const o=e.slice(e.indexOf("?")),r=o.split("&");let n="";if(r)for(let e=r.length-1;e>=0;e--)if(r[e].indexOf(t+"=")>-1){n=r[e];break}return n?n.slice(n.indexOf("=")+1):""}return""},Q=t=>{let e=[];if(t.indexOf("?")>-1){const o=t.slice(t.indexOf("?")+1),r=o.split("&");e=r}return e},Y=(t,e)=>{const o=Object(a["a"])(t);while(--e>=0)o.pop();return o},X=(t,e)=>{const o=new RegExp(`(^|\\?|&)${t}=([^&]*)(&|$)`),r=e.match(o);return null!=r?unescape(r[2]):""},z=t=>{const e=/^(https?:\/\/[^/]+)(\/.*)$/,o=t.match(e),r=o?o[1]:"";let n=o?o[2]:"";return n.startsWith("/cli/")&&(n=n.replace("/cli/","/sy/")),[r,n].join("")};var V=o("300c"),K=(o("0c6d"),o("8262"),o("1565"),o("e548"),o("6260")),J=o("1ca8"),Z=t=>{if(!Number(t))return{};const e=(new Date).getTime(),o=1e3*Number(t)-e,r=o/1e3/60/60/24,n=r>1?Math.floor(r):Math.ceil(r);return{hasExpired:o<0,restExpiredDay:n}},tt=(o("26d1"),o("eee2"),o("f1d0")),et=o("6b40");function ot(t,e="/",o){const{isShowSameYear:r=!0,isShowSecond:n=!1}=o||{};let i="",a="",c="";Object(u["a"])(e)?(i=e[0],a=e[1],c=e[2]):(i=e,a=e);const s=new Date(t);let l=String(s.getMinutes());Number(l)<10&&(l="0"+s.getMinutes());let d=String(s.getSeconds());Number(d)<10&&(d="0"+s.getSeconds());const p=(new Date).getFullYear()===s.getFullYear(),h=!r&&p?"":`${s.getFullYear()}${i}`,_=`${h}${s.getMonth()+1}${a}${s.getDate()}${c} ${s.getHours()}:${l}${n?":"+d:""}`;return _}const rt=(t,e)=>{let o;try{o=JSON.parse(t),o.from_state_text!==o.state_text&&(o.is_change_state=1,o.from_state_text||(o.is_change_state=2)),o.formatUpdateTime=ot(1e3*e,["年","月","日"],{isShowSameYear:!1})}catch(r){console.error(r)}return o},nt=t=>{const e=Object(l["a"])(t,"tpl_type",0),o=Object(l["a"])(t,"tpl_groups");let i;const a={};let c={};return 7===e&&Object(l["a"])(o,"length")&&Object(n["a"])(o,e=>{Object(n["a"])(e.fields,e=>{"textarea"===Object(l["a"])(e,"type")?Object(l["a"])(e,"options.append_data",0)>0?a.textarea=e.value||"":Object(l["a"])(e,"options.append_data")||(i=rt(Object(l["a"])(e,"value"),t.add_time_timestamp)):"image"===Object(l["a"])(e,"type")&&Object(l["a"])(e,"options.append_data",0)>0?a.imgs=e.value||[]:"address"===Object(l["a"])(e,"type")&&(c=e.raw_value)})}),i&&Object(r["a"])(i,{remark:a,addressData:c}),i},it=t=>{const e=ot(1e3*t,["年","月","日"],{isShowSameYear:!1}),o=e.split(" "),r=(new Date).toLocaleDateString(),n=Date.parse(r)/1e3,i=Math.floor(parseInt(String(n-t),10)/60/60/24);return-1===i?o[0]="今天":0===i&&(o[0]="昨天"),e.indexOf("年")>-1&&(o[1]=""),o},at=({recordData:t})=>{var e,o,r;if((null===t||void 0===t?void 0:t.tpl_type)!==tt["m"].APPLY)return;const n=null===t||void 0===t||null===(e=t.tpl_groups)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.fields,i=null===(r=Object(s["a"])(n,t=>"text"===t.type))||void 0===r?void 0:r[0];try{const e=JSON.parse((null===i||void 0===i?void 0:i.value)||"{}"),{apply_value:o}=e;et["b"][o]&&(t.name=et["b"][o])}catch(a){console.error(a)}},ct={TPL_DESC:"tpl_desc",RECORD:"record"},st={[ct.RECORD]:{tpl_type:"tpl_type",tpl_groups:"tpl_groups",fields:"fields"},[ct.TPL_DESC]:{tpl_type:"type",tpl_groups:"groups",fields:"components"}},lt=({recordData:t,from:e=ct.RECORD})=>{const{tpl_type:o,tpl_groups:r,fields:n}=st[e];if((null===t||void 0===t?void 0:t[o])===tt["m"].APPLY){var i,a,c;const e=null===t||void 0===t||null===(i=t[r])||void 0===i||null===(a=i[0])||void 0===a?void 0:a[n],o=null===(c=Object(s["a"])(e,t=>"text"===t.type))||void 0===c?void 0:c[0];null!==o&&void 0!==o&&o.value&&!Object(m["a"])(null===o||void 0===o?void 0:o.value)&&Object(T["a"])(e,t=>{const e="text"===t.type;return e&&(t.value=JSON.stringify(o.value)),e})}},dt=t=>{var e,o,n;const i=null===t||void 0===t||null===(e=t.tpl_groups)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.fields,a=null===(n=Object(s["a"])(i,t=>"text"===t.type))||void 0===n?void 0:n[0];let c;try{var l;c=JSON.parse(String(null===a||void 0===a?void 0:a.value)||"{}"),Object(r["a"])(c,{apply_text:et["a"][null===(l=c)||void 0===l?void 0:l.apply_value]})}catch(d){console.error(d)}return c},ut=t=>t?t.replace(/\\n/g,"\n").replace(/\\t/g,"\t"):t,pt=t=>{let e="";for(let o=0;o{let e=t.split("\\u");t.startsWith("\\u")&&(e=e.slice(1,e.length)),t.endsWith("\\u")&&(e=e.slice(0,e.length-1));let o="";for(let r=0;r{const{reminder_data:o}=e||{},r=t,i=[],a=pt(r),c=a.split(/(\\u0040.*?\\u2005)/);return Object(n["a"])(c,t=>{if(""!==t){const e=t.split(/\\u2005/),r=ht(t);if(e.length<2)i.push({type:1,value:r});else{const t=Object(R["a"])(o||[],t=>t.reminder===r&&t.wx_work_msg);i.push({type:3,value:r,reminder_member_name:-1!==t?Object(l["a"])(o,t+".reminder_member_name"):"",wx_work_msg:-1!==t?Object(l["a"])(o,t+".wx_work_msg"):""})}}}),i};var mt={handleRecordTime:it,trans2Type7State:rt,getTplType7State:nt,resetRecordTplName:at,prepareRecordData:lt,getApplyData:dt,newNumberVal2Html:ut,enUnicode:pt,deUnicode:ht,parseReviewText:_t},gt=(t,e)=>{const{r:o,g:r,b:n}=b.a.fromHex(t).toRgbObject();return`rgba(${o}, ${r}, ${n}, ${e})`},ft=o("b751"),bt=(o("e554"),(t,e)=>{var o,i;const{ignoreField:a}=null!==e&&void 0!==e?e:{},c={},s=null===t||void 0===t||null===(o=t.tpl_groups)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.fields;return Object(n["a"])(s,t=>{var e,o,n;const{id:i,title:s,desc:l,options:d,value:p,type:h}=t,_=null!==(e=null===d||void 0===d||null===(o=d.mobile_edit_mode)||void 0===o||null===(n=o[0])||void 0===n?void 0:n.value)&&void 0!==e?e:"2",m=Object(u["a"])(p);let g;if("address"===h){const{address:t,lat:e,log:o}=null!==p&&void 0!==p?p:{};g=!t&&!e&&!o}else g=m&&!p.length||!m&&!p;const f="2"===_||"1"===_&&g,b={id:i,title:s,desc:l,canEdit:f,editMode:_};a||Object(r["a"])(b,{field:t}),c[i]=b}),c}),Ot=o("269b"),yt=o("8e05"),vt=o("d197"),Ct=t=>{t||console.warn("dataSource is expected in getDynamicShowPos(), dataSource: ",t);const e=+Object(l["a"])(t,"recordview_position",yt["c"].TimeLine),o=e===yt["c"].Hide;if(o)return yt["c"].Hide;const r=Object(l["a"])(t,"recordview_extend.ext_info");return+Object(l["a"])(r,"content_position",vt["r"].Head)},wt=t=>{t||console.warn("dataSource is expected in getOperateShowPos(), dataSource: ",t);const e=Object(l["a"])(t,"expand_log",yt["b"].BlockList);if(e===yt["b"].Hide)return yt["b"].Hide;const o=Object(l["a"])(t,"recordview_extend.operation_ext_info");return+Object(l["a"])(o,"content_position",vt["B"].Head)},Et=t=>{t||console.warn("dataSource is expected in getOperateFixedBtnStyle(), dataSource: ",t);const e=Object(l["a"])(t,"recordview_extend.operation_ext_info",{}),{btn_color:o,btn_border_radius:r,btn_background:n,btn_font_color:i}=e,a={color:o,borderRadius:r,btnWrapBg:Number(n),fontColor:i};return a};var jt=({soncodeEditPosition:t,enableEditMode:e})=>0===t||Object(d["a"])([2,3],t)&&e,Tt=o("cf1a"),It=t=>{let e=255,o=255,r=255;return Object(m["a"])(t)&&(t=b.a.fromHex(t).toRgbArray()),Object(u["a"])(t)&&([e,o,r]=t),.2126*e+.7152*o+.0722*r>=181},At=o("85f5");const Rt=/&(?:amp|lt|gt|quot|#(0+)?39);/g;RegExp(Rt.source);o("3049"),o("1241");function St(t){if("object"!==typeof t||null===t)return!1;const e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var Lt=St;const xt=/[\\^$.*+?()[\]{}|]/g;RegExp(xt.source);o("e9b6"),o("f093");o("7e5f")},1565:function(t,e,o){"use strict";var r=o("f1d0"),n=o("1894");e["a"]=({project:t,computedDpr:e,originWindowHeight:o})=>{let i=o||0;return t===r["k"].MPCLI&&Object(n["a"])()&&(i=(o||0)/e),i}},1599:function(t,e,o){"use strict";o.d(e,"b",(function(){return v}));var r=o("4a75"),n=o("131c"),i=o("3c61"),a=(o("13d5"),o("8033")),c=o.n(a);const s=t=>(t=t.replace("#",""),t.length<6&&(t=""+t.split("").map(t=>`${t}${t}`).join("")),"#"+t),l=(t,e,o)=>{const r=c.a.fromHex(t);"number"===typeof e&&(o=e,e=[0,0,0]);const[n,i,a]=e,{h:s,s:l,v:d}=r.toHsvObject(),[u,p,h]=c.a.fromHsvArray([s+n,l+i,d+a]).toRgbArray();return`rgba(${u}, ${p}, ${h}, ${o})`};var d,u;(function(t){t[t["DARK"]=1]="DARK",t[t["LIGHT"]=2]="LIGHT",t[t["SPECIAL_RECORD"]=3]="SPECIAL_RECORD",t[t["DEFAULT"]=4]="DEFAULT"})(d||(d={})),function(t){t[t["ONLY_TITLE"]=1]="ONLY_TITLE",t[t["TITLE$RICH_TEXT"]=2]="TITLE$RICH_TEXT",t[t["HEAD_MODULE$NO_RECORD"]=3]="HEAD_MODULE$NO_RECORD",t[t["HAVE_RECORD"]=4]="HAVE_RECORD",t[t["WHITE"]=5]="WHITE"}(u||(u={}));const p=([t,e,o,r,n,i,a])=>({bg:t,headFilePreviewBtnBackground:e,recordButtonEntryBackground:o,addRecordButtonBackground:r,recordTitleColor:n,recordDividerColor:i,recordButtonEntryColor:a}),h={[u.ONLY_TITLE]:p([["#ffffff","#ffffff"],"#07C160",l("#07C160",[0,0,0],.9),"#07C160","#07C160","#07C160",""]),[u.TITLE$RICH_TEXT]:p([["#ffffff","#ffffff"],"#07C160",l("#07C160",[0,0,0],.9),"#07C160","#07C160","#07C160",""]),[u.HEAD_MODULE$NO_RECORD]:p([["#f4f4f4","#ffffff"],"#07C160",l("#07C160",[0,0,0],.9),"#07C160","#07C160","#07C160",""]),[u.HAVE_RECORD]:p([["#f4f4f4","#ffffff"],"#07C160",l("#07C160",[0,0,0],.9),"#07C160","#07C160","#07C160",""]),[u.WHITE]:p([["#ffffff","#ffffff"],"#07C160",l("#07C160",[0,0,0],.9),"#07C160","#333333","#333333",""])};class _{constructor(t,e){this.sourceColor={themeColor:"",foreColor:"",hThemeColor:"",hForeColor:""},this.topComponent={},this.record={},this.isCodeEmpty=!0,this.colorPoint=["0","100%"],this.emptyOffset="0",this.settedColor=!0,this.defaultConfig={},this.color={themeColor:"",foreColor:"",hThemeColor:"",hForeColor:""},this.isRecordCode=!1,this.deviceWidth=0,this.themeType="dark",this.lastModule="",this.lastHeadModuleType="",this.gradientCSS="",this.bottomExtendHeight=0,this.recordButtonEntryBackground="",this.recordButtonEntryColor="",this.addRecordButtonBackground="",this.headFileDownloadBtnBackground="",this.headFilePreviewBtnBackground="",this.headFilePreviewBtnColor="",this.headFileDownloadBtnColor="",this.recordDividerColor="",this.recordTitleColor="",this.to="",this.from="",this.ruleType=d.DARK,this.useDefaultColor=!1,this.isBrightMinus20=!1,this.prepare(t,e)}reset(t,e){return this.prepare(t,e),this}prepare(t,e){const{topComponent:o=this.topComponent,record:r=this.record,isCodeEmpty:n=this.isCodeEmpty,isRecordCode:i=this.isRecordCode,emptyOffset:a=this.emptyOffset,settedColor:c=this.settedColor,deviceWidth:s=this.deviceWidth}=e;this.sourceColor=t,this.topComponent=o,this.isCodeEmpty=n,this.record=r,this.isRecordCode=i,this.emptyOffset=a,this.settedColor=c,this.deviceWidth=s,this.defaultConfig=h,this.init(),this.checkOffset()}init(){return this.fmtColor(),this.settedColor?"#ffffff"===this.color.themeColor?(this.ruleType=this.isRecordCode?d.SPECIAL_RECORD:d.DEFAULT,this.setDefaultColor(u.WHITE),void(this.useDefaultColor=!0)):(this.isRecordCode&&1===this.record.expand_log?(this.ruleType=d.SPECIAL_RECORD,this.setRecordUnfoldColor()):this.isDark?(this.ruleType=d.DARK,this.setDarkColor()):(this.ruleType=d.LIGHT,this.setLightColor()),void this.calcOtherColor()):(this.ruleType=d.DEFAULT,this.calcDefaultColor(),void(this.useDefaultColor=!0))}setGradientCSS(){this.to="#ffffff",this.gradientCSS=`linear-gradient(to bottom, ${this.from} 50%, ${this.to} ${this.colorPoint[1]})`}calcDefaultColor(){const{topComponent:t=[]}=this;let e=0;const o=t.map(t=>t.component_code);1===o.length&&Object(n["E"])(o,"text")?e=u.ONLY_TITLE:o.length>1?e=u.HEAD_MODULE$NO_RECORD:"#ffffff"===this.color.themeColor&&(e=u.WHITE),this.setDefaultColor(e)}setDefaultColor(t){const e=this.defaultConfig[t];this.from=e.bg[0],this.to=e.bg[1],this.colorPoint=[this.emptyOffset,"100%"],this.setGradientCSS(),this.recordButtonEntryBackground=e.recordButtonEntryBackground,this.recordDividerColor=e.recordDividerColor,this.recordTitleColor=e.recordTitleColor,this.headFilePreviewBtnBackground=e.headFilePreviewBtnBackground,this.addRecordButtonBackground=e.addRecordButtonBackground,this.headFileDownloadBtnBackground=e.headFileDownloadBtnBackground,this.calcHeadFileDownloadBtnBackground(),this.calcHeadFileDownloadBtnColor()}setRecordUnfoldColor(){this.bottomExtendHeight=this.isCodeEmpty?0:56,this.from=this.color.themeColor,this.to=this.isCodeEmpty?this.calcTarget(this.color.themeColor):"#ffffff",this.colorPoint=["10%","100%"],"#ffdf22"===this.color.themeColor&&(this.to="#ffffff",this.from=this.color.themeColor),this.setGradientCSS()}setDarkColor(){const t=this.isRecordCode&&!this.isCodeEmpty&&!Object(n["E"])([2,3,"2","3"],this.record.expand_log);this.to=t?"#ffffff":this.color.themeColor,this.bottomExtendHeight=t?30:0,this.from=this.color.themeColor,this.colorPoint=[this.emptyOffset,"100%"],this.setGradientCSS()}setLightColor(){this.bottomExtendHeight=this.isCodeEmpty?0:56,this.to="#ffffff",this.from=this.color.themeColor,this.colorPoint=["10%","100%"],this.setGradientCSS()}isLikeBlack(t){const e=c.a.fromHex(t),{s:o,v:r}=e.toHsvObject();return!(o<=30&&o>0&&r<=100&&r>=90)&&(!(o<=100&&o>30&&r<=100&&r>=90||r<90&&r>=20||"#ea9118"===t||"#eeb420"===t)&&(r<20&&r>=0))}getIsBrightMinus20(t){const e=c.a.fromHex(t),{s:o,v:r}=e.toHsvObject();return!(o<=30&&o>0&&r<=100&&r>=90)&&(o<=100&&o>30&&r<=100&&r>=90||r<90&&r>=20||"#ea9118"===t||"#eeb420"===t)}calcTarget(t){const e=c.a.fromHex(t),{h:o,s:r,v:n}=e.toHsvObject();let i="#ffffff";return r<=30&&r>0&&n<=100&&n>=90?i="#ffffff":r<=100&&r>30&&n<=100&&n>=90||n<90&&n>=20?i=c.a.fromHsvArray([o,r,n-20]).toHex():n<20&&n>=0&&(i=c.a.fromHsvArray([o,r,n+20]).toHex()),i}fmtColor(){const t=this.sourceColor;for(const[e,o]of Object(n["k"])(t))t[e]=s(o).toLocaleLowerCase();this.color=t,this.themeType="#000000"===this.color.foreColor?"light":"dark"}get isDark(){return"dark"===this.themeType}get isLight(){return"light"===this.themeType}dispatchLogic(t,e,o){this.ruleType===d.DARK&&t(),this.ruleType===d.DEFAULT&&(this.isDark?t():e()),this.ruleType===d.LIGHT&&e(),this.ruleType===d.SPECIAL_RECORD&&(this.isLight?e():o())}emptySetter(t,e,o){this[t]=this.isCodeEmpty?e:o}checkOffset(){const{topComponent:t=[],emptyOffset:e,deviceWidth:o}=this;t.forEach(t=>{if("image"===t.component_code){const{attribute_list:r=[]}=t;if(r.length){const{prew_type:t,image_height:n,image_width:i,image_style:a}=r[0],c=Number(a.value);if(2===c||3===c){let a=0;if(2===c&&1===this.record.expand_log&&!this.isCodeEmpty&&this.isDark)a=parseInt(e,10);else if(2===c)return;let s=0;s=0===Number(t.value)?o*Number(n.value)/Number(i.value):r.reduce((t,e)=>t+o*Number(e.image_height.value)/Number(e.image_width.value),0);const l=s+a;this.emptyOffset=String(l)+"px",this.colorPoint=[parseInt(l,10)+"px","100%"],this.setGradientCSS()}}}})}calcOtherColor(){this.calcRecordButtonEntryBackground(),this.calcAddRecordButtonBackground(),this.calcHeadFileDownloadBtnBackground(),this.calcHeadFilePreviewBtnBackground(),this.calcRecordDividerColor(),this.calcRecordTitleColor(),this.calcHeadFileDownloadBtnColor(),this.calcHeadFilePreviewBtnColor()}calcRecordButtonEntryBackground(){this.dispatchLogic(()=>{this.recordButtonEntryBackground=this.color.themeColor},()=>{this.recordButtonEntryBackground=this.color.hThemeColor},()=>{this.recordButtonEntryBackground=this.color.themeColor})}calcRecordButtonEntryColor(){this.dispatchLogic(()=>{this.emptySetter("recordButtonEntryColor",this.color.themeColor,"#ffffff")},()=>{this.recordButtonEntryColor="#ffffff"},()=>{})}calcAddRecordButtonBackground(){this.dispatchLogic(()=>{this.addRecordButtonBackground=l(this.color.themeColor,[0,0,0],.98)},()=>{this.addRecordButtonBackground=l(this.color.hThemeColor,[0,0,0],.98)},()=>{this.addRecordButtonBackground=l(this.color.themeColor,[0,0,0],.98)})}calcHeadFileDownloadBtnBackground(){this.dispatchLogic(()=>{this.headFileDownloadBtnBackground=l(this.color.themeColor,[0,0,-40],.2)},()=>{this.headFileDownloadBtnBackground="#ffffff"},()=>{this.headFileDownloadBtnBackground=l(this.color.themeColor,[0,0,-40],.2)})}calcHeadFileDownloadBtnColor(){this.dispatchLogic(()=>{this.headFileDownloadBtnColor="#ffffff"},()=>{this.headFileDownloadBtnColor="#333333"},()=>{this.headFileDownloadBtnColor="#ffffff"})}calcHeadFilePreviewBtnBackground(){this.dispatchLogic(()=>{this.headFilePreviewBtnBackground="#ffffff"},()=>{this.headFilePreviewBtnBackground=this.color.hThemeColor},()=>{this.headFilePreviewBtnBackground="#ffffff"})}calcHeadFilePreviewBtnColor(){this.dispatchLogic(()=>{this.headFilePreviewBtnColor=this.color.themeColor},()=>{this.headFilePreviewBtnColor="#ffffff"},()=>{this.headFilePreviewBtnColor=this.color.themeColor})}calcRecordDividerColor(){this.recordDividerColor=this.color.hThemeColor||this.color.themeColor}calcRecordTitleColor(){this.recordTitleColor=this.color.hThemeColor||this.color.themeColor}}var m=_;const g={themeColor:"#ffffff",hThemeColor:"#ffffff",foreColor:"#000000",hForeColor:"#000000"};class f{constructor(t,e=!1){this.sourceColor=g,this.gradient=!1,this.color=g,this.bg="",this.titleColor="",this.other="",this.gradient=e,this.sourceColor=t,this.doFmtColor(),this.calc()}doFmtColor(){const t=this.sourceColor,e=g;for(const[o,r]of Object(n["k"])(t))e[o]=s(r).toLocaleLowerCase();this.color=e}get isDark(){return"#ffffff"===this.color.foreColor}calc(){"#ffffff"===this.color.themeColor?(this.bg="rgba(0, 0, 0, 0.05)",this.titleColor="rgba(0, 0, 0, 0.7)",this.other="#333333"):"#000000"===this.color.themeColor?(this.bg="rgba(255, 255, 255, 0.1)",this.titleColor="rgba(255, 255, 255, 0.7)",this.other="#ffffff"):this.isDark?(this.bg=l(this.color.themeColor,[0,0,-40],.2),this.titleColor="rgba(255, 255, 255, 0.7)",this.other="#ffffff"):(this.bg=l(this.color.hThemeColor,[0,0,-10],.1),this.titleColor="rgba(0, 0, 0, 0.7)",this.other="#333333"),"#ffdf22"===this.color.themeColor.toLocaleLowerCase()&&(this.bg=l("#000000",[0,0,0],.05))}}var b=f,O=o("d197"),y=o("90d9");const v=t=>{const e=Object(r["B"])(t);t.qrcode_msg&&(t.qrcode_record=t.qrcode_msg.qrcode_record);const o=2===t.qrcode_record.tpl_qrcode_status;let i=Object(r["s"])(t,"qrcode_compontent")||[];i=Object(n["l"])(i,t=>t.component_status!==O["k"].FIXED_BOTTOM_COMPONENT);const a=Object(n["l"])(i,t=>"recordlog"!==t.component_code),c=!a.length,s=!!Object(r["s"])(t,"org_msg.org_dest_qrcode_route",!1)&&!c,l=!t.record_summary_status,d=0===t.qrcode_record.record_add_status,u=e&&l&&2!==Object(r["s"])(t,"log_msg.recordview_position");!e&&!t.has_state||Object(r["s"])(t.qrcode_record,"top_style.theme_color",!1)||(t.qrcode_record.top_style={bg_path:"",color_style:1,font_color:"000",theme_color:"F4F4F4"});const p=!!Object(r["s"])(t,"qrcode_record.top_style.theme_color");let h=!1,_="";for(const m of Object(r["s"])(t,"qrcode_top_component",[])){const t="text"===m.component_code&&3===Number(m.component_status);if((t||Object(n["E"])(["audio","video","image","file"],m.component_code))&&1!==m.status){h=!0,_=m.component_code;break}}const g={codeHeaderTitleInfo:{},codeColorInfo:{gradient:{},recordEntry:{}},isRecordCode:e,hasOpenRecordView:l,hasOpenRecordLog:d,isTplCode:o,isCompEmpty:c,isOrgDest:s,isHeadCode:h,headType:_,showRecordView:u,operation:t.operateData};let f=!1;Object(n["o"])(t.qrcode_top_component,t=>{if(Object(n["E"])(["video","audio","file","image"],t.component_code)&&(f=!0),"text"===t.component_code&&0===t.status&&1===t.component_status){if(""===t.attribute_list[0].content_html.value)return;g.codeHeaderTitleInfo={type:"title",title:t.attribute_list[0].content_html.value}}"recordlog"===t.component_code&&t.status});let v=t.qrcode_top_component;Object(r["s"])(t,"log_msg.data_list.length",0)>0||(v=Object(n["l"])(v,t=>"recordlog"!==t.component_code)),o&&t.qrcode_record.name_rule&&1===t.qrcode_record.name_rule.show_status&&(g.codeHeaderTitleInfo.title=t.qrcode_record.list_name),o&&o&&t.qrcode_record.name_rule&&1!==t.qrcode_record.name_rule.show_status&&(g.codeHeaderTitleInfo={});const C=t.log_msg&&t.log_msg.rule_result&&t.log_msg.rule_result.color,w=/#/g.test(C);if(t.qrcode_record.top_style&&t.qrcode_record.top_style.theme_color){const e=t.qrcode_record.top_style,o=w?"#fff":"#"+e.font_color.toLocaleLowerCase(),r=w?C:"#"+e.theme_color.toLocaleLowerCase();g.codeColorInfo={themeColor:r,foreColor:o,recordTextColor:w?C:Object(n["E"])(["#fff","#ffffff"],o)?r:o}}else{const t=w?C:g.isHeadCode?"#f4f4f4":"#fff",o=w?C:e?"#f4f4f4":t,r=w||e?"#fff":"#000",i=w?C:Object(n["E"])(["#fff","#ffffff"],r)?o:r;g.codeColorInfo={themeColor:o,foreColor:r,recordTextColor:i}}const E=g.codeColorInfo;E.lowThemeColor=Object(n["R"])(E.themeColor),E.lowCrtColor=Object(n["Q"])(E.themeColor),Object(n["E"])(["#000","#000000"],E.foreColor)&&(Object(n["E"])(["#fff","#ffffff"],E.themeColor)?E.recordTextColor="#375f94":E.recordTextColor=E.lowCrtColor);for(const[r,m]of Object(n["k"])(g.codeColorInfo)){let t=m.replace("#","");3===t.length&&(t=t.split("").map(t=>`${t}${t}`).join("")),g.codeColorInfo[r]="#"+t}"#000000"===g.codeColorInfo.themeColor&&(g.codeColorInfo.lowThemeColor="#000000"),Object(r["s"])(t,"qrcode_record.top_style.theme_color")||e||!f||(g.codeColorInfo.themeColor="#ffffff",g.codeColorInfo.foreColor="#000000",g.codeColorInfo.lowThemeColor=Object(n["R"])("#ffffff"),g.codeColorInfo.lowCrtColor=Object(n["Q"])("#000000"),t.qrcode_record.top_style.color_style=1);const j={themeColor:E.themeColor,foreColor:E.foreColor,hForeColor:E.lowCrtColor,hThemeColor:E.lowThemeColor},T=new m(j,{topComponent:v,record:t.log_msg,isCodeEmpty:c,isRecordCode:e,settedColor:p,deviceWidth:document.documentElement.clientWidth}),I=new b(j);g.codeColorInfo.gradient=T,g.codeColorInfo.recordEntry=I,g.codeColorInfo.type=Object(r["s"])(t,"qrcode_record.top_style.color_style")?"gradient":"pure",T.useDefaultColor&&!p&&(g.codeColorInfo.type="gradient");const A=v.map(t=>({value:Object(r["s"])(t,"attribute_list.0",{}),type:t.component_code}));1===A.length&&("text"!==A[0].type||c||Object(r["s"])(A[0].value,"content_html.value","")||(g.codeColorInfo.type="pure"));const R=t.qrcode_record||t;if(Object(y["c"])(R)&&!p){const{from:t,to:e,gradientCSS:o}=O["w"];g.codeColorInfo.themeColor=t,g.codeColorInfo.lowThemeColor=Object(n["R"])(t),g.codeColorInfo.lowCrtColor=Object(n["Q"])(t),g.codeColorInfo.gradient.from=t,g.codeColorInfo.gradient.to=e,g.codeColorInfo.gradient.gradientCSS=o,g.codeColorInfo.type="gradient"}return{preData:g,data:t}};e["a"]=async t=>{const{preData:e,data:o}=v(t);return await i["a"].setKey({key:"codeInfo",value:e}),await i["a"].setKey({key:"codeData",value:o}),e}},1894:function(t,e,o){"use strict";e["a"]=()=>{const{userAgent:t}=navigator,e=t.toLocaleLowerCase();return/(ipad|iphone os|midp|rv:1\.2\.3\.4|ucweb|android|windows ce|windows mobile|mobile huaweibrowser|openharmony)/.test(e)}},1949:function(t,e,o){"use strict";var r=o("131c");o.d(e,"a",(function(){return r["o"]}))},"1ca8":function(t,e,o){"use strict";var r=o("b6f3"),n=o("76a4");e["a"]=(t,e)=>(t=t||"",Object(r["a"])(t.match(/ class="(.+?)"/g),t=>{t=t||"";const o=t.split('"');if(3===o.length){const t=(o[1]||"").split(" ");if(Object(n["a"])(t,e))return!0}return!1}))},"1ddc":function(t,e,o){"use strict";var r=o("a607");function n(t,e){const o=[];return t&&e?(Object(r["a"])(t,(t,r)=>{e(t,r)&&o.push(t)}),o):o}e["a"]=n},2173:function(t,e,o){"use strict";o.d(e,"a",(function(){return m})),o.d(e,"c",(function(){return g})),o.d(e,"d",(function(){return f})),o.d(e,"e",(function(){return O})),o.d(e,"b",(function(){return b}));var r=o("3c61"),n=o("4a75"),i=o("d871"),a=o.n(i),c=o("131c"),s=o("c760");const{COMPILER_ENV:l}=s["a"],{domain:d}=r["a"];const u=["/qrcoderoute/qrcodeRoute","/record/getRecordTpl","/record/getDesc","/record/addRecord","/record/getRecordsForApp","/record/getRecordsForAppSimplify","/log/collect","qrcoderoute/qrcodeRouteNew","qrcoderoute/qrcodeProperties"],p=t=>{let e=[];return Object(c["E"])(["exp","net"],l)&&(e=u),Object(c["Z"])(e,e=>Object(c["E"])(t,e))};function h(t){return new Promise((e,o)=>{const i=Object(n["I"])(t.data),a="GET"===t.method.toLocaleUpperCase(),s=a?`${t.url}?${i}`:t.url,l={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",...t.header||{}};try{if(p(s)){const t=Object(c["i"])(Object(c["B"])(r["a"],"h5QueryString.url","")),e=t.split("/"),o=e.pop();let n=Object(c["B"])(r["a"],"codeData");if(n){const t=Object(c["B"])(n,"qrcode_record.coding","");t!==o&&(n=null)}const i=Object(c["B"])(n,"org_msg.id",""),a=e.pop(),s=Object(c["B"])(n,"org_msg.user_id",""),d=Object(c["B"])(n,"edition_msg.edition_id",""),u=Object(c["B"])(n,"edition_msg.from_edition_id",""),p={coding:o,org_id:i,org_coding:a,user_id:s,edition_id:d,from_edition_id:u};Object(c["c"])(l,{"Caoliao-Identity-Flag":Object(c["U"])(p)})}}catch(u){console.error(u)}const d={method:t.method,mode:"cors",credentials:"include",headers:l};a||("application/json"===l["Content-Type"]?d.body=JSON.stringify(t.data):d.body=i),"/create-code.html"===window.location.pathname?window.$.ajax({type:t.method,headers:l,dataType:"json",xhrFields:{withCredentials:!0},crossDomain:!0,url:s,data:i,success(t,o,r){console.log("------------------------------------------"),console.log("成功"),console.log(t,JSON.parse(JSON.stringify(r))),console.log(document.cookie),console.log("------------------------------------------"),e(t)},error(t){console.log("------------------------------------------"),console.log("失败"),console.log(t),console.log("------------------------------------------"),o(t)}}):fetch(s,d).then(t=>429===t.status?t.status:t.json()).then(t=>{e(t)}).catch(t=>{o(t)})})}function _(t){return new Promise(async(e,o)=>{try{const o=await h(t);e(o)}catch(r){o(r)}})}async function m(t,e={},o={}){return await _({url:t,data:e,header:o,method:"GET"})}async function g(t,e={},o={}){return o["Content-Type"]||(o["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),await _({url:t,data:e,header:o,method:"POST"})}function f(t){const e="https://upload-api.caoliao.net/upload.php?kid=cliim",o=new FormData;return o.append("Filedata",t),new Promise((t,r)=>{const n={method:"POST",mode:"cors",credentials:"include",body:o};fetch(e,n).then(t=>t.json()).then(e=>{t(e)}).catch(t=>{r(t)})})}function b(t,e){if("h5"===r["a"].platform)return new Promise((o,r)=>{a()(`${t}?${Object(n["I"])(e)}`).then(t=>t.json()).then(t=>{o(t)}).catch(t=>{r(t)})})}function O(t){const e=d.uploadUrl,o=e+"/upload?kid=cliim",r=new FormData;return r.append("Filedata",t),new Promise((t,e)=>{const n={method:"POST",mode:"cors",credentials:"include",body:r};fetch(o,n).then(t=>t.json()).then(e=>{t(e)}).catch(t=>{e(t)})})}},"269b":function(t,e,o){"use strict";var r=o("a607");e["a"]=(t,e)=>{const o={};return t&&e?(Object(r["a"])(e,e=>{Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=t[e])}),o):o}},"26d1":function(t,e,o){"use strict";var r=o("a607");function n(t,e){const o=[];if(!t||!e)return o;const n=[];Object(r["a"])(t,(t,r)=>{e(t,r)&&(o.push(t),n.push(r))});for(let r=n.length-1;r>=0;r--){const e=n[r];t.splice(e,1)}return o}e["a"]=n},"28ec":function(t,e,o){"use strict";var r=o("0cbb");e["a"]=t=>{if(Object(r["a"])(t)){const e=parseFloat(t).toString().length;let o=Number(t.slice(0,e));const r=t.slice(e);switch(r.toLocaleUpperCase().trim()){case"TB":case"T":o*=1099511627776;break;case"GB":case"G":o*=1073741824;break;case"MB":case"M":o*=1048576;break;case"KB":case"K":o*=1024;break;case"B":break;default:o=0}return Number(o.toFixed(0))}return 0}},"2eeb":function(t,e,o){"use strict";e["a"]=t=>{var e,o;const{value:r=0}=null!==(e=null===t||void 0===t||null===(o=t.option_attributes)||void 0===o?void 0:o.color_extend)&&void 0!==e?e:{};return r}},"300c":function(t,e,o){"use strict";o("d9e2");e["a"]=function(t,e){if(!t)return;const o=t.length>>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");const r=arguments[1];let n=0;while(n{var o,i,a,c,s,l;return e===n["a"].FORM_EDITOR?null!==(c=null===(s=Object(r["a"])(null===(l=Object(r["a"])(null===t||void 0===t?void 0:t.fields,t=>"other"===(null===t||void 0===t?void 0:t.name)))||void 0===l?void 0:l.includes,t=>"hideField"===(null===t||void 0===t?void 0:t.type)))||void 0===s?void 0:s.value)&&void 0!==c&&c:"1"===(null===t||void 0===t||null===(o=t.options)||void 0===o||null===(i=o.hide_field)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.value)}},"360b":function(t,e,o){"use strict";o.d(e,"a",(function(){return i}));var r=o("131c");const n=Object(r["E"])(window.location.search,"frompc=1"),i=n?"cli.im":"caoliao.net"},"3c61":function(t,e,o){"use strict";var r=o("9ab4"),n=o("6fc5"),i=o("2b0e"),a=o("2f62");i["default"].use(a["a"]);var c=new a["a"].Store({}),s=o("46c6");let l=class extends n["d"]{constructor(){super(...arguments),this.domain=Object(s["a"])(),this.platform="h5",this.env={},this.codeInfo={},this.codeData={},this.headerHeight=0,this.isIphoneX=!1,this.h5QueryString={},this.workWxConfigData={},this.hasValidPage=!1,this.position={},this.hostEnv="development",this.oid="",this.i18n={},this.recordPageCompProp={},this.recordData={},this.noAppBottomEmpty=!1,this.isTopMode=!1,this.isCollect=!1,this.xcxOriginalId="",this.wxConfigReady=!1,this.codeStatus=[],this.onlycheckedRet=!1,this.getQrcodePropertiesLimit=!1,this.codePreviewCompCanFresh=!1,this.isLowQuality=!1,this.encodedUserId="",this.fromEditionId=1,this.isFreeVersion=!0,this.bottomColor={},this.isBlockAndNavToWechatMiniprogram=!1,this.isMultiUrlDynamicUrlCode=!1}async setDomain(t){return t}async setEnv(t){return t}async setKey(t){return JSON.parse(JSON.stringify(t))}async setI18n(t){return t}async setVersionInfo(t){return{fromEditionId:t,isFreeVersion:1===t}}SET_I18N(t){this.i18n=t}SET_DOMAIN(t){this.domain=t}SET_ENV(t){this.env=t}SET_KEY({key:t,value:e}){this[t]=e}SET_VERSION_INFO({fromEditionId:t,isFreeVersion:e}){this.fromEditionId=t,this.isFreeVersion=e}};Object(r["a"])([Object(n["a"])({commit:"SET_DOMAIN"})],l.prototype,"setDomain",null),Object(r["a"])([Object(n["a"])({commit:"SET_ENV"})],l.prototype,"setEnv",null),Object(r["a"])([Object(n["a"])({commit:"SET_KEY"})],l.prototype,"setKey",null),Object(r["a"])([Object(n["a"])({commit:"SET_I18N"})],l.prototype,"setI18n",null),Object(r["a"])([Object(n["a"])({commit:"SET_VERSION_INFO"})],l.prototype,"setVersionInfo",null),Object(r["a"])([n["c"]],l.prototype,"SET_I18N",null),Object(r["a"])([n["c"]],l.prototype,"SET_DOMAIN",null),Object(r["a"])([n["c"]],l.prototype,"SET_ENV",null),Object(r["a"])([n["c"]],l.prototype,"SET_KEY",null),Object(r["a"])([n["c"]],l.prototype,"SET_VERSION_INFO",null),l=Object(r["a"])([Object(n["b"])({dynamic:!0,store:c,name:"app"})],l);e["a"]=Object(n["e"])(l)},"46c6":function(t,e,o){"use strict";var r=o("c760"),n=o("360b");const i="https://data.cliim.net";var a={cliUrl:"https://exp.cliim.net",userUrl:"https://exp-user.cliim.net",userApiUrl:"https://exp-user-api.cliim.net",minaUrl:"https://exp-biz.cliim.net/api/idcode",decodeUrl:"https://exp-nc.cliim.net",webviewUrl:"https://exp-biz.cliim.net",ncUrl:"https://exp-nc.cliim.net",socketApiUrl:"wss://socket-api.cliim.net",recordApiUrl:"https://exp-record-api.cliim.net",analysisUrl:"//analysis-api.cliim.net",uploadUrl:"//upload-api.cliim.net",wxApiUrl:`//wechat.${n["a"]}/wx-api-net`,logApiUrl:"//log-api.cliim.net",weWorkApiUrl:"https://wework-api.cliim.net/v1",volcanoUrl:"https://volcengine-api.cliim.net",dataApiUrl:i,XQrcodeApiUrl:i+"/x-qrcode/api",cliTotalEntryUrl:"https://clitotalentr.cliim.net"};const c="https://data.cliim.net";var s={cliUrl:"https://cliim.net",userUrl:"https://user.cliim.net",userApiUrl:"https://user-api.cliim.net",minaUrl:"https://biz.cliim.net/api/idcode",decodeUrl:"https://nc.cliim.net",webviewUrl:"https://biz.cliim.net",ncUrl:"https://nc.cliim.net",socketApiUrl:"wss://socket-api.cliim.net",recordApiUrl:"https://record-api.cliim.net",analysisUrl:"//analysis-api.cliim.net",uploadUrl:"//upload-api.cliim.net",wxApiUrl:`//wechat.${n["a"]}/wx-api-net`,logApiUrl:"//log-api.cliim.net",weWorkApiUrl:"https://wework-api.cliim.net/v1",volcanoUrl:"https://volcengine-api.cliim.net",dataApiUrl:c,XQrcodeApiUrl:c+"/x-qrcode/api",cliTotalEntryUrl:"https://clitotalentr.cliim.net"};const l="https://data.cliim.com";var d={cliUrl:"https://cliim.com",userUrl:"https://user.cliim.com",userApiUrl:"https://user-api.cliim.com",minaUrl:"https://biz.cliim.com/api/idcode",decodeUrl:"https://nc.cliim.com",webviewUrl:"https://biz.cliim.com",ncUrl:"https://nc.cliim.com",socketApiUrl:"wss://socket-api.cliim.com",recordApiUrl:"https://record-api.cliim.com",analysisUrl:"//analysis-api.cliim.com",uploadUrl:"//upload-api.cliim.com",wxApiUrl:`//wechat.${n["a"]}/wx-api-com`,logApiUrl:"//log-api."+n["a"],weWorkApiUrl:"https://wework-api.cliim.com/v1",volcanoUrl:"https://volcengine-api.cliim.net",dataApiUrl:l,XQrcodeApiUrl:l+"/x-qrcode/api",cliTotalEntryUrl:"https://clitotalentr.cliim.com"};const u="caoliao.net"===n["a"],p="https://data."+n["a"],h={cliUrl:"https://"+n["a"],userUrl:"https://user."+n["a"],userApiUrl:u?"https://user-api."+n["a"]:"https://user.api."+n["a"],minaUrl:"https://biz.cli.im/api/idcode",decodeUrl:"https://nc."+n["a"],webviewUrl:"https://biz.cli.im",ncUrl:"https://nc."+n["a"],socketApiUrl:u?"wss://socket-api."+n["a"]:"wss://socket.api."+n["a"],recordApiUrl:"https://record-api."+n["a"],analysisUrl:"//analysis-api."+n["a"],uploadUrl:"//upload-api."+n["a"],wxApiUrl:u?"//wx-api."+n["a"]:"//wx.api."+n["a"],logApiUrl:"//log-api."+n["a"],weWorkApiUrl:`https://wxwork-api.${n["a"]}/v1`,volcanoUrl:u?"https://volcengine-api."+n["a"]:"https://volcengine.api."+n["a"],dataApiUrl:p,XQrcodeApiUrl:p+"/x-qrcode/api",cliTotalEntryUrl:"https://clitotalentr.cli.im"};var _=h;const{PROJECT_EVN:m,COMPILER_ENV:g}=r["a"];let f=m;"com"===g&&(f="com"),"online"===g&&(f="online"),"exp"===g&&(f="exp");e["a"]=()=>{let t=null;switch(f){case"exp":t=a;break;case"development":case"net":t=s;break;case"com":t=d;break;case"onlineTest":case"online":t=_;break;default:t=_;break}return t}},"4a75":function(t,e,o){"use strict";o.d(e,"s",(function(){return T})),o.d(e,"I",(function(){return I})),o.d(e,"P",(function(){return A})),o.d(e,"Y",(function(){return R})),o.d(e,"W",(function(){return S})),o.d(e,"z",(function(){return L})),o.d(e,"J",(function(){return x})),o.d(e,"N",(function(){return M})),o.d(e,"c",(function(){return N})),o.d(e,"O",(function(){return k})),o.d(e,"i",(function(){return H})),o.d(e,"B",(function(){return q})),o.d(e,"X",(function(){return P})),o.d(e,"V",(function(){return B})),o.d(e,"U",(function(){return F})),o.d(e,"T",(function(){return $})),o.d(e,"o",(function(){return W})),o.d(e,"l",(function(){return G})),o.d(e,"M",(function(){return Q})),o.d(e,"S",(function(){return Y})),o.d(e,"E",(function(){return X})),o.d(e,"F",(function(){return z})),o.d(e,"G",(function(){return V})),o.d(e,"C",(function(){return K})),o.d(e,"k",(function(){return Z})),o.d(e,"b",(function(){return u})),o.d(e,"d",(function(){return i["h"]})),o.d(e,"g",(function(){return i["l"]})),o.d(e,"j",(function(){return p["a"]})),o.d(e,"n",(function(){return _})),o.d(e,"v",(function(){return i["E"]})),o.d(e,"w",(function(){return m})),o.d(e,"x",(function(){return i["F"]})),o.d(e,"A",(function(){return i["J"]})),o.d(e,"D",(function(){return i["N"]})),o.d(e,"H",(function(){return g["a"]})),o.d(e,"Q",(function(){return f["a"]})),o.d(e,"R",(function(){return i["ab"]})),o.d(e,"K",(function(){return i["U"]})),o.d(e,"Z",(function(){return i["bb"]})),o.d(e,"y",(function(){return b})),o.d(e,"t",(function(){return O})),o.d(e,"a",(function(){return y["a"]})),o.d(e,"p",(function(){return v})),o.d(e,"r",(function(){return i["z"]})),o.d(e,"e",(function(){return C})),o.d(e,"f",(function(){return E})),o.d(e,"u",(function(){return i["D"]})),o.d(e,"m",(function(){return i["r"]})),o.d(e,"h",(function(){return i["m"]})),o.d(e,"L",(function(){return i["X"]})),o.d(e,"q",(function(){return j["a"]}));o("13d5");var r=o("3c61"),n=o("005c"),i=o("131c"),a=o("c760"),c=o("8f21"),s=o("360b");const{COMPILER_ENV:l}=a["a"],{encodeURIComponent:d}=window;var u=()=>{const{$:t}=window,e=(e,o,r,n)=>{const{type:a}=e,u=T(o,"from",""),p=u?"_"+u:"",h=window.location.href,_=navigator.userAgent,m=(new c["a"]).id,g={openId:m,ua:_};let f=null;if("log"===a)f=T(o,"message","");else{const t=e.originalEvent||{},i=t.error||o||{};r=r||"common";const a=r+" error - ",c=""+(t.message||i.message||""),s=`${a}${c}`,l=t.filename||"",d=t.lineno||"",u=t.colno||"",p=i.sagaStack||i.stack||"";f={message:s,filename:l,lineno:d,colno:u,stack:p,errType:r,errData:n}}const b=[`//log-api.${s["a"]}/index/Browser/error`,`?from=mpcli_${l}${p}`,"&page_url=",d(h),"&user_tag=",d(JSON.stringify(g)),"&error_msg=",d(Object(i["N"])(f)?f:JSON.stringify(f))].join("").substr(0,8e3);t("").attr("src",b)};t(window).on("log",e).on("error",Object(i["ab"])(e,2e3))},p=o("1949"),h=o("a7a1"),_=t=>{t=(t||"").toLocaleLowerCase();let e="";if(Object(i["E"])(["docx","doc",...h["f"]],t))e="doc";else if(Object(i["E"])(["ppt","pptx",...h["i"]],t))e="ppt";else if(Object(i["E"])(["pdf"],t))e="pdf";else if(Object(i["E"])(["xls","xlsx",...h["k"]],t))e="xls";else if(Object(i["E"])([...h["d"],...h["h"]],t))e="img";else if(Object(i["E"])(h["j"],t))e="psd";else if(Object(i["E"])(h["g"],t))e="dwg";else{if(Object(i["E"])(h["a"],t))return e="zip",`${h["l"]}/images/mina-cli/file_${e}.png?v=20250731`;e="txt"}return`${h["l"]}/images/mina-cli/file_${e}@2x.png?v=20250731`},m=()=>{const{userAgent:t}=navigator,e=t.toLocaleLowerCase();return/android/.test(e)},g=o("acb3"),f=o("de79"),b=()=>{const{width:t,height:e,availHeight:o}=window.screen;let r=!1;const n=e/t;let i=e===o?1.8:1.65;return n>i&&(r=!0),r},O=t=>{let e=t;if(e.indexOf("?")>-1){const t=e.split("?");if(".html"===t[0].substr(-5))return e;".htm"===t[0].substr(-4)?(t[0]=t[0].replace(".htm",".html"),e=t.join("?")):(t[0]=t[0]+".html",e=t.join("?"))}else if(-1===e.indexOf("?")){if(".html"===e.substr(-5))return e;".htm"===e.substr(-4)?e=e.replace(".htm",".html"):e+=".html"}return e},y=o("9f5d"),v=()=>Object(i["bb"])(window.location.search),C=(t,e)=>{null==e&&(e=1e3);let o=0;return function(...r){const n=(new Date).getTime();(!o||n-o>e)&&t.apply(this,r),o=n}};const{COMPILER_ENV:w}=a["a"];var E=(...t)=>{w!==h["e"]&&console.log("debug:",...t)},j=o("f8a9");function T(t,e,o){if(!e)return null==t?void 0==o?t:o:t;let r=T(t,null,{});const n=e.split("."),i=n.length;return n.forEach((t,e)=>{r=T(r[t],null,e!==i-1?{}:o)}),r}function I(t){const e=[];for(const[o,r]of Object(i["k"])(t))e.push(`${o}=${r}`);return e.join("&")}function A(t){return t.replace(/\s/g,"")}function R(t){return t.replace(/(^\s*)|(\s*$)/g,"")}function S(t){const e=[];for(const[r,n]of Object(i["k"])(t)){const t=[];for(let e of r)e>="A"&&e<="Z"&&(e=e.toLocaleLowerCase(),t.push("-")),t.push(e);t.push(":"),t.push(n),e.push(t.join(""))}const o=e.join(";");return`${o}${o.length?";":""}`}function L(){const t=r["a"].platform;if("h5"===t)return/iphone/gi.test(navigator.userAgent)&&812==screen.height&&375==screen.width;const e=wx.getSystemInfoSync();return-1!=e.model.indexOf("iPhone X")}function x(){const t=r["a"].platform;if("h5"===t)return/iphone/gi.test(navigator.userAgent)&&window.screen.height>750;const e=wx.getSystemInfoSync();return e.system.indexOf("iOS")>-1&&e.windowHeight>750}const D=()=>{let t=window.devicePixelRatio;return t=Math.min(t,2),t<2&&(t=2),t};function M(t){let e=window.devicePixelRatio;e=Math.min(e,2),e<2&&(e=2),t=parseFloat(t)*e;const o=46.875;return t/o}function N(t){const e=parseFloat(document.querySelector("html").style.fontSize),o=D(),r=46.875;return parseFloat(t)*o*e/r}function k(t){return 2*parseFloat(t)}function H(t){r["a"].platform;return M(t)+"rem"}const q=t=>{const e=!t.record_summary_status;return t.qrcode_record&&1===t.qrcode_record.log_status||e};function P(t){const e=t.split(":").reverse();return e.reduce((t,e,o)=>t+parseInt(e,10)*Math.pow(60,o),0)}function B(t){t=Math.round(t);const e=t=>t>=10?t.toString():"0"+t,o=Math.floor(t/3600),r=Math.floor((t-3600*o)/60),n=t-3600*o-60*r;let i=[];return i.push(e(o)),i.push(e(r)),i.push(e(n)),3===i.length&&"00"===i[0]&&(i=i.slice(1,i.length)),i.join(":")}const U=()=>navigator.userAgent.split(" ").join("");function F(t,e=""){const o=new Date,r=o.getTime(),n=(r-t)/1e3,i=(t,e,o="")=>t.length>=e?t:`${new Array(e-t.length+1).join(o)}${t}`;if(n<=60)return"刚刚";if(n<=3600)return parseInt(n/60)+"分钟前";if(n<=86400)return parseInt(n/60/60)+"小时前";if(n<=604800)return parseInt(n/60/60/24)+"天前";const a=new Date(t);return`${a.getFullYear()}${e||"年"}${i(String(a.getMonth()+1),2,"0")}${e||"月"}${i(String(a.getDate()),2,"0")}${e?"":"日"} ${i(String(a.getHours()),2,"0")}:${i(String(a.getMinutes()),2,"0")}`}function $(t,e="/",o=!0){if(!t)return"";let r="",n="",i="";Array.isArray(e)?[r,n,i]=e:(r=e,n=e);const a=new Date(1e3*t),c=a.getFullYear(),s=a.getMonth()+1,l=a.getDate(),d=c===(new Date).getFullYear();let u=a.getHours(),p=a.getMinutes();return u=u>9?u:"0"+u,p=p>9?p:"0"+p,`${d&&!o?"":`${c}${r}`}${s}${n}${l}${i} ${u}:${p}`}const W=(t,e,o,r="")=>{const i=e.attribute_list[0][o+"_url"],{org_msg:a,qrcode_record:c,edition_msg:s}=t,{org_id:l,play_token:d,id:u,is_private:p,tpl_component_id:h}=e,{coding:_,tpl_qrcode_coding:m}=t.qrcode_record,{is_paid_user:g}=a,{list_name:f}=c,{edition_id:b}=s;return{av_url:i.value,coding:1===p?_:m,component_id:1===p?u:h,org_id:l,play_token:d,ua:U(),openid:r||Object(n["k"])(),is_paid_user:g,edition_id:b,qrcode_name:f,...t.from_record?{from_record:1}:{}}},G=t=>t.replace(/\d/g,"").replace(/\./g,"").replace(/-/g,""),Q=t=>(t=parseFloat(t),1.333333333*t),Y=(t,e=15e3)=>{let o=!1;return new Promise(async(r,n)=>{try{const i=setTimeout(()=>{const t={timeout:!0,data:{}};n(t),o=!0},e),a=await t();clearTimeout(i),o||r(a)}catch(i){n({timeout:!1,data:i,oth:"object"===typeof i?i.toString():i}),o=!0}})},X=()=>{const t=navigator.userAgent;return t.match(/MicroMessenger\/[0-9]/i)},z=()=>navigator.userAgent.match("miniProgram");function V(){const t=navigator.userAgent.toLowerCase();return t.indexOf("micromessenger")>-1&&t.indexOf("wxwork")>-1}function K(){const t=navigator.userAgent;return!/iPhone|Mobile|Android/i.test(t)&&(!!/MacWechat|WindowsWechat/i.test(t)||!/wxwork|MicroMessenger/i.test(t)&&/(Windows NT|Macintosh|Mac OS X|X11; Linux|Ubuntu)/i.test(t))}const J=(t,e,o="")=>t.length>=e?t:`${new Array(e-t.length+1).join(o)}${t}`,Z=(t,e)=>{t<1e10&&(t*=1e3);const o=new Date(t);let r,n=0;return o.getFullYear()!==(new Date).getFullYear()&&(n=o.getFullYear()),r=e?`${n?n+"年":""}${parseInt(J((o.getMonth()+1).toString(),2,"0"),10)}月${parseInt(J(o.getDate().toString(),2,"0"),10)}日 ${J(o.getHours().toString(),2,"0")}:${J(o.getMinutes().toString(),2,"0")}`:`${J(o.getHours().toString(),2,"0")}:${J(o.getMinutes().toString(),2,"0")}`,r}},"4dab":function(t,e,o){"use strict";var r;(function(t){t[t["GROUPS"]=1]="GROUPS",t[t["FORM_EDITOR"]=2]="FORM_EDITOR"})(r||(r={})),e["a"]=r},"5af5":function(t,e,o){"use strict";function r(t,e){let o=null;if(t)try{o=JSON.parse(t)}catch(r){console.error(r)}return null==o&&null!=e&&(o=e),o}e["a"]=r},6022:function(t,e,o){"use strict";o.d(e,"f",(function(){return W})),o.d(e,"h",(function(){return Y})),o.d(e,"b",(function(){return J})),o.d(e,"i",(function(){return et})),o.d(e,"d",(function(){return nt})),o.d(e,"g",(function(){return lt})),o.d(e,"a",(function(){return gt})),o.d(e,"e",(function(){return bt})),o.d(e,"c",(function(){return vt}));var r=o("9ab4"),n=o("005c"),i=o("3c61"),a=o("b127"),c=o("4a75"),s=o("d197"),l=o("1599"),d=o("d1b2"),u=o("131c"),p=o("f1d0"),h=o("08f7"),_=o("a607"),m=o("dfe4"),g=o("0c6d"),f=o("8262"),b=o("e548");class O{constructor({layout:t,project:e,dpr:o,windowWidth:r,margin:n}){this.layout=null,this.project=null,this.originDpr=1,this.originWindowWidth=0,this.margin=0,this.computedDpr=1,this.computedWindowWidth=0,this.computedLayout=null,this.layout=t,this.project=e,this.originDpr=o,this.originWindowWidth=r,this.margin=n,this.computeDpr(),this.computeWindowWidth(),this.computeLayout()}computeDpr(){const{originDpr:t}=this;this.computedDpr=Object(g["a"])(t)}computeWindowWidth(){const{project:t,computedDpr:e,originWindowWidth:o}=this;this.computedWindowWidth=Object(f["a"])({project:t,computedDpr:e,originWindowWidth:o})}computeLayout(){const{layout:t}=this;if(!t)return;const e=Object(h["a"])(t,"table.wrapperWidth",0),o=Object(h["a"])(t,"table.wrapperBorderWidth",0),r=Object(h["a"])(t,"table.width",0),n=this.getMaxWidth();if(r+2>e+2*o&&r>n)return;const i=n/r,a=Object(h["a"])(t,"rows",[]),c=[];Object(_["a"])(a,t=>{const e=[];Object(_["a"])(t,t=>{const o=Object(h["a"])(t,"width");e.push({width:o?Math.floor(o*i):o})}),c.push(e)});const s=Object(h["a"])(t,"cols",[]),l=Object(m["a"])(s,t=>{const e=Object(h["a"])(t,"width");return{...t,width:e?Math.floor(e*i):e}});this.computedLayout={table:{width:Math.floor(r*i)},rows:c,cols:l}}getComputedLayout(){return this.computedLayout}getMaxWidth(){const{project:t,margin:e}=this,o=t===p["k"].MPCLI?375:this.computedWindowWidth;return Object(b["b"])({type:b["a"].TABLE,project:t,computedWindowWidth:o,margin:e})}}var y=O,v=o("b6f3"),C=o("76a4"),w=t=>Object(v["a"])(t,t=>{const{component_code:e}=t;if("text"===e){const e=Object(h["a"])(t,"attribute_list.0.content_html.value","");return Object(C["a"])(e,"{let e=!1,o=null;return Object(_["a"])(t,t=>{const r=Object(h["a"])(t,"component_code"),n=Object(h["a"])(t,"attribute_list.0.content_html.value","");if("text"===r&&n&&'
'!==n&&(!Object(E["a"])(n,"stylelib-wrapper")||Object(C["a"])(n,' data-contenteditable="true"'))&&n===o)return e=!0,!1;o=n}),e},T=o("03d1"),I=t=>Object(v["a"])(t,t=>{const{component_code:e}=t;return"image"===e&&T["a"].hasNoSize(t)}),A=o("5af5"),R=t=>Object(v["a"])(t,t=>{const{component_code:e}=t;if("table"!==e)return!1;const o=Object(h["a"])(t,"attribute_list.0.table_html.value",""),r=Object(A["a"])(o,{}),n=Object(h["a"])(r,"columns",[]);let i="",a=0;return Object(_["a"])(n,t=>{const{title:e,colSpan:o=0}=t;i=i||e,a+=o}),!!i&&0===a}),S=o("cb9b");const L=25e6;var x,D=t=>Object(v["a"])(t,t=>{const{component_code:e}=t,o=Object(h["a"])(t,"attribute_list",[]);return"image"===e?Object(v["a"])(o,t=>{const e=Object(h["a"])(t,"image_width.value",""),o=Object(h["a"])(t,"image_height.value","");let r=parseInt(e,10),n=parseInt(o,10);return Object(S["a"])(r)&&(r=0),Object(S["a"])(n)&&(n=0),r*n>L}):"batchImage"===e&&Object(v["a"])(o,t=>{const e=Object(h["a"])(t,"image_url.value",[]);return Object(v["a"])(e,t=>{const e=Object(h["a"])(t,"value",{}),o=Object(h["a"])(e,"width",""),r=Object(h["a"])(e,"height","");let n=parseInt(o,10),i=parseInt(r,10);return Object(S["a"])(n)&&(n=0),Object(S["a"])(i)&&(i=0),n*i>L})})}),M=o("2eeb"),N=o("360b"),k=o("87f6"),H=o("7bc7"),q={responses:[{status:200,reason:"ok",body:'{"code":1,"msg":{"text":"操作成功","code":"0"},"data":{"need_check":0,"qrcode_msg":{"qrcode_record":{"id":6717483,"coding":"qbAjKPs","wx_url":"","web_url":"https:\\/\\/qr46.cn\\/owE2U3\\/qbAjKPs","wxcode_url":"","qrcode_url":"https:\\/\\/qrapi.cliim.net\\/newqr\\/create?level=H&transparent=0&bgcolor=%23FFFFFF&forecolor=%23000000&blockpixel=12&marginblock=2&logourl=&size=400&text=&data=https%3A%2F%2Fqr46.cn%2FowE2U3%2FqbAjKPs&kid=bizcliim&time=1764207404&key=1b230901a075e1f657d5dd02df263bbc","list_name":"213","qrcode_name":null,"scene_module_id":0,"desc":"","category_id":230809,"tpl_id":193825,"identity_id":0,"org_id":94885797,"update_time":1764207400,"create_time":1764169421,"status":0,"preset_case":0,"show_org_dest":0,"can_scan_update":0,"is_mobile_updated":0,"create_from":126,"tpl_qrcode_status":0,"tpl_qrcode_updated":0,"batch_id":0,"log_status":0,"excel_status":0,"tpl_name":"","batch_name":"","route_type":3,"record_summary_status":1,"project_id":0,"qrcode_sort":0,"is_freeze":0,"serial_number":0,"share_qrcode_url":"https:\\/\\/qrapi.cliim.net\\/newqr\\/create?level=H&transparent=0&bgcolor=%23FFFFFF&forecolor=%23000000&blockpixel=12&marginblock=2&logourl=&size=400&text=&data=https%3A%2F%2Fqr46.cn%2FowE2U3%2FqbAjKPs%2Fshare&kid=bizcliim&time=1764207404&key=1d9e8fe014c343f8c8c71246493def74","qrstyle_url":"","top_style":[],"record_add_status":0,"component_value_empty":1},"qrcode_compontent":[],"qrcode_top_component":[{"id":4190833,"qrcode_id":6717483,"component_code":"text","identity_id":0,"sort":1,"status":0,"tpl_com_id":996828,"org_id":94885797,"batch_id":0,"real_group_id":0,"component_status":1,"template_component_id":0,"template_component_info":"","form_component_id":0,"form_component_title":"","attribute_list":[{"content_html":{"id":145839223,"value":"","status":0,"attribute_id":10,"group_id":0,"real_group_id":1,"tpl_com_id":996828,"name":"文本 html 片段","is_default_value":0,"multiple_id":"136870198","attribute_multiple_id":5}}],"group_count":1,"encryption":"9e3388df98fe2465183cd6539d6382ab"},{"id":4190839,"qrcode_id":6717483,"component_code":"file","identity_id":0,"sort":3,"status":0,"tpl_com_id":996834,"org_id":94885797,"batch_id":0,"real_group_id":0,"component_status":1,"template_component_id":0,"template_component_info":"","form_component_id":0,"form_component_title":"","attribute_list":[{"file_url":{"id":833702,"value":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2025\\/1127\\/09\\/3d5f509db7664005a2bf508fb668d41b.docx?auth_key=1409d5941fe768693989935ff7eb350c×tamp=1764207410","status":0,"attribute_id":9,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件地址","is_default_value":0,"source_id":8966479},"file_size":{"id":833703,"value":"15.21 KB","status":0,"attribute_id":13,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件大小","is_default_value":0},"file_name":{"id":833704,"value":"demo.docx","status":0,"attribute_id":18,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件名称","is_default_value":0},"can_download":{"id":833705,"value":"1","status":0,"attribute_id":109,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"是否允许下载","is_default_value":0},"file_register_time":{"id":833706,"value":"","status":0,"attribute_id":150,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件阅读时长","is_default_value":0},"file_preview_hide_menu":{"id":833707,"value":"0","status":0,"attribute_id":156,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件预览隐藏菜单","is_default_value":0},"file_preview_mode":{"id":833708,"value":"2","status":0,"attribute_id":157,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件预览方式","is_default_value":0},"file_style":{"id":833709,"value":"","status":0,"attribute_id":159,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件样式","is_default_value":0},"can_share":{"id":833710,"value":"1","status":0,"attribute_id":163,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"是否允许分享","is_default_value":0},"open_readregister":{"id":833711,"value":"0","status":0,"attribute_id":164,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"开启文件签阅","is_default_value":0},"file_register_config":{"id":833712,"value":"","status":0,"attribute_id":204,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"阅后登记配置","is_default_value":0},"can_preview":{"value":1},"can_wxwork_download":true}],"group_count":1,"encryption":"3b1b95c08663dc575cf0572c1097108c"},{"id":4190840,"qrcode_id":6717483,"component_code":"recordlog","identity_id":0,"sort":4,"status":2,"tpl_com_id":996835,"org_id":94885797,"batch_id":0,"real_group_id":0,"component_status":1,"template_component_id":0,"template_component_info":"","form_component_id":0,"form_component_title":""}],"record_tpl_token":[],"direct_preview_file_url":"","visible_auth_info":{"open_auth":0,"user_info":{"user_id":0,"member_id":0},"has_power_comps":[],"edit_need_audit":0,"open_password_info":[],"open_location_info":[],"open_time_info":[],"data_authtype":0,"auth_list":[],"first_edituser_ass_id":[],"power_status":16,"need_user_auth":0,"auth_limit":[],"need_join_member":0,"need_join_auth_member":0},"open_methods":{"scan":true,"press":true,"share":true,"other_app":true},"valid_time":{"start_time":"","end_time":"","valid_days_num":-2},"cover_image":{"type":0,"url":""},"share_setting":{"title":"","desc":"","image_url":""},"file_registration":[]},"status_code":"qrcode_0_success","qrcode_addition_msg":{"qrcode_id":6717483,"auth_set_subject":1,"is_mobile_updated":0,"log_msg_tag":"","expand_log":4,"disabled_open_methods":0,"cover_image":"","remarks":"","share_setting":"","is_disabled":0,"start_time":0,"end_time":0,"valid_days_num":-2,"expand_btn":"","cvid":0,"show_collect":3,"show_share":2,"show_record_editlog":0,"recordview_position":4,"record_summary_title":"","show_homepage":2,"show_bottom_homepage":2,"bottom_homepage_meta":"","open_codereview":0,"default_qrlabel_show_type":0,"share_style":0,"open_readregister":0,"open_direct_preview":0,"soncode_edit_position":0,"open_workorder":0,"state_show_mode":4,"record_summary_status":1,"subscribe_status":0,"show_manage":2,"show_font_size":2,"show_footer":3,"show_tabbar":0,"show_markdown":0,"allow_crawler":0,"ai_assistant":"{\\"enable\\":0,\\"show_style\\":0,\\"brand_name\\":\\"AI 解读\\",\\"brand_logo\\":\\"\\",\\"greeting\\":\\"\\",\\"prompt_code\\":\\"general\\",\\"prompt_text\\":\\"- 你是一位专业的内容问答与解读专家,为用户提供内容解读服务。\\\\n- 你能够能够快速阅读和理解内容中的关键信息和逻辑结构,擅长用通俗易懂的语言解释复杂的内容。\\\\n- 你能根据用户的问题精准地解读关键信息,提供清晰准确、简洁易懂的答复。\\\\n- 回答问题时应确保内容准确无误,语言应简单易懂,避免使用过于复杂的技术术语。\\\\n\\",\\"agent_id\\":\\"\\",\\"scan_to_enter\\":0,\\"view_origin_text\\":0,\\"ques_num\\":3,\\"ques_list\\":[],\\"follow_ques\\":0,\\"reply_length\\":2}","screenshot_conf":{"is_logo":1,"logo_url":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2023\\/0526\\/10\\/8c02b8677a54b0a9f146fe4593a9b84c.png?auth_key=f61ef9d201ed91d781279ca94331a52f×tamp=1764207410","is_com_name":1,"com_name":"1","type":1,"update_time":false},"card_type":3,"bottom_style":4,"has_subscribed":0,"can_subscribe":0},"org_msg":{"id":94885797,"user_id":805364,"name":"1","coding":"owE2U3","org_dest_qrcode":0,"status":0,"is_auth":1,"show_dest_qrcode":0,"logo_path":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2023\\/0526\\/10\\/8c02b8677a54b0a9f146fe4593a9b84c.png","memo":"","auth_type":0,"auth_used":"","auth_message":"","auth_request_time":0,"auth_file_prove":"","auth_file_other":"","open_id":"","auth_deal_time":0,"auth_status":1,"social_code":"","target_record_id":0,"route_type":3,"private_xcx_status":0,"custom_route_type":1,"subscribe_wxacode":"","capacity_time":1764207410,"capacity_publickey":"6460c13794a98a24bb62e4dcbb085c74","build_module_weburl_time":1764207410,"build_module_weburl_publickey":"667938edb3b6321abc3a52420004f01f","for_external_name":"1","org_manger_name":""},"subscribe_auth_info":{"auth_list":[{"data_id":6717483,"org_id":94885797,"data_type":13,"auth_type":4,"privi_type":"edit","group_list":[]}],"data_authtype":4,"need_join_member":1,"need_user_auth":1,"power_status":16},"preview_token":{"time":1764207410,"signature":"4d805cd3c009ae1b10c1e602795da64f"}},"url":"","wait":3}'},{status:200,reason:"ok",body:'{"code":1,"msg":{"text":"操作成功","code":0},"data":{"total_tpls":0,"origin_tpl_list":[],"read":[],"hide":0,"rule_result":[],"expand_log":4,"log_msg_tag":"","record_summary_title":null,"open_codereview":0,"open_readregister":0,"open_direct_preview":0,"state_show_mode":4,"record_summary_status":1,"expand_btn":"添加记录","show_record_editlog":0,"recordview_position":4,"recordview_extend":{"ext_info":{"recordview_position":4,"nums":3,"content_type":[1,2,3],"content_position":1,"owner_record_summary_title":"我填写的","owner_record_summary_status":1},"operation_ext_info":{"btn_color":"","btn_border_radius":4,"btn_background":1,"btn_font_color":"","btn_color_picker_img":"","btn_img_main_colors":"","btn_color_from":0,"content_position":1},"statistics_configs":[]},"log_status":0},"url":"","wait":3}'},{status:200,reason:"ok",body:'{"code":1,"msg":{"text":"操作成功","code":0},"data":[],"url":"","wait":3}'},{status:200,reason:"ok",body:'{"code":1,"msg":"","data":[],"url":"","wait":3}'},{status:200,reason:"ok",body:'{"code":1,"msg":{"text":"操作成功","code":0},"data":{"org_msg":{"edition_id":44,"from_edition_id":44,"is_paid_user":1,"media_flow_limited":1,"media_flow_total":"14336000.00000000","media_flow_used":"26.52248764","org_dest_qrcode_route":"","homepage_qrcode_url":""},"qrcode_msg":{"auth_info":[],"is_collect":0,"case_bg_path":"","is_special_code":0,"is_org_dest_qrcode":0,"show_collect":1,"show_manage":1,"show_font_size":2,"show_share":1,"show_homepage":0,"show_bottom_homepage":0,"show_powered_by":0,"share_style":0,"bottom_homepage_meta":{"remark":"","jump_type":3,"jump_link":"","title":"1","logo":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2023\\/0526\\/10\\/8c02b8677a54b0a9f146fe4593a9b84c.png?auth_key=f61ef9d201ed91d781279ca94331a52f×tamp=1764207410","company_profile":[]},"screenshot_conf":{"is_logo":1,"logo_url":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2023\\/0526\\/10\\/8c02b8677a54b0a9f146fe4593a9b84c.png?auth_key=f61ef9d201ed91d781279ca94331a52f×tamp=1764207410","is_com_name":1,"com_name":"1","type":1,"update_time":false},"card_type":1,"bottom_style":3,"log_status":0,"powered_by_style_version":"","powered_by_style_versions":{"powerby_style_20240717":"","powerby_style_20250310":"e"},"show_complain":0,"soncode_edit_position":0,"state_show_mode":4,"record_summary_status":1,"show_org_card":0},"record_msg":{"log_status":0,"log_msg_tag":"","expand_log":4,"show_record_editlog":0,"recordview_position":4,"open_codereview":0,"open_readregister":0,"state_show_mode":4,"record_summary_status":1},"low_quality":0,"encoded_user_id":"owE2U3","qrcode_setting_msg":{"review_set":[],"bgimage_set":[],"common_set":{"id":14441,"org_id":94885797,"code_id":6717483,"option_attributes":{"code_title_format":{"cancelBold":false,"italics":false,"underline":false,"color":"","fontSize":28}},"create_time":1764169421,"update_time":1764207400},"bottom_warn":{"type":0},"ai_assistant":{"enable":0,"show_style":0,"brand_name":"AI 解读","brand_logo":"","greeting":"","prompt_code":"general","prompt_text":"- 你是一位专业的内容问答与解读专家,为用户提供内容解读服务。\\n- 你能够能够快速阅读和理解内容中的关键信息和逻辑结构,擅长用通俗易懂的语言解释复杂的内容。\\n- 你能根据用户的问题精准地解读关键信息,提供清晰准确、简洁易懂的答复。\\n- 回答问题时应确保内容准确无误,语言应简单易懂,避免使用过于复杂的技术术语。\\n","agent_id":"","scan_to_enter":0,"view_origin_text":0,"ques_num":3,"ques_list":[],"follow_ques":0,"reply_length":2},"image_conf":{"default_size":-1}}},"url":"","wait":3}'}]};const{domain:P}=i["a"],B={"/qrcoderoute/qrcodeRouteNew":"qrcode_data","/operation/getQrcodeOperationByQrcodeRoute":"operation_data","/qrcoderoute/getQrcodeProperties":"qrcode_properties_data","/record/getRecord":"qrcode_record_data","/record/getRecordTpl":"tpl_data","/qrcoderoute/getQrcodeRecordEntrance":"tpl_entrance_data","/qrcoderoute/getTargetStateMsg":"state_data","/task/getTargetQrcodeTaskMsg":"task_data","/category/getListByCategoryRoute":"category_data","/record/getQrcodeDynamicAuth":"qrcode_dynamic_data","/template_qrcode/getEditPower":"child_edit_power"},U=t=>{t.data||(t.data={}),t.data.qrcode_msg=t.data.qrcode_msg||{qrcode_record:{},codeCommonInfo:{codeColorInfo:{},codeHeaderTitleInfo:{}},qrcode_top_component:{},qrcode_component:{}};const e=t.data;if(e.code=t.msg.code,e.errorTips=t.msg.text,"h5"===i["a"].platform){const{$:t}=window,r=Object(c["s"])(e,"qrcode_msg.qrcode_compontent",[]);try{const o=Object(c["s"])(e,"qrcode_msg.qrcode_top_component",[]),n=Object(c["s"])(e,"qrcode_msg.qrcode_record.id");Object(c["s"])(e,"qrcode_msg.qrcode_record")&&(e.qrcode_msg.qrcode_record.user_id=Object(c["s"])(e,"org_msg.user_id")),I([...r,...o])&&t(window).trigger("log",[{from:"imageHasNoSize",message:{qrCodeId:n}}]),w(r)&&t(window).trigger("log",[{from:"hasImgTag",message:{qrCodeId:n}}]),j(r)&&t(window).trigger("log",[{from:"hasRepeatText",message:{qrCodeId:n}}]),R(r)&&t(window).trigger("log",[{from:"isColspanError",message:{qrCodeId:n}}]),D([...r,...o])&&t(window).trigger("log",[{from:"exceedImagePxLimit",message:{qrCodeId:n}}])}catch(o){console.error(o)}}return t.data};let F,$=x=class{constructor(){this.cache=new Map,this.expiryTimeInSeconds=30,this.handleRichText=({qrcodeCompontent:t,isColorExtend:e}={})=>{if("h5"===i["a"].platform)try{const{$:o}=window,{devicePixelRatio:r}=window,{innerWidth:n}=window;Object(u["o"])(t,t=>{const i=Object(c["s"])(t,"component_code");if("text"===i){const i=Object(c["s"])(t,"attribute_list.0.content_html",{}),a=Object(c["s"])(i,"value","");if(Object(c["u"])(a,"cke_table_wrapper")){const t=o("
").html(a),s=t.find(".cke_table");if(1===s.length){const o=Object(u["W"])(s.attr("data-layout"));if(o){const a=new y({layout:o,project:p["k"].MPCLI,dpr:r,windowWidth:n,margin:e?10:16}),l=a.getComputedLayout();Object(c["f"])("computedLayout",l);const d=Object(c["s"])(l,"cols",[]);d.length&&(s.find("colgroup").remove(),s.addClass("x-fixed").css({width:Object(c["s"])(l,"table.width","auto")}).prepend(["",...Object(u["S"])(d,t=>{const e=Object(c["s"])(t,"width");return e?``:""}),""].join("")),i.value=t.html())}}t.remove()}else if(Object(c["u"])(a,"stylelib-wrapper")){const t=Object(c["v"])(a,'data-key="table-tpl21"')||Object(c["v"])(a,'data-key="previewTable-table-tpl21"'),e=Object(c["v"])(a,'data-key="table-tpl22"')||Object(c["v"])(a,'data-key="previewTable-table-tpl22"'),r=Object(c["v"])(a,'data-key="table-tpl23"')||Object(c["v"])(a,'data-key="previewTable-table-tpl23"');if(t||e||r){const t=o('
').html(a).appendTo("body");t.find(".stylelib-list-item:visible:first").css({"border-top-width":0}),i.value=t.html(),t.remove()}}}})}catch(o){console.error(o)}},F=this}generateCacheKey(t,e){const o=Object(c["I"])(e);return`${t}?${o}`}getFromCache(t){const e=this.cache.get(t);if(e){const{timestamp:o,data:r}=e,n=Date.now(),i=1e3*this.expiryTimeInSeconds;if(n-o-1,u={qrcode_route:t,password:e,...o&&o.lon?{longitude:o.lon,latitude:o.lat}:{},...r||{},render_default_fields:s,render_component_number:l,render_edit_btn:a||1,..."object"===typeof i?i:{}};return d&&(u.client="ALIPAY_H5"),u}async getCodeInfoNew({url:t,psw:e,pos:o,token:r,alipay:n,options:i,renderEditBtn:a}){return F.getCodeInfoNewParams({url:t,psw:e,pos:o,token:r,alipay:n,options:i,renderEditBtn:a})}getQrcodePropertiesParams(t,e,o){return o?{qrcode_route:t,...e||{},client:"alipay_app"}:{qrcode_route:t,...e||{}}}async getQrcodeProperties(t,e,o){return F.getQrcodePropertiesParams(t,e,o)}getRecordInfoParams(t,e,o){return"#/"===t.substr(t.length-2,2)&&(t=t.replace(/#\//g,"")),{qrcode_route:t,password:null,env:"h5",org_id:o}}async getRecordInfo(t,e,o){return F.getRecordInfoParams(t,e,o)}async getRecordInfoDissociate(t,e,o){return"#/"===t.substr(t.length-2,2)&&(t=t.replace(/#\//g,"")),{qrcode_route:t,password:null,env:"h5",org_id:o}}async getUrlSchema(t,e,o,r){return o||(o="wx5db79bd23a923e8e"),e=encodeURIComponent(e),t=encodeURIComponent(t),o=encodeURIComponent(o),r=encodeURIComponent(r),{query:e,path:t,appid:o,org_coding:r}}async getWxCorpIdByOrgCode({orgCode:t,env:e}){return{org_code:t,env:e}}async getJsConfig({corpId:t,suiteId:e,url:o,isAgent:r}){return{corp_id:t,suite_id:e,url:o,is_agent:r}}getQrcodeOperationByQrcodeRouteParams(t,e){const o={qrcode_route:t,env:"h5"};return null!=e&&Object(u["c"])(o,{scan_source:e}),o}async getQrcodeOperationByQrcodeRoute(t,e){return F.getQrcodeOperationByQrcodeRouteParams(t,e)}async doGetTargetStateMsg(t){return t}getTargetStateMsgParams(t){return{qrcode_route:t,with_state_change_log:1}}async getTargetStateMsg(t){const e=this.getTargetStateMsgParams(t),o=this.generateCacheKey(x.GET_TARGET_STATE_MSG_URL,e),r=this.getFromCache(o);if(r)return console.log("Returning cached data"),r;const n=await this.doGetTargetStateMsg(e);return this.saveToCache(o,n),n}async getRecordEventMsg(t){return{qrcode_route:t}}async getAvConvertStatusByPath(t){return{path:t}}async getResultByComponent(t){return t}async getPathAvhumbLogInfo(t){return{path:t}}async getPathAvthumbInfo(t){return t}async getTargetQrcodeTaskMsg(t){return{qrcode_route:t}}async getStateMsg(t){return{state_id:t}}async getTargetStateLog(t,e,o){return{state_id:t,qrcode_route:e,page:o}}async onlychecked(t,e){return{coding:t,org_code:e,js_code:"",app_id:"",mini_type:"h5"}}async getCodeInfoAllWithOneRequest(t){const{url:e,psw:o,pos:r,token:n,org_id:a,alipay:c,renderEditBtn:s,withLocalData:l,localDataContext:d}=t,{getQrcodePropertiesLimit:p}=i["a"],h=[{path:"/qrcoderoute/qrcodeRouteNew",body:F.getCodeInfoNewParams({url:e,psw:o,pos:r,token:n,alipay:c,renderEditBtn:s})},{path:"/record/getRecordTpl",body:F.getRecordInfoParams(e,o,a)},{path:"/qrcoderoute/getTargetStateMsg",body:F.getTargetStateMsgParams(e)},{path:"/operation/getQrcodeOperationByQrcodeRoute",body:F.getQrcodeOperationByQrcodeRouteParams(e,1)}];p||h.push({path:"/qrcoderoute/getQrcodeProperties",body:F.getQrcodePropertiesParams(e,n,c)});const _=Object(u["A"])("package_id",window.location.href),m=Object(u["A"])("rendering_mode",window.location.href);h.forEach(t=>{Object(k["b"])(()=>!0,_,t.body),m&&(t.body.rendering_mode=m)});const g=t=>{const e={};h.forEach((o,r)=>{const n=B[o.path];e[n]=JSON.parse(t.responses[r].body)});const o={code:1,data:e};return o};return new Promise((t,e)=>{if(l){const e=Object(u["h"])(q);return d.beforeSetLocalData?void t(g(d.beforeSetLocalData(e))):void t(g(e))}window.$.ajax({url:P.decodeUrl+"/batch-requests",method:"POST",dataType:"json",xhrFields:{withCredentials:!0},data:JSON.stringify({requests:h.map(t=>({method:"POST",timeout:1e4,header:{"content-type":"application/x-www-form-urlencoded"},...t,body:Object(u["k"])(t.body).map(([t,e])=>`${t}=${encodeURIComponent(e)}`).join("&")}))}),headers:{"Content-Type":"application/json"},success(e){t(g(e))},error(t){e(t)}})})}async getCodeInfoAll({url:t,psw:e,pos:o,token:r,org_id:n,alipay:a,renderEditBtn:s,withLocalData:p,localDataContext:h}){return new Promise((_,m)=>{const{getQrcodePropertiesLimit:g}=i["a"],f=new Promise(i=>{this.getCodeInfoAllWithOneRequest({url:t,psw:e,pos:o,token:r,org_id:n,alipay:a,renderEditBtn:s,withLocalData:p,localDataContext:h}).then(t=>{const{tpl_data:e,state_data:o,operation_data:r,qrcode_properties_data:n,markdown:a}=t.data,c=U(t.data.qrcode_data);c.qrcode_msg.qrcode_record.markdown=a,i([c,e,o,r,n])})});f.then(([t,e,o,r,n])=>{var i,a,s,p;try{var h,m,f,b,O,y;if(t||n)t.low_quality=g?0:n.data.low_quality,t.encoded_user_id=g?0:n.data.encoded_user_id,t.org_msg={...t.org_msg||{},...g?{}:n.data.org_msg||{}},t.state_msg=o,t.qrcode_msg={...t.qrcode_msg,...g?{}:n.data.qrcode_msg},t.bgimage_set=g?{}:null!==(h=null===n||void 0===n||null===(m=n.data)||void 0===m||null===(f=m.qrcode_setting_msg)||void 0===f?void 0:f.bgimage_set)&&void 0!==h?h:{},t.common_set=g?{}:null!==(b=null===n||void 0===n||null===(O=n.data)||void 0===O||null===(y=O.qrcode_setting_msg)||void 0===y?void 0:y.common_set)&&void 0!==b?b:{},this.handleRichText({qrcodeCompontent:t.qrcode_msg.qrcode_compontent,isColorExtend:1===Object(M["a"])(t.common_set)}),t={...t||{},...t.qrcode_msg||{},...g?{}:n.data.record_msg||{}},g||(t.edition_msg={edition_id:Object(c["s"])(n,"data.org_msg.edition_id"),from_edition_id:Object(c["s"])(n,"data.org_msg.from_edition_id")},t.qrcode_setting_msg={...Object(c["s"])(n,"data.qrcode_setting_msg")}),Object(c["s"])(t,"qrcode_record")&&(t.qrcode_record.media_flow_limited=Object(c["s"])(t,"org_msg.media_flow_limited"),t.qrcode_record.media_flow_total=Object(c["s"])(t,"org_msg.media_flow_total"),t.qrcode_record.media_flow_used=Object(c["s"])(t,"org_msg.media_flow_used"),t.qrcode_record.user_id=Object(c["s"])(t,"org_msg.user_id"))}catch(j){console.error("error",j)}const{from:v=""}=Object(c["p"])(),C=Object(c["s"])(o,"data."+t.qrcode_record.id,[]),w=Object(c["s"])(e,"data.data_list",[]);t.log_msg=e.data,t.has_state=!!C.length,t.has_state=!!C.length,t.state_list=C,t.state_msg=o,t.hasOpenMsg=!(null===(i=t)||void 0===i||null===(a=i.qrcode_setting_msg)||void 0===a||null===(s=a.review_set)||void 0===s||null===(p=s.config_record)||void 0===p||!p.status);const E=Object(H["c"])(Object(c["s"])(e.data,"expand_log"),w);if(Object(u["c"])(null===e||void 0===e?void 0:e.data,{expand_log:E}),Object(u["c"])(t,{expand_log:E}),"0"===t.code||"nc_check"===v){const e=Object(c["s"])(r,"data",[]),o=d["a"].combine({operateMsg:e,stateList:C,tplList:w});t.operateData=o,Object(l["a"])(t).then(e=>{t.codeCommonInfo=e,_(t)})}else _(t)}).catch(t=>{m(t)})})}async getTargetXcxOriginalId(t){return{qrcode_route:t}}async getRecordHistory(t){const{codeData:{qrcode_record:{id:e}}}=i["a"];return{code_id:e,union_id:"",env:"h5",...t}}async getRecordHistoryDissociate(t){const{codeData:{qrcode_record:{id:e}}}=i["a"];return{code_id:e,union_id:"",env:"h5",...t}}async getRecordHistorySimplify(t){const{codeData:{qrcode_record:{id:e}}}=i["a"];return{code_id:e,union_id:"",env:"h5",...t}}async getRecordHistorySimplifyDissociate(t){const{codeData:{qrcode_record:{id:e,web_url:o}}}=i["a"];return{code_id:e,qrcode_route:o||"",union_id:"",env:"h5",...t}}async getRecordsGroupByProcessStatus(t){const{codeData:{qrcode_record:{id:e}}}=i["a"];return{code_id:e,env:"h5",...t}}async getRecordOperateStats(t){const{codeData:{qrcode_record:{id:e}}}=i["a"];return{qrcode_id:e,env:"h5",...t}}async getRecordFormDesc(t,e,o){return{tpl_id:t,org_id:e,...o||{}}}async playCounter(t){return t}async mediaCanPlay(t){return t}async getComplainList(){}async doComplain(t,e,o,r,n){return{type_id:t,content:e,contact:o,img_url:r.join(","),coding:Object(c["s"])(i["a"],"codeData.qrcode_record.coding","")||n,open_id:i["a"].oid}}async getRecord(t){return{record_route:t}}async getAssistMaster(t){return{assist_token:t}}async getQrcodeOrgMsg(t){return{qrcode_route:t}}async getSyCodeInfo({url:t,psw:e,pos:o,token:r,lastedId:n=0,pageSize:i=s["g"],page:a=0,listType:c="qrcode",...l}){return{category_route:t,lasted_id:n,page_size:i,page:a,list_type:c,...l,password:e,...o&&o.lon?{longitude:o.lon,latitude:o.lat}:{},...r||{},as_category_component:1}}async getPlaceholderChildCode({qrcode_route:t}){return{qrcode_route:t}}async parseQrcodeRoute({url:t}){return{url:t}}async getSyCodImgAll({web_urls:t,category_ids:e,org_id:o,org_time:r,org_publickey:n}){return{web_urls:t,need_color:0,category_ids:e,org_id:o,org_time:r,org_publickey:n}}async getSummaryQrcodeFirstImages({web_urls:t,summary_type:e}){return{web_urls:t,summary_type:e}}async getSyCodeInfoAll(t,e,o,r,n,i){return new Promise((a,c)=>{Promise.all([this.getSyCodeInfo({url:t,psw:e,pos:o,token:r,...i}),this.getRecordInfo(t,e,n)]).then(([t,e])=>{t.log_msg=e.data,0===+t.code?Object(l["a"])(t).then(e=>{t.codeCommonInfo=e,a(t)}):a(t)}).catch(t=>{c(t)})})}async getBatchChildrenList({url:t,batchId:e=0,page:o=1}={url:"",batchId:0,page:1}){return{qrcode_route:t,page:o,batch_id:e,batch_page_size:100,qrcode_page_size:20,not_valid:1}}async getTplBatchChildrenList({url:t,batchId:e=0,page:o=1,pageSize:r=20}={url:"",batchId:0,page:1,pageSize:20}){return{qrcode_route:t,page:o,batch_id:e,page_size:r,not_valid:1}}async getQrCodeBaseSetInfo({qrcodeId:t}){return{qrcode_id:t}}async operateDataAuthSetting(t){return t}async getUserOrgIdent(t){return t}async getCodeMsg(t,e={}){return{id:t,...e||{}}}async getPresetCodeRecordInfo(t){return{qrcode_id:t}}async clonePresetRecordInfo(t){return{source_code_id:t}}async saveCode(t,e,o,r=""){return{create_from:e,is_new:1,qrcode_msg:t,scene_log:o,user_id:r}}async setRecodeInfo(t){const e={};return Object(u["k"])(t).forEach(([t,o])=>{e[t]=encodeURIComponent(o)}),e}async getAuthGroupWebUrl(t){return t}async getRuleGroupInfo(t){return t}async getUserInfo(){}async getQrcodeRoute(t){return{qrcode_route:t}}async getChildQrCodeNotaryData(t){return{qrcode_route:t}}async getStateDetail(t,e,o){return{state_id:t,qrcode_route:e,...o}}async getAudioTranslatedText(t){return t}async getColorFromImg(t){return t}async getQrcodeCategoryList(t){return t}async getCertification(t){return t}async getNewJumpQrcodeMeta(t){return t}};$.GET_TARGET_STATE_MSG_URL="/qrcoderoute/getTargetStateMsg",Object(r["a"])([Object(a["c"])("/qrcoderoute/qrcodeRouteNew"),Object(a["e"])(async t=>U(t))],$.prototype,"getCodeInfoNew",null),Object(r["a"])([Object(a["a"])("/qrcoderoute/getQrcodeProperties")],$.prototype,"getQrcodeProperties",null),Object(r["a"])([Object(a["c"])("/record/getRecordTpl")],$.prototype,"getRecordInfo",null),Object(r["a"])([Object(a["c"])("/record/getRecordTplDissociate")],$.prototype,"getRecordInfoDissociate",null),Object(r["a"])([Object(a["c"])("/api/weixin/getWxUrlScheme"),Object(a["e"])(async t=>t)],$.prototype,"getUrlSchema",null),Object(r["a"])([Object(a["c"])("/api/weixin/getWxCorpIdByOrgCode"),Object(a["e"])(async t=>t)],$.prototype,"getWxCorpIdByOrgCode",null),Object(r["a"])([Object(a["c"])("/api/weixin/getJsConfig"),Object(a["e"])(async t=>t)],$.prototype,"getJsConfig",null),Object(r["a"])([Object(a["c"])("/operation/getQrcodeOperationByQrcodeRoute")],$.prototype,"getQrcodeOperationByQrcodeRoute",null),Object(r["a"])([Object(a["c"])(x.GET_TARGET_STATE_MSG_URL)],$.prototype,"doGetTargetStateMsg",null),Object(r["a"])([Object(a["c"])("/record/getRecordEventMsg")],$.prototype,"getRecordEventMsg",null),Object(r["a"])([Object(a["a"])("/api/AvthumbAsync/getResultByPath"),Object(a["e"])(t=>t)],$.prototype,"getAvConvertStatusByPath",null),Object(r["a"])([Object(a["a"])("/api/AvthumbAsync/getResultByComponent"),Object(a["e"])(t=>t)],$.prototype,"getResultByComponent",null),Object(r["a"])([Object(a["a"])("/api/AvthumbAsync/getPathAvhumbLogInfo"),Object(a["e"])(t=>t)],$.prototype,"getPathAvhumbLogInfo",null),Object(r["a"])([Object(a["a"])("/api/AvthumbAsync/getPathAvthumbInfo"),Object(a["e"])(t=>t)],$.prototype,"getPathAvthumbInfo",null),Object(r["a"])([Object(a["c"])("/task/getTargetQrcodeTaskMsg")],$.prototype,"getTargetQrcodeTaskMsg",null),Object(r["a"])([Object(a["c"])("/state/getStateMsg")],$.prototype,"getStateMsg",null),Object(r["a"])([Object(a["c"])("/state/getTargetStateLog")],$.prototype,"getTargetStateLog",null),Object(r["a"])([Object(a["c"])("/decode/onlyCheckAuthed")],$.prototype,"onlychecked",null),Object(r["a"])([Object(a["c"])("/decode/getTargetXcxOriginalId"),Object(a["e"])(async t=>{try{if(1===t.code){const{original_id:e}=t.data;await i["a"].setKey({key:"xcxOriginalId",value:e})}}catch(e){console.error("获取小程序原始id失败!"),console.error(e)}return t})],$.prototype,"getTargetXcxOriginalId",null),Object(r["a"])([Object(a["c"])("/record/getRecordsForApp")],$.prototype,"getRecordHistory",null),Object(r["a"])([Object(a["c"])("/record/getRecordsForAppDissociate")],$.prototype,"getRecordHistoryDissociate",null),Object(r["a"])([Object(a["c"])("/record/getRecordsForAppSimplify")],$.prototype,"getRecordHistorySimplify",null),Object(r["a"])([Object(a["c"])("/record/getRecordsForAppSimplifyDissociate")],$.prototype,"getRecordHistorySimplifyDissociate",null),Object(r["a"])([Object(a["c"])("/record/getRecordsGroupByProcessStatus")],$.prototype,"getRecordsGroupByProcessStatus",null),Object(r["a"])([Object(a["c"])("/api/record/recordStatistics")],$.prototype,"getRecordOperateStats",null),Object(r["a"])([Object(a["c"])("/record/getDesc"),Object(a["e"])(async t=>t.data)],$.prototype,"getRecordFormDesc",null),Object(r["a"])([Object(a["c"])("/qrcode/media/play")],$.prototype,"playCounter",null),Object(r["a"])([Object(a["c"])("/qrcode/media/check_can_play"),Object(a["e"])(async t=>{try{if(1===t.code){const{openid:e=""}=t.data;Object(n["x"])(e)}}catch(e){console.error("设置 openid 失败"),console.error(e)}return t})],$.prototype,"mediaCanPlay",null),Object(r["a"])([Object(a["a"])("/api/Complaint/GetAllComplainttype"),Object(a["e"])(t=>t.data)],$.prototype,"getComplainList",null),Object(r["a"])([Object(a["c"])("/api/Complaint/AddComplaint")],$.prototype,"doComplain",null),Object(r["a"])([Object(a["c"])("/record/getRecord"),Object(a["e"])(t=>t)],$.prototype,"getRecord",null),Object(r["a"])([Object(a["c"])("/template_qrcode/getAssistMaster"),Object(a["e"])(t=>t)],$.prototype,"getAssistMaster",null),Object(r["a"])([Object(a["c"])("/qrcoderoute/getQrcodeOrgMsg"),Object(a["e"])(t=>t)],$.prototype,"getQrcodeOrgMsg",null),Object(r["a"])([Object(a["a"])("/category/getListByCategoryRoute"),Object(a["e"])(async t=>{t.data=t.data||{qrcode_record:{},codeCommonInfo:{codeColorInfo:{},codeHeaderTitleInfo:{}},qrcode_top_component:{},qrcode_component:{}};const e=t.data;e.code=t.msg.code;try{e.share_setting=e.qrcode_msg.share_setting||{}}catch(o){console.error("获取分享设置失败",o)}return t.data})],$.prototype,"getSyCodeInfo",null),Object(r["a"])([Object(a["c"])("/placeholderQrcode/getChildQrcodeByRoute"),Object(a["e"])(t=>t)],$.prototype,"getPlaceholderChildCode",null),Object(r["a"])([Object(a["a"])("/qrcoderoute/parseQrcodeRoute"),Object(a["e"])(t=>t)],$.prototype,"parseQrcodeRoute",null),Object(r["a"])([Object(a["c"])("/api/qrcode/getQrcodePrimaryPicture"),Object(a["e"])(t=>t)],$.prototype,"getSyCodImgAll",null),Object(r["a"])([Object(a["c"])("/category/getSummaryQrcodeFirstImages"),Object(a["e"])(t=>t)],$.prototype,"getSummaryQrcodeFirstImages",null),Object(r["a"])([Object(a["a"])("/batchQrcode/getTplChildrenList"),Object(a["e"])(async t=>t.data)],$.prototype,"getBatchChildrenList",null),Object(r["a"])([Object(a["a"])("/batchQrcode/getTplBatchChildrenList"),Object(a["e"])(async t=>1===t.code?t.data:(console.error(Object(c["s"])(t,"msg.text")),""))],$.prototype,"getTplBatchChildrenList",null),Object(r["a"])([Object(a["a"])("/qrcode/getQrcodeBaseSetting"),Object(a["e"])(async t=>1===t.code?t.data:(console.error(Object(c["s"])(t,"msg.text")),""))],$.prototype,"getQrCodeBaseSetInfo",null),Object(r["a"])([Object(a["c"])("/dataAuth/operateDataAuthSetting")],$.prototype,"operateDataAuthSetting",null),Object(r["a"])([Object(a["c"])("/user/checkUserOrgIdentity")],$.prototype,"getUserOrgIdent",null),Object(r["a"])([Object(a["c"])("/qrcode/getQrcodeMsg")],$.prototype,"getCodeMsg",null),Object(r["a"])([Object(a["c"])("/record/getTpls")],$.prototype,"getPresetCodeRecordInfo",null),Object(r["a"])([Object(a["c"])("/record/cloneBathTpl")],$.prototype,"clonePresetRecordInfo",null),Object(r["a"])([Object(a["c"])("/qrcode/operateQrcodeMsg")],$.prototype,"saveCode",null),Object(r["a"])([Object(a["c"])("/qrcode/setQrcodeRecord")],$.prototype,"setRecodeInfo",null),Object(r["a"])([Object(a["c"])("/power/MemberAuth/getAuthGroupWebUrlByForXcx")],$.prototype,"getAuthGroupWebUrl",null),Object(r["a"])([Object(a["c"])("/power/MemberAuth/getGroup")],$.prototype,"getRuleGroupInfo",null),Object(r["a"])([Object(a["a"])("/user/initUserSession"),Object(a["e"])(t=>t)],$.prototype,"getUserInfo",null),Object(r["a"])([Object(a["c"])("/qrcoderoute/qrcodeRouteNew"),Object(a["e"])(async t=>Object(c["s"])(t,"data.qrcode_msg.qrcode_record.tpl_id",""))],$.prototype,"getQrcodeRoute",null),Object(r["a"])([Object(a["a"])("/template_qrcode/getChildQrcodeNotaryData")],$.prototype,"getChildQrCodeNotaryData",null),Object(r["a"])([Object(a["c"])("/state/getStateMsg")],$.prototype,"getStateDetail",null),Object(r["a"])([Object(a["c"])("/review/getAudioTranslatedText")],$.prototype,"getAudioTranslatedText",null),Object(r["a"])([Object(a["c"])("/imageApi/checkMainColor","//qr-api."+N["a"])],$.prototype,"getColorFromImg",null),Object(r["a"])([Object(a["a"])("/category/getSummaryQrcodeList")],$.prototype,"getQrcodeCategoryList",null),Object(r["a"])([Object(a["c"])("/qrcoderoute/getCertification")],$.prototype,"getCertification",null),Object(r["a"])([Object(a["c"])("/qrcoderoute/getNewJumpQrcodeMeta")],$.prototype,"getNewJumpQrcodeMeta",null),$=x=Object(r["a"])([Object(a["d"])(P.decodeUrl)],$);var W=new $,G=o("8f21");let Q=class{async getLoginSession(t,e,o,r){const n={app_openid_encry:e,expire_time:o,user_id:t};try{let t;try{t=(new G["a"]).id}catch(i){console.error(i)}window.$$dfCat.report("H5_entryAppRequest",{params:n,cvid:t,pageUrl:window.location.href,ua:navigator.userAgent,options:r})}catch(i){console.error(i)}return n}async sso(t,e,o){return{app_openid_encry:e,expire_time:o,user_id:t,isactives:23,cli_domain:"cli.im"}}};Object(r["a"])([Object(a["c"])("/login/entry_app")],Q.prototype,"getLoginSession",null),Object(r["a"])([Object(a["a"])("/api/sso_server_login_app_mobile")],Q.prototype,"sso",null),Q=Object(r["a"])([Object(a["d"])(i["a"].domain.userUrl)],Q);var Y=new Q,X=o("6821"),z=o.n(X);const{domain:V}=i["a"];let K=class{async scanCounter(t,e){const{scene:o,url:r}=i["a"].h5QueryString,n={openid:"",user_id:e,web_url:r,device_info:navigator.userAgent,qrcode_route:JSON.stringify(i["a"].codeData.qrcode_record),code_origin:0,from:o||2};return[n,{coding:t}]}async scan(t){const e=(new G["a"]).id.substring(0,28),o={c:t.qrcode_record.coding,tid:t.org_msg.user_id,u:t.qrcode_record.web_url,lt:parseInt(+new Date/1e3,10),oi:e,uc:z()(`${e}${t.qrcode_record.coding}`),ua:navigator.userAgent,f:2,ds:`${document.documentElement.clientHeight}x${document.documentElement.clientWidth}`,ln:navigator.language,is:Object(c["s"])(t,"qrcode_record.create_from",""),si:Object(c["s"])(t,"qrcode_record.scene_module_id",""),lid:t.curLid,flid:t.fromLid};return o}async logClick(t,e,o="",r=""){return{fir:t,sec:e,desc:o,datas:"string"===typeof r?r:JSON.stringify(r)}}};Object(r["a"])([Object(a["c"])("/log/scan/:coding")],K.prototype,"scanCounter",null),Object(r["a"])([Object(a["a"])("/log/collect",void 0,!0)],K.prototype,"scan",null),Object(r["a"])([Object(a["c"])("/log/click",V.logApiUrl)],K.prototype,"logClick",null),K=Object(r["a"])([Object(a["d"])(V.analysisUrl)],K);var J=new K;const{domain:Z}=i["a"];let tt=class{async getWxConfig(t){return{url:t}}};Object(r["a"])([Object(a["b"])("/wxConfig/share")],tt.prototype,"getWxConfig",null),tt=Object(r["a"])([Object(a["d"])(Z.wxApiUrl)],tt);var et=new tt;const ot=i["a"].domain;let rt=class{async clickLog(t,e){return{fir:t,sec:e}}async getTabContent(t){return{code_id:t}}async getTemplate(t,e){return{code_id:t,detail_ass_tag:e,__timestamp:(new Date).getTime()}}async getQrcodeTypeUrl(t){return{coding_url:t}}async getCapacity(t){return{user_id:t}}async getSceneTemplateMsg(t,e){const[o,r]=await Promise.all([this.getTabContent(t),this.getTemplate(t,e)]);return{tagContent:o,tempMsg:r}}};Object(r["a"])([Object(a["b"])("/Api/ClickLog/click")],rt.prototype,"clickLog",null),Object(r["a"])([Object(a["a"])("/SceneTemplate/getTabContent"),Object(a["e"])(async t=>Object(u["B"])(t,"data",{}))],rt.prototype,"getTabContent",null),Object(r["a"])([Object(a["a"])("/SceneTemplate/getTemplate"),Object(a["e"])(async t=>Object(u["B"])(t,"data",{}))],rt.prototype,"getTemplate",null),Object(r["a"])([Object(a["c"])("/Apis/code_info/get_qrcode_type_url")],rt.prototype,"getQrcodeTypeUrl",null),Object(r["a"])([Object(a["c"])("/Api/User/getCapacity"),Object(a["e"])(async t=>Object(u["B"])(t,"data",{}))],rt.prototype,"getCapacity",null),rt=Object(r["a"])([Object(a["d"])(ot.cliUrl)],rt);var nt=new rt;const it=i["a"].domain;let at=class{async qrcodeAddLog({business_type:t,create_from:e,share_type:o,qrcode_code:r}){return{business_type:t,create_from:e,share_type:o,qrcode_code:r}}};Object(r["a"])([Object(a["a"])("/qrcode/addLog"),Object(a["e"])(async t=>t.data)],at.prototype,"qrcodeAddLog",null),at=Object(r["a"])([Object(a["d"])(it.logApiUrl)],at);new at;const ct=i["a"].domain;let st=class{async getVideoCover(t){return{url:t}}};Object(r["a"])([Object(a["a"])("/qiniu/getVideoCover"),Object(a["e"])(t=>t)],st.prototype,"getVideoCover",null),st=Object(r["a"])([Object(a["d"])(ct.uploadUrl)],st);var lt=new st;const{domain:dt}=i["a"];let ut=class{async getJsConfig({corpId:t,suiteId:e,url:o,isAgent:r}){return{corp_id:t,suite_id:e,url:o,is_agent:r}}};Object(r["a"])([Object(a["c"])("/services/getJsConfig"),Object(a["e"])(async t=>t)],ut.prototype,"getJsConfig",null),ut=Object(r["a"])([Object(a["d"])(dt.weWorkApiUrl)],ut);new ut;const pt=i["a"].domain;let ht=class{async getHistoryABVersions(t,e){return{abtest_name:t,token_user_id:e}}};Object(r["a"])([Object(a["c"])("/v1/user/getHistoryABVersions"),Object(a["e"])(async t=>t)],ht.prototype,"getHistoryABVersions",null),ht=Object(r["a"])([Object(a["d"])(pt.volcanoUrl)],ht);new ht;const _t=i["a"].domain;let mt=class{async getQrcodeAlertStatus(t){return{sys:2,qrcodeId:t}}};Object(r["a"])([Object(a["a"])("/qrcode/alert")],mt.prototype,"getQrcodeAlertStatus",null),mt=Object(r["a"])([Object(a["d"])(_t.XQrcodeApiUrl)],mt);var gt=new mt;let ft=class{async parseToMarkdown(t){return[t,{},{"Content-Type":"application/json"}]}async getContentByRoute(t){return[t,{},{"Content-Type":"application/json"}]}};Object(r["a"])([Object(a["c"])("/x-llm/api/aicraft/parseToMarkdown")],ft.prototype,"parseToMarkdown",null),Object(r["a"])([Object(a["c"])("/x-llm/api/aicraft/getContentByRoute")],ft.prototype,"getContentByRoute",null),ft=Object(r["a"])([Object(a["d"])(_t.dataApiUrl)],ft);const bt=new ft,Ot=i["a"].domain;let yt=class{async getDomainInfo(t){return t}};Object(r["a"])([Object(a["c"])("/Apis/CodeInfo/get_domain_info")],yt.prototype,"getDomainInfo",null),yt=Object(r["a"])([Object(a["d"])(Ot.cliTotalEntryUrl)],yt);var vt=new yt},6260:function(t,e,o){"use strict";var r=o("cb9b");const n=t=>"[object Number]"===Object.prototype.toString.call(t)&&!Object(r["a"])(t);e["a"]=n},"6b40":function(t,e,o){"use strict";o.d(e,"c",(function(){return i})),o.d(e,"g",(function(){return a})),o.d(e,"f",(function(){return c})),o.d(e,"d",(function(){return s})),o.d(e,"e",(function(){return l})),o.d(e,"b",(function(){return _})),o.d(e,"a",(function(){return m}));var r=o("f1d0"),n=o("8e05");o.d(e,"h",(function(){return n["b"]}));const i="操作入口",a={WHITE:0,TRANSPARENT:1},c=(a.WHITE,n["c"].TimeLine),s=(n["a"].Head,n["b"].BlockList),l=(n["d"].Head,"动态档案"),d={IDENTITY_GROUP:1,CODE_MANAGER:2},u=(d.IDENTITY_GROUP,r["m"].APPLY,d.CODE_MANAGER,r["m"].APPLY,{MEMBER:3,CHILD_MANAGER:2,DATA_CHECKER:5,CODE_MANAGER:6,CODE_CHECKER:7,DEFAULT:5}),p={MEMBER:"高级成员-手机端管理",DATA_CHECKER:"高级成员-数据管理",CHILD_MANAGER:"高级成员-系统管理",CODE_MANAGER:"码管理员",CODE_CHECKER:"码管理员"},h={MEMBER:"申请成为高级成员-手机端管理",DATA_CHECKER:"申请成为高级成员-数据管理",CHILD_MANAGER:"申请成为高级成员-系统管理",CODE_MANAGER:"申请成为码管理员",CODE_CHECKER:"申请成为码管理员"},_={[u.MEMBER]:h.MEMBER,[u.DATA_CHECKER]:h.DATA_CHECKER,[u.CHILD_MANAGER]:h.CHILD_MANAGER,[u.CODE_MANAGER]:h.CODE_MANAGER,[u.CODE_CHECKER]:h.CODE_CHECKER},m={[u.MEMBER]:p.MEMBER,[u.DATA_CHECKER]:p.DATA_CHECKER,[u.CHILD_MANAGER]:p.CHILD_MANAGER,[u.CODE_MANAGER]:p.CODE_MANAGER,[u.CODE_CHECKER]:p.CODE_CHECKER}},"76a4":function(t,e,o){"use strict";var r=o("a719"),n=o("0cbb"),i=o("a607");e["a"]=(t,e)=>{let o=!1;return Object(r["a"])(t)?Object(i["a"])(t,t=>{if(t===e)return o=!0,!1}):Object(n["a"])(t)&&(o=t.indexOf(e)>-1),o}},"76ac":function(t,e,o){"use strict";var r=o("76a4");e["a"]=t=>!!t&&Object(r["a"])(["fff","ffffff"],t.toLocaleLowerCase())},"77ed":function(t,e,o){"use strict";o.d(e,"a",(function(){return _}));var r=o("f1d0"),n=o("e9b6"),i=o("08f7"),a=o("76a4"),c=o("cb9b"),s=o("a607"),l=o("28ec"),d=o("e548"),u=o("6260"),p=o("be7d");const h="quality,q_20",_="quality,q_50",m="quality,Q_80";let g=null;const f=1e3,b=1e3,O=32,y={name:"light",imgHeight:58,marginBottom:40,opacity:"",logo:{imgHeight:30,name:"logo_light"}},v={name:"grey",imgHeight:62,marginBottom:32,opacity:",t_85",logo:{imgHeight:34,name:"logo_grey"}};class C{constructor({data:t,project:e,imageStyle:o,prewType:s,isSingle:l,computedWindowWidth:d,imageStyle1Margin:u,isLowQuality:p,encodedUserId:h,isLast:_,computedWindowHeight:m,imageAppearance:g,carouselStyle:f,isFirst:b}){this.data=null,this.project=null,this.imageStyle=r["h"].IMAGE_STYLE_1,this.imageAppearance="",this.prewType=r["j"].TILE,this.carouselStyle=r["e"].CAROUSEL_STYLE_1,this.isSingle=!1,this.isLast=!1,this.computedWindowWidth=0,this.computedWindowHeight=0,this.imageStyle1Margin=0,this.originWidth=0,this.originHeight=0,this.computedWidth=0,this.computedHeight=0,this.isLowQuality=!1,this.encodedUserId="",this.borderRadius=!1,this.isFirst=!1,this.marginBottom=!1,this.computedUrl="",this.computedSmallImageUrl="",this.computedPreviewUrl="",this.lazyLoad=!0,this.data=t,this.project=e,this.imageStyle=o,this.imageAppearance=g,this.prewType=s,this.carouselStyle=f,this.isFirst=b,this.isSingle=l,this.isLast=_,this.computedWindowWidth=d,this.computedWindowHeight=m,this.imageStyle1Margin=u,this.isLowQuality=p,this.encodedUserId=h;let O=parseInt(Object(i["a"])(t,"image_width.value","0"),10);Object(c["a"])(O)&&(O=0),this.originWidth=O;let y=parseInt(Object(i["a"])(t,"image_height.value","0"),10);Object(c["a"])(y)&&(y=0),this.originHeight=y,this.computeWidth(),this.computeHeight(),this.computeUrl();let v=!1,C=!1;this.computedHeight>21e3&&(this.lazyLoad=!1),s===r["j"].SWIPER?v=o===r["h"].IMAGE_STYLE_1:s===r["j"].TILE||s===r["j"].SWIPER_VERTICAL?v=l&&o===r["h"].IMAGE_STYLE_1:s===r["j"].EMPTY&&(v=l&&o===r["h"].IMAGE_STYLE_1,l||_||(C=!0));const w=g||{};(null===w||void 0===w?void 0:w.shape)!==n["b"].ORIGINAL&&null!==w&&void 0!==w&&w.shape&&null!==w&&void 0!==w&&w.size&&375!==(null===w||void 0===w?void 0:w.size)&&(v=!0),(null===w||void 0===w?void 0:w.shape)!==n["b"].ORIGINAL&&null!==w&&void 0!==w&&w.shape||null===w||void 0===w||!w.size||375===(null===w||void 0===w?void 0:w.size)||(v=!0),Object(a["a"])([r["e"].CAROUSEL_STYLE_2,r["e"].CAROUSEL_STYLE_3],f)&&(v=!0),this.borderRadius=v,this.marginBottom=C}static px2rem({px:t,computedWindowWidth:e}){return t*(16/e)}static hasNoSize(t){const e=Object(i["a"])(t,"image_width.value",""),o=Object(i["a"])(t,"image_height.value","");return!e||!o}static ossWatermarkType(t=!1,e){let o=1;return null!==e&&void 0!==e&&e.isWatermarkReocrdImg&&(o=1===Number(null===e||void 0===e?void 0:e.watermarkStyleType)?2:1),t?o:0}static addOssSuffix(t,e,o=!1,r={},i="",a,c){var s;e=Math.floor(Math.min(e,4096));const l=Math.floor(e/5),d=t+"?x-oss-process=image/",u=".gif"===(null!==t&&void 0!==t?t:"").substring(t.length-4),p=null!==(s=null===c||void 0===c?void 0:c.isOriginalQuality)&&void 0!==s&&s,g=this.getFormatParam({isGif:u,defaultFormat:"format,gif"});let f="";const b=this.ossWatermarkType(o,a);0!==b&&null!==r&&void 0!==r&&r.width&&!u&&(f=this.getWatermarkOssParam(r,i,b));const{imageCrop:O,imageAppearance:y}=r,{shape:v}=y||{};let C="";O&&v!==n["b"].ORIGINAL&&void 0!==v&&(C=this.getCropOssParam(O));const w=this.getBorderRadiusOssParam(O,v);w&&f&&-1===f.indexOf("g_south")&&(f+=",g_south");const E=(()=>null!==c&&void 0!==c&&c.ultraLowQuality?h:o&&!p?_:m)(),j=[C,u?"":"resize,w_"+e,E,"interlace,1","auto-orient,1",w,f,g].filter(Boolean),T=[u?"":"resize,w_"+l,E,"interlace,1","auto-orient,1",g].filter(Boolean);let I="";const{previewWidth:A,previewHeight:R}=this.getPreviewSize(r,o);A&&R&&(r.width=A,r.height=R,I="resize,w_"+A,f=u?"":this.getWatermarkOssParam(r,i,b),w&&f&&-1===f.indexOf("g_south")&&(f+=",g_south"));const S=(()=>o&&!p&&r.originW>750?null!==c&&void 0!==c&&c.ultraLowQuality?h:_:"")(),L=[C,u?"":I,"auto-orient,1",S,w,f].filter(Boolean);return{url:`${d}${j.join("/")}`,smallImageUrl:`${d}${T.join("/")}`,previewUrl:`${d}${L.join("/")}`}}static getPreviewSize(t,e){if(!e)return"";const o=parseInt(t.originW,10),r=parseInt(t.originH,10);let n=o;return o>1125&&o<=2625?n=1125:o>2625&&(n=750),{previewWidth:n,previewHeight:Math.floor(r*(n/o))}}static getOssBase64Encode(t){const e=Object(p["a"])(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,(t,e)=>String.fromCharCode(parseInt("0x"+e,16))));return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}static getWatermarkOssParam(t,e="",o){let{width:r,height:n}=t;if(r=parseInt(r,10),n=parseInt(n,10),!Object(u["a"])(r)||0===r)return"";const i=2===o;let a=r/f;i&&r>n&&(a=n/b);const c=i?y:v,s=Math.floor(c.marginBottom*a),l=Math.floor(O*a),d=null===t||void 0===t?void 0:t.isThumb,p=d?2:1;let h="";if(e){const t=Math.floor(c.imgHeight*a)*p,o=`res/user-wm-v2/${e}@${c.name}.png`,r=this.getOssBase64Encode(`${o}?x-oss-process=image/resize,h_${t}`);h=`watermark,image_${r},x_${l},y_${s}${c.opacity}`}else{const t=Math.floor(c.logo.imgHeight*a)*p,e=`res/${c.logo.name}.png`,o=this.getOssBase64Encode(`${e}?x-oss-process=image/resize,h_${t}`);h=`watermark,image_${o},x_${l},y_${s}${c.opacity}`}return h}static getCropOssParam(t){let e="";if(t)try{const o=JSON.parse(t),{x:r,y:n,width:i,height:a,scale:c}=o;e=`crop,x_${Math.floor(r*c)},y_${Math.floor(n*c)},w_${Math.floor(i*c)},h_${Math.floor(a*c)}`}catch(o){console.error(o)}return e}static getBorderRadiusOssParam(t,e){let o="";if(e!==n["b"].CIRCLE)return o;if(t)try{const e=JSON.parse(t),{width:r,scale:n}=e;o=`circle,r_${Math.floor(r*n/2)}/format,png`}catch(r){console.error(r)}return o}static getComputedUrl(t,e=2,o=!1,r="",n,a){const{data:c}=t,{width:s,height:d,value:u,image_size:p}=c,h=Object(l["a"])(p)||parseInt(p,10)||0,_=Math.min(375*e,s),m=_*(d/s);let g=Object(i["a"])(c,"image_appearance.value","");if(g)try{g=JSON.parse(g)}catch(O){console.error(O)}const f=Object(i["a"])(c,"image_crop.value",""),b={height:m,width:_,originH:parseInt(d,10),originW:parseInt(s,10),...f?{imageCrop:f}:{},...g?{imageAppearance:g}:{}};return m<16384&&h<20971520?this.addOssSuffix(u,_,o,b,r,n,a):{url:u,previewUrl:u}}static getComputedImage(t){const{data:e}=t,{width:o,height:r,value:n,image_size:i}=e,a=Object(l["a"])(i)||parseInt(i,10)||0,c=Math.min(750,o),s=c*(r/o);let d;return s<16384&&a<20971520&&({previewUrl:d}=this.addOssSuffix(n,c)),d=d||n,{width:o,height:r,size:a,url:n,previewUrl:d}}getMaxWidth(){const{project:t,imageStyle:e,computedWindowWidth:o,imageStyle1Margin:r}=this;return Object(d["b"])({project:t,imageStyle:e,computedWindowWidth:o,margin:r})}computeWidth(){const{originWidth:t,imageStyle:e,isSingle:o,imageAppearance:i}=this,c=this.getMaxWidth();let s=t*(c/750);const l=i||{},d=!o||e===r["h"].IMAGE_STYLE_1&&(s>=c||(null===l||void 0===l?void 0:l.position)===n["a"].LEFT)||Object(a["a"])([r["h"].IMAGE_STYLE_2,r["h"].IMAGE_STYLE_3],e);s=d?c:Math.min(s,c),this.computedWidth=Math.floor(s)}computeHeight(){const{computedWidth:t,originWidth:e,originHeight:o}=this;this.computedHeight=Math.floor(t*(o/e))}px2rem(t){const{computedWindowWidth:e}=this;return C.px2rem({px:t,computedWindowWidth:e})}getStyleObject(){const{project:t,computedWidth:e,computedHeight:o,borderRadius:i,computedWindowWidth:c,imageStyle:s,marginBottom:l,imageAppearance:d,prewType:u,isSingle:p,isLast:h,isFirst:_}=this,m=d||{},g=8,f={},b=this.getMaxWidth();if(t===r["k"].MPCLI){const t=this.px2rem(e),d=this.px2rem(o);if(t?f.width=t+"rem":s===r["h"].IMAGE_STYLE_1?f.maxWidth=this.px2rem(b)+"rem":f.width=this.px2rem(b)+"rem",d&&(f.height=d+"rem"),s===r["h"].IMAGE_STYLE_4){const e=(t||this.px2rem(b))/2;f.width=e+"rem",!d||(null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL&&null!==m&&void 0!==m&&m.shape?d&&null!==m&&void 0!==m&&m.shape&&(null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL&&(f.height=e*n["d"][null===m||void 0===m?void 0:m.shape]+"rem"):f.height=d/2+"rem"}if(Object(a["a"])([r["h"].IMAGE_STYLE_2,r["h"].IMAGE_STYLE_1,r["h"].IMAGE_STYLE_3],s)&&((null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL||null===m||void 0===m||!m.shape)){const e=t||this.px2rem(b);f.width=e+"rem",o&&null!==m&&void 0!==m&&m.shape&&(null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL&&(f.height=e*n["d"][null===m||void 0===m?void 0:m.shape]+"rem")}if(null!==m&&void 0!==m&&m.size&&(f.width=this.px2rem(Math.floor(+m.size*e/375))+"rem",(null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL&&null!==m&&void 0!==m&&m.shape?f.height=this.px2rem(n["d"][null===m||void 0===m?void 0:m.shape]*Math.floor(+m.size*e/375))+"rem":f.height=this.px2rem(Math.floor(o*+m.size/375))+"rem",f.objectFit="cover"),i){const t=c/375;f.borderRadius=this.px2rem(5*t)+"rem"}else f.borderRadius="0";if((null===m||void 0===m?void 0:m.shape)===n["b"].CIRCLE&&(f.borderRadius="50%"),u===r["j"].TILE&&!p&&(null===m||void 0===m?void 0:m.shape)!==n["b"].CIRCLE){const t=f.borderRadius||"0";f.borderRadius="0",_&&(f.borderTopLeftRadius=t,f.borderTopRightRadius=t),h&&(f.borderBottomLeftRadius=t,f.borderBottomRightRadius=t)}l&&(f.marginBottom=this.px2rem(g)+"rem")}else{if(e?f.width=e+"px":t===r["k"].WXA&&(f.width=b+"px"),o&&(f.height=o+"px"),s===r["h"].IMAGE_STYLE_4){const t=e?e/2:b/2;f.width=t+"px",(null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL&&null!==m&&void 0!==m&&m.shape||!o?o&&null!==m&&void 0!==m&&m.shape&&(null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL&&(f.height=t*n["d"][null===m||void 0===m?void 0:m.shape]+"px"):f.height=o/2+"px"}if(Object(a["a"])([r["h"].IMAGE_STYLE_2,r["h"].IMAGE_STYLE_1,r["h"].IMAGE_STYLE_3],s)&&((null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL||null===m||void 0===m||!m.shape)){const t=e||b;f.width=t+"px",o&&null!==m&&void 0!==m&&m.shape&&(null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL&&(f.height=t*n["d"][null===m||void 0===m?void 0:m.shape]+"px")}if(null!==m&&void 0!==m&&m.size&&(f.width=Math.floor(+m.size*e/375)+"px",(null===m||void 0===m?void 0:m.shape)!==n["b"].ORIGINAL&&null!==m&&void 0!==m&&m.shape?f.height=n["d"][null===m||void 0===m?void 0:m.shape]*Math.floor(+m.size*e/375)+"px":f.height=Math.floor(o*+m.size/375)+"px",f.objectFit="cover"),f.borderRadius=i?"5px":"0",(null===m||void 0===m?void 0:m.shape)===n["b"].CIRCLE&&(f.borderRadius="50%"),u===r["j"].TILE&&!p&&(null===m||void 0===m?void 0:m.shape)!==n["b"].CIRCLE){const t=f.borderRadius||"0";f.borderRadius="0",_&&(f.borderTopLeftRadius=t,f.borderTopRightRadius=t),h&&(f.borderBottomLeftRadius=t,f.borderBottomRightRadius=t)}l&&(f.marginBottom=g+"px")}return f}getStyle(){const t=this.getStyleObject(),e=[],o={borderRadius:"border-radius",borderTopLeftRadius:"border-top-left-radius",borderTopRightRadius:"border-top-right-radius",borderBottomLeftRadius:"border-bottom-left-radius",borderBottomRightRadius:"border-bottom-right-radius",maxWidth:"max-width",marginBottom:"margin-bottom",maxHeight:"max-height",objectFit:"object-fit"};return Object(s["a"])(t,(t,r)=>{e.push(`${o[r]||r}:${t};`)}),e.join("")}computeUrl(){const{originWidth:t,originHeight:e,data:o}=this,r=Object(i["a"])(o,"image_url.value",""),n=Object(l["a"])(Object(i["a"])(o,"image_size.value","")),a=this.isLowQuality?750:1500,c=Math.min(a,t),s=c*(e/t);let d=Object(i["a"])(o,"image_appearance.value","");if(d)try{d=JSON.parse(d)}catch(h){console.error(h)}const u=Object(i["a"])(o,"image_crop.value",""),p={height:s,width:c,originH:e,originW:t,...u?{imageCrop:u}:{},...d?{imageAppearance:d}:{}};if(s<16384&&n<20971520){const{url:t,smallImageUrl:e,previewUrl:o}=C.addOssSuffix(r,c,this.isLowQuality,p,this.encodedUserId);this.computedUrl=t,this.computedSmallImageUrl=e,this.computedPreviewUrl=o}else this.computedUrl=r,this.computedSmallImageUrl="",this.computedPreviewUrl=r}static getRecordOssWatermarkType(t,e){const o={isWatermarkReocrdImg:(null===e||void 0===e?void 0:e.original_image_url)&&(null===e||void 0===e?void 0:e.original_image_url)!==(null===e||void 0===e?void 0:e.url)||(null===e||void 0===e?void 0:e.old_url)&&(null===e||void 0===e?void 0:e.old_url)!==(null===e||void 0===e?void 0:e.url),watermarkStyleType:Number(null===e||void 0===e?void 0:e.watermark_style_type)};return this.ossWatermarkType(t,o)}static isMobile(){var t;if("undefined"===typeof window)return!1;const e=((null===(t=navigator)||void 0===t?void 0:t.userAgent)||"").toLowerCase(),o=/(iphone|ipod|android|ios|ipad|blackberry|iemobile|opera mini|webos|ucweb|windows phone)/i;return o.test(e)}static getFormatParam(t){const{isGif:e,defaultFormat:o=""}=t;return this.supportsWebPSync()&&!e&&this.isMobile()?"format,webp":o}static supportsWebPSync(){if(null!==g)return g;try{if("undefined"!==typeof wx&&"function"===typeof wx.getSystemInfoSync)return g=!0,g;if("undefined"!==typeof document&&"function"===typeof document.createElement){const t=document.createElement("canvas");return g=(null===t||void 0===t?void 0:t.toDataURL)&&0===t.toDataURL("image/webp").indexOf("data:image/webp"),g}return g=!1,g}catch(t){return g=!1,g}}}e["b"]=C},"7bc7":function(t,e,o){"use strict";o.d(e,"d",(function(){return q})),o.d(e,"a",(function(){return g})),o.d(e,"b",(function(){return f})),o.d(e,"e",(function(){return P})),o.d(e,"f",(function(){return B})),o.d(e,"c",(function(){return U}));var r=o("08f7"),n=o("dfe4");var i=o("76a4"),a=o("300c"),c=o("269b"),s=o("0be6");const l=t=>{if(t<=0)return"";const e=Math.floor(t/86400),o=t%86400,r=Math.floor(o/3600),n=o%3600,i=Math.floor(n/60),a=t%60,c=[];return e>0&&c.push(e+"天"),r>0&&c.push(r+"小时"),i>0&&c.push(i+"分"),a>0&&c.push(a+"秒"),c.join("")},d=t=>{if(t<=0)return"";const e=Math.floor(t),o=Math.floor(t/60),r=Math.floor(t/3600),n=Math.floor(t/86400);return e<60?e+"秒":o<60?o+"分钟":r<24?r+"小时":n+"天"},u=t=>{if(t<=0)return"";const e=Math.floor(t);return e<60?"second":""},p=t=>{if(!t)return null;const e=t.replace(/^严重超期/,"");return e.endsWith("秒")?"second":e.endsWith("分钟")?"minute":e.endsWith("小时")?"hour":e.endsWith("天")?"day":null},h=t=>{switch(t){case"second":return 1e3;case"minute":return 6e4;case"hour":return 36e5;case"day":return 864e5;default:return 1e3}},_={INIT:"init",PROCESS:"process",NEAR_END:"near_end",FINISH:"finish",EXPIRED_FINISH:"expired_finish",SERIOUS_EXPIRED_FINISH:"serious_expired_finish",EXPIRED_UNFINISH:"expired_unfinish",SERIOUS_EXPIRED_UNFINISH:"serious_expired_unfinish",NEAR_END_FINISH:"near_end_finish",NO_NEED_EXECUTE:"no_need_execute",SKIP:"skip"};var m=o("6b40");class g{constructor(){this.timer=null,this.updateCallback=null,this.onEndCallback=null,this.endTime=0}start(t,e,o){if(!t)return;this.stop(),this.endTime=t,this.updateCallback=e,this.onEndCallback=o||null,this.update();const r=1e3;this.timer=setInterval(()=>{this.update()},r)}update(){if(!this.updateCallback)return;const t=Math.floor(Date.now()/1e3);if(t>=this.endTime){const t=this.onEndCallback;return this.updateCallback(""),this.stop(),void(t&&t())}const e=this.endTime-t,o=l(e)+"后截止";this.updateCallback(o)}stop(){this.timer&&(clearInterval(this.timer),this.timer=null),this.updateCallback=null,this.onEndCallback=null}isRunning(){return null!==this.timer}}class f{constructor(){this.timer=null,this.updateCallback=null,this.startTime=0,this.executeStatus=_.INIT,this.unit="hour"}start(t,e,o,r,n){if(!t||!e)return;if(this.stop(),this.startTime=e,this.unit=o||"",this.executeStatus=r,this.updateCallback=n,"second"!==o)return void this.update();const i=p(t);if(!i)return;const a=h(i);this.update(),this.timer=setInterval(()=>{this.update()},a)}update(){if(!this.updateCallback)return;const t=Math.floor(Date.now()/1e3);if(t`${e}${b[t]||"日"}`,y=(t,e)=>`${O(t)}${e}次`,v=t=>{"workday"===t&&(t="day");const e=Object(i["a"])(["day","year"],t)?"今":"本";return O(t,e)},C=t=>{"workday"===t&&(t="day");let e=Object(i["a"])(["day","year"],t)?"明":"下";return"month"===t&&(e+="个"),O(t,e)},w=(t,e="cycle_task_data.plan_data.cycle_config")=>{const o=Object(r["a"])(t,e,{});return y(o.cycle_type,o.cycle_count)},E={[_.INIT]:"未开始",[_.FINISH]:"按期完成",[_.PROCESS]:"进行中",[_.NEAR_END]:"即将超期",[_.EXPIRED_FINISH]:"超期完成",[_.SERIOUS_EXPIRED_FINISH]:"严重超期完成",[_.EXPIRED_UNFINISH]:"超期未完成",[_.SERIOUS_EXPIRED_UNFINISH]:"严重超期未完成",[_.NO_NEED_EXECUTE]:"无需完成",[_.SKIP]:"无需完成"},j=t=>{const e=["周日","周一","周二","周三","周四","周五","周六"];return e[t.getDay()]},T=(t,e="最后一")=>"last"===t?e:String(t),I=t=>{if(!t)return 0;if("number"===typeof t)return t;if("string"===typeof t){const e=t.trim();if(e){const t=new Date(e.replace(/-/g,"/"));if(!Number.isNaN(t.getTime()))return Math.floor(t.getTime()/1e3)}}return 0},A=t=>{if(!t)return"";const e=new Date(1e3*t),o=String(e.getHours()).padStart(2,"0"),r=String(e.getMinutes()).padStart(2,"0");return`${o}:${r}`},R=t=>{if(!t)return"";const e=new Date(t.replace(/-/g,"/"));if(Number.isNaN(e.getTime()))return t;const o=new Date,r=new Date(o.getFullYear(),o.getMonth(),o.getDate()),n=new Date(r);n.setDate(n.getDate()-1);const i=new Date(e.getFullYear(),e.getMonth(),e.getDate()),a=String(e.getHours()).padStart(2,"0"),c=String(e.getMinutes()).padStart(2,"0"),s=`${a}:${c}`;if(i.getTime()===r.getTime())return"今日"+s;if(i.getTime()===n.getTime())return"昨日"+s;const l=e.getMonth()+1,d=e.getDate();return e.getFullYear()===o.getFullYear()?`${l}月${d}日 ${s}`:`${e.getFullYear()}年${l}月${d}日 ${s}`},S=[{value:1,label:"周一"},{value:2,label:"周二"},{value:3,label:"周三"},{value:4,label:"周四"},{value:5,label:"周五"},{value:6,label:"周六"},{value:0,label:"周日"}],L=t=>{var e;return(null===(e=Object(a["a"])(S,e=>e.value===t))||void 0===e?void 0:e.label)||""},x=t=>new Date(t.getFullYear(),t.getMonth()+1,0).getDate(),D=(t,e,o=!1)=>{const{start:r,end:n}=t||{},{day:i,month:a,time:c,weekday:s}=r||{},{day:l,month:d,time:u,weekday:p}=n||{},h=new Date;if("week"===e){const t=s===p;return t?`${L(s)} ${c}-${u}`:`${L(s)} ${c}-${L(p)} ${u}`}if("month"===e){const t=i===l,e=o?h.getMonth()+1:"",r=e?e+"月":"",n=o?String(x(h)):void 0;return t?`${r}${T(i,n)}日 ${c}-${u}`:`${r}${T(i,n)}日 ${c}-${r}${T(l,n)}日 ${u}`}if("year"===e){const t=a===d,e=i===l;return t&&e?`${a}月${i}日 ${c}-${u}`:`${a}月${i}日 ${c}-${d}月${l}日 ${u}`}return`${c} - ${u}`},M=(t,e,o,r,n="请在",i="前完成",a="完成")=>{if(!o||!r)return"";const c=new Date(1e3*o),s=new Date(1e3*r),l=c.getFullYear(),d=c.getMonth()+1,u=c.getDate(),p=s.getFullYear(),h=s.getMonth()+1,_=s.getDate(),m=A(o),g=A(r);if(e){const e={day:""+g,workday:""+g,week:`${j(s)} ${g}`,month:`${h}月${_}日 ${g}`,year:`${h}月${_}日 ${g}`},o=e[t]||`${h}月${_}日 ${g}`;return`${n}${o}${i}`}const f=u===_&&d===h,b=f?`${j(c)} ${m}-${g}`:`${j(c)} ${m}-${j(s)} ${g}`,O=f?`${d}月${u}日 ${m}-${g}`:`${d}月${u}日-${h}月${_}日`,y=l===p&&f?`${d}月${u}日 ${m}-${g}`:`${d}月${u}日-${h}月${_}日`,v={day:`${m}-${g}`,workday:`${m}-${g}`,week:b,month:O,year:y},C=v[t]||`${d}月${u}日${m}-${h}月${_}日${g}`;return`${n}${C}${a}`},N=t=>({[_.NO_NEED_EXECUTE]:"no-need-execute-item",[_.INIT]:"not-start-item",[_.PROCESS]:"process-item",[_.NEAR_END]:"near-end-item",[_.FINISH]:"in-time-finished-item",[_.EXPIRED_FINISH]:"expired-time-finished-item",[_.SERIOUS_EXPIRED_FINISH]:"serious-expired-time-finished-item",[_.EXPIRED_UNFINISH]:"expire-time-item",[_.SERIOUS_EXPIRED_UNFINISH]:"serious-expire-time-item",[_.SKIP]:"skip-item"}[t]||""),k=t=>{const e=Object(i["a"])([_.FINISH,_.EXPIRED_FINISH,_.SERIOUS_EXPIRED_FINISH],t),o=Object(i["a"])([_.PROCESS,_.NEAR_END,_.EXPIRED_UNFINISH,_.SERIOUS_EXPIRED_UNFINISH],t);return{isFinish:e,hasDot:o,panelClass:N(t),statusText:E[t]||""}},H=t=>{const e=Object(i["a"])([_.FINISH,_.EXPIRED_FINISH,_.SERIOUS_EXPIRED_FINISH],t),o=Object(i["a"])([_.EXPIRED_UNFINISH,_.SERIOUS_EXPIRED_UNFINISH],t);let r="";if(e)r="anticon-cli-check-o status-green";else if(o){const e=t===_.SERIOUS_EXPIRED_UNFINISH?"status-serious-red":"status-red";r="anticon-cli-close-o "+e}return{hasIcon:e||o,unFinish:o,iconClass:r,panelClass:N(t),statusText:E[t]||""}},q=t=>{const e="running"===Object(r["a"])(t,"cycle_task_data.plan_data.execute_status"),o=Object(r["a"])(t,"cycle_task_data.plan_data.cycle_config.cycle_type","day"),p=Object(r["a"])(t,"cycle_task_data.cycle_lastest_end_time",""),h=I(p);if(!e)return{hasPeriodTask:!1};const m=Object(r["a"])(t,"cycle_task_data.need_show_cycle_time_uuid",""),g=Object(r["a"])(t,"cycle_task_data.plan_data.cycle_config.cycle_time_list",[]),f=Object(r["a"])(t,"cycle_task_data.cycle_task_datas",[]),b=(t,{cycleTimeItem:e,currentTime:n,isRunning:a})=>{var s,p;const h=Object(r["a"])(t,"execute_time",""),m=R(h),g=Object(r["a"])(t,"start_time",""),f=I(g),b=Object(r["a"])(t,"end_time",""),O=I(b),y=Object(r["a"])(t,"execute_status",_.INIT),v=y===_.NEAR_END,C=l(O-n),w=v&&C?C+"后截止":"";let E="",j="";if(Object(i["a"])([_.EXPIRED_UNFINISH,_.SERIOUS_EXPIRED_UNFINISH],y)){const t=y===_.SERIOUS_EXPIRED_UNFINISH,e=n>O?n-O:0;E=`${t?"严重":""}超期${d(e)}`,j=u(e)}const T=Object(c["a"])(null===t||void 0===t?void 0:t.record_data,["wx_work_msg","recorder_member_name","recorder"]),A=Object(c["a"])(null===t||void 0===t?void 0:t.record_data,["record_id","record_token","org_id"]),S=k(y),L=H(y),x=!S.isFinish&&!Object(i["a"])([_.INIT,_.NO_NEED_EXECUTE,_.SKIP],y),N=M(o,x,f,O),q=Object(c["a"])(t,["id","cycle_task_id","task_instance_id","org_id","record_tpl_id"]),P=null===t||void 0===t||null===(s=t.task_context_data)||void 0===s?void 0:s.is_first_apply_rule,B=(null===t||void 0===t||null===(p=t.task_context_data)||void 0===p?void 0:p.auto_reason)||"",U=D(e,o,!0);return{simpleTaskInfo:q,isFirstApplyRule:P,autoReason:B,isRunning:a,executeStatus:y,isTaskFillable:x,...S,...L,taskTime:U,timeDesc:N,countdownStr:w,nearTaskEndTime:w?O:0,expiredHoursStr:E,expiredStartTime:E?O:0,expiredUnit:j,recordData:A,recorder:T,formattedExecuteTime:m}},y=Math.floor(Date.now()/1e3),E=Object(n["a"])(g,t=>{const e=Object(r["a"])(t,"time_uuid",""),n=Object(r["a"])(t,"create_time",""),i=R(n),c=Object(a["a"])(f,t=>t.cycle_time_uuid===e),s=m===e,l=D(t,o,!0);if(!c){const t=_.NO_NEED_EXECUTE;return{isRunning:s,createTime:i,executeStatus:t,isTaskFillable:!1,...k(t),taskTime:l}}return b(c,{cycleTimeItem:t,currentTime:y,isRunning:s})}),j=1===E.length,T=j?0:Object(s["a"])(E,t=>t.isRunning),A=E[T],S=E[E.length-1],L=S&&(S.isFinish||S.executeStatus===_.NO_NEED_EXECUTE||S.executeStatus===_.SKIP),x=E.length>0&&(y>h||L);return{hasPeriodTask:!0,currentTaskUnitText:v(o),nextTaskUnitText:C(o),frequencyUnitText:O(o),frequency:w(t),isSingleTask:j,taskNumber:T+1,task:A,tasks:E,runningTasksCount:f.length,isAllDone:x}},P=t=>{var e;return"running"===(null===t||void 0===t||null===(e=t.cycle_task_config)||void 0===e?void 0:e.execute_status)},B=t=>{var e,o;return"running"===(null===t||void 0===t||null===(e=t.cycle_task_data)||void 0===e||null===(o=e.plan_data)||void 0===o?void 0:o.execute_status)},U=(t,e)=>t===m["h"].Expand&&1===e.length&&P(e[0])?m["h"].BlockList:t},"7e5f":function(t,e,o){"use strict";var r=o("a607"),n=o("e9b6");const i=(t,e,o)=>{switch(t){case"0":return e/o;case"7":return 375/812;case"1":return 1;case"2":return 1;case"3":return 3/4;case"4":return 4/3;case"5":return 9/16;case"6":return 16/9;default:return 1}};function a(t,e,o,r=500,n=500){let i,a,c=t,s=e;(t>r||e>n||tr/n?(c=r,s=Math.round(r*(e/t))):(s=n,c=Math.round(n*(t/e)))),c/s>o?(a=s,i=Math.round(o*s)):(i=c,a=Math.round(c/o));const l=Number(Math.min(t/c,e/s).toFixed(2));return{dispW:c,dispH:s,cropW:i,cropH:a,scale:l}}const c=t=>(Object(r["a"])(t,t=>{var e;Object(r["a"])(null!==(e=null===t||void 0===t?void 0:t.attribute_list)&&void 0!==e?e:[],t=>{var e,o,r,c,s;let l=null!==(e=null===t||void 0===t||null===(o=t.image_appearance)||void 0===o?void 0:o.value)&&void 0!==e?e:"";const d=null!==(r=null===t||void 0===t||null===(c=t.image_crop)||void 0===c?void 0:c.value)&&void 0!==r?r:"";l&&(l=JSON.parse(l));const{shape:u}=l||{};let p="";const h=null===t||void 0===t||null===(s=t.image_url)||void 0===s?void 0:s.value,_="https://static.clewm.net/cli/images/mina-cli/mina_loading.gif";if(u&&u!==n["b"].ORIGINAL&&!d&&h!==_){var m,g;const e=null===t||void 0===t||null===(m=t.image_width)||void 0===m?void 0:m.value,o=null===t||void 0===t||null===(g=t.image_height)||void 0===g?void 0:g.value,r=i(u,e,o),{cropW:n,cropH:c,scale:s}=a(e,o,r),l={x:0,y:0,width:n,height:c,scale:s};p=JSON.stringify(l),t.image_crop.value=p}})}),t),s=t=>{if(!t)return t;try{var e,o,r,n;const i=null!==(e=null===t||void 0===t?void 0:t.qrcode_top_component)&&void 0!==e?e:[],a=null!==(o=null===t||void 0===t?void 0:t.qrcode_compontent)&&void 0!==o?o:[],s=i.filter(t=>"image"===t.component_code),l=a.filter(t=>"image"===t.component_code);return c(s),c(l),null!==t&&void 0!==t&&null!==(r=t.qrcode_msg)&&void 0!==r&&r.qrcode_top_component&&(t.qrcode_msg.qrcode_top_component=null===t||void 0===t?void 0:t.qrcode_top_component),null!==t&&void 0!==t&&null!==(n=t.qrcode_msg)&&void 0!==n&&n.qrcode_compontent&&(t.qrcode_msg.qrcode_compontent=null===t||void 0===t?void 0:t.qrcode_compontent),t}catch(i){return t}};e["a"]=s},8033:function(t,e,o){o("d9e2");var r=function(t){function e(r){if(o[r])return o[r].exports;var n=o[r]={exports:{},id:r,loaded:!1};return t[r].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var o={};return e.m=t,e.c=o,e.p="",e(0)}([function(t,e,o){"use strict";function r(){return this instanceof r==0?new r:void(this._={})}function n(t){return Math.max(Math.min(t,100),0)}function i(t){return Math.max(Math.min(t,255),0)}function a(t,e,o){return[Math.max(Math.min(t,255),0),Math.max(Math.min(e,255),0),Math.max(Math.min(o,255),0)]}function c(t,e,o){return[Math.max(Math.min(t,360),0),Math.max(Math.min(e,100),0),Math.max(Math.min(o,100),0)]}var s=o(1);r.fromHex=function(t){return(new r).fromHex(t)},r.fromGrayscale=function(t){return(new r).fromGrayscale(t)},r.fromRgb=function(t,e,o){return(new r).fromRgb(t,e,o)},r.fromRgbArray=function(t){return(new r).fromRgb(t[0],t[1],t[2])},r.fromRgbObject=function(t){return(new r).fromRgb(t.r,t.g,t.b)},r.fromHsl=function(t,e,o){return(new r).fromHsl(t,e,o)},r.fromHslArray=function(t){return(new r).fromHsl(t[0],t[1],t[2])},r.fromHslObject=function(t){return(new r).fromHsl(t.h,t.s,t.l)},r.fromHsv=function(t,e,o){return(new r).fromHsv(t,e,o)},r.fromHsvArray=function(t){return(new r).fromHsv(t[0],t[1],t[2])},r.fromHsvObject=function(t){return(new r).fromHsv(t.h,t.s,t.v)},r.prototype.fromHex=function(t){var e=s.hex.rgb(t);return this._={rgb:e},this},r.prototype.fromGrayscale=function(t){t=i(t);var e=s.grayscale.rgb(t);return this._={rgb:e},this},r.prototype.fromRgb=function(t,e,o){if("number"!=typeof t||"number"!=typeof e||"number"!=typeof o)throw new Error("Arguments must be numbers");var r=a(t,e,o);return this._={rgb:r},this},r.prototype.fromRgbArray=function(t){return this.fromRgb(t[0],t[1],t[2])},r.prototype.fromRgbObject=function(t){return this.fromRgb(t.r,t.g,t.b)},r.prototype.fromHsl=function(t,e,o){if("number"!=typeof t||"number"!=typeof e||"number"!=typeof o)throw new Error("Arguments must be numbers");return this._={hsl:c(t,e,o)},this},r.prototype.fromHslArray=function(t){return this.fromHsl(t[0],t[1],t[2])},r.prototype.fromHslObject=function(t){return this.fromHsl(t.h,t.s,t.l)},r.prototype.fromHsv=function(t,e,o){if("number"!=typeof t||"number"!=typeof e||"number"!=typeof o)throw new Error("Arguments must be numbers");return this._={hsv:c(t,e,o)},this},r.prototype.fromHsvArray=function(t){return this.fromHsv(t[0],t[1],t[2])},r.prototype.fromHsvObject=function(t){return this.fromHsv(t.h,t.s,t.v)},r.prototype.toHex=function(){var t=this._.hex;if(void 0!==t)return t;var e,o=this._.rgb;e=void 0!==o?o:this.toRawRgbArray(),e[0]=Math.round(e[0]),e[1]=Math.round(e[1]),e[2]=Math.round(e[2]);var r=s.rgb.hex(e);return this._.hex=r,r},r.prototype.toGrayscale=function(){var t=this._.grayscale;if(void 0!==t)return t;var e,o=this._.rgb;e=void 0!==o?o:this.toRawRgbArray();var r=s.rgb.grayscale(e);return this._.grayscale=r,r},r.prototype.toRawRgbArray=function(){var t,e=this._.rgb;if(void 0!==e)return e;if(void 0!==(t=this._.hsv))t=s.hsv.rgb(t);else{if(void 0===(t=this._.hsl))throw new Error("No data to convert");t=s.hsl.rgb(t)}return this._.rgb=t,t},r.prototype.toRawRgbObject=function(){var t=this.toRawRgbArray();return{r:t[0],g:t[1],b:t[2]}},r.prototype.toRgbArray=function(){var t=this.toRawRgbArray();return[Math.round(t[0]),Math.round(t[1]),Math.round(t[2])]},r.prototype.toRgbObject=function(){var t=this.toRgbArray();return{r:t[0],g:t[1],b:t[2]}},r.prototype.toRawHslArray=function(){var t,e=this._.hsl;if(void 0!==e)return e;if(void 0!==(t=this._.hsv))t=s.hsv.hsl(t);else{if(void 0===(t=this._.rgb))throw new Error("No data to convert");t=s.rgb.hsl(t)}return this._.hsl=t,t},r.prototype.toRawHslObject=function(){var t=this.toRawHslArray();return{h:t[0],s:t[1],l:t[2]}},r.prototype.toHslArray=function(){var t=this.toRawHslArray();return[Math.round(t[0]),Math.round(t[1]),Math.round(t[2])]},r.prototype.toHslObject=function(){var t=this.toHslArray();return{h:t[0],s:t[1],l:t[2]}},r.prototype.toRawHsvArray=function(){var t,e=this._.hsv;if(void 0!==e)return e;if(void 0!==(t=this._.hsl))t=s.hsl.hsv(t);else{if(void 0===(t=this._.rgb))throw new Error("No data to convert");t=s.rgb.hsv(t)}return this._.hsv=t,t},r.prototype.toRawHsvObject=function(){var t=this.toRawHsvArray();return{h:t[0],s:t[1],v:t[2]}},r.prototype.toHsvArray=function(){var t=this.toRawHsvArray();return[Math.round(t[0]),Math.round(t[1]),Math.round(t[2])]},r.prototype.toHsvObject=function(){var t=this.toHsvArray();return{h:t[0],s:t[1],v:t[2]}},r.prototype.lighten=function(t){var e=this.toRawHslArray();return e[2]=n(e[2]+t),this._={hsl:e},this},r.prototype.darken=function(t){var e=this.toRawHslArray();return e[2]=n(e[2]-t),this._={hsl:e},this},r.prototype.clone=function(){var t=new r;return t._.hex=this._.hex,t._.grayscale=this._.grayscale,void 0!==this._.rgb&&(t._.rgb=this._.rgb.slice(0)),void 0!==this._.hsv&&(t._.hsv=this._.hsv.slice(0)),void 0!==this._.hsl&&(t._.hsl=this._.hsl.slice(0)),t},t.exports=r},function(t,e){"use strict";function o(t){return 58>t?t-48:71>t?t-55:t-87}function r(t){var e="#"===t[0]?1:0,r=t.length;if(3>r-e)throw new Error("hex input must be at least three chars long");var n,i,a,c=o(t.charCodeAt(0+e)),s=o(t.charCodeAt(1+e)),l=o(t.charCodeAt(2+e));if(r-e>=6?(n=(c<<4)+s,i=(l<<4)+o(t.charCodeAt(3+e)),a=(o(t.charCodeAt(4+e))<<4)+o(t.charCodeAt(5+e))):(n=(c<<4)+c,i=(s<<4)+s,a=(l<<4)+l),0>n||n>255||0>i||i>255||0>a||a>255)throw new Error("hex input is invalid");return[n,i,a]}function n(t){return"#"+("000000"+((t[0]<<16)+(t[1]<<8)+t[2]).toString(16)).slice(-6)}function i(t){var e,o,r,n=t[0]/255,i=t[1]/255,a=t[2]/255,c=Math.min(n,i,a),s=Math.max(n,i,a),l=s-c;return s===c?e=0:n===s?e=(i-a)/l:i===s?e=2+(a-n)/l:a===s&&(e=4+(n-i)/l),e=Math.min(60*e,360),0>e&&(e+=360),r=(c+s)/2,o=s===c?0:.5>=r?l/(s+c):l/(2-s-c),[e,100*o,100*r]}function a(t){var e,o,r,n=t[0],i=t[1],a=t[2],c=Math.min(n,i,a),s=Math.max(n,i,a),l=s-c;return o=0===s?0:l/s*100,s===c?e=0:n===s?e=(i-a)/l:i===s?e=2+(a-n)/l:a===s&&(e=4+(n-i)/l),e=Math.min(60*e,360),0>e&&(e+=360),r=s/255*100,[e,o,r]}function c(t){var e,o,r,n=t[0]/360,i=t[1]/100,a=t[2]/100;if(0===i)e=o=r=a;else{var c,s=.5>a?a*(i+1):a+i-a*i,l=2*a-s;c=n+1/3,0>c?c+=1:c>1&&(c-=1),e=1/6>c?l+(s-l)*c*6:.5>c?s:2/3>c?l+(s-l)*(2/3-c)*6:l,c=n,0>c?c+=1:c>1&&(c-=1),o=1/6>c?l+(s-l)*c*6:.5>c?s:2/3>c?l+(s-l)*(2/3-c)*6:l,c=n-1/3,0>c?c+=1:c>1&&(c-=1),r=1/6>c?l+(s-l)*c*6:.5>c?s:2/3>c?l+(s-l)*(2/3-c)*6:l}return[255*e,255*o,255*r]}function s(t){var e,o,r=t[0],n=t[1]/100,i=t[2]/100;return 0===n?[r,0,100*i]:0===i?[r,0,0]:(i*=2,n*=1>=i?i:2-i,o=(i+n)/2,e=2*n/(i+n),[r,100*e,100*o])}function l(t){var e=t[0]/60,o=t[1]/100,r=t[2]/100,n=Math.floor(e)%6,i=e-Math.floor(e),a=255*r*(1-o),c=255*r*(1-o*i),s=255*r*(1-o*(1-i));switch(r*=255,n){case 0:return[r,s,a];case 1:return[c,r,a];case 2:return[a,r,s];case 3:return[a,c,r];case 4:return[s,a,r];case 5:return[r,a,c]}}function d(t){var e,o,r=t[0],n=t[1]/100,i=t[2]/100;return 0===n?[r,0,100*i]:0===i?[r,0,0]:(o=(2-n)*i,e=n*i,e/=1>=o?o:2-o,o/=2,[r,100*e,100*o])}function u(t){return[t,t,t]}function p(t){return(299*t[0]+587*t[1]+114*t[2])/1e3}t.exports={grayscale:{rgb:u},hex:{rgb:r},rgb:{hsl:i,hsv:a,hex:n,grayscale:p},hsl:{rgb:c,hsv:s},hsv:{rgb:l,hsl:d}}}]);t.exports=r},8262:function(t,e,o){"use strict";var r=o("f1d0"),n=o("1894");e["a"]=({project:t,computedDpr:e,originWindowWidth:o})=>{let i=o;return t===r["k"].MPCLI&&Object(n["a"])()&&(i=o/e),i}},"85f5":function(t,e,o){"use strict";e["a"]=t=>t?Object.keys(t):[]},"87f6":function(t,e,o){"use strict";o.d(e,"c",(function(){return s})),o.d(e,"b",(function(){return l})),o.d(e,"a",(function(){return d}));var r=o("76a4"),n=o("6260"),i=o("0cbb"),a=o("d197");const c=["/qrcode/getQrcodeMsg","/record/getTpls","/state/getTargetStateMsgByQrcodeIds","/operation/getQrcodeOperation","/template_qrcode/getChildrenListStyleColumn","/recordTpl/getCodeTplList","/qrcode/getQrcodeBaseSetting","/record/getTplDesc","/record/getDesc","/state/getStateMsg","/qrcoderoute/qrcodeRouteNew","/qrcoderoute/getQrcodeRecordEntrance","/qrcoderoute/getQrcodeProperties","/record/getRecordTpl","/record/getTplDescAssCode","/state/getTargetStateMsg","/state/getStateMsg","/operation/getQrcodeOperationByQrcodeRoute","/record/editTpl","/qrcode/setQrcodeRecord","/state/setStateMsg","/state/operateTargetStateMsg","/dataAuth/operateDataAuthSetting","/operation/setQrcodeOperation","/template_qrcode/transferMaster","/template_qrcode/editMasterFromExternal","/template_qrcode/editMasterFromExternalNew","/qrstyle/getCodeStyle","/operation/copyQrcodeOperation","/template_qrcode/downLoadTemplateTplExcel","/template_qrcode/getChildrenListStyleColumnForSpread","/template_qrcode/getTemplateSpreadMapMsg","/qrcode/getChildrenQrcodeRecordList","/template_qrcode/createChild","/dataAuth/getDataAuthSetInfo","/qrcode/operateQrcodeMsg","/qrcode/operateQrcodeMsgNew","/state/getStateSet","/recordTpl/getRecordTplScanData","/state/batchOperateStateSet","/category/getSummaryQrcodeList","/record/previewTplForQrcodeExport","/template_qrcode/getMasterFormLog","/template_qrcode/getMasterMeta","/template_qrcode/getChildQrcodeMsg"],s=t=>Object(r["a"])(c,t),l=(t,e,o,r="package_id")=>{let a=null;return a="boolean"===typeof t?t:t(),!(!a||!Object(n["a"])(e)&&!Object(i["a"])(e))&&(o[r]=e,!0)},d=t=>{if(!t)return{};const e=t.split("/");let o=0;if(e.length&&-1!==e[e.length-1].indexOf("render_")){const t=e.pop();o=t===a["M"].RENDER_CHILD?a["L"].Child:t===a["M"].RENDER_QRCODE?a["L"].Single:a["L"].Temp}return{url:e.join("/"),...o?{renderingMode:o}:{}}}},"8e05":function(t,e,o){"use strict";var r,n,i,a;o.d(e,"b",(function(){return r})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){return i})),o.d(e,"d",(function(){return a})),function(t){t[t["List"]=0]="List",t[t["Expand"]=1]="Expand",t[t["Bottom"]=2]="Bottom",t[t["Hide"]=3]="Hide",t[t["BlockList"]=4]="BlockList",t[t["Grid"]=5]="Grid",t[t["MinimalList"]=6]="MinimalList",t[t["IconList"]=7]="IconList",t[t["CodeBall"]=8]="CodeBall"}(r||(r={})),function(t){t[t["List1"]=1]="List1",t[t["Hide"]=2]="Hide",t[t["List3"]=3]="List3",t[t["TimeLine"]=4]="TimeLine",t[t["UnionList"]=5]="UnionList",t[t["Stats"]=6]="Stats",t[t["ClosedStats"]=7]="ClosedStats"}(n||(n={})),function(t){t[t["Head"]=1]="Head",t[t["Hide"]=2]="Hide",t[t["Body"]=3]="Body"}(i||(i={})),function(t){t[t["Head"]=1]="Head",t[t["BodyBottom"]=2]="BodyBottom",t[t["Hide"]=3]="Hide"}(a||(a={}))},"8f21":function(t,e,o){"use strict";const r="H5_OPEN_ID";var n=o("1f82"),i=o.n(n);class a{constructor(){if(this.id="",a.instance)return a.instance;a.instance=this,this.setID()}setID(){let t=this.getIDFromStorage();t||(t=i.a.parse(i.a.generate()).hexNoDelim,this.setIDToStorage(t)),this.id=t}getIDFromStorage(){return localStorage.getItem(r)||""}setIDToStorage(t){return localStorage.setItem(r,t),t}}a.instance=null;e["a"]=a},"90d9":function(t,e,o){"use strict";o.d(e,"a",(function(){return n})),o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return a}));var r=o("d197");o("76a4");const n={SINGLE:0,OLD_BATCH_TPL:1,OLD_BATCH_CHILD:2,NC_BATCH_CHILD:3,NEW_BATCH_TPL:4,NC_STATIC_CHILD:5,NC_STATIC:5,TEXT_STATIC:6,URL_STATIC:7,WEIXIN_STATIC:8,PLACEHOLDER:9};function i(t){var e;if(!t)return!1;const o=null!==(e=null===t||void 0===t?void 0:t.qrcode_small_type)&&void 0!==e?e:0;return o===r["K"].JUMP}function a(t){var e;if(!t)return!1;const o=null!==(e=null===t||void 0===t?void 0:t.qrcode_small_type)&&void 0!==e?e:0;return o===r["K"].MULTI_URL}},"98b6":function(t,e,o){},"9f5d":function(t,e,o){"use strict";var r=o("131c");o.d(e,"a",(function(){return r["c"]}))},a607:function(t,e,o){"use strict";var r=o("a719");function n(t,e){if(!t||!e)return;const o=Object(r["a"])(t);t={...t};const n=Object.keys(t),{length:i}=n;for(let r=0;r"[object Array]"===Object.prototype.toString.call(t)},a7a1:function(t,e,o){"use strict";o.d(e,"e",(function(){return l})),o.d(e,"l",(function(){return d})),o.d(e,"d",(function(){return h})),o.d(e,"b",(function(){return u})),o.d(e,"f",(function(){return _})),o.d(e,"i",(function(){return m})),o.d(e,"k",(function(){return g})),o.d(e,"h",(function(){return f})),o.d(e,"j",(function(){return b})),o.d(e,"g",(function(){return O})),o.d(e,"c",(function(){return p})),o.d(e,"a",(function(){return y}));var r=o("c760");const{COMPILER_ENV:n}=r["a"],i="exp",a="net",c="com",s="onlineTest",l="online",d=(()=>{const t={[i]:"https://exp-static-develop.clewm.net/cli",[a]:"https://static-develop.clewm.net/cli",[c]:"https://static-test.clewm.net/cli",[s]:"https://static.clewm.net/cli",[l]:"https://static.clewm.net/cli"};return t[n]})(),u=(()=>{const t={[i]:"https://exp-static-develop.clewm.net/cli",[a]:"https://static-develop.clewm.net/cli",[c]:"https://static-test.clewm.net/cli",[s]:"https://preview-static.clewm.net/cli",[l]:"https://preview-static.clewm.net/cli"};return t[n]})(),p=(()=>{const t={[i]:"https://exp-h5.cliim.net/",[a]:"https://h5.cliim.net",[c]:"https://h5.cliim.com",[s]:"https://h5.clewm.net",[l]:"https://h5.clewm.net"};return t[n]})(),h=["jpg","jpeg","png","gif"],_=["dotx","dot","docm","dotm","wps","wpt","pages"],m=["pot","potx","ppsx","pps","pptm","potm","ppsm","dps","dpt","key"],g=["xltx","xlt","xlsb","xla","xlsm","xltm","xlam","et","ett","numbers"],f=["bmp","webp","tif","heic","HEIC"],b=["psd","psb","svg","eps","ai","cdr"],O=["dwg","skp","rvt","obj","rfa","dwf","dxf","step","iges","stl","fbx","ies","dgn"],y=["rar","zip","7z"]},acb3:function(t,e,o){"use strict";var r=o("131c");o.d(e,"a",(function(){return r["S"]}))},b127:function(t,e,o){"use strict";o.d(e,"d",(function(){return s})),o.d(e,"b",(function(){return d})),o.d(e,"a",(function(){return u})),o.d(e,"c",(function(){return p})),o.d(e,"e",(function(){return h}));var r=o("2173"),n=o("131c"),i=o("3c61"),a=o("87f6");const c=(t,e={})=>{for(const[o,r]of Object(n["k"])(e))t=t.replace(":"+o,r);return t};function s(t){return e=>{e.prototype.domain=t}}const l=(t,e,o,s=!1)=>{o=o.toLocaleLowerCase();let l=null;switch(o){case"get":l=r["a"];break;case"post":l=r["c"];break;case"jsonp":l=r["b"];break}return(o,r,d)=>{const u=o[r];d.value=async(...r)=>{let d={},p=await u(...r);Object(a["b"])(Object(a["c"])(t),i["a"].h5QueryString.package_id,p),Object(a["b"])(Object(a["c"])(t),i["a"].h5QueryString.rendering_mode,p,"rendering_mode"),p||(p={});let h={},_={},m=null;Array.isArray(p)?(h=p[0],m=p[1],_=p[2]):h=p,m&&(t=c(t,m));try{const r=`${e||o.domain}${t}`;d=s?navigator.sendBeacon(`${r}?${Object(n["U"])(h)}`):await l(r,h,_)}catch(g){return void(u.onError&&u.onError({e:g,data:h,header:_,path:t}))}return u.onSuccess?await u.onSuccess(d):d}}};function d(t,e=""){return l(t,e,"jsonp")}function u(t,e="",o=!1){return l(t,e,"get",o)}function p(t,e=""){return l(t,e,"post")}function h(t){return(e,o)=>{e[o].onSuccess=t}}},b6f3:function(t,e,o){"use strict";var r=o("a607");function n(t,e){let o=!1;return t&&e?(Object(r["a"])(t,(t,r)=>{if(e(t,r))return o=!0,!1}),o):o}e["a"]=n},b751:function(t,e,o){"use strict";var r=o("d6ad"),n=o("a607"),i=o("76a4"),a=o("5af5"),c=o("e554"),s=o("0cbb");const l={image:"图片",file:"文件",audio:"音频",video:"视频"};e["a"]=({data:t,collapse:e})=>{const o=null===t||void 0===t?void 0:t.tpl_type,d=null===t||void 0===t?void 0:t.sub_target_type;if(13===o||2===d){var u;let c;var p,h,_,m,g,f,b,O,y;if(13===o)c=null!==(p=null!==(h=null===t||void 0===t?void 0:t.textAreaValue)&&void 0!==h?h:null===t||void 0===t||null===(_=t.tpl_groups)||void 0===_||null===(m=_[0])||void 0===m||null===(g=m.fields)||void 0===g||null===(f=g[0])||void 0===f?void 0:f.value)&&void 0!==p?p:"";else c=null!==(b=null===t||void 0===t||null===(O=t.extra_msg)||void 0===O||null===(y=O.log_msg)||void 0===y?void 0:y.operate_msg)&&void 0!==b?b:{};let d;d=Object(s["a"])(c)?Object(a["a"])(c,{}):c;let v="修改了内容",C=0;const{show_multimedia_data:w,from_operation_id:E}=d,j=Object(r["a"])(d.operate_attributes);Object(n["a"])(j,t=>{var e;const{tpl_field_name:o,new_value:r,tpl_field_id:n,operate_type:c}=t,s=3===c,d=Object(i["a"])(["image","file","audio","video"],o);t.isMultimedia=d,t.multimediaName=null!==(e=l[o])&&void 0!==e?e:"";const u=Object(a["a"])(r,[]);"image"===o&&(t.multimediaName=s?t.multimediaName:`${null===u||void 0===u?void 0:u.length}张${t.multimediaName}`),d&&(t.newValue={id:n,value:u})});const T=null!==(u=null===j||void 0===j?void 0:j.length)&&void 0!==u?u:0;if(1===T){const t=j[0],e=null===t||void 0===t?void 0:t.operate_type,o=null===t||void 0===t?void 0:t.isMultimedia,r=null===t||void 0===t?void 0:t.multimediaName;C=e;const n=o?r:"内容";1===e?v="添加了"+n:2===e?v="修改了"+n:3===e?v="删除了"+n:4===e&&(v="操作了"+n)}return{operates:e&&T>2?j.slice(0,1):j,operateSize:T,operateType:C,operateTypeDesc:v,stateOperateType:0,showMultimediaData:w,fromOperationId:E}}if(7===o){var v,C;const e=null===t||void 0===t||null===(v=t.tpl_groups)||void 0===v||null===(C=v[0])||void 0===C?void 0:C.fields;let o;Object(n["a"])(e,t=>{if(Object(c["a"])(t))return o=t.value,!1});const{operate_type:r}=Object(a["a"])(o,{});return{operates:[],operateSize:0,operateType:0,operateTypeDesc:"",stateOperateType:r,showMultimediaData:0}}return{operates:[],operateSize:0,operateType:0,operateTypeDesc:"",stateOperateType:0,showMultimediaData:0}}},be7d:function(t,e,o){"use strict";e["a"]=t=>{let e,o,r;const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let i=0;const a=t.length;let c="";while(i>2),c+=n.charAt((3&e)<<4),c+="==";break}if(o=t.charCodeAt(i++),i===a){c+=n.charAt(e>>2),c+=n.charAt((3&e)<<4|(240&o)>>4),c+=n.charAt((15&o)<<2),c+="=";break}r=t.charCodeAt(i++),c+=n.charAt(e>>2),c+=n.charAt((3&e)<<4|(240&o)>>4),c+=n.charAt((15&o)<<2|(192&r)>>6),c+=n.charAt(63&r)}return c}},c760:function(t,e,o){"use strict";var r=o("07f0");const n="net";Object(r["a"])(n);e["a"]={PROJECT_EVN:n,COMPILER_ENV:Object(r["b"])(),ONLINE:"online"===Object(r["b"])(),SHOW_SCAN_ENTRY_AUTO:!0,_WECHAT:{APPID:{MIDDLE:"wx9ed353c2ad8fda21",CLI:"wx5db79bd23a923e8e"}}}},cb9b:function(t,e,o){"use strict";e["a"]=t=>t!==t},cf1a:function(t,e,o){"use strict";e["a"]=(t,e)=>!(!t||!e)&&Object.prototype.hasOwnProperty.call(t,e)},d197:function(t,e,o){"use strict";o.d(e,"g",(function(){return n})),o.d(e,"h",(function(){return i})),o.d(e,"i",(function(){return a})),o.d(e,"j",(function(){return c})),o.d(e,"O",(function(){return l})),o.d(e,"P",(function(){return d})),o.d(e,"F",(function(){return u})),o.d(e,"G",(function(){return p})),o.d(e,"H",(function(){return h})),o.d(e,"I",(function(){return _})),o.d(e,"o",(function(){return m})),o.d(e,"y",(function(){return g})),o.d(e,"x",(function(){return f})),o.d(e,"c",(function(){return b})),o.d(e,"A",(function(){return O})),o.d(e,"z",(function(){return y})),o.d(e,"r",(function(){return v})),o.d(e,"B",(function(){return C})),o.d(e,"J",(function(){return w})),o.d(e,"V",(function(){return A})),o.d(e,"L",(function(){return R})),o.d(e,"M",(function(){return S})),o.d(e,"l",(function(){return L})),o.d(e,"a",(function(){return x})),o.d(e,"k",(function(){return D})),o.d(e,"C",(function(){return M})),o.d(e,"w",(function(){return N})),o.d(e,"s",(function(){return k})),o.d(e,"Q",(function(){return H})),o.d(e,"m",(function(){return q})),o.d(e,"u",(function(){return P})),o.d(e,"t",(function(){return B})),o.d(e,"n",(function(){return U})),o.d(e,"d",(function(){return F})),o.d(e,"e",(function(){return $})),o.d(e,"v",(function(){return W})),o.d(e,"p",(function(){return G})),o.d(e,"q",(function(){return Q})),o.d(e,"E",(function(){return Y})),o.d(e,"N",(function(){return X})),o.d(e,"f",(function(){return z})),o.d(e,"S",(function(){return V})),o.d(e,"R",(function(){return K})),o.d(e,"U",(function(){return Z})),o.d(e,"T",(function(){return et})),o.d(e,"D",(function(){return ot})),o.d(e,"b",(function(){return rt})),o.d(e,"K",(function(){return it}));var r=o("f1d0");const n=20,i="display_style",a="horizontal_menu",c="sort_type",s="数据审批",l=1617796800,d=1617343200,u="placeholder-wrapper",p="placeholder-icon",h="placeholder-name",_="placeholder-text-wrapper",m=r["c"].ButtonCard,g={"#2D77C7":"#F3F6F9","#C74C49":"#FBF6F6","#DD7E2F":"#FDF6F0","#EBA62F":"#FEF9EF","#1BA04C":"#F1F8F4","#5758C2":"#F2F2F9","#FFFFFF":"#F8F8F8"},f=Object.keys(g),b={Admin:"管理员",Group:"指定身份组或部门",HighGroup:"指定高级成员",Any:"任何人",Password:"输入密码查看",WithinGroup:"所有成员",OutGroup:`开启${s}功能`,WxWork:"企业微信同事",OnlyAdmin:"仅管理员",Member:"指定成员"},O="操作名称",y="前往",v={Head:1,Hide:2,Body:3},C={Head:1,BodyBottom:2,Hide:3},w={HAS:15,NO:16},E={OLD_ACTIVE:{FILE:"file",TEXT:"text",IMG_TEXT:"imgtext",URL:"url",JUMP:"jump",PRO:"pro"},NC:"nc",BATCH_STATIC:"batchstatic",NC_STATIC:"nc_static",NC_NORMAL_STATIC:"nc_normal_static",NC_STATIC_CHILD:"nc_static_child",STATIC:"static"},j=(E.STATIC,E.NC_STATIC,E.NC_NORMAL_STATIC,E.NC_STATIC_CHILD,E.BATCH_STATIC,[E.OLD_ACTIVE.JUMP,E.OLD_ACTIVE.PRO,E.OLD_ACTIVE.URL,E.OLD_ACTIVE.FILE,E.OLD_ACTIVE.TEXT,E.OLD_ACTIVE.IMG_TEXT]),T=(E.NC,{NORMAL:{ACTIVE:0,TEXT:6,URL:7,WEIXIN:8},OLD_BATCH:1,OLD_BATCH_CHILDREN:2,NEW_BATCH:4,NEW_BATCH_CHILDREN:3,NEW_STATIC_BATCH:5}),I=(T.NORMAL.ACTIVE,T.OLD_BATCH,T.NORMAL.TEXT,T.NORMAL.URL,T.NORMAL.WEIXIN,T.NEW_BATCH_CHILDREN,T.NEW_STATIC_BATCH,E.OLD_ACTIVE.FILE,E.OLD_ACTIVE.IMG_TEXT,E.OLD_ACTIVE.TEXT,E.OLD_ACTIVE.URL,E.OLD_ACTIVE.JUMP,E.OLD_ACTIVE.PRO,{ADMIN:1,SUB_ADMIN:2,MEMBER:3,NORMAL_MEMBER:4,DATA_SUB_MEMBER:5}),A=(I.ADMIN,I.SUB_ADMIN,I.MEMBER,I.DATA_SUB_MEMBER,I.MEMBER,I.DATA_SUB_MEMBER,I.SUB_ADMIN,r["h"].IMAGE_STYLE_1,r["h"].IMAGE_STYLE_2,r["f"].IMAGE_STYLE_1,{CODE_FILE:"CODE_FILE",RECORD_NOTARY:"RECORD_NOTARY",CHILD_NOTARY:"CHILD_NOTARY"});var R,S;(function(t){t[t["Temp"]=1]="Temp",t[t["Child"]=2]="Child",t[t["Single"]=3]="Single"})(R||(R={})),function(t){t["RENDER_CHILD"]="render_child",t["RENDER_QRCODE"]="render_qrcode"}(S||(S={}));var L,x,D;(function(t){t[t["LIST"]=0]="LIST",t[t["LIST_CARD"]=1]="LIST_CARD",t[t["LOGO_CARD"]=2]="LOGO_CARD",t[t["AVATAR_CARD"]=3]="AVATAR_CARD",t[t["HOME_CARD"]=4]="HOME_CARD"})(L||(L={})),function(t){t[t["TEXT"]=0]="TEXT",t[t["MAP_CARD"]=1]="MAP_CARD",t[t["SIMPLE_CARD"]=2]="SIMPLE_CARD"}(x||(x={})),function(t){t[t["MAIN_COMPONENT"]=0]="MAIN_COMPONENT",t[t["HEAD_COMPONENT"]=1]="HEAD_COMPONENT",t[t["FIXED_BOTTOM_COMPONENT"]=2]="FIXED_BOTTOM_COMPONENT",t[t["HEAD_RICH_TEXT_COMPONENT"]=3]="HEAD_RICH_TEXT_COMPONENT"}(D||(D={}));var M;(function(t){t["SHORT_LINK"]="short_link"})(M||(M={}));const N={from:"#EDEDED",to:"#F6F6F6",gradientCSS:"linear-gradient(to bottom, #EDEDED 0%, #F6F6F6 100%)"},k={NONE:0,GRADIENT:1,ARC:2,BEVEL:3},H={[k.ARC]:r["b"].CURVED,[k.BEVEL]:r["b"].STRAIGHT},q=k.NONE,P={NONE:0,THEME:1,GAUSSIAN_BLUR:2},B={1:"5px",2:"10px",3:"20px"},U=(P.NONE,P.THEME),F={NONE:0,HORIZONTAL_MOVE:1,SLOW_ZOOM:2,DYNAMIC_FLOAT:3},$={LOOP:1,ONCE:2},W=(F.NONE,$.LOOP,{IMAGE:0,COLOR:1,DYNAMIC:2,VIDEO:3}),G=(W.DYNAMIC,W.VIDEO,W.IMAGE,W.COLOR,{FOG:{config:{blurFactor:.9,zoom:1,speed:1.4}},NET:{config:{points:10,maxDistance:35,spacing:20,showDots:!0,scale:1,scaleMobile:1}},WAVES:{config:{shininess:25,waveHeight:12,waveSpeed:.7,zoom:1.6}},TOPOLOGY:{isP5:!0,config:{}},HALO:{config:{size:3,amplitudeFactor:2.5,xOffset:.13,yOffset:.33}},CELLS:{config:{size:5,speed:1}}}),Q={NONE:0,GRADIENT:1},Y=/0{0,1}1[3|4|5|6|7|8|9][0-9]{9}/,X=["image-tpl9","image-tpl13","navigator-tpl10","navigator-tpl20"],z=["image-tpl1","image-tpl21","title-tpl71","title-tpl52","title-tpl84","title-tpl115","title-tpl110","title-tpl80","image-tpl5","text-tpl94","text-tpl64","title-tpl81","title-tpl7","title-tpl75","title-tpl77","title-tpl104","title-tpl106","title-tpl79","title-tpl3","title-tpl2","title-tpl53","title-tpl1","title-tpl4","title-tpl10","title-tpl66","title-tpl119","text-tpl3","text-tpl15","text-tpl7","text-tpl17","text-tpl18","text-tpl68","text-tpl58","navigator-tpl63","navigator-tpl64","navigator-tpl121","navigator-tpl122","image-tpl25","image-tpl26","image-tpl27","image-tpl6","navigator-tpl13","navigator-tpl60","title-tpl88","text-tpl65","title-tpl100","divider-tpl1","divider-tpl2","divider-tpl5","divider-tpl6","divider-tpl7","navigator-tpl18","navigator-tpl19","navigator-tpl61","navigator-tpl62","title-tpl22","title-tpl82","text-tpl82","text-tpl87","text-tpl21","table-tpl14","previewTable-table-tpl14","divider-tpl24","text-tpl39","title-tpl21","title-tpl73"],V={NONE:0,THEME:1},K=(V.NONE,{NONE:0,GRADIENT:1}),J=(K.GRADIENT,{PARTIAL:0,FULL:1}),Z=J.PARTIAL,tt={LOOP:0,SINGLE:1},et=tt.LOOP;var ot;(function(t){t["CHECK_ITEM"]="checkitem",t["NON_CHECK_ITEM"]="non_checkitem",t["ALL"]="all"})(ot||(ot={}));const rt={[ot.CHECK_ITEM]:"AI会理解图片内容并判断检查项结果",[ot.NON_CHECK_ITEM]:"AI会理解图片内容并自动填表",[ot.ALL]:"AI会理解图片内容并自动填表,判断检查项结果"};var nt,it;(function(t){t[t["Dynamic"]=247]="Dynamic",t[t["Multi"]=248]="Multi"})(nt||(nt={})),function(t){t[t["JUMP"]=1]="JUMP",t[t["MULTI_URL"]=2]="MULTI_URL"}(it||(it={}))},d1b2:function(t,e,o){"use strict";o.d(e,"b",(function(){return p})),o.d(e,"e",(function(){return g})),o.d(e,"c",(function(){return O})),o.d(e,"d",(function(){return v})),o.d(e,"a",(function(){return E}));o("caad");var r=o("acb3"),n=o("08f7"),i=o("a607"),a=o("9f5d"),c=o("de79"),s=o("d197"),l=o("7bc7");const d={List:0,Expand:1,Bottom:2,Hide:3,BlockList:4,NineSquare:5,MinimalList:6,IconList:7},u={Code:0,Open:1,ToClose:2,Remain:3},p={STATE:1,TPL:2,LINK:3,PLACEHOLDER:4,OPERATE:-1},h={HREF:3,TYPE:4,DESC:2,PLACEHOLDER_VALUE:5,PLACEHOLDER_ALL:7},_={[p.STATE]:{name:"状态组",key:"state_id",completeInfo:{type:""}},[p.TPL]:{name:"表单",key:"tpl_id",completeInfo:{type:"tplEdit"}},[p.LINK]:{name:"链接",key:""},[p.OPERATE]:{}},m={btnBgColor:"#fff",btnBorderColor:"#576B95",btnColor:"#576B95",listBgColor:"#f8f8f8"},g=t=>s["x"].includes(t)&&"#FFFFFF"!==t?{btnColor:"#fff",btnBgColor:t,btnBorderColor:t,listBgColor:s["y"][t]}:m,f=t=>{const e=Object(n["a"])(t,"operation_msg.element_list.0.options");let o=null;return Object(i["a"])(e,t=>{if(3===t.option_type)return o=t,!1}),Object(n["a"])(o,"option_value","")},b=t=>{const e=Object(n["a"])(t,"operation_msg.element_list.0.options");let o=null;return Object(i["a"])(e,t=>{if(7===t.option_type)return o=t,!1}),"1"===Object(n["a"])(o,"option_value","")?[{id:"all"}]:(o=null,Object(i["a"])(e,t=>{if(5===t.option_type)return o=t,!1}),Object(n["a"])(o,"option_value",""))},O=t=>{const e=Object(n["a"])(t,"operation_msg.element_list.0"),o=Object(n["a"])(e,"element_type");if(3===o)return!f(t);if(4===o)return!b(t);const r=Object(n["a"])(e,"element_value");return!o||!r},y=(t,e=!0)=>{var o;let r,n={};var i,a,c,s,l;e?r=null===t||void 0===t||null===(i=t.tpl_record)||void 0===i||null===(a=i.add_record_limit_result)||void 0===a||null===(c=a.state)||void 0===c?void 0:c[0]:r=null===t||void 0===t||null===(s=t.add_record_limit_result)||void 0===s||null===(l=s.state)||void 0===l?void 0:l[0];if(!r)return n;const{action_mode:d,state_record:u,state_option_record:p}=(null===(o=r)||void 0===o?void 0:o.limit_config)||{};return n={stateOptionText:null===p||void 0===p?void 0:p.text,stateText:null===u||void 0===u?void 0:u.name,actionModeText:"disable"===d?"不可填写":"才能填写",isStateLimit:!0},n},v=t=>{var e;const{$customLimit:o}=t,{bgcolor:r}=t.operation_msg,{btnBgColor:n,btnBorderColor:i,btnColor:a,listBgColor:c}=g(r),s=null===(e=t.operation_msg.element_list)||void 0===e?void 0:e[0],l=y(t);return{item:{buttonText:t.operation_msg.button_text,name:t.operation_msg.title,remark:t.operation_msg.subtitle,$customLimit:o,isEmptyContent:O(t),operateId:t.operation_id,elementType:null===s||void 0===s?void 0:s.element_type,elementValue:null===s||void 0===s?void 0:s.element_value,stateLimitInfo:l,isStateLimit:null===l||void 0===l?void 0:l.isStateLimit},customColor:{btnBgColor:n,btnBorderColor:i,btnColor:a,listBgColor:c}}},C=t=>Object(l["d"])(t),w=t=>Object(n["a"])(t,"operation_msg.element_list");class E{constructor(){this.callbacks=[],this.qrCodeId=0,this.qrCodeRecord=null,this.expandLog=0,this.operateData=null,this.expandTplData=null}init(t){const{operateMsg:e}=t;if(!e)return;const{qrCodeId:o,qrCodeRecord:r,expandLog:n,cycleFormSort:i}=t;this.qrCodeId=o,this.qrCodeRecord=r,this.expandLog=n;const a=E.combine(t);this.operateData=i?this.sortCycleForm(a):a,this.expandTplData=this.handleExpandTpl(),this.emit()}sortCycleForm(t){return[...t].sort((t,e)=>{const o=null===t||void 0===t?void 0:t.$elData,r=null===e||void 0===e?void 0:e.$elData,n=!!o&&Object(l["f"])(o),i=!!r&&Object(l["f"])(r);return n&&!i?-1:!n&&i?1:0})}register(t){this.callbacks.push(t||(()=>{})),this.emit()}emit(){this.callbacks.forEach(t=>{t&&t(this.operateData,this.expandTplData)})}handleExpandTpl(){const{operateData:t,expandLog:e}=this,o=1===t.length&&!!t[0].$elData&&[d.Expand,d.Bottom].includes(e);return o?{showExpandTpl:o,from_operation_id:t[0].operation_id||"",taskInfo:C(t[0].tpl_record)}:{showExpandTpl:o}}showOperateComp(){const{qrCodeRecord:t}=this,{log_status:e}=t;return e===u.Open&&!!this.operateData.length}static combine({operateMsg:t,tplList:e,stateList:o}){const n=!(null===e||void 0===e||!e.length),i=!(null===o||void 0===o||!o.length);return Object(r["a"])(t||[],t=>{const c=w(t);let s=null,l=null,d=0;return c&&(t.operation_msg.element_list=Object(r["a"])(c,r=>{const c=r.element_value;switch(r.element_type){case p.TPL:{if(!n)break;const o=(e||[]).find(t=>t.tpl_id===c);Object(a["a"])(o,{taskInfo:C(t.tpl_record)}),r.$data=o,s=o&&(!o.can_add_record||!o.owner_can_add_record);break}case p.STATE:{if(!i)break;const t=(o||[]).find(t=>t.state_id===c);r.$data=t;break}case p.LINK:{const t=(r.options||[]).find(t=>t.option_type===h.HREF)||{},e=t.option_value||"";r.$data=e;break}case p.PLACEHOLDER:{const t=(r.options||[]).find(t=>t.option_type===h.PLACEHOLDER_ALL)||{},e=(r.options||[]).find(t=>t.option_type===h.PLACEHOLDER_VALUE)||{},o=("1"===t.option_value?[{id:"all"}]:null)||e.option_value||null;r.$data=o;break}default:break}return l=r.$data,d=r.element_type,r})),l&&Object(a["a"])(t,{$elData:l}),s&&Object(a["a"])(t,{$customLimit:s}),Object(a["a"])(t,{$elType:d}),t})}getOperateItem(t,e){return(this.operateData||[]).find(o=>{const r=Object(n["a"])(o,"operation_msg.element_list");return Object(c["a"])(r,o=>o.element_type===e&&o.$data[_[o.element_type].key]===t)})}getOperateItemIndex(t,e){return(this.operateData||[]).findIndex(o=>{const r=Object(n["a"])(o,"operation_msg.element_list");return Object(c["a"])(r,o=>o.element_type===e&&o.$data[_[o.element_type].key]===t)})}getOperateItemById(t){let e=(this.operateData||[]).find(e=>e.operation_id===t);return e||(e=this.getOperateItem(t,p.TPL)),e}getOperateItemIndexById(t){let e=(this.operateData||[]).findIndex(e=>e.operation_id===t);return-1===e&&(e=this.getOperateItemIndex(t,p.TPL)),e}static getChildItem(t){return Object(n["a"])(t,"operation_msg.element_list.0",{})}static getDesc(t){const e=(t.options||[]).find(t=>t.option_type===h.DESC);return e?e.option_value:""}}new E},d228:function(t,e,o){"use strict";function r(t){try{if("object"===typeof JSON.parse(t)&&t)return!0}catch(e){return!1}return!1}e["a"]=r},d2a4:function(t,e,o){"use strict";var r=o("a607");const n=(t,e)=>{Object(r["a"])(e,(e,o)=>{try{t[o]=e}catch(r){console.error(r)}})};e["a"]=(t,...e)=>{var o;return t=null!==(o=t)&&void 0!==o?o:{},Object(r["a"])(e,e=>{n(t,e)}),t}},d6ad:function(t,e,o){"use strict";var r=o("f64c");e["a"]=t=>{const e=JSON.stringify(t);if(!Object(r["a"])(e))return JSON.parse(e)}},de79:function(t,e,o){"use strict";var r=o("131c");o.d(e,"a",(function(){return r["Z"]}))},dfe4:function(t,e,o){"use strict";var r=o("a607");function n(t,e){const o=[];return t&&e?(Object(r["a"])(t,(t,r)=>{o.push(e(t,r))}),o):o}e["a"]=n},e548:function(t,e,o){"use strict";o.d(e,"a",(function(){return r}));var r,n=o("f1d0");(function(t){t[t["IMAGE"]=1]="IMAGE",t[t["TABLE"]=2]="TABLE"})(r||(r={})),e["b"]=({type:t=r.IMAGE,project:e,imageStyle:o,computedWindowWidth:i=0,margin:a=0})=>{let c=0;if(t===r.IMAGE&&o===n["h"].IMAGE_STYLE_1||t===r.TABLE)if(e===n["k"].MPCLI){const t=i/375;c=i-a*t*2}else c=i-2*a;else c=i;return c}},e554:function(t,e,o){"use strict";e["a"]=t=>{var e;return"textarea"===t.type&&!(null!==(e=t.options)&&void 0!==e&&e.append_data)}},e9b6:function(t,e,o){"use strict";var r;o.d(e,"b",(function(){return r})),o.d(e,"d",(function(){return n})),o.d(e,"a",(function(){return i})),o.d(e,"c",(function(){return c})),function(t){t["ORIGINAL"]="0",t["FULL_SCREEN"]="7",t["CIRCLE"]="1",t["SQUARE"]="2",t["RATIO_3_4"]="3",t["RATIO_4_3"]="4",t["RATIO_9_16"]="5",t["RATIO_16_9"]="6"}(r||(r={}));const n={[r.CIRCLE]:1,[r.SQUARE]:1,[r.FULL_SCREEN]:812/375,[r.RATIO_3_4]:4/3,[r.RATIO_4_3]:3/4,[r.RATIO_9_16]:16/9,[r.RATIO_16_9]:9/16};var i,a;(function(t){t["CENTER"]="0",t["CENTER_TOP"]="1",t["TOP_CENTER"]="3",t["LEFT"]="2"})(i||(i={})),function(t){t[t["value"]=375]="value"}(a||(a={}));const c={shape:r.ORIGINAL,position:i.CENTER,size:a.value}},eee2:function(t,e,o){"use strict";o.d(e,"a",(function(){return l}));var r=o("f64c"),n=o("1137"),i=o("26d1"),a=o("a607");const c=function(){let t=[],e=[],o=0,r=!1;const n=()=>{r=!1,clearInterval(o),o=0},c=t=>{e.push(t),t.onStop&&t.onStop.apply(t.scope||t)},s=()=>{const o=(new Date).getTime();!e.length||(Object(a["a"])(e,e=>{Object(i["a"])(t,t=>t===e)}),e=[],t.length)?Object(a["a"])(t,t=>{const e=o-t.taskRunTime;if(t.interval<=e){const e=t.run.apply(t.scope||t,t.args||[++t.taskRunCount]);if(t.taskRunTime=o,!1===e||t.taskRunCount===t.repeat)return void c(t)}t.duration&&t.duration<=o-t.taskStartTime&&c(t)}):n()},l=t=>{r||(r=!0,o=setInterval(s,t))};this.start=e=>(t.push(e),e.taskStartTime=(new Date).getTime(),e.taskRunTime=0,e.taskRunCount=0,l(e.interval),e.stop=()=>{this.stop(e)},e),this.stop=t=>(c(t),t),this.stopAll=()=>{n();for(let e=0,o=t.length;e0&&(new Date).getTime()-a>n&&(s.stop(o),i&&i.call(r),delete o.scope.monitorTask,delete o.scope.timeoutCallback)},scope:{handler:o,task:e,scope:a,timeout:c,timeoutCallback:l,now:t},interval:i});return r.scope.monitorTask=r,r}}},f093:function(t,e,o){"use strict";var r;(function(t){t["IMAGE_STYLE_1"]="1",t["IMAGE_STYLE_2"]="2",t["IMAGE_STYLE_3"]="3",t["IMAGE_STYLE_4"]="4"})(r||(r={})),e["a"]=r},f1d0:function(t,e,o){"use strict";o.d(e,"h",(function(){return n["a"]})),o.d(e,"i",(function(){return a})),o.d(e,"j",(function(){return s})),o.d(e,"k",(function(){return d})),o.d(e,"c",(function(){return p})),o.d(e,"l",(function(){return _})),o.d(e,"m",(function(){return g})),o.d(e,"g",(function(){return b})),o.d(e,"d",(function(){return y})),o.d(e,"a",(function(){return C})),o.d(e,"f",(function(){return E})),o.d(e,"b",(function(){return T})),o.d(e,"e",(function(){return I}));var r,n=o("f093");(function(t){t[t["TOP_MODULE"]=1]="TOP_MODULE",t[t["RICH_TEXT"]=2]="RICH_TEXT"})(r||(r={}));var i,a=r;(function(t){t["SWIPER"]="0",t["TILE"]="1",t["EMPTY"]="3",t["SWIPER_VERTICAL"]="4"})(i||(i={}));var c,s=i;(function(t){t[t["CONSOLE"]=1]="CONSOLE",t[t["WXA"]=2]="WXA",t[t["MPCLI"]=3]="MPCLI"})(c||(c={}));var l,d=c;(function(t){t[t["List"]=1]="List",t[t["Card"]=2]="Card",t[t["TwoCol"]=3]="TwoCol",t[t["ButtonCard"]=4]="ButtonCard",t[t["Hide"]=5]="Hide"})(l||(l={}));var u,p=l;(function(t){t[t["NONE"]=0]="NONE",t[t["OPEN"]=1]="OPEN",t[t["CLOSE"]=2]="CLOSE"})(u||(u={}));var h,_=u;(function(t){t[t["AUDIT"]=12]="AUDIT",t[t["SECRET"]=3]="SECRET",t[t["STATUS_UPDATE"]=7]="STATUS_UPDATE",t[t["APPLY"]=14]="APPLY",t[t["NORMAL"]=0]="NORMAL"})(h||(h={}));var m,g=h;(function(t){t["NONE"]="0",t["BOTTOM"]="1",t["TOP"]="2",t["TOP_BOTTOM"]="3"})(m||(m={}));var f,b=m;(function(t){t["TOP"]="top",t["BOTTOM"]="bottom",t["TOP_PLACEHOLDER"]="topPlaceholder"})(f||(f={}));var O,y=f;(function(t){t["OUTER_CONTAINER"]="outerContainer",t["INNER_CONTAINER"]="innerContainer",t["IMAGE_WRAPPER"]="imageWrapper",t["IMAGE"]="image",t["GRADIENT"]="gradient",t["MASK"]="mask",t["GAUSSIAN"]="guassian",t["TRANSITION_PATTERN"]="transitionPattern",t["TRANSITION_PATTERN_WRAPPER"]="transitionPatternWrapper"})(O||(O={}));var v,C=O;(function(t){t["IMAGE_STYLE_1"]="1",t["IMAGE_STYLE_2"]="2",t["IMAGE_STYLE_3"]="3"})(v||(v={}));var w,E=v;(function(t){t["CURVED"]="curved",t["STRAIGHT"]="straight"})(w||(w={}));var j,T=w;o("e9b6");(function(t){t["CAROUSEL_STYLE_1"]="1",t["CAROUSEL_STYLE_2"]="2",t["CAROUSEL_STYLE_3"]="3"})(j||(j={}));var I=j},f64c:function(t,e,o){"use strict";e["a"]=t=>void 0===t},f8a9:function(t,e,o){"use strict";var r=o("08f7");e["a"]=t=>{var e,o;const n=Object(r["a"])(t,"card_type",1),i=Object(r["a"])(t,"brand_card_type",4),a=Object(r["a"])(t,"show_bottom_homepage",0);let c=Object(r["a"])(t,"bottom_homepage_meta",{});if("string"===typeof c)try{c=JSON.parse(c)}catch{c={}}const s=a&&((null===(e=c)||void 0===e?void 0:e.logo)||(null===(o=c)||void 0===o?void 0:o.title));return s?i:n}}}]);