Uname:Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.152
Web Server : Apache
System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : monpetu ( 144298)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/monpetu/www/ipprint/wp-content/plugins/woocommerce-payments/dist/chunks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/monpetu/www/ipprint/wp-content/plugins/woocommerce-payments/dist/chunks/wcpay-capital.js.map
{"version":3,"file":"chunks/wcpay-capital.js?ver=dac16f5112055cddadf4","mappings":"8SA4BA,MAAMA,EAAU,CACf,CACCC,IAAK,cACLC,OAAOC,EAAAA,EAAAA,IAAI,YAAa,wBACxBC,mBAAmBD,EAAAA,EAAAA,IAAI,YAAa,wBACpCE,UAAU,EACVC,eAAe,EACfC,aAAa,GAEd,CACCN,IAAK,SACLC,OAAOC,EAAAA,EAAAA,IAAI,SAAU,wBACrBC,mBAAmBD,EAAAA,EAAAA,IAAI,SAAU,wBACjCE,UAAU,EACVG,cAAe,qBAEhB,CACCP,IAAK,SACLC,OAAOC,EAAAA,EAAAA,IAAI,SAAU,wBACrBC,mBAAmBD,EAAAA,EAAAA,IAAI,SAAU,wBACjCE,UAAU,EACVC,eAAe,EACfG,WAAW,GAEZ,CACCR,IAAK,aACLC,OAAOC,EAAAA,EAAAA,IAAI,YAAa,wBACxBC,mBAAmBD,EAAAA,EAAAA,IAAI,YAAa,wBACpCE,UAAU,EACVC,eA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rE,GAAYW,EAAQ0D,KAGnD7E,EAAAA,EAAAA,KAAAqE,EAAAA,SAAA,CAAA7D,SAAIA,GAAYW,IAcL6D,EAAgBA,EAC5BC,cACGC,MAEH,MAAML,GACL7E,EAAAA,EAAAA,KAAA,KAAGmF,MAAQ,CAAEC,WAAYH,GAAYzE,SAAC,sBAEvC,OACCR,EAAAA,EAAAA,KAAC4E,EAAQ,IACHM,EACLL,YAAcA,EACdzD,QAAQ,QACR,oBAKH,G,8JCvFO,MAAMiE,EAAsB,uBACtBC,EAA0B,2BAC1BC,EAAqB,sBACrBC,EAAsB,uBACtBC,EAAsB,uBACtBC,EAAsB,uBACtBC,EAAqB,sBACrBC,EAAqB,sBACrBC,EAAuB,wBACvBC,EAA6B,6BAC7BC,EAA4B,6BAC5BC,EAAmB,oBACnBC,EAA2B,2BAC3BC,EAA+B,+BAC/BC,EAAqB,qB","sources":["webpack://woocommerce-payments/./client/capital/index.tsx","webpack://woocommerce-payments/./client/components/chip/index.tsx","webpack://woocommerce-payments/./client/components/clickable-cell/index.tsx","webpack://woocommerce-payments/./client/components/loadable/index.tsx","webpack://woocommerce-payments/./client/data/store-names.js"],"sourcesContent":["/** @format **/\n\n/**\n * External dependencies\n */\nimport React from 'react';\nimport { __, _n, sprintf } from '@wordpress/i18n';\nimport { TableCard } from '@woocommerce/components';\n\n/**\n * Internal dependencies.\n */\nimport Page from 'components/page';\nimport { TestModeNotice } from 'components/test-mode-notice';\nimport ErrorBoundary from 'components/error-boundary';\nimport ActiveLoanSummary from 'components/active-loan-summary';\nimport {\n\tformatExplicitCurrency,\n\tisZeroDecimalCurrency,\n} from 'multi-currency/interface/functions';\nimport { CapitalLoan } from 'wcpay/data/capital/types';\nimport ClickableCell from 'components/clickable-cell';\nimport Chip from 'components/chip';\nimport { useLoans } from 'wcpay/data/capital';\nimport { getAdminUrl } from 'wcpay/utils';\nimport './style.scss';\nimport { formatDateTimeFromString } from 'wcpay/utils/date-time';\n\nconst columns = [\n\t{\n\t\tkey: 'paid_out_at',\n\t\tlabel: __( 'Disbursed', 'woocommerce-payments' ),\n\t\tscreenReaderLabel: __( 'Disbursed', 'woocommerce-payments' ),\n\t\trequired: true,\n\t\tisLeftAligned: true,\n\t\tdefaultSort: true,\n\t},\n\t{\n\t\tkey: 'status',\n\t\tlabel: __( 'Status', 'woocommerce-payments' ),\n\t\tscreenReaderLabel: __( 'Status', 'woocommerce-payments' ),\n\t\trequired: true,\n\t\tcellClassName: 'is-center-aligned',\n\t},\n\t{\n\t\tkey: 'amount',\n\t\tlabel: __( 'Amount', 'woocommerce-payments' ),\n\t\tscreenReaderLabel: __( 'Amount', 'woocommerce-payments' ),\n\t\trequired: true,\n\t\tisLeftAligned: false,\n\t\tisNumeric: true,\n\t},\n\t{\n\t\tkey: 'fee_amount',\n\t\tlabel: __( 'Fixed fee', 'woocommerce-payments' ),\n\t\tscreenReaderLabel: __( 'Fixed fee', 'woocommerce-payments' ),\n\t\trequired: true,\n\t\tisLeftAligned: false,\n\t\tisNumeric: true,\n\t},\n\t{\n\t\tkey: 'withhold_rate',\n\t\tlabel: __( 'Withhold rate', 'woocommerce-payments' ),\n\t\tscreenReaderLabel: __( 'Withhold rate', 'woocommerce-payments' ),\n\t\trequired: true,\n\t\tisLeftAligned: false,\n\t\tisNumeric: true,\n\t},\n\t{\n\t\tkey: 'first_paydown_at',\n\t\tlabel: __( 'First paydown', 'woocommerce-payments' ),\n\t\tscreenReaderLabel: __( 'First paydown', 'woocommerce-payments' ),\n\t\trequired: true,\n\t\tisLeftAligned: false,\n\t\tisNumeric: true, // Hack: this is not a numeric field, but \"isNumeric\" is needed for it to be right-aligned\n\t},\n];\n\nconst getLoanStatusText = ( loan: CapitalLoan ) => {\n\treturn loan.fully_paid_at\n\t\t? sprintf(\n\t\t\t\t/* translators: %s: date when the loan was paid off */\n\t\t\t\t__( 'Paid off: %s', 'woocommerce-payments' ),\n\t\t\t\tformatDateTimeFromString( loan.fully_paid_at )\n\t\t  )\n\t\t: __( 'Active', 'woocommerce-payments' );\n};\n\nconst getLoanStatusChip = ( loan: CapitalLoan ) => {\n\treturn (\n\t\t<Chip\n\t\t\tmessage={ getLoanStatusText( loan ) }\n\t\t\ttype={ loan.fully_paid_at ? 'primary' : 'warning' }\n\t\t/>\n\t);\n};\n\nconst getRowsData = ( loans: CapitalLoan[] ) =>\n\tloans.map( ( loan ) => {\n\t\tconst clickable = ( children: React.ReactNode ) => (\n\t\t\t<ClickableCell\n\t\t\t\thref={ getAdminUrl( {\n\t\t\t\t\tpage: 'wc-admin',\n\t\t\t\t\tpath: '/payments/transactions',\n\t\t\t\t\ttype: 'charge',\n\t\t\t\t\tfilter: 'advanced',\n\t\t\t\t\tloan_id_is: loan.stripe_loan_id,\n\t\t\t\t} ) }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</ClickableCell>\n\t\t);\n\n\t\tconst data = {\n\t\t\tpaid_out_at: {\n\t\t\t\tvalue: loan.paid_out_at,\n\t\t\t\tdisplay: clickable(\n\t\t\t\t\tformatDateTimeFromString( loan.paid_out_at )\n\t\t\t\t),\n\t\t\t},\n\t\t\tstatus: {\n\t\t\t\tvalue: getLoanStatusText( loan ),\n\t\t\t\tdisplay: clickable( getLoanStatusChip( loan ) ),\n\t\t\t},\n\t\t\tamount: {\n\t\t\t\tvalue: isZeroDecimalCurrency( loan.currency )\n\t\t\t\t\t? loan.amount\n\t\t\t\t\t: loan.amount / 100,\n\t\t\t\tdisplay: clickable(\n\t\t\t\t\tformatExplicitCurrency(\n\t\t\t\t\t\tloan.amount,\n\t\t\t\t\t\tloan.currency.toUpperCase()\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t},\n\t\t\tfee_amount: {\n\t\t\t\tvalue: isZeroDecimalCurrency( loan.currency )\n\t\t\t\t\t? loan.fee_amount\n\t\t\t\t\t: loan.fee_amount / 100,\n\t\t\t\tdisplay: clickable(\n\t\t\t\t\tformatExplicitCurrency(\n\t\t\t\t\t\tloan.fee_amount,\n\t\t\t\t\t\tloan.currency.toUpperCase()\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t},\n\t\t\twithhold_rate: {\n\t\t\t\tvalue: loan.withhold_rate,\n\t\t\t\tdisplay: clickable(\n\t\t\t\t\t+( loan.withhold_rate * 100 ).toFixed( 2 ) + '%'\n\t\t\t\t),\n\t\t\t},\n\t\t\tfirst_paydown_at: {\n\t\t\t\tvalue: loan.first_paydown_at,\n\t\t\t\tdisplay: clickable(\n\t\t\t\t\tloan.first_paydown_at\n\t\t\t\t\t\t? formatDateTimeFromString( loan.first_paydown_at )\n\t\t\t\t\t\t: '-'\n\t\t\t\t),\n\t\t\t},\n\t\t} as Record<\n\t\t\tstring,\n\t\t\t{ value: string | number; display: React.ReactNode }\n\t\t>;\n\n\t\treturn columns.map( ( { key } ) => data[ key ] );\n\t} );\n\nconst getSummary = ( loans: CapitalLoan[] ) => {\n\tif ( ! loans.length ) {\n\t\treturn [];\n\t}\n\n\tconst summary = [\n\t\t{\n\t\t\tlabel: _n( 'loan', 'loans', loans.length, 'woocommerce-payments' ),\n\t\t\tvalue: String( loans.length ),\n\t\t},\n\t];\n\n\tconst currencies = Array.from(\n\t\tnew Set( loans.map( ( l ) => l.currency ) )\n\t);\n\tif ( currencies.length === 1 ) {\n\t\tsummary.push( {\n\t\t\tlabel: __( 'total', 'woocommerce-payments' ),\n\t\t\tvalue: formatExplicitCurrency(\n\t\t\t\tloans.reduce(\n\t\t\t\t\t( acc: number, loan: CapitalLoan ) => acc + loan.amount,\n\t\t\t\t\t0\n\t\t\t\t),\n\t\t\t\tcurrencies[ 0 ]\n\t\t\t),\n\t\t} );\n\t\tsummary.push( {\n\t\t\tlabel: __( 'fixed fees', 'woocommerce-payments' ),\n\t\t\tvalue: formatExplicitCurrency(\n\t\t\t\tloans.reduce(\n\t\t\t\t\t( acc: number, loan: CapitalLoan ) => acc + loan.fee_amount,\n\t\t\t\t\t0\n\t\t\t\t),\n\t\t\t\tcurrencies[ 0 ]\n\t\t\t),\n\t\t} );\n\t}\n\treturn summary;\n};\n\nconst CapitalPage = (): JSX.Element => {\n\tconst { loans, isLoading } = useLoans();\n\n\treturn (\n\t\t<Page>\n\t\t\t<TestModeNotice currentPage=\"loans\" />\n\n\t\t\t{ wcpaySettings.accountLoans.has_active_loan && (\n\t\t\t\t<ErrorBoundary>\n\t\t\t\t\t<ActiveLoanSummary />\n\t\t\t\t</ErrorBoundary>\n\t\t\t) }\n\t\t\t<TableCard\n\t\t\t\tclassName=\"wcpay-loans-list\"\n\t\t\t\ttitle={ __( 'All loans', 'woocommerce-payments' ) }\n\t\t\t\tisLoading={ isLoading }\n\t\t\t\ttotalRows={ loans.length }\n\t\t\t\theaders={ columns }\n\t\t\t\trows={ getRowsData( loans ) }\n\t\t\t\trowsPerPage={ loans.length }\n\t\t\t\tsummary={ getSummary( loans ) }\n\t\t\t\t// The Capital Loan table does not have column configuration enabled, see issue #10106.\n\t\t\t\tshowMenu={ false }\n\t\t\t/>\n\t\t</Page>\n\t);\n};\n\nexport default CapitalPage;\n","/** @format **/\n\n/**\n * External dependencies\n */\nimport React from 'react';\nimport { Icon } from '@wordpress/icons';\nimport clsx from 'clsx';\n\n/**\n * Internal dependencies\n */\nimport './style.scss';\nimport { HoverTooltip } from 'wcpay/components/tooltip';\n\nexport type ChipType = 'primary' | 'success' | 'light' | 'warning' | 'alert';\n\ninterface Props {\n\tmessage: string;\n\ttype?: ChipType;\n\tclassName?: string;\n\ttooltip?: string;\n\ticon?: React.JSX.Element;\n}\nconst Chip: React.FC< React.PropsWithChildren< Props > > = ( {\n\tmessage,\n\ttype = 'primary',\n\tclassName,\n\ttooltip,\n\ticon,\n} ) => {\n\tconst classNames = clsx(\n\t\t'chip',\n\t\t`chip-${ type }`,\n\t\ticon && 'chip-has-icon',\n\t\tclassName\n\t);\n\n\tconst content = (\n\t\t<>\n\t\t\t{ icon && <Icon icon={ icon } size={ 16 } /> }\n\t\t\t{ message }\n\t\t</>\n\t);\n\n\tif ( tooltip ) {\n\t\treturn (\n\t\t\t<HoverTooltip content={ tooltip }>\n\t\t\t\t<span className={ classNames }>{ content }</span>\n\t\t\t</HoverTooltip>\n\t\t);\n\t}\n\treturn <span className={ classNames }>{ content }</span>;\n};\n\nexport default Chip;\n","/** @format **/\n\n/**\n * External dependencies\n */\nimport { Link } from '@woocommerce/components';\nimport React, { ReactNode, ComponentProps } from 'react';\n\n/**\n * Internal dependencies\n */\nimport './style.scss';\n\ninterface ClickableCellProps\n\textends Omit< ComponentProps< typeof Link >, 'href' > {\n\thref?: string;\n\tchildren: ReactNode;\n}\n\nconst ClickableCell = ( {\n\thref,\n\tchildren,\n\t...linkProps\n}: ClickableCellProps ) =>\n\thref ? (\n\t\t<Link\n\t\t\thref={ href }\n\t\t\tclassName=\"woocommerce-table__clickable-cell\"\n\t\t\ttabIndex=\"-1\"\n\t\t\t{ ...linkProps }\n\t\t>\n\t\t\t{ children }\n\t\t</Link>\n\t) : (\n\t\t<>{ children }</>\n\t);\n\nexport default ClickableCell;\n","/** @format **/\n\n/**\n * External dependencies\n */\nimport React from 'react';\n\n/**\n * Internal dependencies\n */\nimport './style.scss';\n\ninterface LoadableProps\n\textends Omit<\n\t\tReact.HTMLAttributes< HTMLSpanElement >,\n\t\t'className' | 'style' | 'children'\n\t> {\n\tisLoading: boolean;\n\tdisplay?: string;\n\tplaceholder?: JSX.Element | string;\n\tvalue?: string;\n\tchildren?: any[] | JSX.Element;\n}\n\ninterface LoadableBlockProps extends LoadableProps {\n\tnumLines: number;\n}\n\n/**\n * Renders placeholder while data are being loaded.\n *\n * Any extra span-level props (`aria-*`, `id`, `role`, `data-*`, etc.) are\n * forwarded to the placeholder span. `className` and `style` are intentionally\n * omitted because the component manages those internally to render the gray\n * shimmer. Use `aria-hidden` when the placeholder text is shape-only filler\n * (e.g., \"Change payout schedule\" used as a width approximator) and would\n * mislead screen readers if announced as real content.\n *\n * @param {Object}    props               Component props.\n * @param {boolean}   props.isLoading     Flag used to display placeholder or content.\n * @param {string}    props.display       Defines how the placeholder is displayed: inline-block (default), inline or block.\n * @param {ReactNode} [props.placeholder] Custom placeholder content.\n * @param {ReactNode} [props.value]       Content rendered when data are loaded. Has lower priority than `children`.\n * @param {ReactNode} [props.children]    Content rendered when data are loaded. Has higher priority than `value`.\n *\n * @return {ReactNode} Loadable content\n */\nconst Loadable = ( {\n\tisLoading,\n\tdisplay,\n\tplaceholder,\n\tvalue,\n\tchildren,\n\t...restProps\n}: LoadableProps ): JSX.Element =>\n\tisLoading ? (\n\t\t<span\n\t\t\tclassName={\n\t\t\t\tdisplay\n\t\t\t\t\t? `is-loadable-placeholder is-${ display }`\n\t\t\t\t\t: 'is-loadable-placeholder'\n\t\t\t}\n\t\t\taria-busy=\"true\"\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t{ undefined === placeholder ? children || value : placeholder }\n\t\t</span>\n\t) : (\n\t\t<>{ children || value }</>\n\t);\n\n/**\n * Helper component for rendering loadable block which takes several lines in the ui.\n *\n * Always sets `aria-hidden` because the inner placeholder text (\"Block placeholder\")\n * is hardcoded filler and would only confuse screen readers if announced.\n *\n * @param {Object} props          Component props.\n * @param {number} props.numLines Vertical size of the component in lines.\n *\n * @return {ReactNode} Loadable content\n */\nexport const LoadableBlock = ( {\n\tnumLines,\n\t...rest\n}: LoadableBlockProps ): JSX.Element => {\n\tconst placeholder = (\n\t\t<p style={ { lineHeight: numLines } }>Block placeholder</p>\n\t);\n\treturn (\n\t\t<Loadable\n\t\t\t{ ...rest }\n\t\t\tplaceholder={ placeholder }\n\t\t\tdisplay=\"block\"\n\t\t\taria-hidden\n\t\t/>\n\t);\n};\n\nexport default Loadable;\n","/** @format */\n\n/**\n * Per-slice @wordpress/data store names.\n *\n * This module is intentionally dependency-free. `store.js` (which calls\n * `register()`) imports its name from here, and so do the slice's resolvers and\n * actions — that way resolvers/actions never import `store.js`, which would\n * create a `store.js → resolvers → store.js` cycle that breaks when a resolver\n * or action module is imported on its own (e.g. in a unit test).\n */\n\nexport const DEPOSITS_STORE_NAME = 'wc/payments/deposits';\nexport const TRANSACTIONS_STORE_NAME = 'wc/payments/transactions';\nexport const CHARGES_STORE_NAME = 'wc/payments/charges';\nexport const TIMELINE_STORE_NAME = 'wc/payments/timeline';\nexport const DISPUTES_STORE_NAME = 'wc/payments/disputes';\nexport const SETTINGS_STORE_NAME = 'wc/payments/settings';\nexport const READERS_STORE_NAME = 'wc/payments/readers';\nexport const CAPITAL_STORE_NAME = 'wc/payments/capital';\nexport const DOCUMENTS_STORE_NAME = 'wc/payments/documents';\nexport const PAYMENT_INTENTS_STORE_NAME = 'wc/payments/paymentIntents';\nexport const AUTHORIZATIONS_STORE_NAME = 'wc/payments/authorizations';\nexport const FILES_STORE_NAME = 'wc/payments/files';\nexport const PM_PROMOTIONS_STORE_NAME = 'wc/payments/pmPromotions';\nexport const DISPUTE_READINESS_STORE_NAME = 'wc/payments/disputeReadiness';\nexport const REPORTS_STORE_NAME = 'wc/payments/reports';\n"],"names":["columns","key","label","__","screenReaderLabel","required","isLeftAligned","defaultSort","cellClassName","isNumeric","getLoanStatusText","loan","fully_paid_at","sprintf","formatDateTimeFromString","getLoanStatusChip","_jsx","Chip","message","type","getRowsData","loans","map","clickable","children","ClickableCell","href","getAdminUrl","page","path","filter","loan_id_is","stripe_loan_id","data","paid_out_at","value","display","status","amount","isZeroDecimalCurrency","currency","formatExplicitCurrency","toUpperCase","fee_amount","withhold_rate","toFixed","first_paydown_at","getSummary","length","summary","_n","String","currencies","Array","from","Set","l","push","reduce","acc","CapitalPage","isLoading","useLoans","_jsxs","Page","TestModeNotice","currentPage","wcpaySettings","accountLoans","has_active_loan","ErrorBoundary","ActiveLoanSummary","TableCard","className","title","totalRows","headers","rows","rowsPerPage","showMenu","tooltip","icon","classNames","clsx","content","_Fragment","Icon","size","HoverTooltip","linkProps","Link","tabIndex","Loadable","placeholder","restProps","undefined","LoadableBlock","numLines","rest","style","lineHeight","DEPOSITS_STORE_NAME","TRANSACTIONS_STORE_NAME","CHARGES_STORE_NAME","TIMELINE_STORE_NAME","DISPUTES_STORE_NAME","SETTINGS_STORE_NAME","READERS_STORE_NAME","CAPITAL_STORE_NAME","DOCUMENTS_STORE_NAME","PAYMENT_INTENTS_STORE_NAME","AUTHORIZATIONS_STORE_NAME","FILES_STORE_NAME","PM_PROMOTIONS_STORE_NAME","DISPUTE_READINESS_STORE_NAME","REPORTS_STORE_NAME"],"sourceRoot":""}

Youez - 2016 - github.com/yon3zu
LinuXploit