文件操作 - bi.897.306.js
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/i2kairpad/public_html/wp-content/plugins/bit-integrations/assets/bi.897.306.js
编辑文件内容
var w=Object.defineProperty;var u=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var b=(a,s,e)=>s in a?w(a,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[s]=e,x=(a,s)=>{for(var e in s||(s={}))z.call(s,e)&&b(a,e,s[e]);if(u)for(var e of u(s))C.call(s,e)&&b(a,e,s[e]);return a};import{r as f,j as t}from"./main-174.js";import{B as _}from"./bi.417.813.js";import{_ as n,c as A}from"./bi.964.0.js";import{T as p,t as I}from"./bi.546.818.js";import{z as j}from"./bi.89.470.js";import"./bi.873.9.js";function R({formID:a,teamsForWcConf:s,setTeamsForWcConf:e,step:o,nextPage:N,isLoading:r,setIsLoading:d,setSnackbar:g}){const[l,v]=f.useState(!1),[m,k]=f.useState(!1),{teamsForWooCommerceMemberships:i}=I,T=()=>{d("auth"),A({},"teams_for_wc_memberships_authorize").then(c=>{c!=null&&c.success&&(v(!0),g({show:!0,msg:n("Connected with Teams for WooCommerce Memberships Successfully","bit-integrations")})),d(!1),k(!0)})},y=c=>{const h=x({},s);h[c.target.name]=c.target.value,e(h)};return t.jsxs("div",{className:"btcd-stp-page",style:{width:o===1&&900,height:o===1&&"auto"},children:[(i==null?void 0:i.youTubeLink)&&t.jsx(p,{title:"Teams for WooCommerce Memberships",youTubeLink:i==null?void 0:i.youTubeLink}),(i==null?void 0:i.docLink)&&t.jsx(p,{title:"Teams for WooCommerce Memberships",docLink:i==null?void 0:i.docLink}),t.jsx("div",{className:"mt-3",children:t.jsx("b",{children:n("Integration Name:","bit-integrations")})}),t.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:y,name:"name",value:s.name,type:"text",placeholder:n("Integration Name...","bit-integrations")}),r==="auth"&&t.jsxs("div",{className:"flx mt-5",children:[t.jsx(j,{size:25,clr:"#022217",className:"mr-2"}),n("Checking if Teams for WooCommerce Memberships is authorized!!!","bit-integrations")]}),m&&!l&&!r&&t.jsx("div",{className:"flx mt-5",style:{width:900,justifyContent:"center"},children:t.jsxs("div",{className:"txt-center",children:[t.jsx("div",{className:"btcd-icn btcd-icn-err",children:t.jsx("span",{children:"✕"})}),t.jsx("div",{className:"mt-2",children:n("Teams for WooCommerce Memberships is not activated or not installed","bit-integrations")})]})}),m&&l&&!r&&t.jsxs("div",{className:"flx mt-5",style:{width:900},children:[t.jsx("div",{className:"btcd-icn btcd-icn-success",children:t.jsx("span",{children:"✓"})}),t.jsx("div",{className:"mt-2",children:n("Teams for WooCommerce Memberships is activated","bit-integrations")})]}),t.jsxs("button",{onClick:T,className:"btn btcd-btn-lg purple sh-sm flx",type:"button",disabled:l||r==="auth",children:[l?n("Connected","bit-integrations"):n("Connect","bit-integrations"),r==="auth"&&t.jsx(j,{size:20,clr:"#022217",className:"ml-2"})]}),t.jsx("br",{}),t.jsxs("button",{onClick:()=>N(2),className:"btn f-right btcd-btn-lg purple sh-sm flx",type:"button",disabled:!l,children:[n("Next","bit-integrations"),t.jsx(_,{className:"ml-1 rev-icn"})]})]})}export{R as default};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件