import { createElement, Component, useEffect, useState, useMemo, useReducer, Fragment, } from '@wordpress/element' import classnames from 'classnames' import { __, sprintf } from 'ct-i18n' import ListPicker from './ListPicker' import Overlay from '../../../../../static/js/helpers/Overlay' import { Select } from 'blocksy-options' import useProExtensionInFree from '../../../../../static/js/dashboard/helpers/useProExtensionInFree' const freeProviders = ['mailchimp', 'demo'] const EditCredentials = ({ extension, onCredentialsValidated }) => { const [provider, setProvider] = useState(extension.data.provider) const [apiKey, setApiKey] = useState(extension.data.api_key) const [listId, setListId] = useState(extension.data.list_id) const [isLoading, setIsLoading] = useState(false) const { isPro, showNotice, content } = useProExtensionInFree(extension, { strategy: 'pro', }) useEffect(() => { if ( extension.data && !freeProviders.includes(extension.data.provider) && !isPro ) { setProvider(freeProviders[0]) } }, []) const attemptToSaveCredentials = async () => { const body = new FormData() body.append('provider', provider) body.append('api_key', apiKey) body.append('list_id', listId) body.append( 'action', 'blocksy_ext_newsletter_subscribe_maybe_save_credentials' ) setIsLoading(true) try { const response = await fetch(ctDashboardLocalizations.ajax_url, { method: 'POST', body, }) if (response.status === 200) { const body = await response.json() if (body.success) { if (body.data.result !== 'api_key_invalid') { onCredentialsValidated() } } } } catch (e) {} await new Promise((r) => setTimeout(() => r(), 1000)) setIsLoading(false) } return (

{__('Connect Newsletter Provider', 'blocksy-companion')}

-1 ? 4 : 3}>
{ setProvider( copy === 'new' ? 'mailerlite-new' : 'mailerlite' ) }} option={{ placeholder: __( 'Pick Mailing Service', 'blocksy-companion' ), choices: [ { key: 'classic', value: 'Classic', }, { key: 'new', value: 'New', }, ], }} value={ provider === 'mailerlite-new' ? 'new' : 'classic' } />
)} {(freeProviders.includes(provider) || ctDashboardLocalizations.plugin_data.is_pro) && (
setApiKey(value) } value={apiKey || ''} />
setListId(id)} provider={provider} apiKey={apiKey} />
)}
{provider === 'mailchimp' && ( ', '' ), }} /> )} {ctDashboardLocalizations.plugin_data.is_pro && provider.indexOf('mailerlite') > -1 && ( ', '', '', '' ), }} /> )} {provider.indexOf('demo') > -1 && ( )} {ctDashboardLocalizations.plugin_data.is_pro && provider === 'brevo' && ( ', '' ), }} /> )} {ctDashboardLocalizations.plugin_data.is_pro && provider === 'convertkit' && ( ', '' ), }} /> )} {ctDashboardLocalizations.plugin_data.is_pro && provider === 'campaignmonitor' && ( ', '' ), }} /> )} {content}
) } export default EditCredentials American Durafilm - TEFLON®/TEFZEL® Films and Products - Fabrication Techniques

Superior Teflon® and Kapton® Fabrication Capabilities Through Heat Sealing, Resealable Duralok Bags, Film Lamination, and More

American Durafilm Co., Inc. personnel have over 60 years of diversified experience in industrial and professional fields. We offer extensive knowledge of available materials and processes to inventors and designers, linking the imaginative, theoretical world with the practical world. We work closely with scientists, engineers and designers to create new and innovative fabrication techniques to meet the most stringent specifications and designs. American Durafilm designs and manufactures to order any size bag. In addition custom fittings can be installed and rigid Teflon® tubing can be heat sealed into bags allowing gases and liquids to flow in and out. Through thermoforming, Teflon® FEP, PFA and Tefzel®, and Aclar® (PCTFE) films can be formed into three-dimensional shapes to take advantage of one or more of the above unique properties.

Capabilities

Teflon® Coated Fabrics

TEFLON® Coated Fabrics offer a desirable combination of PTFE Fluoropolymers with the superior mechanical properties of a woven fabric.

TCGF Cylinders

With our custom machinery and process we can manufacture cylinders for bearing cage fabrication.

Sheeting

American Durafilm has a vast stock of high performance films and materials in all thicknesses and widths available. With our value added sheeting operations we can offer our customers a custom solution when they need a sheet size that is not standard.

Die Cutting

Custom die cut shapes from our high performance films can offer a tight tolerance complete solution to your most precise parts. With our steel rule die cutting capabilities we can cut parts with tolerances as tight as +/- .005” in large or small lots.

Thermoforming

Over the past forty years, American Durafilm Co., Inc. has developed the art of thermoforming thermoplastic Teflon®, Tefzel®, and Aclar® film to offer an innovative solution to some of the design problems encountered in many industries.

Intubated Bags

American Durafilm Co., Inc. fabricates all of our bags to custom specifications. This includes heat sealing FEP tubing into the bag, installing custom bulkhead fittings, and heat sealing larger fittings for the most demanding applications.

Kapton® Bags

American Durafilm Co., Inc. offers bags fabricated from DuPont KAPTON® Type FN Film which are available in thicknesses from 1.2 mils to 5.0 mils. Bags can be designed and manufactured to any size with custom fittings installed as well as rigid TEFLON® tubing heat sealed into bags to allow gases and liquids to flow in and out.

Teflon® Overwrap Bags

Teflon® Overwrap Bags for Cryogenic Storage fabricated using Teflon® FEP & PFA Films, as well as Stock Width Lay Flat Extruded Tubing.

Teflon® Bags

American Durafilm Co., Inc. designs and manufactures to order any size bag in our manufacturing facility located in Holliston, Massachusetts. Every Teflon® bag is made in the USA for any quantity, small or large.

Resealable Duralok Bags

Duralok™ has solved the most pervasive problem that has plagued FEP and Kapton® bags since their inception almost 50 years ago.

Buy High Performance Materials Online

The nation’s largest stocking distributor of high performance materials. Order now for Kapton®, Tedlar®, FEP, PFA, and ETFE films.