@ably/ui 17.4.0-dev.a6eaaf33 → 17.4.0-dev.bba2eb71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/Code.js +1 -1
- package/core/Code.js.map +1 -1
- package/core/CodeSnippet/ApiKeySelector.js +1 -1
- package/core/CodeSnippet/ApiKeySelector.js.map +1 -1
- package/core/CodeSnippet.js +1 -1
- package/core/CodeSnippet.js.map +1 -1
- package/core/Icon/components/icon-display-browser.js +1 -1
- package/core/Icon/components/icon-display-browser.js.map +1 -1
- package/core/Icon/components/icon-display-custom-cname.js +1 -1
- package/core/Icon/components/icon-display-custom-cname.js.map +1 -1
- package/core/Icon/components/icon-display-dynamic-channel-groups.js +1 -1
- package/core/Icon/components/icon-display-dynamic-channel-groups.js.map +1 -1
- package/core/Icon/components/icon-display-exactly-once-delivery.js +1 -1
- package/core/Icon/components/icon-display-exactly-once-delivery.js.map +1 -1
- package/core/Icon/components/icon-display-hipaa-mono.js +1 -1
- package/core/Icon/components/icon-display-hipaa-mono.js.map +1 -1
- package/core/Icon/components/icon-display-hipaa.js +1 -1
- package/core/Icon/components/icon-display-hipaa.js.map +1 -1
- package/core/Icon/components/icon-display-laptop.js +1 -1
- package/core/Icon/components/icon-display-laptop.js.map +1 -1
- package/core/Icon/components/icon-display-observe-analytics.js +1 -1
- package/core/Icon/components/icon-display-observe-analytics.js.map +1 -1
- package/core/Icon/components/icon-display-platform.js +1 -1
- package/core/Icon/components/icon-display-platform.js.map +1 -1
- package/core/Icon/components/icon-display-private-link.js +1 -1
- package/core/Icon/components/icon-display-private-link.js.map +1 -1
- package/core/Icon/components/icon-display-shopping-cart.js +1 -1
- package/core/Icon/components/icon-display-shopping-cart.js.map +1 -1
- package/core/Icon/components/icon-gui-further-reading.js +1 -1
- package/core/Icon/components/icon-gui-further-reading.js.map +1 -1
- package/core/Icon/components/icon-gui-refresh.js +1 -1
- package/core/Icon/components/icon-gui-refresh.js.map +1 -1
- package/core/Icon/components/icon-product-asset-tracking.js +1 -1
- package/core/Icon/components/icon-product-asset-tracking.js.map +1 -1
- package/core/Icon/components/icon-product-chat.js +1 -1
- package/core/Icon/components/icon-product-chat.js.map +1 -1
- package/core/Icon/components/icon-product-liveobjects-dark.js +1 -1
- package/core/Icon/components/icon-product-liveobjects-dark.js.map +1 -1
- package/core/Icon/components/icon-product-liveobjects.js +1 -1
- package/core/Icon/components/icon-product-liveobjects.js.map +1 -1
- package/core/Icon/components/icon-product-livesync.js +1 -1
- package/core/Icon/components/icon-product-livesync.js.map +1 -1
- package/core/Icon/components/icon-product-pubsub.js +1 -1
- package/core/Icon/components/icon-product-pubsub.js.map +1 -1
- package/core/Icon/components/icon-product-spaces.js +1 -1
- package/core/Icon/components/icon-product-spaces.js.map +1 -1
- package/core/Icon/components/icon-social-facebook-mono.js +1 -1
- package/core/Icon/components/icon-social-facebook-mono.js.map +1 -1
- package/core/Icon/components/icon-social-facebook.js +1 -1
- package/core/Icon/components/icon-social-facebook.js.map +1 -1
- package/core/Icon/components/icon-tech-ably-api-streamer.js +1 -1
- package/core/Icon/components/icon-tech-ably-api-streamer.js.map +1 -1
- package/core/Icon/components/icon-tech-ably-native.js +1 -1
- package/core/Icon/components/icon-tech-ably-native.js.map +1 -1
- package/core/Icon/components/icon-tech-ably.js +1 -1
- package/core/Icon/components/icon-tech-ably.js.map +1 -1
- package/core/Icon/components/icon-tech-activitypub.js +1 -1
- package/core/Icon/components/icon-tech-activitypub.js.map +1 -1
- package/core/Icon/components/icon-tech-aerospike.js +1 -1
- package/core/Icon/components/icon-tech-aerospike.js.map +1 -1
- package/core/Icon/components/icon-tech-akka.js +1 -1
- package/core/Icon/components/icon-tech-akka.js.map +1 -1
- package/core/Icon/components/icon-tech-amazon-event-bridge.js +1 -1
- package/core/Icon/components/icon-tech-amazon-event-bridge.js.map +1 -1
- package/core/Icon/components/icon-tech-anycable.js +1 -1
- package/core/Icon/components/icon-tech-anycable.js.map +1 -1
- package/core/Icon/components/icon-tech-apache-cassandra.js +1 -1
- package/core/Icon/components/icon-tech-apache-cassandra.js.map +1 -1
- package/core/Icon/components/icon-tech-apache-cordova.js +1 -1
- package/core/Icon/components/icon-tech-apache-cordova.js.map +1 -1
- package/core/Icon/components/icon-tech-apachestorm.js +1 -1
- package/core/Icon/components/icon-tech-apachestorm.js.map +1 -1
- package/core/Icon/components/icon-tech-apns.js +1 -1
- package/core/Icon/components/icon-tech-apns.js.map +1 -1
- package/core/Icon/components/icon-tech-atmosphere.js +1 -1
- package/core/Icon/components/icon-tech-atmosphere.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-app-sync.js +1 -1
- package/core/Icon/components/icon-tech-aws-app-sync.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-gateway-websockets.js +1 -1
- package/core/Icon/components/icon-tech-aws-gateway-websockets.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-sns.js +1 -1
- package/core/Icon/components/icon-tech-aws-sns.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-sqs.js +1 -1
- package/core/Icon/components/icon-tech-aws-sqs.js.map +1 -1
- package/core/Icon/components/icon-tech-awsiot.js +1 -1
- package/core/Icon/components/icon-tech-awsiot.js.map +1 -1
- package/core/Icon/components/icon-tech-awskinesis.js +1 -1
- package/core/Icon/components/icon-tech-awskinesis.js.map +1 -1
- package/core/Icon/components/icon-tech-awslambda.js +1 -1
- package/core/Icon/components/icon-tech-awslambda.js.map +1 -1
- package/core/Icon/components/icon-tech-awssqs.js +1 -1
- package/core/Icon/components/icon-tech-awssqs.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-bus.js +1 -1
- package/core/Icon/components/icon-tech-azure-bus.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-web-pubsub.js +1 -1
- package/core/Icon/components/icon-tech-azure-web-pubsub.js.map +1 -1
- package/core/Icon/components/icon-tech-azurefunctions.js +1 -1
- package/core/Icon/components/icon-tech-azurefunctions.js.map +1 -1
- package/core/Icon/components/icon-tech-azureservicebus.js +1 -1
- package/core/Icon/components/icon-tech-azureservicebus.js.map +1 -1
- package/core/Icon/components/icon-tech-azuresignalR.js +1 -1
- package/core/Icon/components/icon-tech-azuresignalR.js.map +1 -1
- package/core/Icon/components/icon-tech-bayeux.js +1 -1
- package/core/Icon/components/icon-tech-bayeux.js.map +1 -1
- package/core/Icon/components/icon-tech-c.js +1 -1
- package/core/Icon/components/icon-tech-c.js.map +1 -1
- package/core/Icon/components/icon-tech-centrifugo.js +1 -1
- package/core/Icon/components/icon-tech-centrifugo.js.map +1 -1
- package/core/Icon/components/icon-tech-clojure.js +1 -1
- package/core/Icon/components/icon-tech-clojure.js.map +1 -1
- package/core/Icon/components/icon-tech-cloudflare-durable-objects.js +1 -1
- package/core/Icon/components/icon-tech-cloudflare-durable-objects.js.map +1 -1
- package/core/Icon/components/icon-tech-cloudflareworkers.js +1 -1
- package/core/Icon/components/icon-tech-cloudflareworkers.js.map +1 -1
- package/core/Icon/components/icon-tech-cocoa.js +1 -1
- package/core/Icon/components/icon-tech-cocoa.js.map +1 -1
- package/core/Icon/components/icon-tech-confluent.js +1 -1
- package/core/Icon/components/icon-tech-confluent.js.map +1 -1
- package/core/Icon/components/icon-tech-cord.js +1 -1
- package/core/Icon/components/icon-tech-cord.js.map +1 -1
- package/core/Icon/components/icon-tech-csharp.js +1 -1
- package/core/Icon/components/icon-tech-csharp.js.map +1 -1
- package/core/Icon/components/icon-tech-customwebhooks.js +1 -1
- package/core/Icon/components/icon-tech-customwebhooks.js.map +1 -1
- package/core/Icon/components/icon-tech-engineio.js +1 -1
- package/core/Icon/components/icon-tech-engineio.js.map +1 -1
- package/core/Icon/components/icon-tech-event-driven-servers.js +1 -1
- package/core/Icon/components/icon-tech-event-driven-servers.js.map +1 -1
- package/core/Icon/components/icon-tech-fast-api.js +1 -1
- package/core/Icon/components/icon-tech-fast-api.js.map +1 -1
- package/core/Icon/components/icon-tech-featherjs.js +1 -1
- package/core/Icon/components/icon-tech-featherjs.js.map +1 -1
- package/core/Icon/components/icon-tech-firebase-cloud-messaging.js +1 -1
- package/core/Icon/components/icon-tech-firebase-cloud-messaging.js.map +1 -1
- package/core/Icon/components/icon-tech-firebase.js +1 -1
- package/core/Icon/components/icon-tech-firebase.js.map +1 -1
- package/core/Icon/components/icon-tech-flutter.js +1 -1
- package/core/Icon/components/icon-tech-flutter.js.map +1 -1
- package/core/Icon/components/icon-tech-gclouddataflow.js +1 -1
- package/core/Icon/components/icon-tech-gclouddataflow.js.map +1 -1
- package/core/Icon/components/icon-tech-gcloudfunctions.js +1 -1
- package/core/Icon/components/icon-tech-gcloudfunctions.js.map +1 -1
- package/core/Icon/components/icon-tech-gcloudpubsub.js +1 -1
- package/core/Icon/components/icon-tech-gcloudpubsub.js.map +1 -1
- package/core/Icon/components/icon-tech-grpc.js +1 -1
- package/core/Icon/components/icon-tech-grpc.js.map +1 -1
- package/core/Icon/components/icon-tech-hivemq.js +1 -1
- package/core/Icon/components/icon-tech-hivemq.js.map +1 -1
- package/core/Icon/components/icon-tech-http2.js +1 -1
- package/core/Icon/components/icon-tech-http2.js.map +1 -1
- package/core/Icon/components/icon-tech-http3.js +1 -1
- package/core/Icon/components/icon-tech-http3.js.map +1 -1
- package/core/Icon/components/icon-tech-httprest.js +1 -1
- package/core/Icon/components/icon-tech-httprest.js.map +1 -1
- package/core/Icon/components/icon-tech-idempotency.js +1 -1
- package/core/Icon/components/icon-tech-idempotency.js.map +1 -1
- package/core/Icon/components/icon-tech-ios-generic.js +1 -1
- package/core/Icon/components/icon-tech-ios-generic.js.map +1 -1
- package/core/Icon/components/icon-tech-ios.js +1 -1
- package/core/Icon/components/icon-tech-ios.js.map +1 -1
- package/core/Icon/components/icon-tech-ipados.js +1 -1
- package/core/Icon/components/icon-tech-ipados.js.map +1 -1
- package/core/Icon/components/icon-tech-ironmq.js +1 -1
- package/core/Icon/components/icon-tech-ironmq.js.map +1 -1
- package/core/Icon/components/icon-tech-java.js +1 -1
- package/core/Icon/components/icon-tech-java.js.map +1 -1
- package/core/Icon/components/icon-tech-javascript.js +1 -1
- package/core/Icon/components/icon-tech-javascript.js.map +1 -1
- package/core/Icon/components/icon-tech-jms.js +1 -1
- package/core/Icon/components/icon-tech-jms.js.map +1 -1
- package/core/Icon/components/icon-tech-json.js +1 -1
- package/core/Icon/components/icon-tech-json.js.map +1 -1
- package/core/Icon/components/icon-tech-kaazing.js +1 -1
- package/core/Icon/components/icon-tech-kaazing.js.map +1 -1
- package/core/Icon/components/icon-tech-kotlin.js +1 -1
- package/core/Icon/components/icon-tech-kotlin.js.map +1 -1
- package/core/Icon/components/icon-tech-laravel-echo.js +1 -1
- package/core/Icon/components/icon-tech-laravel-echo.js.map +1 -1
- package/core/Icon/components/icon-tech-longpolling.js +1 -1
- package/core/Icon/components/icon-tech-longpolling.js.map +1 -1
- package/core/Icon/components/icon-tech-macos.js +1 -1
- package/core/Icon/components/icon-tech-macos.js.map +1 -1
- package/core/Icon/components/icon-tech-meteor.js +1 -1
- package/core/Icon/components/icon-tech-meteor.js.map +1 -1
- package/core/Icon/components/icon-tech-mono.js +1 -1
- package/core/Icon/components/icon-tech-mono.js.map +1 -1
- package/core/Icon/components/icon-tech-net.js +1 -1
- package/core/Icon/components/icon-tech-net.js.map +1 -1
- package/core/Icon/components/icon-tech-nextjs.js +1 -1
- package/core/Icon/components/icon-tech-nextjs.js.map +1 -1
- package/core/Icon/components/icon-tech-nodejs.js +1 -1
- package/core/Icon/components/icon-tech-nodejs.js.map +1 -1
- package/core/Icon/components/icon-tech-objectivec.js +1 -1
- package/core/Icon/components/icon-tech-objectivec.js.map +1 -1
- package/core/Icon/components/icon-tech-programminglanguages.js +1 -1
- package/core/Icon/components/icon-tech-programminglanguages.js.map +1 -1
- package/core/Icon/components/icon-tech-protocols.js +1 -1
- package/core/Icon/components/icon-tech-protocols.js.map +1 -1
- package/core/Icon/components/icon-tech-pubnub.js +1 -1
- package/core/Icon/components/icon-tech-pubnub.js.map +1 -1
- package/core/Icon/components/icon-tech-push-technology.js +1 -1
- package/core/Icon/components/icon-tech-push-technology.js.map +1 -1
- package/core/Icon/components/icon-tech-python.js +1 -1
- package/core/Icon/components/icon-tech-python.js.map +1 -1
- package/core/Icon/components/icon-tech-railsactioncable.js +1 -1
- package/core/Icon/components/icon-tech-railsactioncable.js.map +1 -1
- package/core/Icon/components/icon-tech-react-app.js +1 -1
- package/core/Icon/components/icon-tech-react-app.js.map +1 -1
- package/core/Icon/components/icon-tech-react.js +1 -1
- package/core/Icon/components/icon-tech-react.js.map +1 -1
- package/core/Icon/components/icon-tech-replicache.js +1 -1
- package/core/Icon/components/icon-tech-replicache.js.map +1 -1
- package/core/Icon/components/icon-tech-rethinkdb.js +1 -1
- package/core/Icon/components/icon-tech-rethinkdb.js.map +1 -1
- package/core/Icon/components/icon-tech-ruby.js +1 -1
- package/core/Icon/components/icon-tech-ruby.js.map +1 -1
- package/core/Icon/components/icon-tech-scala.js +1 -1
- package/core/Icon/components/icon-tech-scala.js.map +1 -1
- package/core/Icon/components/icon-tech-scaledrone.js +1 -1
- package/core/Icon/components/icon-tech-scaledrone.js.map +1 -1
- package/core/Icon/components/icon-tech-signalR.js +1 -1
- package/core/Icon/components/icon-tech-signalR.js.map +1 -1
- package/core/Icon/components/icon-tech-snowflake.js +1 -1
- package/core/Icon/components/icon-tech-snowflake.js.map +1 -1
- package/core/Icon/components/icon-tech-socketio.js +1 -1
- package/core/Icon/components/icon-tech-socketio.js.map +1 -1
- package/core/Icon/components/icon-tech-sockjs.js +1 -1
- package/core/Icon/components/icon-tech-sockjs.js.map +1 -1
- package/core/Icon/components/icon-tech-solace.js +1 -1
- package/core/Icon/components/icon-tech-solace.js.map +1 -1
- package/core/Icon/components/icon-tech-spring.js +1 -1
- package/core/Icon/components/icon-tech-spring.js.map +1 -1
- package/core/Icon/components/icon-tech-streamdata-io.js +1 -1
- package/core/Icon/components/icon-tech-streamdata-io.js.map +1 -1
- package/core/Icon/components/icon-tech-streamr.js +1 -1
- package/core/Icon/components/icon-tech-streamr.js.map +1 -1
- package/core/Icon/components/icon-tech-swift.js +1 -1
- package/core/Icon/components/icon-tech-swift.js.map +1 -1
- package/core/Icon/components/icon-tech-symfony-mercure.js +1 -1
- package/core/Icon/components/icon-tech-symfony-mercure.js.map +1 -1
- package/core/Icon/components/icon-tech-symfony.js +1 -1
- package/core/Icon/components/icon-tech-symfony.js.map +1 -1
- package/core/Icon/components/icon-tech-tcp-ip.js +1 -1
- package/core/Icon/components/icon-tech-tcp-ip.js.map +1 -1
- package/core/Icon/components/icon-tech-tenefit.js +1 -1
- package/core/Icon/components/icon-tech-tenefit.js.map +1 -1
- package/core/Icon/components/icon-tech-tvos.js +1 -1
- package/core/Icon/components/icon-tech-tvos.js.map +1 -1
- package/core/Icon/components/icon-tech-twilio.js +1 -1
- package/core/Icon/components/icon-tech-twilio.js.map +1 -1
- package/core/Icon/components/icon-tech-typescript.js +1 -1
- package/core/Icon/components/icon-tech-typescript.js.map +1 -1
- package/core/Icon/components/icon-tech-udp-protocol.js +1 -1
- package/core/Icon/components/icon-tech-udp-protocol.js.map +1 -1
- package/core/Icon/components/icon-tech-vscode.js +1 -1
- package/core/Icon/components/icon-tech-vscode.js.map +1 -1
- package/core/Icon/components/icon-tech-watchos.js +1 -1
- package/core/Icon/components/icon-tech-watchos.js.map +1 -1
- package/core/Icon/components/icon-tech-web-push.js +1 -1
- package/core/Icon/components/icon-tech-web-push.js.map +1 -1
- package/core/Icon/components/icon-tech-webhooks.js +1 -1
- package/core/Icon/components/icon-tech-webhooks.js.map +1 -1
- package/core/Icon/components/icon-tech-websub.js +1 -1
- package/core/Icon/components/icon-tech-websub.js.map +1 -1
- package/core/Icon/components/icon-tech-xamarin.js +1 -1
- package/core/Icon/components/icon-tech-xamarin.js.map +1 -1
- package/core/Icon/components/icon-tech-xhr-streaming.js +1 -1
- package/core/Icon/components/icon-tech-xhr-streaming.js.map +1 -1
- package/core/Icon/components/icon-tech-xmpp.js +1 -1
- package/core/Icon/components/icon-tech-xmpp.js.map +1 -1
- package/core/Icon/components/icon-tech-zapier.js +1 -1
- package/core/Icon/components/icon-tech-zapier.js.map +1 -1
- package/core/Icon/components/icon-tech-zeromq.js +1 -1
- package/core/Icon/components/icon-tech-zeromq.js.map +1 -1
- package/core/Icon/utils.js +1 -1
- package/core/Icon/utils.js.map +1 -1
- package/core/Icon.js +1 -1
- package/core/Icon.js.map +1 -1
- package/core/icons/display/icon-display-api-keys.svg +4 -2
- package/core/icons/display/icon-display-browser.svg +6 -4
- package/core/icons/display/icon-display-custom-cname.svg +28 -15
- package/core/icons/display/icon-display-dynamic-channel-groups.svg +28 -18
- package/core/icons/display/icon-display-exactly-once-delivery.svg +19 -12
- package/core/icons/display/icon-display-hipaa-mono.svg +11 -9
- package/core/icons/display/icon-display-hipaa.svg +11 -9
- package/core/icons/display/icon-display-laptop.svg +11 -9
- package/core/icons/display/icon-display-observe-analytics.svg +37 -19
- package/core/icons/display/icon-display-platform.svg +30 -21
- package/core/icons/display/icon-display-private-link.svg +27 -19
- package/core/icons/display/icon-display-shopping-cart.svg +11 -9
- package/core/icons/gui/icon-gui-further-reading.svg +17 -13
- package/core/icons/gui/icon-gui-refresh.svg +11 -9
- package/core/icons/product/icon-product-asset-tracking.svg +11 -8
- package/core/icons/product/icon-product-chat.svg +11 -8
- package/core/icons/product/icon-product-liveobjects-dark.svg +11 -9
- package/core/icons/product/icon-product-liveobjects.svg +11 -9
- package/core/icons/product/icon-product-livesync.svg +11 -8
- package/core/icons/product/icon-product-pubsub.svg +11 -8
- package/core/icons/product/icon-product-spaces.svg +11 -8
- package/core/icons/social/icon-social-facebook-mono.svg +14 -10
- package/core/icons/social/icon-social-facebook.svg +14 -10
- package/core/icons/tech/icon-tech-ably-api-streamer.svg +22 -14
- package/core/icons/tech/icon-tech-ably-native.svg +35 -27
- package/core/icons/tech/icon-tech-ably.svg +27 -21
- package/core/icons/tech/icon-tech-activitypub.svg +29 -20
- package/core/icons/tech/icon-tech-aerospike.svg +12 -10
- package/core/icons/tech/icon-tech-akka.svg +14 -10
- package/core/icons/tech/icon-tech-amazon-event-bridge.svg +12 -9
- package/core/icons/tech/icon-tech-anycable.svg +94 -37
- package/core/icons/tech/icon-tech-apache-cassandra.svg +38 -21
- package/core/icons/tech/icon-tech-apache-cordova.svg +143 -91
- package/core/icons/tech/icon-tech-apachestorm.svg +22 -13
- package/core/icons/tech/icon-tech-apns.svg +50 -46
- package/core/icons/tech/icon-tech-atmosphere.svg +16 -11
- package/core/icons/tech/icon-tech-aws-app-sync.svg +17 -14
- package/core/icons/tech/icon-tech-aws-gateway-websockets.svg +29 -16
- package/core/icons/tech/icon-tech-aws-sns.svg +24 -14
- package/core/icons/tech/icon-tech-aws-sqs.svg +35 -20
- package/core/icons/tech/icon-tech-awsiot.svg +11 -9
- package/core/icons/tech/icon-tech-awskinesis.svg +29 -18
- package/core/icons/tech/icon-tech-awslambda.svg +15 -11
- package/core/icons/tech/icon-tech-awssqs.svg +35 -20
- package/core/icons/tech/icon-tech-azure-bus.svg +17 -11
- package/core/icons/tech/icon-tech-azure-web-pubsub.svg +475 -164
- package/core/icons/tech/icon-tech-azurefunctions.svg +31 -20
- package/core/icons/tech/icon-tech-azureservicebus.svg +11 -9
- package/core/icons/tech/icon-tech-azuresignalR.svg +11 -9
- package/core/icons/tech/icon-tech-bayeux.svg +17 -11
- package/core/icons/tech/icon-tech-c++.svg +20 -12
- package/core/icons/tech/icon-tech-centrifugo.svg +32 -16
- package/core/icons/tech/icon-tech-clojure.svg +20 -12
- package/core/icons/tech/icon-tech-cloudflare-durable-objects.svg +17 -11
- package/core/icons/tech/icon-tech-cloudflareworkers.svg +73 -49
- package/core/icons/tech/icon-tech-cocoa.svg +14 -10
- package/core/icons/tech/icon-tech-confluent.svg +14 -10
- package/core/icons/tech/icon-tech-cord.svg +20 -12
- package/core/icons/tech/icon-tech-csharp.svg +26 -14
- package/core/icons/tech/icon-tech-customwebhooks.svg +19 -12
- package/core/icons/tech/icon-tech-engineio.svg +13 -11
- package/core/icons/tech/icon-tech-event-driven-servers.svg +35 -17
- package/core/icons/tech/icon-tech-fast-api.svg +13 -10
- package/core/icons/tech/icon-tech-featherjs.svg +14 -10
- package/core/icons/tech/icon-tech-firebase-cloud-messaging.svg +23 -15
- package/core/icons/tech/icon-tech-firebase.svg +18 -12
- package/core/icons/tech/icon-tech-flutter.svg +27 -21
- package/core/icons/tech/icon-tech-gclouddataflow.svg +24 -15
- package/core/icons/tech/icon-tech-gcloudfunctions.svg +20 -12
- package/core/icons/tech/icon-tech-gcloudpubsub.svg +26 -19
- package/core/icons/tech/icon-tech-grpc.svg +26 -20
- package/core/icons/tech/icon-tech-hivemq.svg +23 -13
- package/core/icons/tech/icon-tech-http2.svg +36 -18
- package/core/icons/tech/icon-tech-http3.svg +34 -18
- package/core/icons/tech/icon-tech-httprest.svg +34 -17
- package/core/icons/tech/icon-tech-idempotency.svg +26 -14
- package/core/icons/tech/icon-tech-ios-generic.svg +11 -9
- package/core/icons/tech/icon-tech-ios.svg +18 -12
- package/core/icons/tech/icon-tech-ipados.svg +11 -9
- package/core/icons/tech/icon-tech-ironmq.svg +11 -9
- package/core/icons/tech/icon-tech-java.svg +35 -17
- package/core/icons/tech/icon-tech-javascript.svg +14 -10
- package/core/icons/tech/icon-tech-jms.svg +17 -11
- package/core/icons/tech/icon-tech-json.svg +26 -14
- package/core/icons/tech/icon-tech-kaazing.svg +15 -11
- package/core/icons/tech/icon-tech-kotlin.svg +32 -28
- package/core/icons/tech/icon-tech-laravel-echo.svg +25 -16
- package/core/icons/tech/icon-tech-longpolling.svg +32 -16
- package/core/icons/tech/icon-tech-macos.svg +11 -9
- package/core/icons/tech/icon-tech-meteor.svg +11 -9
- package/core/icons/tech/icon-tech-mono.svg +11 -9
- package/core/icons/tech/icon-tech-net.svg +22 -13
- package/core/icons/tech/icon-tech-nextjs.svg +39 -29
- package/core/icons/tech/icon-tech-nodejs.svg +33 -24
- package/core/icons/tech/icon-tech-objectivec.svg +17 -15
- package/core/icons/tech/icon-tech-programminglanguages.svg +22 -13
- package/core/icons/tech/icon-tech-protocols.svg +15 -13
- package/core/icons/tech/icon-tech-pubnub.svg +11 -9
- package/core/icons/tech/icon-tech-push-technology.svg +11 -9
- package/core/icons/tech/icon-tech-python.svg +35 -24
- package/core/icons/tech/icon-tech-railsactioncable.svg +20 -12
- package/core/icons/tech/icon-tech-react-app.svg +14 -10
- package/core/icons/tech/icon-tech-react.svg +14 -10
- package/core/icons/tech/icon-tech-replicache.svg +44 -26
- package/core/icons/tech/icon-tech-rethinkdb.svg +12 -10
- package/core/icons/tech/icon-tech-ruby.svg +184 -140
- package/core/icons/tech/icon-tech-scala.svg +48 -33
- package/core/icons/tech/icon-tech-scaledrone.svg +20 -15
- package/core/icons/tech/icon-tech-signalR.svg +11 -9
- package/core/icons/tech/icon-tech-snowflake.svg +11 -9
- package/core/icons/tech/icon-tech-socketio.svg +17 -11
- package/core/icons/tech/icon-tech-sockjs.svg +11 -9
- package/core/icons/tech/icon-tech-solace.svg +9 -9
- package/core/icons/tech/icon-tech-spring.svg +11 -9
- package/core/icons/tech/icon-tech-streamdata-io.svg +11 -9
- package/core/icons/tech/icon-tech-streamr.svg +11 -9
- package/core/icons/tech/icon-tech-swift.svg +27 -19
- package/core/icons/tech/icon-tech-symfony-mercure.svg +24 -18
- package/core/icons/tech/icon-tech-symfony.svg +11 -9
- package/core/icons/tech/icon-tech-tcp-ip.svg +11 -9
- package/core/icons/tech/icon-tech-tenefit.svg +33 -21
- package/core/icons/tech/icon-tech-tvos.svg +11 -9
- package/core/icons/tech/icon-tech-twilio.svg +11 -9
- package/core/icons/tech/icon-tech-typescript.svg +12 -10
- package/core/icons/tech/icon-tech-udp-protocol.svg +11 -9
- package/core/icons/tech/icon-tech-vscode.svg +48 -35
- package/core/icons/tech/icon-tech-watchos.svg +11 -9
- package/core/icons/tech/icon-tech-web-push.svg +17 -11
- package/core/icons/tech/icon-tech-webhooks.svg +17 -11
- package/core/icons/tech/icon-tech-websub.svg +17 -11
- package/core/icons/tech/icon-tech-xamarin.svg +11 -9
- package/core/icons/tech/icon-tech-xhr-streaming.svg +17 -11
- package/core/icons/tech/icon-tech-xmpp.svg +33 -19
- package/core/icons/tech/icon-tech-zapier.svg +11 -9
- package/core/icons/tech/icon-tech-zeromq.svg +12 -10
- package/core/remote-session-data.js.map +1 -1
- package/core/styles.components.css +16 -3
- package/index.d.ts +3 -2
- package/package.json +1 -1
package/core/Code.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from"react";import{highlightSnippet,registerDefaultLanguages}from"./utils/syntax-highlighter";import languagesRegistry from"./utils/syntax-highlighter-registry";import cn from"./utils/cn";registerDefaultLanguages(languagesRegistry);const Code=({language,snippet,textSize="ui-text-code",padding="p-8",additionalCSS="",showLines,lineCSS})=>{const trimmedSnippet=snippet.trimEnd();const HTMLraw=highlightSnippet(language,trimmedSnippet)??"";const className=`language-${language} ${textSize}`;const lines=trimmedSnippet.split(/\r\n|\r|\n/);const lineCount=lines.length;return React.createElement("div",{className:cn("hljs flex",padding,additionalCSS),"data-id":"code"},showLines?React.createElement("div",{className:"text-
|
|
1
|
+
import React from"react";import{highlightSnippet,registerDefaultLanguages}from"./utils/syntax-highlighter";import languagesRegistry from"./utils/syntax-highlighter-registry";import cn from"./utils/cn";registerDefaultLanguages(languagesRegistry);const Code=({language,snippet,textSize="ui-text-code",padding="p-8",additionalCSS="",showLines,lineCSS})=>{const trimmedSnippet=snippet.trimEnd();const HTMLraw=highlightSnippet(language,trimmedSnippet)??"";const className=`language-${language} ${textSize}`;const lines=trimmedSnippet.split(/\r\n|\r|\n/);const lineCount=lines.length;return React.createElement("div",{className:cn("hljs flex",padding,additionalCSS),"data-id":"code"},showLines?React.createElement("div",{className:"text-code leading-6 pt-px"},[...Array(lineCount)].map((_,i)=>React.createElement("p",{className:cn("mr-4 font-mono text-right text-neutral-800",lineCSS),key:i},i+1))):null,React.createElement("pre",{lang:language,className:"overflow-auto flex-1 leading-6"},React.createElement("code",{className:className,dangerouslySetInnerHTML:{__html:HTMLraw}})))};export default Code;
|
|
2
2
|
//# sourceMappingURL=Code.js.map
|
package/core/Code.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/core/Code.tsx"],"sourcesContent":["import React from \"react\";\nimport {\n highlightSnippet,\n registerDefaultLanguages,\n} from \"./utils/syntax-highlighter\";\nimport languagesRegistry from \"./utils/syntax-highlighter-registry\";\nimport cn from \"./utils/cn\";\n\nregisterDefaultLanguages(languagesRegistry);\n\ntype CodeProps = {\n language: string;\n snippet: string;\n textSize?: string;\n padding?: string;\n additionalCSS?: string;\n showLines?: boolean;\n lineCSS?: string;\n};\n\nconst Code = ({\n language,\n snippet,\n textSize = \"ui-text-code\",\n padding = \"p-8\",\n additionalCSS = \"\",\n showLines,\n lineCSS,\n}: CodeProps) => {\n // Trim the snippet and remove trailing empty lines\n const trimmedSnippet = snippet.trimEnd();\n const HTMLraw = highlightSnippet(language, trimmedSnippet) ?? \"\";\n const className = `language-${language} ${textSize}`;\n\n // Calculate line count after removing trailing empty lines\n const lines = trimmedSnippet.split(/\\r\\n|\\r|\\n/);\n const lineCount = lines.length;\n\n return (\n <div className={cn(\"hljs flex\", padding, additionalCSS)} data-id=\"code\">\n {showLines ? (\n <div className=\"text-
|
|
1
|
+
{"version":3,"sources":["../../src/core/Code.tsx"],"sourcesContent":["import React from \"react\";\nimport {\n highlightSnippet,\n registerDefaultLanguages,\n} from \"./utils/syntax-highlighter\";\nimport languagesRegistry from \"./utils/syntax-highlighter-registry\";\nimport cn from \"./utils/cn\";\n\nregisterDefaultLanguages(languagesRegistry);\n\ntype CodeProps = {\n language: string;\n snippet: string;\n textSize?: string;\n padding?: string;\n additionalCSS?: string;\n showLines?: boolean;\n lineCSS?: string;\n};\n\nconst Code = ({\n language,\n snippet,\n textSize = \"ui-text-code\",\n padding = \"p-8\",\n additionalCSS = \"\",\n showLines,\n lineCSS,\n}: CodeProps) => {\n // Trim the snippet and remove trailing empty lines\n const trimmedSnippet = snippet.trimEnd();\n const HTMLraw = highlightSnippet(language, trimmedSnippet) ?? \"\";\n const className = `language-${language} ${textSize}`;\n\n // Calculate line count after removing trailing empty lines\n const lines = trimmedSnippet.split(/\\r\\n|\\r|\\n/);\n const lineCount = lines.length;\n\n return (\n <div className={cn(\"hljs flex\", padding, additionalCSS)} data-id=\"code\">\n {showLines ? (\n <div className=\"text-code leading-6 pt-px\">\n {[...Array(lineCount)].map((_, i) => (\n <p\n className={cn(\n \"mr-4 font-mono text-right text-neutral-800\",\n lineCSS,\n )}\n key={i}\n >\n {i + 1}\n </p>\n ))}\n </div>\n ) : null}\n <pre lang={language} className=\"overflow-auto flex-1 leading-6\">\n <code\n className={className}\n dangerouslySetInnerHTML={{ __html: HTMLraw }}\n />\n </pre>\n </div>\n );\n};\n\nexport default Code;\n"],"names":["React","highlightSnippet","registerDefaultLanguages","languagesRegistry","cn","Code","language","snippet","textSize","padding","additionalCSS","showLines","lineCSS","trimmedSnippet","trimEnd","HTMLraw","className","lines","split","lineCount","length","div","data-id","Array","map","_","i","p","key","pre","lang","code","dangerouslySetInnerHTML","__html"],"mappings":"AAAA,OAAOA,UAAW,OAAQ,AAC1B,QACEC,gBAAgB,CAChBC,wBAAwB,KACnB,4BAA6B,AACpC,QAAOC,sBAAuB,qCAAsC,AACpE,QAAOC,OAAQ,YAAa,CAE5BF,yBAAyBC,mBAYzB,MAAME,KAAO,CAAC,CACZC,QAAQ,CACRC,OAAO,CACPC,SAAW,cAAc,CACzBC,QAAU,KAAK,CACfC,cAAgB,EAAE,CAClBC,SAAS,CACTC,OAAO,CACG,IAEV,MAAMC,eAAiBN,QAAQO,OAAO,GACtC,MAAMC,QAAUd,iBAAiBK,SAAUO,iBAAmB,GAC9D,MAAMG,UAAY,CAAC,SAAS,EAAEV,SAAS,CAAC,EAAEE,SAAS,CAAC,CAGpD,MAAMS,MAAQJ,eAAeK,KAAK,CAAC,cACnC,MAAMC,UAAYF,MAAMG,MAAM,CAE9B,OACE,oBAACC,OAAIL,UAAWZ,GAAG,YAAaK,QAASC,eAAgBY,UAAQ,QAC9DX,UACC,oBAACU,OAAIL,UAAU,6BACZ,IAAIO,MAAMJ,WAAW,CAACK,GAAG,CAAC,CAACC,EAAGC,IAC7B,oBAACC,KACCX,UAAWZ,GACT,6CACAQ,SAEFgB,IAAKF,GAEJA,EAAI,KAIT,KACJ,oBAACG,OAAIC,KAAMxB,SAAUU,UAAU,kCAC7B,oBAACe,QACCf,UAAWA,UACXgB,wBAAyB,CAAEC,OAAQlB,OAAQ,KAKrD,CAEA,gBAAeV,IAAK"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React,{useMemo}from"react";import*as Select from"@radix-ui/react-select";import Badge from"../Badge";import Icon from"../Icon";import Tooltip from"../Tooltip";const ApiKeySelector=({apiKeys,selectedApiKey,onApiKeyChange})=>{const isDemoMode=useMemo(()=>apiKeys?.length===1&&apiKeys[0].app==="demo",[apiKeys]);const renderDemoMode=useMemo(()=>React.createElement("div",{className:"flex items-center gap-2"},React.createElement(Badge,{className:"ml-1 bg-neutral-200 dark:bg-neutral-1100"},"DEMO ONLY"),React.createElement(Tooltip,{className:"ml-0",triggerElement:React.createElement(Icon,{name:"icon-gui-information-circle-outline",size:"16px",color:"text-neutral-700 dark:text-neutral-600"})},"This code example uses a temporary key that is rate limited and expires in 4 hrs. Sign in to Ably to use your API keys instead.")),[]);const renderApiKeyDropdown=useMemo(()=>{if(isDemoMode){return renderDemoMode}if(!apiKeys?.length){return null}return React.createElement(Select.Root,{value:selectedApiKey,onValueChange:onApiKeyChange},React.createElement(Select.Trigger,{className:"inline-flex items-center justify-between rounded px-
|
|
1
|
+
import React,{useMemo}from"react";import*as Select from"@radix-ui/react-select";import Badge from"../Badge";import Icon from"../Icon";import Tooltip from"../Tooltip";const ApiKeySelector=({apiKeys,selectedApiKey,onApiKeyChange})=>{const isDemoMode=useMemo(()=>apiKeys?.length===1&&apiKeys[0].app==="demo",[apiKeys]);const renderDemoMode=useMemo(()=>React.createElement("div",{className:"flex items-center gap-2"},React.createElement(Badge,{className:"ml-1 bg-neutral-200 dark:bg-neutral-1100"},"DEMO ONLY"),React.createElement(Tooltip,{className:"ml-0",triggerElement:React.createElement(Icon,{name:"icon-gui-information-circle-outline",size:"16px",color:"text-neutral-700 dark:text-neutral-600"})},"This code example uses a temporary key that is rate limited and expires in 4 hrs. Sign in to Ably to use your API keys instead.")),[]);const renderApiKeyDropdown=useMemo(()=>{if(isDemoMode){return renderDemoMode}if(!apiKeys?.length){return null}return React.createElement(Select.Root,{value:selectedApiKey,onValueChange:onApiKeyChange},React.createElement(Select.Trigger,{className:"font-sans inline-flex items-center justify-between rounded px-3 py-2 ml-1 text-14 text-neutral-1300 dark:text-neutral-000 bg-neutral-200 dark:bg-neutral-1100 hover:bg-neutral-300 dark:hover:bg-neutral-1000 gap-2 focus-base border","aria-label":"API Key"},React.createElement(Select.Value,null),React.createElement(Select.Icon,{className:"size-4"},React.createElement(Icon,{name:"icon-gui-chevron-down-micro",size:"16px"}))),React.createElement(Select.Portal,null,React.createElement(Select.Content,{className:"overflow-hidden rounded-lg bg-neutral-000 dark:bg-neutral-1300 border border-neutral-200 dark:border-neutral-1000 shadow-md z-50"},React.createElement(Select.ScrollUpButton,{className:"flex items-center justify-center h-6 bg-neutral-000 dark:bg-neutral-1300 text-neutral-1300 dark:text-neutral-000 cursor-default focus-base"},React.createElement(Icon,{name:"icon-gui-chevron-down-outline",size:"16px",additionalCSS:"rotate-180"})),React.createElement(Select.Viewport,{className:"rounded-lg font-sans"},apiKeys.map(apiKeyItem=>React.createElement(Select.Group,{key:apiKeyItem.app},apiKeys.length>1&&React.createElement(Select.Label,{className:"text-neutral-700 rounded-none dark:text-neutral-600 p-1 bg-neutral-200 dark:bg-neutral-1100"},apiKeyItem.app),apiKeyItem.keys.map(({name,key})=>React.createElement(Select.Item,{key:`${apiKeyItem.app}-${name}-${key}`,value:key,className:"relative flex items-center justify-between m-2 p-2 rounded-lg text-14 text-neutral-1300 dark:text-neutral-000 select-none hover:bg-neutral-100 dark:hover:bg-neutral-1200 data-[highlighted]:outline-none data-[highlighted]:bg-neutral-100 dark:data-[highlighted]:bg-neutral-1200 focus-base min-w-64"},React.createElement(Select.ItemText,null,key.length>10?`${key.substring(0,10)}...`:key,React.createElement("span",{className:"font-light"},name&&` - ${name}`)),React.createElement(Select.ItemIndicator,{className:"size-4"},React.createElement(Icon,{name:"icon-gui-check-micro",size:"16px"}))))))),React.createElement(Select.ScrollDownButton,{className:"flex items-center justify-center h-6 bg-neutral-000 dark:bg-neutral-1300 text-neutral-1300 dark:text-neutral-000 cursor-default focus-base"},React.createElement(Icon,{name:"icon-gui-chevron-down-outline",size:"16px"})))))},[apiKeys,isDemoMode,selectedApiKey,onApiKeyChange,renderDemoMode]);return React.createElement("div",{className:"flex items-center border-t border-neutral-200 dark:border-neutral-1100 px-3 py-3"},React.createElement("span",{className:"ui-text-label4 text-neutral-700 dark:text-neutral-600 mr-1"},"API key:"),renderApiKeyDropdown)};ApiKeySelector.displayName="ApiKeySelector";export default ApiKeySelector;
|
|
2
2
|
//# sourceMappingURL=ApiKeySelector.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/core/CodeSnippet/ApiKeySelector.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport * as Select from \"@radix-ui/react-select\";\nimport Badge from \"../Badge\";\nimport Icon from \"../Icon\";\nimport Tooltip from \"../Tooltip\";\nimport type { ApiKeysItem } from \"../CodeSnippet\";\n\ntype ApiKeySelectorProps = {\n apiKeys?: ApiKeysItem[];\n selectedApiKey: string;\n onApiKeyChange: (apiKey: string) => void;\n};\n\nconst ApiKeySelector = ({\n apiKeys,\n selectedApiKey,\n onApiKeyChange,\n}: ApiKeySelectorProps) => {\n const isDemoMode = useMemo(\n () => apiKeys?.length === 1 && apiKeys[0].app === \"demo\",\n [apiKeys],\n );\n\n // Render the demo mode UI\n const renderDemoMode = useMemo(\n () => (\n <div className=\"flex items-center gap-2\">\n <Badge className=\"ml-1 bg-neutral-200 dark:bg-neutral-1100\">\n DEMO ONLY\n </Badge>\n <Tooltip\n className=\"ml-0\"\n triggerElement={\n <Icon\n name=\"icon-gui-information-circle-outline\"\n size=\"16px\"\n color=\"text-neutral-700 dark:text-neutral-600\"\n />\n }\n >\n This code example uses a temporary key that is rate limited and\n expires in 4 hrs. Sign in to Ably to use your API keys instead.\n </Tooltip>\n </div>\n ),\n [],\n );\n\n // Render the dropdown only if we have API keys\n const renderApiKeyDropdown = useMemo(() => {\n if (isDemoMode) {\n return renderDemoMode;\n }\n\n if (!apiKeys?.length) {\n return null;\n }\n\n return (\n <Select.Root value={selectedApiKey} onValueChange={onApiKeyChange}>\n <Select.Trigger\n className=\"inline-flex items-center justify-between rounded px-
|
|
1
|
+
{"version":3,"sources":["../../../src/core/CodeSnippet/ApiKeySelector.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport * as Select from \"@radix-ui/react-select\";\nimport Badge from \"../Badge\";\nimport Icon from \"../Icon\";\nimport Tooltip from \"../Tooltip\";\nimport type { ApiKeysItem } from \"../CodeSnippet\";\n\ntype ApiKeySelectorProps = {\n apiKeys?: ApiKeysItem[];\n selectedApiKey: string;\n onApiKeyChange: (apiKey: string) => void;\n};\n\nconst ApiKeySelector = ({\n apiKeys,\n selectedApiKey,\n onApiKeyChange,\n}: ApiKeySelectorProps) => {\n const isDemoMode = useMemo(\n () => apiKeys?.length === 1 && apiKeys[0].app === \"demo\",\n [apiKeys],\n );\n\n // Render the demo mode UI\n const renderDemoMode = useMemo(\n () => (\n <div className=\"flex items-center gap-2\">\n <Badge className=\"ml-1 bg-neutral-200 dark:bg-neutral-1100\">\n DEMO ONLY\n </Badge>\n <Tooltip\n className=\"ml-0\"\n triggerElement={\n <Icon\n name=\"icon-gui-information-circle-outline\"\n size=\"16px\"\n color=\"text-neutral-700 dark:text-neutral-600\"\n />\n }\n >\n This code example uses a temporary key that is rate limited and\n expires in 4 hrs. Sign in to Ably to use your API keys instead.\n </Tooltip>\n </div>\n ),\n [],\n );\n\n // Render the dropdown only if we have API keys\n const renderApiKeyDropdown = useMemo(() => {\n if (isDemoMode) {\n return renderDemoMode;\n }\n\n if (!apiKeys?.length) {\n return null;\n }\n\n return (\n <Select.Root value={selectedApiKey} onValueChange={onApiKeyChange}>\n <Select.Trigger\n className=\"font-sans inline-flex items-center justify-between rounded px-3 py-2 ml-1 text-14 text-neutral-1300 dark:text-neutral-000 bg-neutral-200 dark:bg-neutral-1100 hover:bg-neutral-300 dark:hover:bg-neutral-1000 gap-2 focus-base border\"\n aria-label=\"API Key\"\n >\n <Select.Value />\n <Select.Icon className=\"size-4\">\n <Icon name=\"icon-gui-chevron-down-micro\" size=\"16px\" />\n </Select.Icon>\n </Select.Trigger>\n\n <Select.Portal>\n <Select.Content className=\"overflow-hidden rounded-lg bg-neutral-000 dark:bg-neutral-1300 border border-neutral-200 dark:border-neutral-1000 shadow-md z-50\">\n <Select.ScrollUpButton className=\"flex items-center justify-center h-6 bg-neutral-000 dark:bg-neutral-1300 text-neutral-1300 dark:text-neutral-000 cursor-default focus-base\">\n <Icon\n name=\"icon-gui-chevron-down-outline\"\n size=\"16px\"\n additionalCSS=\"rotate-180\"\n />\n </Select.ScrollUpButton>\n\n <Select.Viewport className=\"rounded-lg font-sans\">\n {apiKeys.map((apiKeyItem) => (\n <Select.Group key={apiKeyItem.app}>\n {apiKeys.length > 1 && (\n <Select.Label className=\"text-neutral-700 rounded-none dark:text-neutral-600 p-1 bg-neutral-200 dark:bg-neutral-1100\">\n {apiKeyItem.app}\n </Select.Label>\n )}\n {apiKeyItem.keys.map(({ name, key }) => (\n <Select.Item\n key={`${apiKeyItem.app}-${name}-${key}`}\n value={key}\n className=\"relative flex items-center justify-between m-2 p-2 rounded-lg text-14 text-neutral-1300 dark:text-neutral-000 select-none hover:bg-neutral-100 dark:hover:bg-neutral-1200 data-[highlighted]:outline-none data-[highlighted]:bg-neutral-100 dark:data-[highlighted]:bg-neutral-1200 focus-base min-w-64\"\n >\n <Select.ItemText>\n {key.length > 10 ? `${key.substring(0, 10)}...` : key}\n <span className=\"font-light\">\n {name && ` - ${name}`}\n </span>\n </Select.ItemText>\n <Select.ItemIndicator className=\"size-4\">\n <Icon name=\"icon-gui-check-micro\" size=\"16px\" />\n </Select.ItemIndicator>\n </Select.Item>\n ))}\n </Select.Group>\n ))}\n </Select.Viewport>\n\n <Select.ScrollDownButton className=\"flex items-center justify-center h-6 bg-neutral-000 dark:bg-neutral-1300 text-neutral-1300 dark:text-neutral-000 cursor-default focus-base\">\n <Icon name=\"icon-gui-chevron-down-outline\" size=\"16px\" />\n </Select.ScrollDownButton>\n </Select.Content>\n </Select.Portal>\n </Select.Root>\n );\n }, [apiKeys, isDemoMode, selectedApiKey, onApiKeyChange, renderDemoMode]);\n\n return (\n <div className=\"flex items-center border-t border-neutral-200 dark:border-neutral-1100 px-3 py-3\">\n <span className=\"ui-text-label4 text-neutral-700 dark:text-neutral-600 mr-1\">\n API key:\n </span>\n {renderApiKeyDropdown}\n </div>\n );\n};\n\n// Define a display name to improve debugging\nApiKeySelector.displayName = \"ApiKeySelector\";\n\nexport default ApiKeySelector;\n"],"names":["React","useMemo","Select","Badge","Icon","Tooltip","ApiKeySelector","apiKeys","selectedApiKey","onApiKeyChange","isDemoMode","length","app","renderDemoMode","div","className","triggerElement","name","size","color","renderApiKeyDropdown","Root","value","onValueChange","Trigger","aria-label","Value","Portal","Content","ScrollUpButton","additionalCSS","Viewport","map","apiKeyItem","Group","key","Label","keys","Item","ItemText","substring","span","ItemIndicator","ScrollDownButton","displayName"],"mappings":"AAAA,OAAOA,OAASC,OAAO,KAAQ,OAAQ,AACvC,WAAYC,WAAY,wBAAyB,AACjD,QAAOC,UAAW,UAAW,AAC7B,QAAOC,SAAU,SAAU,AAC3B,QAAOC,YAAa,YAAa,CASjC,MAAMC,eAAiB,CAAC,CACtBC,OAAO,CACPC,cAA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,CAAC,EAAEkB,IAAI,CAAC,CACvCb,MAAOa,IACPpB,UAAU,2SAEV,oBAACb,OAAOqC,QAAQ,MACbJ,IAAIxB,MAAM,CAAG,GAAK,CAAC,EAAEwB,IAAIK,SAAS,CAAC,EAAG,IAAI,GAAG,CAAC,CAAGL,IAClD,oBAACM,QAAK1B,UAAU,cACbE,MAAQ,CAAC,GAAG,EAAEA,KAAK,CAAC,GAGzB,oBAACf,OAAOwC,aAAa,EAAC3B,UAAU,UAC9B,oBAACX,MAAKa,KAAK,uBAAuBC,KAAK,eAQnD,oBAAChB,OAAOyC,gBAAgB,EAAC5B,UAAU,8IACjC,oBAACX,MAAKa,KAAK,gCAAgCC,KAAK,YAM5D,EAAG,CAACX,QAASG,WAAYF,eAAgBC,eAAgBI,eAAe,EAExE,OACE,oBAACC,OAAIC,UAAU,oFACb,oBAAC0B,QAAK1B,UAAU,8DAA6D,YAG5EK,qBAGP,CAGAd,CAAAA,eAAesC,WAAW,CAAG,gBAE7B,gBAAetC,cAAe"}
|
package/core/CodeSnippet.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React,{useState,useEffect,Children,isValidElement,useRef,useCallback,useMemo}from"react";import Code from"./Code";import cn from"./utils/cn";import Icon from"./Icon";import{getLanguageInfo,stripSdkType}from"./CodeSnippet/languages";import LanguageSelector from"./CodeSnippet/LanguageSelector";import ApiKeySelector from"./CodeSnippet/ApiKeySelector";import useCopyToClipboard from"./utils/useCopyToClipboard";import PlainCodeView from"./CodeSnippet/PlainCodeView";import CopyButton from"./CodeSnippet/CopyButton";import TooltipButton from"./CodeSnippet/TooltipButton";const substituteApiKey=(content,apiKey)=>{return content.replace(/\{\{API_KEY\}\}/g,`${apiKey.split(":")[0]}:*****`)};const CodeSnippet=({fixed=false,headerRow=false,title="Code",children,className,lang,onChange,apiKeys,sdk,showCodeLines=true,languageOrdering})=>{const codeRef=useRef(null);const{isCopied,copy}=useCopyToClipboard();const extractLanguageFromCode=useCallback(codeElement=>{if(!codeElement||!codeElement.props.className)return null;const classNames=codeElement.props.className.split(" ");const langClass=classNames.find(cls=>cls.startsWith("language-"));if(!langClass)return null;return langClass.substring(9)},[]);const{codeData,languages,sdkTypes,isSinglePlainCommand}=useMemo(()=>{const childrenArray=Children.toArray(children);const languages=[];const sdkTypes=new Set;const codeData=[];const isSinglePlainCommand=childrenArray.length===1&&["language-shell","language-text"].some(lang=>isValidElement(childrenArray[0])&&isValidElement(childrenArray[0].props.children)&&childrenArray[0].props.children.props.className?.includes(lang));childrenArray.forEach(child=>{if(!isValidElement(child))return;const preElement=child;const codeElement=isValidElement(preElement.props.children)?preElement.props.children:null;if(!codeElement)return;const codeLanguage=extractLanguageFromCode(codeElement);if(!codeLanguage)return;if(codeLanguage.startsWith("realtime_")){sdkTypes.add("realtime")}else if(codeLanguage.startsWith("rest_")){sdkTypes.add("rest")}if(!languages.includes(codeLanguage)){languages.push(codeLanguage)}const codeContent=codeElement.props.children;codeData.push({language:codeLanguage,content:codeContent})});return{codeData,languages,sdkTypes,isSinglePlainCommand}},[children,extractLanguageFromCode]);const[activeSDKType,setActiveSDKType]=useState(()=>{if(sdkTypes.size===0)return null;if(sdk&&sdkTypes.has(sdk))return sdk;if(sdkTypes.has("realtime"))return"realtime";if(sdkTypes.has("rest"))return"rest";return null});const showSDKSelector=sdkTypes.size>0;const filteredLanguages=useMemo(()=>{const filtered=!activeSDKType||!showSDKSelector?[...languages]:languages.filter(lang=>lang.startsWith(`${activeSDKType}_`));if(languageOrdering&&languageOrdering.length>0){filtered.sort((a,b)=>{const aBase=stripSdkType(a);const bBase=stripSdkType(b);const aIndex=languageOrdering.indexOf(aBase);const bIndex=languageOrdering.indexOf(bBase);if(aIndex!==-1&&bIndex!==-1)return aIndex-bIndex;if(aIndex!==-1)return-1;if(bIndex!==-1)return 1;return 0})}return filtered},[activeSDKType,showSDKSelector,languages,languageOrdering]);const activeLanguage=useMemo(()=>{if(sdk&&sdkTypes.has(sdk)){return languages.find(l=>l===`${sdk}_${lang}`)??lang}if(lang)return lang;if(filteredLanguages.length>0)return filteredLanguages[0];return lang},[lang,sdk,sdkTypes,filteredLanguages]);const[selectedApiKey,setSelectedApiKey]=useState(()=>apiKeys?.[0]?.keys?.[0]?.key??"");useEffect(()=>{if(!selectedApiKey&&apiKeys&&apiKeys.length>0){setSelectedApiKey(apiKeys[0].keys?.[0]?.key)}},[apiKeys]);const requiresApiKeySubstitution=useMemo(()=>{const containsPlaceholder=codeData.some(code=>code?.content.includes("{{API_KEY}}")&&code?.language===lang);return containsPlaceholder&&!!apiKeys&&apiKeys.length>0&&!!selectedApiKey},[codeData,apiKeys,selectedApiKey,lang]);const[isHovering,setIsHovering]=useState(false);const hasOnlyJsonSnippet=useMemo(()=>languages.length===1&&languages[0]==="json",[languages]);const processedChildren=useMemo(()=>{if(!activeLanguage)return[];const targetLanguage=hasOnlyJsonSnippet?"json":activeLanguage;return codeData.filter(code=>{return code?.language===targetLanguage}).map(code=>{if(!code)return null;const cleanLang=hasOnlyJsonSnippet?"json":code.language;const langInfo=getLanguageInfo(cleanLang??"");if(typeof code.content==="string"||typeof code.content==="number"||typeof code.content==="boolean"){let processedContent=String(code.content);if(requiresApiKeySubstitution){processedContent=substituteApiKey(processedContent,selectedApiKey)}if(!langInfo.syntaxHighlighterKey||!cleanLang)return null;return React.createElement(Code,{key:code.language,language:langInfo.syntaxHighlighterKey||cleanLang,snippet:processedContent,additionalCSS:"bg-neutral-100 text-neutral-1300 dark:bg-neutral-1200 dark:text-neutral-200 px-6 py-4",showLines:showCodeLines})}return null})},[activeLanguage,codeData,hasOnlyJsonSnippet,showCodeLines,apiKeys,selectedApiKey]);const hasSnippetForActiveLanguage=useMemo(()=>{if(!activeLanguage)return false;if(hasOnlyJsonSnippet)return true;return codeData.some(code=>{return code?.language===activeLanguage})},[activeLanguage,hasOnlyJsonSnippet,codeData]);const getCodeText=useCallback(()=>{if(!activeLanguage||!hasSnippetForActiveLanguage||!codeRef.current)return null;const allPreElements=codeRef.current.querySelectorAll("pre");for(const preElement of Array.from(allPreElements)){const codeElement=preElement.querySelector("code");if(!codeElement||!codeElement.className)continue;const classNames=codeElement.className.split(" ");const langClass=classNames.find(cls=>cls.startsWith("language-"));if(!langClass)continue;const langName=langClass.substring(9);if(hasOnlyJsonSnippet&&langName==="json"||!hasOnlyJsonSnippet&&langName===activeLanguage){return codeElement.textContent||""}}return null},[activeLanguage,hasSnippetForActiveLanguage,hasOnlyJsonSnippet]);const handleSDKTypeChange=useCallback(type=>{const nextLang=stripSdkType(languages.find(l=>l.startsWith(`${type}_`))??lang);setActiveSDKType(type);if(onChange&&nextLang){onChange(nextLang,type)}},[languages]);const handleLanguageChange=useCallback(language=>{if(onChange){onChange(stripSdkType(language),activeSDKType)}},[onChange,activeSDKType]);const NoSnippetMessage=useMemo(()=>{if(!activeLanguage)return()=>null;const activeLanguageInfo=getLanguageInfo(activeLanguage);return()=>React.createElement("div",{className:"px-16 py-6 ui-text-body2 text-neutral-800 dark:text-neutral-400 text-center flex flex-col gap-3 items-center"},React.createElement(Icon,{name:"icon-gui-exclamation-triangle-outline",color:"text-yellow-600 dark:text-yellow-400",size:"24px"}),React.createElement("p",{className:"ui-text-p3 text-neutral-700 dark:text-neutral-600"},"You're currently viewing the ",activeLanguageInfo.label," docs. There either isn't a ",activeLanguageInfo.label," code sample for this example, or this feature isn't supported in"," ",activeLanguageInfo.label,". Switch language to view this example in a different language, or check which SDKs support this feature."))},[activeLanguage]);const showLanguageSelector=!fixed&&filteredLanguages.length>0;const showFullSelector=filteredLanguages.length>1;const renderContent=useMemo(()=>{if(!activeLanguage)return null;if(hasSnippetForActiveLanguage){return processedChildren}if(activeLanguage){return React.createElement(NoSnippetMessage,null)}return null},[activeLanguage,hasSnippetForActiveLanguage,processedChildren,NoSnippetMessage]);if(isSinglePlainCommand){const plainChild=codeData[0];if(plainChild){const codeContent=plainChild.content;const language=plainChild.language;if(!language||!codeContent)return null;let processedContent=String(codeContent);if(requiresApiKeySubstitution){processedContent=substituteApiKey(processedContent,selectedApiKey)}return React.createElement(PlainCodeView,{content:processedContent,className:className,language:language,icon:language==="shell"?"icon-gui-command-line-outline":null})}}return React.createElement("div",{className:cn("rounded-lg overflow-hidden bg-neutral-100 dark:bg-neutral-1200 border border-neutral-300 dark:border-neutral-1000 min-h-[3.375rem]",className)},headerRow&&React.createElement("div",{className:"h-[2.375rem] bg-neutral-200 dark:bg-neutral-1100 border-b border-neutral-300 dark:border-neutral-1000 flex items-center py-1 px-3 rounded-t-lg"},React.createElement("div",{className:"flex space-x-1.5"},React.createElement("div",{className:"w-3 h-3 rounded-full bg-orange-500"}),React.createElement("div",{className:"w-3 h-3 rounded-full bg-yellow-500"}),React.createElement("div",{className:"w-3 h-3 rounded-full bg-green-500"})),React.createElement("div",{className:"flex-1 text-center ui-text-p3 font-bold text-neutral-1300 dark:text-neutral-000"},title),React.createElement("div",{className:"w-12"})),showSDKSelector&&React.createElement("div",{className:cn("p-2 border-b border-neutral-200 dark:border-neutral-1100 h-14",headerRow?"":"rounded-t-lg")},React.createElement("div",{className:"flex gap-3 justify-start"},sdkTypes.has("realtime")&&React.createElement(TooltipButton,{tooltip:"Realtime SDK",active:activeSDKType==="realtime",onClick:()=>handleSDKTypeChange("realtime"),variant:"segmented",size:"sm",alwaysShowLabel:true},"Realtime"),sdkTypes.has("rest")&&React.createElement(TooltipButton,{tooltip:"REST SDK",active:activeSDKType==="rest",onClick:()=>handleSDKTypeChange("rest"),variant:"segmented",size:"sm",alwaysShowLabel:true},"REST"))),showLanguageSelector&&(showFullSelector?React.createElement(LanguageSelector,{languages:filteredLanguages,activeLanguage:activeLanguage,onLanguageChange:handleLanguageChange}):React.createElement("div",{className:cn("border-b border-neutral-200 dark:border-neutral-1100 h-[2.125rem] inline-flex items-center px-3",{"rounded-t-lg":!headerRow},{"cursor-pointer":filteredLanguages.length>0}),...filteredLanguages.length>0&&{onClick:()=>handleLanguageChange(filteredLanguages[0])}},filteredLanguages.length>0&&React.createElement(React.Fragment,null,React.createElement(Icon,{name:getLanguageInfo(filteredLanguages[0]).icon,size:"16px",additionalCSS:"mr-2"}),React.createElement("span",{className:"ui-text-label4 font-semibold text-neutral-800 dark:text-neutral-500 select-none"},getLanguageInfo(filteredLanguages[0]).label)))),React.createElement("div",{ref:codeRef,className:"relative",onMouseEnter:()=>setIsHovering(true),onMouseLeave:()=>setIsHovering(false),onFocus:()=>setIsHovering(true),onBlur:()=>setIsHovering(false),tabIndex:0},renderContent,isHovering&&activeLanguage&&hasSnippetForActiveLanguage&&React.createElement(CopyButton,{onCopy:()=>{const text=getCodeText();if(text)copy(text)},isCopied:isCopied})),requiresApiKeySubstitution&&React.createElement(ApiKeySelector,{apiKeys:apiKeys,selectedApiKey:selectedApiKey,onApiKeyChange:setSelectedApiKey}))};export default CodeSnippet;
|
|
1
|
+
import React,{useState,useEffect,Children,isValidElement,useRef,useCallback,useMemo}from"react";import Code from"./Code";import cn from"./utils/cn";import Icon from"./Icon";import{getLanguageInfo,stripSdkType}from"./CodeSnippet/languages";import LanguageSelector from"./CodeSnippet/LanguageSelector";import ApiKeySelector from"./CodeSnippet/ApiKeySelector";import useCopyToClipboard from"./utils/useCopyToClipboard";import PlainCodeView from"./CodeSnippet/PlainCodeView";import CopyButton from"./CodeSnippet/CopyButton";import TooltipButton from"./CodeSnippet/TooltipButton";const substituteApiKey=(content,apiKey,mask=true)=>{return content.replace(/\{\{API_KEY\}\}/g,mask?`${apiKey.split(":")[0]}:*****`:apiKey)};const CodeSnippet=({fixed=false,headerRow=false,title="Code",children,className,lang,onChange,apiKeys,sdk,showCodeLines=true,languageOrdering})=>{const codeRef=useRef(null);const{isCopied,copy}=useCopyToClipboard();const[selectedApiKey,setSelectedApiKey]=useState(()=>apiKeys?.[0]?.keys?.[0]?.key??"");useEffect(()=>{if(!selectedApiKey&&apiKeys&&apiKeys.length>0){setSelectedApiKey(apiKeys[0].keys?.[0]?.key)}},[apiKeys,selectedApiKey]);useEffect(()=>{const element=codeRef.current;if(!element)return;const unmaskRenderedApiKey=(content,apiKey)=>{return content.replace(/(['"]?)([^:'"]+):\*{5}\1/g,`$1${apiKey}$1`)};const handleCopy=event=>{const selection=window.getSelection();if(!selection||selection.rangeCount===0)return;const selectedText=selection.toString();if(!selectedText)return;const range=selection.getRangeAt(0);if(!element.contains(range.commonAncestorContainer))return;const modifiedText=unmaskRenderedApiKey(selectedText,selectedApiKey);event.clipboardData?.setData("text/plain",modifiedText);event.preventDefault()};document.addEventListener("copy",handleCopy);return()=>{document.removeEventListener("copy",handleCopy)}},[codeRef.current,selectedApiKey]);const extractLanguageFromCode=useCallback(codeElement=>{if(!codeElement||!codeElement.props.className)return null;const classNames=codeElement.props.className.split(" ");const langClass=classNames.find(cls=>cls.startsWith("language-"));if(!langClass)return null;return langClass.substring(9)},[]);const{codeData,languages,sdkTypes,isSinglePlainCommand}=useMemo(()=>{const childrenArray=Children.toArray(children);const languages=[];const sdkTypes=new Set;const codeData=[];const isSinglePlainCommand=childrenArray.length===1&&["language-shell","language-text"].some(lang=>isValidElement(childrenArray[0])&&isValidElement(childrenArray[0].props.children)&&childrenArray[0].props.children.props.className?.includes(lang));childrenArray.forEach(child=>{if(!isValidElement(child))return;const preElement=child;const codeElement=isValidElement(preElement.props.children)?preElement.props.children:null;if(!codeElement)return;const codeLanguage=extractLanguageFromCode(codeElement);if(!codeLanguage)return;if(codeLanguage.startsWith("realtime_")){sdkTypes.add("realtime")}else if(codeLanguage.startsWith("rest_")){sdkTypes.add("rest")}if(!languages.includes(codeLanguage)){languages.push(codeLanguage)}const codeContent=codeElement.props.children;codeData.push({language:codeLanguage,content:codeContent})});return{codeData,languages,sdkTypes,isSinglePlainCommand}},[children,extractLanguageFromCode]);const showSDKSelector=sdkTypes.size>0;const filteredLanguages=useMemo(()=>{const filtered=!sdk||!showSDKSelector?[...languages]:languages.filter(lang=>lang.startsWith(`${sdk}_`));if(languageOrdering&&languageOrdering.length>0){filtered.sort((a,b)=>{const aBase=stripSdkType(a);const bBase=stripSdkType(b);const aIndex=languageOrdering.indexOf(aBase);const bIndex=languageOrdering.indexOf(bBase);if(aIndex!==-1&&bIndex!==-1)return aIndex-bIndex;if(aIndex!==-1)return-1;if(bIndex!==-1)return 1;return 0})}return filtered},[sdk,showSDKSelector,languages,languageOrdering]);const activeLanguage=useMemo(()=>{if(sdk&&sdkTypes.has(sdk)){return`${sdk}_${lang}`}if(lang)return lang;if(filteredLanguages.length>0)return filteredLanguages[0];return languages[0]},[lang,sdk,sdkTypes,filteredLanguages]);const requiresApiKeySubstitution=useMemo(()=>{const containsPlaceholder=codeData.some(code=>code?.content.includes("{{API_KEY}}")&&code?.language===lang);return containsPlaceholder&&!!apiKeys&&apiKeys.length>0&&!!selectedApiKey},[codeData,apiKeys,selectedApiKey,lang]);const[isHovering,setIsHovering]=useState(false);const hasOnlyJsonSnippet=useMemo(()=>languages.length===1&&languages[0]==="json",[languages]);const processedChildren=useMemo(()=>{if(!activeLanguage)return[];const targetLanguage=hasOnlyJsonSnippet?"json":activeLanguage;return codeData.filter(code=>{return code?.language===targetLanguage}).map(code=>{if(!code)return null;const cleanLang=hasOnlyJsonSnippet?"json":code.language;const langInfo=getLanguageInfo(cleanLang??"");if(typeof code.content==="string"||typeof code.content==="number"||typeof code.content==="boolean"){let processedContent=String(code.content);if(requiresApiKeySubstitution){processedContent=substituteApiKey(processedContent,selectedApiKey)}if(!langInfo.syntaxHighlighterKey||!cleanLang)return null;return React.createElement(Code,{key:code.language,language:langInfo.syntaxHighlighterKey||cleanLang,snippet:processedContent,additionalCSS:"bg-neutral-100 text-neutral-1300 dark:bg-neutral-1200 dark:text-neutral-200 px-6 py-4",showLines:showCodeLines})}return null})},[activeLanguage,codeData,hasOnlyJsonSnippet,showCodeLines,apiKeys,selectedApiKey]);const hasSnippetForActiveLanguage=useMemo(()=>{if(!activeLanguage)return false;if(hasOnlyJsonSnippet)return true;return codeData.some(code=>{return code?.language===activeLanguage})},[activeLanguage,hasOnlyJsonSnippet,codeData]);const handleSDKTypeChange=useCallback(type=>{const nextLang=stripSdkType(languages.find(l=>l===`${type}_${stripSdkType(activeLanguage)}`)??languages.find(l=>l.startsWith(`${type}_`))??activeLanguage);if(onChange&&nextLang){onChange(stripSdkType(activeLanguage),type)}},[languages]);const handleLanguageChange=useCallback(language=>{if(onChange){onChange(stripSdkType(language),sdk)}},[onChange,sdk]);const NoSnippetMessage=useMemo(()=>{if(!activeLanguage)return()=>null;const activeLanguageInfo=getLanguageInfo(activeLanguage);return()=>React.createElement("div",{className:"px-16 py-6 ui-text-body2 text-neutral-800 dark:text-neutral-400 text-center flex flex-col gap-3 items-center"},React.createElement(Icon,{name:"icon-gui-exclamation-triangle-outline",color:"text-yellow-600 dark:text-yellow-400",size:"24px"}),React.createElement("p",{className:"ui-text-p3 text-neutral-700 dark:text-neutral-600"},"You're currently viewing the ",activeLanguageInfo.label," docs. There either isn't a ",activeLanguageInfo.label," code sample for this example, or this feature isn't supported in"," ",activeLanguageInfo.label,". Switch language to view this example in a different language, or check which SDKs support this feature."))},[activeLanguage]);const showLanguageSelector=!fixed&&filteredLanguages.length>0;const showFullSelector=filteredLanguages.length>1;const renderContent=useMemo(()=>{if(!activeLanguage)return null;if(hasSnippetForActiveLanguage){return processedChildren}return React.createElement(NoSnippetMessage,null)},[activeLanguage,hasSnippetForActiveLanguage,processedChildren,NoSnippetMessage]);if(isSinglePlainCommand){const plainChild=codeData[0];if(plainChild){const codeContent=plainChild.content;const language=plainChild.language;if(!language||!codeContent)return null;let processedContent=String(codeContent);if(requiresApiKeySubstitution){processedContent=substituteApiKey(processedContent,selectedApiKey)}return React.createElement(PlainCodeView,{content:processedContent,className:className,language:language,icon:language==="shell"?"icon-gui-command-line-outline":null})}}return React.createElement("div",{className:cn("rounded-lg overflow-hidden bg-neutral-100 dark:bg-neutral-1200 border border-neutral-300 dark:border-neutral-1000 min-h-[3.375rem]",className)},headerRow&&React.createElement("div",{className:"h-[2.375rem] bg-neutral-200 dark:bg-neutral-1100 border-b border-neutral-300 dark:border-neutral-1000 flex items-center py-1 px-3 rounded-t-lg"},React.createElement("div",{className:"flex space-x-1.5"},React.createElement("div",{className:"w-3 h-3 rounded-full bg-orange-500"}),React.createElement("div",{className:"w-3 h-3 rounded-full bg-yellow-500"}),React.createElement("div",{className:"w-3 h-3 rounded-full bg-green-500"})),React.createElement("div",{className:"flex-1 text-center ui-text-p3 font-bold text-neutral-1300 dark:text-neutral-000"},title),React.createElement("div",{className:"w-12"})),showSDKSelector&&React.createElement("div",{className:cn("p-2 border-b border-neutral-200 dark:border-neutral-1100 h-14",headerRow?"":"rounded-t-lg")},React.createElement("div",{className:"flex gap-3 justify-start"},sdkTypes.has("realtime")&&React.createElement(TooltipButton,{tooltip:"Realtime SDK",active:sdk==="realtime",onClick:()=>handleSDKTypeChange("realtime"),variant:"segmented",size:"sm",alwaysShowLabel:true},"Realtime"),sdkTypes.has("rest")&&React.createElement(TooltipButton,{tooltip:"REST SDK",active:sdk==="rest",onClick:()=>handleSDKTypeChange("rest"),variant:"segmented",size:"sm",alwaysShowLabel:true},"REST"))),showLanguageSelector&&(showFullSelector?React.createElement(LanguageSelector,{languages:filteredLanguages,activeLanguage:activeLanguage,onLanguageChange:handleLanguageChange}):React.createElement("div",{className:cn("border-b border-neutral-200 dark:border-neutral-1100 h-[2.125rem] inline-flex items-center px-3 w-full",{"rounded-t-lg":!headerRow})},filteredLanguages.length>0&&React.createElement("div",{className:cn("inline-flex items-center",{"cursor-pointer":filteredLanguages.length>0}),...filteredLanguages.length>0&&{onClick:()=>handleLanguageChange(filteredLanguages[0])}},React.createElement(Icon,{name:getLanguageInfo(filteredLanguages[0]).icon,size:"16px",additionalCSS:"mr-2"}),React.createElement("span",{className:"ui-text-label4 font-semibold text-neutral-800 dark:text-neutral-500 select-none"},getLanguageInfo(filteredLanguages[0]).label)))),React.createElement("div",{ref:codeRef,className:"relative",onMouseEnter:()=>setIsHovering(true),onMouseLeave:()=>setIsHovering(false),onFocus:()=>setIsHovering(true),onBlur:()=>setIsHovering(false),tabIndex:0},renderContent,isHovering&&activeLanguage&&React.createElement(CopyButton,{onCopy:()=>{const text=codeData.find(code=>code.language===activeLanguage)?.content;if(text)copy(substituteApiKey(text,selectedApiKey,false))},isCopied:isCopied})),requiresApiKeySubstitution&&React.createElement(ApiKeySelector,{apiKeys:apiKeys,selectedApiKey:selectedApiKey,onApiKeyChange:setSelectedApiKey}))};export default CodeSnippet;
|
|
2
2
|
//# sourceMappingURL=CodeSnippet.js.map
|
package/core/CodeSnippet.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/core/CodeSnippet.tsx"],"sourcesContent":["import React, {\n useState,\n useEffect,\n Children,\n isValidElement,\n useRef,\n useCallback,\n useMemo,\n} from \"react\";\nimport Code from \"./Code\";\nimport cn from \"./utils/cn\";\nimport Icon from \"./Icon\";\nimport { getLanguageInfo, stripSdkType } from \"./CodeSnippet/languages\";\nimport LanguageSelector from \"./CodeSnippet/LanguageSelector\";\nimport ApiKeySelector from \"./CodeSnippet/ApiKeySelector\";\nimport useCopyToClipboard from \"./utils/useCopyToClipboard\";\nimport PlainCodeView from \"./CodeSnippet/PlainCodeView\";\nimport CopyButton from \"./CodeSnippet/CopyButton\";\nimport TooltipButton from \"./CodeSnippet/TooltipButton\";\n\n// Define SDK type\nexport type SDKType = \"realtime\" | \"rest\" | null;\n\n// Define API key types\nexport type ApiKeysItem = {\n app: string;\n keys: { name: string; key: string }[];\n};\n\nexport type CodeSnippetProps = {\n /**\n * If true, hides the language selector row completely\n */\n fixed?: boolean;\n /**\n * If true, renders a macOS-style window header with buttons and title\n */\n headerRow?: boolean;\n /**\n * Title to display in the header row (when headerRow is true)\n */\n title?: string;\n /**\n * Children elements with lang attribute\n */\n children: React.ReactNode;\n /**\n * Additional CSS classes\n */\n className?: string;\n /**\n * Default language to display. If not found in available languages, first available is used.\n * If found in languages but no matching snippet exists, a message is displayed.\n */\n lang: string;\n /**\n * Callback fired when the active language changes\n */\n onChange?: (language: string, sdk?: SDKType) => void;\n /**\n * List of API keys to display in a dropdown\n */\n apiKeys?: ApiKeysItem[];\n /**\n * Default SDK type to use for the code snippet\n */\n sdk?: SDKType;\n /**\n * Whether to show line numbers in code snippets\n */\n showCodeLines?: boolean;\n /**\n * Defines the order in which languages should be displayed.\n * Languages not in this array will be shown after those that are included.\n */\n languageOrdering?: string[];\n};\n\n// Substitution function for API key placeholders\nconst substituteApiKey = (content: string, apiKey: string): string => {\n return content.replace(/\\{\\{API_KEY\\}\\}/g, `${apiKey.split(\":\")[0]}:*****`);\n};\n\n/**\n * CodeSnippet component that displays code with language switching capability\n */\nconst CodeSnippet: React.FC<CodeSnippetProps> = ({\n fixed = false,\n headerRow = false,\n title = \"Code\",\n children,\n className,\n lang,\n onChange,\n apiKeys,\n sdk,\n showCodeLines = true,\n languageOrdering,\n}) => {\n const codeRef = useRef<HTMLDivElement>(null);\n const { isCopied, copy } = useCopyToClipboard();\n\n const extractLanguageFromCode = useCallback(\n (codeElement: React.ReactElement | null): string | null => {\n if (!codeElement || !codeElement.props.className) return null;\n\n const classNames = codeElement.props.className.split(\" \");\n const langClass = classNames.find((cls: string) =>\n cls.startsWith(\"language-\"),\n );\n if (!langClass) return null;\n\n return langClass.substring(9); // Remove \"language-\" prefix\n },\n [],\n );\n\n const { codeData, languages, sdkTypes, isSinglePlainCommand } =\n useMemo(() => {\n const childrenArray = Children.toArray(children);\n const languages: string[] = [];\n const sdkTypes = new Set<SDKType>();\n const codeData: { language: string; content: string }[] = [];\n\n const isSinglePlainCommand =\n childrenArray.length === 1 &&\n [\"language-shell\", \"language-text\"].some(\n (lang) =>\n isValidElement(childrenArray[0]) &&\n isValidElement(childrenArray[0].props.children) &&\n childrenArray[0].props.children.props.className?.includes(lang),\n );\n\n childrenArray.forEach((child) => {\n if (!isValidElement(child)) return;\n\n const preElement = child;\n const codeElement = isValidElement(preElement.props.children)\n ? preElement.props.children\n : null;\n\n if (!codeElement) return;\n\n const codeLanguage = extractLanguageFromCode(codeElement);\n\n if (!codeLanguage) return;\n\n if (codeLanguage.startsWith(\"realtime_\")) {\n sdkTypes.add(\"realtime\");\n } else if (codeLanguage.startsWith(\"rest_\")) {\n sdkTypes.add(\"rest\");\n }\n\n if (!languages.includes(codeLanguage)) {\n languages.push(codeLanguage);\n }\n\n const codeContent = codeElement.props.children;\n codeData.push({ language: codeLanguage, content: codeContent });\n });\n\n return {\n codeData,\n languages,\n sdkTypes,\n isSinglePlainCommand,\n };\n }, [children, extractLanguageFromCode]);\n\n const [activeSDKType, setActiveSDKType] = useState<SDKType>(() => {\n if (sdkTypes.size === 0) return null;\n if (sdk && sdkTypes.has(sdk)) return sdk;\n if (sdkTypes.has(\"realtime\")) return \"realtime\";\n if (sdkTypes.has(\"rest\")) return \"rest\";\n return null;\n });\n\n const showSDKSelector = sdkTypes.size > 0;\n\n const filteredLanguages = useMemo(() => {\n const filtered =\n !activeSDKType || !showSDKSelector\n ? [...languages]\n : languages.filter((lang) => lang.startsWith(`${activeSDKType}_`));\n\n // Apply custom ordering if provided\n if (languageOrdering && languageOrdering.length > 0) {\n filtered.sort((a, b) => {\n const aBase = stripSdkType(a);\n const bBase = stripSdkType(b);\n\n const aIndex = languageOrdering.indexOf(aBase);\n const bIndex = languageOrdering.indexOf(bBase);\n\n if (aIndex !== -1 && bIndex !== -1) return aIndex - bIndex;\n if (aIndex !== -1) return -1;\n if (bIndex !== -1) return 1;\n return 0;\n });\n }\n\n return filtered;\n }, [activeSDKType, showSDKSelector, languages, languageOrdering]);\n\n const activeLanguage = useMemo(() => {\n if (sdk && sdkTypes.has(sdk)) {\n return languages.find((l) => l === `${sdk}_${lang}`) ?? lang;\n }\n\n if (lang) return lang;\n\n if (filteredLanguages.length > 0) return filteredLanguages[0];\n\n return lang;\n }, [lang, sdk, sdkTypes, filteredLanguages]);\n\n const [selectedApiKey, setSelectedApiKey] = useState<string>(\n () => apiKeys?.[0]?.keys?.[0]?.key ?? \"\",\n );\n\n useEffect(() => {\n if (!selectedApiKey && apiKeys && apiKeys.length > 0) {\n setSelectedApiKey(apiKeys[0].keys?.[0]?.key);\n }\n }, [apiKeys]);\n\n const requiresApiKeySubstitution = useMemo(() => {\n const containsPlaceholder = codeData.some(\n (code) =>\n code?.content.includes(\"{{API_KEY}}\") && code?.language === lang,\n );\n\n return (\n containsPlaceholder && !!apiKeys && apiKeys.length > 0 && !!selectedApiKey\n );\n }, [codeData, apiKeys, selectedApiKey, lang]);\n\n const [isHovering, setIsHovering] = useState(false);\n\n const hasOnlyJsonSnippet = useMemo(\n () => languages.length === 1 && languages[0] === \"json\",\n [languages],\n );\n\n const processedChildren = useMemo(() => {\n if (!activeLanguage) return [];\n\n const targetLanguage = hasOnlyJsonSnippet ? \"json\" : activeLanguage;\n\n return codeData\n .filter((code) => {\n return code?.language === targetLanguage;\n })\n .map((code) => {\n if (!code) return null;\n\n const cleanLang = hasOnlyJsonSnippet ? \"json\" : code.language;\n const langInfo = getLanguageInfo(cleanLang ?? \"\");\n\n if (\n typeof code.content === \"string\" ||\n typeof code.content === \"number\" ||\n typeof code.content === \"boolean\"\n ) {\n // Apply API key substitution if apiKeys are provided\n let processedContent = String(code.content);\n if (requiresApiKeySubstitution) {\n processedContent = substituteApiKey(\n processedContent,\n selectedApiKey,\n );\n }\n\n if (!langInfo.syntaxHighlighterKey || !cleanLang) return null;\n\n return (\n <Code\n key={code.language}\n language={langInfo.syntaxHighlighterKey || cleanLang}\n snippet={processedContent}\n additionalCSS=\"bg-neutral-100 text-neutral-1300 dark:bg-neutral-1200 dark:text-neutral-200 px-6 py-4\"\n showLines={showCodeLines}\n />\n );\n }\n\n return null;\n });\n }, [\n activeLanguage,\n codeData,\n hasOnlyJsonSnippet,\n showCodeLines,\n apiKeys,\n selectedApiKey,\n ]);\n\n const hasSnippetForActiveLanguage = useMemo(() => {\n if (!activeLanguage) return false;\n if (hasOnlyJsonSnippet) return true;\n\n return codeData.some((code) => {\n return code?.language === activeLanguage;\n });\n }, [activeLanguage, hasOnlyJsonSnippet, codeData]);\n\n const getCodeText = useCallback((): string | null => {\n if (!activeLanguage || !hasSnippetForActiveLanguage || !codeRef.current)\n return null;\n\n const allPreElements = codeRef.current.querySelectorAll(\"pre\");\n for (const preElement of Array.from(allPreElements)) {\n const codeElement = preElement.querySelector(\"code\");\n if (!codeElement || !codeElement.className) continue;\n\n const classNames = codeElement.className.split(\" \");\n const langClass = classNames.find((cls) => cls.startsWith(\"language-\"));\n if (!langClass) continue;\n\n const langName = langClass.substring(9);\n if (\n (hasOnlyJsonSnippet && langName === \"json\") ||\n (!hasOnlyJsonSnippet && langName === activeLanguage)\n ) {\n return codeElement.textContent || \"\";\n }\n }\n\n return null;\n }, [activeLanguage, hasSnippetForActiveLanguage, hasOnlyJsonSnippet]);\n\n const handleSDKTypeChange = useCallback(\n (type: SDKType) => {\n // pick first language matching the new SDK prefix\n const nextLang = stripSdkType(\n languages.find((l) => l.startsWith(`${type}_`)) ?? lang,\n );\n setActiveSDKType(type);\n\n // Call onChange with clean language name\n if (onChange && nextLang) {\n onChange(nextLang, type);\n }\n },\n [languages],\n );\n\n const handleLanguageChange = useCallback(\n (language: string) => {\n if (onChange) {\n onChange(stripSdkType(language), activeSDKType);\n }\n },\n [onChange, activeSDKType],\n );\n\n const NoSnippetMessage = useMemo(() => {\n if (!activeLanguage) return () => null;\n\n const activeLanguageInfo = getLanguageInfo(activeLanguage);\n\n return () => (\n <div className=\"px-16 py-6 ui-text-body2 text-neutral-800 dark:text-neutral-400 text-center flex flex-col gap-3 items-center\">\n <Icon\n name=\"icon-gui-exclamation-triangle-outline\"\n color=\"text-yellow-600 dark:text-yellow-400\"\n size=\"24px\"\n />\n <p className=\"ui-text-p3 text-neutral-700 dark:text-neutral-600\">\n You're currently viewing the {activeLanguageInfo.label} docs.\n There either isn't a {activeLanguageInfo.label} code sample for\n this example, or this feature isn't supported in{\" \"}\n {activeLanguageInfo.label}. Switch language to view this example in a\n different language, or check which SDKs support this feature.\n </p>\n </div>\n );\n }, [activeLanguage]);\n\n const showLanguageSelector = !fixed && filteredLanguages.length > 0;\n const showFullSelector = filteredLanguages.length > 1;\n\n const renderContent = useMemo(() => {\n if (!activeLanguage) return null;\n\n if (hasSnippetForActiveLanguage) {\n return processedChildren;\n }\n\n if (activeLanguage) {\n return <NoSnippetMessage />;\n }\n\n return null;\n }, [\n activeLanguage,\n hasSnippetForActiveLanguage,\n processedChildren,\n NoSnippetMessage,\n ]);\n\n // Render special case for plain commands (shell or text)\n if (isSinglePlainCommand) {\n const plainChild = codeData[0];\n if (plainChild) {\n const codeContent = plainChild.content;\n const language = plainChild.language;\n\n if (!language || !codeContent) return null;\n\n // Apply API key substitution if apiKeys are provided\n let processedContent = String(codeContent);\n if (requiresApiKeySubstitution) {\n processedContent = substituteApiKey(processedContent, selectedApiKey);\n }\n\n return (\n <PlainCodeView\n content={processedContent}\n className={className}\n language={language}\n icon={language === \"shell\" ? \"icon-gui-command-line-outline\" : null}\n />\n );\n }\n }\n\n return (\n <div\n className={cn(\n \"rounded-lg overflow-hidden bg-neutral-100 dark:bg-neutral-1200 border border-neutral-300 dark:border-neutral-1000 min-h-[3.375rem]\",\n className,\n )}\n >\n {headerRow && (\n <div className=\"h-[2.375rem] bg-neutral-200 dark:bg-neutral-1100 border-b border-neutral-300 dark:border-neutral-1000 flex items-center py-1 px-3 rounded-t-lg\">\n <div className=\"flex space-x-1.5\">\n <div className=\"w-3 h-3 rounded-full bg-orange-500\"></div>\n <div className=\"w-3 h-3 rounded-full bg-yellow-500\"></div>\n <div className=\"w-3 h-3 rounded-full bg-green-500\"></div>\n </div>\n\n <div className=\"flex-1 text-center ui-text-p3 font-bold text-neutral-1300 dark:text-neutral-000\">\n {title}\n </div>\n\n {/* Empty div for balance */}\n <div className=\"w-12\"></div>\n </div>\n )}\n {showSDKSelector && (\n <div\n className={cn(\n \"p-2 border-b border-neutral-200 dark:border-neutral-1100 h-14\",\n headerRow ? \"\" : \"rounded-t-lg\",\n )}\n >\n <div className=\"flex gap-3 justify-start\">\n {sdkTypes.has(\"realtime\") && (\n <TooltipButton\n tooltip=\"Realtime SDK\"\n active={activeSDKType === \"realtime\"}\n onClick={() => handleSDKTypeChange(\"realtime\")}\n variant=\"segmented\"\n size=\"sm\"\n alwaysShowLabel={true}\n >\n Realtime\n </TooltipButton>\n )}\n\n {sdkTypes.has(\"rest\") && (\n <TooltipButton\n tooltip=\"REST SDK\"\n active={activeSDKType === \"rest\"}\n onClick={() => handleSDKTypeChange(\"rest\")}\n variant=\"segmented\"\n size=\"sm\"\n alwaysShowLabel={true}\n >\n REST\n </TooltipButton>\n )}\n </div>\n </div>\n )}\n\n {showLanguageSelector &&\n (showFullSelector ? (\n <LanguageSelector\n languages={filteredLanguages}\n activeLanguage={activeLanguage}\n onLanguageChange={handleLanguageChange}\n />\n ) : (\n <div\n className={cn(\n \"border-b border-neutral-200 dark:border-neutral-1100 h-[2.125rem] inline-flex items-center px-3\",\n { \"rounded-t-lg\": !headerRow },\n { \"cursor-pointer\": filteredLanguages.length > 0 },\n )}\n {...(filteredLanguages.length > 0 && {\n onClick: () => handleLanguageChange(filteredLanguages[0]),\n })}\n >\n {filteredLanguages.length > 0 && (\n <>\n <Icon\n name={getLanguageInfo(filteredLanguages[0]).icon}\n size=\"16px\"\n additionalCSS=\"mr-2\"\n />\n <span className=\"ui-text-label4 font-semibold text-neutral-800 dark:text-neutral-500 select-none\">\n {getLanguageInfo(filteredLanguages[0]).label}\n </span>\n </>\n )}\n </div>\n ))}\n <div\n ref={codeRef}\n className=\"relative\"\n onMouseEnter={() => setIsHovering(true)}\n onMouseLeave={() => setIsHovering(false)}\n onFocus={() => setIsHovering(true)}\n onBlur={() => setIsHovering(false)}\n tabIndex={0}\n >\n {renderContent}\n {isHovering && activeLanguage && hasSnippetForActiveLanguage && (\n <CopyButton\n onCopy={() => {\n const text = getCodeText();\n if (text) copy(text);\n }}\n isCopied={isCopied}\n />\n )}\n </div>\n {requiresApiKeySubstitution && (\n <ApiKeySelector\n apiKeys={apiKeys}\n selectedApiKey={selectedApiKey}\n onApiKeyChange={setSelectedApiKey}\n />\n )}\n </div>\n );\n};\n\nexport default CodeSnippet;\n"],"names":["React","useState","useEffect","Children","isValidElement","useRef","useCallback","useMemo","Code","cn","Icon","getLanguageInfo","stripSdkType","LanguageSelector","ApiKeySelector","useCopyToClipboard","PlainCodeView","CopyButton","TooltipButton","substituteApiKey","content","apiKey","replace","split","CodeSnippet","fixed","headerRow","title","children","className","lang","onChange","apiKeys","sdk","showCodeLines","languageOrdering","codeRef","isCopied","copy","extractLanguageFromCode","codeElement","props","classNames","langClass","find","cls","startsWith","substring","codeData","languages","sdkTypes","isSinglePlainCommand","childrenArray","toArray","Set","length","some","includes","forEach","child","preElement","codeLanguage","add","push","codeContent","language","activeSDKType","setActiveSDKType","size","has","showSDKSelector","filteredLanguages","filtered","filter","sort","a","b","aBase","bBase","aIndex","indexOf","bIndex","activeLanguage","l","selectedApiKey","setSelectedApiKey","keys","key","requiresApiKeySubstitution","containsPlaceholder","code","isHovering","setIsHovering","hasOnlyJsonSnippet","processedChildren","targetLanguage","map","cleanLang","langInfo","processedContent","String","syntaxHighlighterKey","snippet","additionalCSS","showLines","hasSnippetForActiveLanguage","getCodeText","current","allPreElements","querySelectorAll","Array","from","querySelector","langName","textContent","handleSDKTypeChange","type","nextLang","handleLanguageChange","NoSnippetMessage","activeLanguageInfo","div","name","color","p","label","showLanguageSelector","showFullSelector","renderContent","plainChild","icon","tooltip","active","onClick","variant","alwaysShowLabel","onLanguageChange","span","ref","onMouseEnter","onMouseLeave","onFocus","onBlur","tabIndex","onCopy","text","onApiKeyChange"],"mappings":"AAAA,OAAOA,OACLC,QAAQ,CACRC,SAAS,CACTC,QAAQ,CACRC,cAAc,CACdC,MAAM,CACNC,WAAW,CACXC,OAAO,KACF,OAAQ,AACf,QAAOC,SAAU,QAAS,AAC1B,QAAOC,OAAQ,YAAa,AAC5B,QAAOC,SAAU,QAAS,AAC1B,QAASC,eAAe,CAAEC,YAAY,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OACLmC,cAAc,SAEhB,oBAACkC,QAAK5G,UAAU,mFACblB,gBAAgB4D,iBAAiB,CAAC,EAAE,EAAEsD,KAAK,GAKtD,EACF,oBAACJ,OACCiB,IAAKtG,QACLP,UAAU,WACV8G,aAAc,IAAM/C,cAAc,MAClCgD,aAAc,IAAMhD,cAAc,OAClCiD,QAAS,IAAMjD,cAAc,MAC7BkD,OAAQ,IAAMlD,cAAc,OAC5BmD,SAAU,GAETf,cACArC,YAAcT,gBAAkBuB,6BAC/B,oBAACxF,YACC+H,OAAQ,KACN,MAAMC,KAAOvC,cACb,GAAIuC,KAAM3G,KAAK2G,KACjB,EACA5G,SAAUA,YAIfmD,4BACC,oBAAC1E,gBACCkB,QAASA,QACToD,eAAgBA,eAChB8D,eAAgB7D,oBAK1B,CAEA,gBAAe7D,WAAY"}
|
|
1
|
+
{"version":3,"sources":["../../src/core/CodeSnippet.tsx"],"sourcesContent":["import React, {\n useState,\n useEffect,\n Children,\n isValidElement,\n useRef,\n useCallback,\n useMemo,\n} from \"react\";\nimport Code from \"./Code\";\nimport cn from \"./utils/cn\";\nimport Icon from \"./Icon\";\nimport { getLanguageInfo, stripSdkType } from \"./CodeSnippet/languages\";\nimport LanguageSelector from \"./CodeSnippet/LanguageSelector\";\nimport ApiKeySelector from \"./CodeSnippet/ApiKeySelector\";\nimport useCopyToClipboard from \"./utils/useCopyToClipboard\";\nimport PlainCodeView from \"./CodeSnippet/PlainCodeView\";\nimport CopyButton from \"./CodeSnippet/CopyButton\";\nimport TooltipButton from \"./CodeSnippet/TooltipButton\";\n\n// Define SDK type\nexport type SDKType = \"realtime\" | \"rest\" | null;\n\n// Define API key types\nexport type ApiKeysItem = {\n app: string;\n keys: { name: string; key: string }[];\n};\n\nexport type CodeSnippetProps = {\n /**\n * If true, hides the language selector row completely\n */\n fixed?: boolean;\n /**\n * If true, renders a macOS-style window header with buttons and title\n */\n headerRow?: boolean;\n /**\n * Title to display in the header row (when headerRow is true)\n */\n title?: string;\n /**\n * Children elements with lang attribute\n */\n children: React.ReactNode;\n /**\n * Additional CSS classes\n */\n className?: string;\n /**\n * Default language to display. If not found in available languages, first available is used.\n * If found in languages but no matching snippet exists, a message is displayed.\n */\n lang: string | null;\n /**\n * Callback fired when the active language changes\n */\n onChange?: (language: string, sdk?: SDKType) => void;\n /**\n * List of API keys to display in a dropdown\n */\n apiKeys?: ApiKeysItem[];\n /**\n * Default SDK type to use for the code snippet\n */\n sdk?: SDKType;\n /**\n * Whether to show line numbers in code snippets\n */\n showCodeLines?: boolean;\n /**\n * Defines the order in which languages should be displayed.\n * Languages not in this array will be shown after those that are included.\n */\n languageOrdering?: string[];\n};\n\n// Substitution function for API key placeholders\nconst substituteApiKey = (\n content: string,\n apiKey: string,\n mask = true,\n): string => {\n return content.replace(\n /\\{\\{API_KEY\\}\\}/g,\n mask ? `${apiKey.split(\":\")[0]}:*****` : apiKey,\n );\n};\n\n/**\n * CodeSnippet component that displays code with language switching capability\n */\nconst CodeSnippet: React.FC<CodeSnippetProps> = ({\n fixed = false,\n headerRow = false,\n title = \"Code\",\n children,\n className,\n lang,\n onChange,\n apiKeys,\n sdk,\n showCodeLines = true,\n languageOrdering,\n}) => {\n const codeRef = useRef<HTMLDivElement>(null);\n const { isCopied, copy } = useCopyToClipboard();\n\n const [selectedApiKey, setSelectedApiKey] = useState<string>(\n () => apiKeys?.[0]?.keys?.[0]?.key ?? \"\",\n );\n\n useEffect(() => {\n if (!selectedApiKey && apiKeys && apiKeys.length > 0) {\n setSelectedApiKey(apiKeys[0].keys?.[0]?.key);\n }\n }, [apiKeys, selectedApiKey]);\n\n useEffect(() => {\n const element = codeRef.current;\n if (!element) return;\n\n // Detects the key masking via substituteApiKey (i.e. \"abcde:*****\") and replaces it with the actual API key\n const unmaskRenderedApiKey = (content: string, apiKey: string): string => {\n return content.replace(/(['\"]?)([^:'\"]+):\\*{5}\\1/g, `$1${apiKey}$1`);\n };\n\n const handleCopy = (event: ClipboardEvent) => {\n const selection = window.getSelection();\n if (!selection || selection.rangeCount === 0) return;\n\n const selectedText = selection.toString();\n if (!selectedText) return;\n\n // Check if the selection is within our element\n const range = selection.getRangeAt(0);\n if (!element.contains(range.commonAncestorContainer)) return;\n\n const modifiedText = unmaskRenderedApiKey(selectedText, selectedApiKey);\n\n event.clipboardData?.setData(\"text/plain\", modifiedText);\n event.preventDefault();\n };\n\n document.addEventListener(\"copy\", handleCopy);\n\n return () => {\n document.removeEventListener(\"copy\", handleCopy);\n };\n }, [codeRef.current, selectedApiKey]);\n\n const extractLanguageFromCode = useCallback(\n (codeElement: React.ReactElement | null): string | null => {\n if (!codeElement || !codeElement.props.className) return null;\n\n const classNames = codeElement.props.className.split(\" \");\n const langClass = classNames.find((cls: string) =>\n cls.startsWith(\"language-\"),\n );\n if (!langClass) return null;\n\n return langClass.substring(9); // Remove \"language-\" prefix\n },\n [],\n );\n\n const { codeData, languages, sdkTypes, isSinglePlainCommand } =\n useMemo(() => {\n const childrenArray = Children.toArray(children);\n const languages: string[] = [];\n const sdkTypes = new Set<SDKType>();\n const codeData: { language: string; content: string }[] = [];\n\n const isSinglePlainCommand =\n childrenArray.length === 1 &&\n [\"language-shell\", \"language-text\"].some(\n (lang) =>\n isValidElement(childrenArray[0]) &&\n isValidElement(childrenArray[0].props.children) &&\n childrenArray[0].props.children.props.className?.includes(lang),\n );\n\n childrenArray.forEach((child) => {\n if (!isValidElement(child)) return;\n\n const preElement = child;\n const codeElement = isValidElement(preElement.props.children)\n ? preElement.props.children\n : null;\n\n if (!codeElement) return;\n\n const codeLanguage = extractLanguageFromCode(codeElement);\n\n if (!codeLanguage) return;\n\n if (codeLanguage.startsWith(\"realtime_\")) {\n sdkTypes.add(\"realtime\");\n } else if (codeLanguage.startsWith(\"rest_\")) {\n sdkTypes.add(\"rest\");\n }\n\n if (!languages.includes(codeLanguage)) {\n languages.push(codeLanguage);\n }\n\n const codeContent = codeElement.props.children;\n codeData.push({ language: codeLanguage, content: codeContent });\n });\n\n return {\n codeData,\n languages,\n sdkTypes,\n isSinglePlainCommand,\n };\n }, [children, extractLanguageFromCode]);\n\n const showSDKSelector = sdkTypes.size > 0;\n\n const filteredLanguages = useMemo(() => {\n const filtered =\n !sdk || !showSDKSelector\n ? [...languages]\n : languages.filter((lang) => lang.startsWith(`${sdk}_`));\n\n // Apply custom ordering if provided\n if (languageOrdering && languageOrdering.length > 0) {\n filtered.sort((a, b) => {\n const aBase = stripSdkType(a);\n const bBase = stripSdkType(b);\n\n const aIndex = languageOrdering.indexOf(aBase);\n const bIndex = languageOrdering.indexOf(bBase);\n\n if (aIndex !== -1 && bIndex !== -1) return aIndex - bIndex;\n if (aIndex !== -1) return -1;\n if (bIndex !== -1) return 1;\n return 0;\n });\n }\n\n return filtered;\n }, [sdk, showSDKSelector, languages, languageOrdering]);\n\n const activeLanguage = useMemo(() => {\n if (sdk && sdkTypes.has(sdk)) {\n return `${sdk}_${lang}`;\n }\n\n if (lang) return lang;\n\n if (filteredLanguages.length > 0) return filteredLanguages[0];\n\n return languages[0];\n }, [lang, sdk, sdkTypes, filteredLanguages]);\n\n const requiresApiKeySubstitution = useMemo(() => {\n const containsPlaceholder = codeData.some(\n (code) =>\n code?.content.includes(\"{{API_KEY}}\") && code?.language === lang,\n );\n\n return (\n containsPlaceholder && !!apiKeys && apiKeys.length > 0 && !!selectedApiKey\n );\n }, [codeData, apiKeys, selectedApiKey, lang]);\n\n const [isHovering, setIsHovering] = useState(false);\n\n const hasOnlyJsonSnippet = useMemo(\n () => languages.length === 1 && languages[0] === \"json\",\n [languages],\n );\n\n const processedChildren = useMemo(() => {\n if (!activeLanguage) return [];\n\n const targetLanguage = hasOnlyJsonSnippet ? \"json\" : activeLanguage;\n\n return codeData\n .filter((code) => {\n return code?.language === targetLanguage;\n })\n .map((code) => {\n if (!code) return null;\n\n const cleanLang = hasOnlyJsonSnippet ? \"json\" : code.language;\n const langInfo = getLanguageInfo(cleanLang ?? \"\");\n\n if (\n typeof code.content === \"string\" ||\n typeof code.content === \"number\" ||\n typeof code.content === \"boolean\"\n ) {\n // Apply API key substitution if apiKeys are provided\n let processedContent = String(code.content);\n if (requiresApiKeySubstitution) {\n processedContent = substituteApiKey(\n processedContent,\n selectedApiKey,\n );\n }\n\n if (!langInfo.syntaxHighlighterKey || !cleanLang) return null;\n\n return (\n <Code\n key={code.language}\n language={langInfo.syntaxHighlighterKey || cleanLang}\n snippet={processedContent}\n additionalCSS=\"bg-neutral-100 text-neutral-1300 dark:bg-neutral-1200 dark:text-neutral-200 px-6 py-4\"\n showLines={showCodeLines}\n />\n );\n }\n\n return null;\n });\n }, [\n activeLanguage,\n codeData,\n hasOnlyJsonSnippet,\n showCodeLines,\n apiKeys,\n selectedApiKey,\n ]);\n\n const hasSnippetForActiveLanguage = useMemo(() => {\n if (!activeLanguage) return false;\n if (hasOnlyJsonSnippet) return true;\n\n return codeData.some((code) => {\n return code?.language === activeLanguage;\n });\n }, [activeLanguage, hasOnlyJsonSnippet, codeData]);\n\n const handleSDKTypeChange = useCallback(\n (type: SDKType) => {\n const nextLang = stripSdkType(\n languages.find(\n (l) => l === `${type}_${stripSdkType(activeLanguage)}`,\n ) ??\n languages.find((l) => l.startsWith(`${type}_`)) ??\n activeLanguage,\n );\n\n if (onChange && nextLang) {\n onChange(stripSdkType(activeLanguage), type);\n }\n },\n [languages],\n );\n\n const handleLanguageChange = useCallback(\n (language: string) => {\n if (onChange) {\n onChange(stripSdkType(language), sdk);\n }\n },\n [onChange, sdk],\n );\n\n const NoSnippetMessage = useMemo(() => {\n if (!activeLanguage) return () => null;\n\n const activeLanguageInfo = getLanguageInfo(activeLanguage);\n\n return () => (\n <div className=\"px-16 py-6 ui-text-body2 text-neutral-800 dark:text-neutral-400 text-center flex flex-col gap-3 items-center\">\n <Icon\n name=\"icon-gui-exclamation-triangle-outline\"\n color=\"text-yellow-600 dark:text-yellow-400\"\n size=\"24px\"\n />\n <p className=\"ui-text-p3 text-neutral-700 dark:text-neutral-600\">\n You're currently viewing the {activeLanguageInfo.label} docs.\n There either isn't a {activeLanguageInfo.label} code sample for\n this example, or this feature isn't supported in{\" \"}\n {activeLanguageInfo.label}. Switch language to view this example in a\n different language, or check which SDKs support this feature.\n </p>\n </div>\n );\n }, [activeLanguage]);\n\n const showLanguageSelector = !fixed && filteredLanguages.length > 0;\n const showFullSelector = filteredLanguages.length > 1;\n\n const renderContent = useMemo(() => {\n if (!activeLanguage) return null;\n\n if (hasSnippetForActiveLanguage) {\n return processedChildren;\n }\n\n return <NoSnippetMessage />;\n }, [\n activeLanguage,\n hasSnippetForActiveLanguage,\n processedChildren,\n NoSnippetMessage,\n ]);\n\n // Render special case for plain commands (shell or text)\n if (isSinglePlainCommand) {\n const plainChild = codeData[0];\n if (plainChild) {\n const codeContent = plainChild.content;\n const language = plainChild.language;\n\n if (!language || !codeContent) return null;\n\n // Apply API key substitution if apiKeys are provided\n let processedContent = String(codeContent);\n if (requiresApiKeySubstitution) {\n processedContent = substituteApiKey(processedContent, selectedApiKey);\n }\n\n return (\n <PlainCodeView\n content={processedContent}\n className={className}\n language={language}\n icon={language === \"shell\" ? \"icon-gui-command-line-outline\" : null}\n />\n );\n }\n }\n\n return (\n <div\n className={cn(\n \"rounded-lg overflow-hidden bg-neutral-100 dark:bg-neutral-1200 border border-neutral-300 dark:border-neutral-1000 min-h-[3.375rem]\",\n className,\n )}\n >\n {headerRow && (\n <div className=\"h-[2.375rem] bg-neutral-200 dark:bg-neutral-1100 border-b border-neutral-300 dark:border-neutral-1000 flex items-center py-1 px-3 rounded-t-lg\">\n <div className=\"flex space-x-1.5\">\n <div className=\"w-3 h-3 rounded-full bg-orange-500\"></div>\n <div className=\"w-3 h-3 rounded-full bg-yellow-500\"></div>\n <div className=\"w-3 h-3 rounded-full bg-green-500\"></div>\n </div>\n\n <div className=\"flex-1 text-center ui-text-p3 font-bold text-neutral-1300 dark:text-neutral-000\">\n {title}\n </div>\n\n {/* Empty div for balance */}\n <div className=\"w-12\"></div>\n </div>\n )}\n {showSDKSelector && (\n <div\n className={cn(\n \"p-2 border-b border-neutral-200 dark:border-neutral-1100 h-14\",\n headerRow ? \"\" : \"rounded-t-lg\",\n )}\n >\n <div className=\"flex gap-3 justify-start\">\n {sdkTypes.has(\"realtime\") && (\n <TooltipButton\n tooltip=\"Realtime SDK\"\n active={sdk === \"realtime\"}\n onClick={() => handleSDKTypeChange(\"realtime\")}\n variant=\"segmented\"\n size=\"sm\"\n alwaysShowLabel={true}\n >\n Realtime\n </TooltipButton>\n )}\n\n {sdkTypes.has(\"rest\") && (\n <TooltipButton\n tooltip=\"REST SDK\"\n active={sdk === \"rest\"}\n onClick={() => handleSDKTypeChange(\"rest\")}\n variant=\"segmented\"\n size=\"sm\"\n alwaysShowLabel={true}\n >\n REST\n </TooltipButton>\n )}\n </div>\n </div>\n )}\n\n {showLanguageSelector &&\n (showFullSelector ? (\n <LanguageSelector\n languages={filteredLanguages}\n activeLanguage={activeLanguage}\n onLanguageChange={handleLanguageChange}\n />\n ) : (\n <div\n className={cn(\n \"border-b border-neutral-200 dark:border-neutral-1100 h-[2.125rem] inline-flex items-center px-3 w-full\",\n { \"rounded-t-lg\": !headerRow },\n )}\n >\n {filteredLanguages.length > 0 && (\n <div\n className={cn(\"inline-flex items-center\", {\n \"cursor-pointer\": filteredLanguages.length > 0,\n })}\n {...(filteredLanguages.length > 0 && {\n onClick: () => handleLanguageChange(filteredLanguages[0]),\n })}\n >\n <Icon\n name={getLanguageInfo(filteredLanguages[0]).icon}\n size=\"16px\"\n additionalCSS=\"mr-2\"\n />\n <span className=\"ui-text-label4 font-semibold text-neutral-800 dark:text-neutral-500 select-none\">\n {getLanguageInfo(filteredLanguages[0]).label}\n </span>\n </div>\n )}\n </div>\n ))}\n <div\n ref={codeRef}\n className=\"relative\"\n onMouseEnter={() => setIsHovering(true)}\n onMouseLeave={() => setIsHovering(false)}\n onFocus={() => setIsHovering(true)}\n onBlur={() => setIsHovering(false)}\n tabIndex={0}\n >\n {renderContent}\n {isHovering && activeLanguage && (\n <CopyButton\n onCopy={() => {\n const text = codeData.find(\n (code) => code.language === activeLanguage,\n )?.content;\n if (text) copy(substituteApiKey(text, selectedApiKey, false));\n }}\n isCopied={isCopied}\n />\n )}\n </div>\n {requiresApiKeySubstitution && (\n <ApiKeySelector\n apiKeys={apiKeys}\n selectedApiKey={selectedApiKey}\n onApiKeyChange={setSelectedApiKey}\n />\n )}\n </div>\n );\n};\n\nexport default CodeSnippet;\n"],"names":["React","useState","useEffect","Children","isValidElement","useRef","useCallback","useMemo","Code","cn","Icon","getLanguageInfo","stripSdkType","LanguageSelector","ApiKeySelector","useCopyToClipboard","PlainCodeView","CopyButton","TooltipButton","substituteApiKey","content","apiKey","mask","replace","split","CodeSnippet","fixed","headerRow","title","children","className","lang","onChange","apiKeys","sdk","showCodeLines","languageOrdering","codeRef","isCopied","copy","selectedApiKey","setSelectedApiKey","keys","key","length","element","current","unmaskRenderedApiKey","handleCopy","event","selection","window","getSelection","rangeCount","selectedText","toString","range","getRangeAt","contains","commonAncestorContainer","modifiedText","clipboardData","setData","preventDefault","document","addEventListener","removeEventListener","extractLanguageFromCode","codeElement","props","classNames","langClass","find","cls","startsWith","substring","codeData","languages","sdkTypes","isSinglePlainCommand","childrenArray","toArray","Set","some","includes","forEach","child","preElement","codeLanguage","add","push","codeContent","language","showSDKSelector","size","filteredLanguages","filtered","filter","sort","a","b","aBase","bBase","aIndex","indexOf","bIndex","activeLanguage","has","requiresApiKeySubstitution","containsPlaceholder","code","isHovering","setIsHovering","hasOnlyJsonSnippet","processedChildren","targetLanguage","map","cleanLang","langInfo","processedContent","String","syntaxHighlighterKey","snippet","additionalCSS","showLines","hasSnippetForActiveLanguage","handleSDKTypeChange","type","nextLang","l","handleLanguageChange","NoSnippetMessage","activeLanguageInfo","div","name","color","p","label","showLanguageSelector","showFullSelector","renderContent","plainChild","icon","tooltip","active","onClick","variant","alwaysShowLabel","onLanguageChange","span","ref","onMouseEnter","onMouseLeave","onFocus","onBlur","tabIndex","onCopy","text","onApiKeyChange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,oBAACrF,MACC4H,KAAM3H,gBAAgBoF,iBAAiB,CAAC,EAAE,EAAE+C,IAAI,CAChDhD,KAAK,OACL6B,cAAc,SAEhB,oBAAC0B,QAAKvH,UAAU,mFACbnB,gBAAgBoF,iBAAiB,CAAC,EAAE,EAAE0C,KAAK,GAKtD,EACF,oBAACJ,OACCiB,IAAKjH,QACLP,UAAU,WACVyH,aAAc,IAAMvC,cAAc,MAClCwC,aAAc,IAAMxC,cAAc,OAClCyC,QAAS,IAAMzC,cAAc,MAC7B0C,OAAQ,IAAM1C,cAAc,OAC5B2C,SAAU,GAETf,cACA7B,YAAcL,gBACb,oBAACzF,YACC2I,OAAQ,KACN,MAAMC,KAAOjF,SAASJ,IAAI,CACxB,AAACsC,MAASA,KAAKlB,QAAQ,GAAKc,iBAC3BtF,QACH,GAAIyI,KAAMtH,KAAKpB,iBAAiB0I,KAAMrH,eAAgB,OACxD,EACAF,SAAUA,YAIfsE,4BACC,oBAAC9F,gBACCmB,QAASA,QACTO,eAAgBA,eAChBsH,eAAgBrH,oBAK1B,CAEA,gBAAehB,WAAY"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as React from"react";import{forwardRef}from"react";const IconDisplayBrowser=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("g",{clipPath:"url(#clip0)"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 8.75c-.69 0-1.25.56-1.25 1.25v24h11.345a2 2 0 0 1 1.167.376l1.041.748a2 2 0 0 0 1.167.376h7.06a2 2 0 0 0 1.167-.376l1.04-.748A2 2 0 0 1 30.906 34H42.25V10c0-.69-.56-1.25-1.25-1.25zM4.25 10v24H1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h46a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-3.25V10A2.75 2.75 0 0 0 41 7.25H7A2.75 2.75 0 0 0 4.25 10M46.5 35.5H30.905a.5.5 0 0 0-.292.094l-1.04.748A3.5 3.5 0 0 1 27.53 37h-7.06a3.5 3.5 0 0 1-2.043-.658l-1.04-.748a.5.5 0 0 0-.292-.094H1.5v2h45zM25 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"}))
|
|
1
|
+
import*as React from"react";import{forwardRef}from"react";const IconDisplayBrowser=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("defs",null,React.createElement("clipPath",{id:"clip0"},React.createElement("path",{fill:"#fff",d:"M0 0h48v48H0z"}))),React.createElement("g",{clipPath:"url(#clip0)"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 8.75c-.69 0-1.25.56-1.25 1.25v24h11.345a2 2 0 0 1 1.167.376l1.041.748a2 2 0 0 0 1.167.376h7.06a2 2 0 0 0 1.167-.376l1.04-.748A2 2 0 0 1 30.906 34H42.25V10c0-.69-.56-1.25-1.25-1.25zM4.25 10v24H1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h46a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-3.25V10A2.75 2.75 0 0 0 41 7.25H7A2.75 2.75 0 0 0 4.25 10M46.5 35.5H30.905a.5.5 0 0 0-.292.094l-1.04.748A3.5 3.5 0 0 1 27.53 37h-7.06a3.5 3.5 0 0 1-2.043-.658l-1.04-.748a.5.5 0 0 0-.292-.094H1.5v2h45zM25 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"})));const ForwardRef=forwardRef(IconDisplayBrowser);export default ForwardRef;
|
|
2
2
|
//# sourceMappingURL=icon-display-browser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-browser.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayBrowser = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={48} height={48} fill=\"none\" viewBox=\"0 0 48 48\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<g clipPath=\"url(#clip0)\"><path fill=\"currentColor\" fillRule=\"evenodd\" d=\"M7 8.75c-.69 0-1.25.56-1.25 1.25v24h11.345a2 2 0 0 1 1.167.376l1.041.748a2 2 0 0 0 1.167.376h7.06a2 2 0 0 0 1.167-.376l1.04-.748A2 2 0 0 1 30.906 34H42.25V10c0-.69-.56-1.25-1.25-1.25zM4.25 10v24H1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h46a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-3.25V10A2.75 2.75 0 0 0 41 7.25H7A2.75 2.75 0 0 0 4.25 10M46.5 35.5H30.905a.5.5 0 0 0-.292.094l-1.04.748A3.5 3.5 0 0 1 27.53 37h-7.06a3.5 3.5 0 0 1-2.043-.658l-1.04-.748a.5.5 0 0 0-.292-.094H1.5v2h45zM25 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" clipRule=\"evenodd\" /></g
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-browser.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayBrowser = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={48} height={48} fill=\"none\" viewBox=\"0 0 48 48\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<defs><clipPath id=\"clip0\"><path fill=\"#fff\" d=\"M0 0h48v48H0z\" /></clipPath></defs><g clipPath=\"url(#clip0)\"><path fill=\"currentColor\" fillRule=\"evenodd\" d=\"M7 8.75c-.69 0-1.25.56-1.25 1.25v24h11.345a2 2 0 0 1 1.167.376l1.041.748a2 2 0 0 0 1.167.376h7.06a2 2 0 0 0 1.167-.376l1.04-.748A2 2 0 0 1 30.906 34H42.25V10c0-.69-.56-1.25-1.25-1.25zM4.25 10v24H1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h46a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-3.25V10A2.75 2.75 0 0 0 41 7.25H7A2.75 2.75 0 0 0 4.25 10M46.5 35.5H30.905a.5.5 0 0 0-.292.094l-1.04.748A3.5 3.5 0 0 1 27.53 37h-7.06a3.5 3.5 0 0 1-2.043-.658l-1.04-.748a.5.5 0 0 0-.292-.094H1.5v2h45zM25 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" clipRule=\"evenodd\" /></g></svg>;\nconst ForwardRef = forwardRef(IconDisplayBrowser);\nexport default ForwardRef;"],"names":["React","forwardRef","IconDisplayBrowser","title","titleId","props","ref","svg","xmlns","width","height","fill","viewBox","aria-labelledby","id","defs","clipPath","path","d","g","fillRule","clipRule","ForwardRef"],"mappings":"AAAA,UAAYA,UAAW,OAAQ,AAE/B,QAAcC,UAAU,KAAQ,OAAQ,CAKxC,MAAMC,mBAAqB,CAAC,CAC1BC,KAAK,CACLC,OAAO,CACP,GAAGC,MACiC,CAAEC,MAA4B,oBAACC,OAAIC,MAAM,6BAA6BC,MAAO,GAAIC,OAAQ,GAAIC,KAAK,OAAOC,QAAQ,YAAYN,IAAKA,IAAKO,kBAAiBT,QAAU,GAAGC,KAAK,EAAGF,MAAQ,oBAACA,SAAMW,GAAIV,SAAUD,OAAiB,KAAK,oBAACY,YAAK,oBAACC,YAASF,GAAG,SAAQ,oBAACG,QAAKN,KAAK,OAAOO,EAAE,oBAAoC,oBAACC,KAAEH,SAAS,eAAc,oBAACC,QAAKN,KAAK,eAAeS,SAAS,UAAUF,EAAE,mfAAmfG,SAAS,cAC95B,MAAMC,WAAarB,WAAWC,mBAC9B,gBAAeoB,UAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as React from"react";import{forwardRef}from"react";const IconDisplayCustomCname=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:49,height:49,fill:"none",viewBox:"0 0 49 49",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("g",{clipPath:"url(#clip0_3563_10959)"},React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M35.441 32.345C34.72 41.07 27.41 47.923 18.5 47.923c-9.389 0-17-7.611-17-17 0-8.819 6.715-16.07 15.311-16.917l.845-.042"}),React.createElement("path",{stroke:"#C6CED9",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M31.5 41.923c-3.319-1.853-7.918-3-13-3s-9.681 1.147-13 3"}),React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M5.5 20.923c3.319 1.853 7.918 3 13 3q.758 0 1.5-.034"}),React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M25.5 30.923c0 9.389-3.358 17-7.5 17s-7.5-7.611-7.5-17c0-8.62 2.83-15.742 6.5-16.85M1.5 30.923h24"}),React.createElement("circle",{cx:34.5,cy:14.923,r:14,fill:"#FF5416"}),React.createElement("path",{stroke:"#03020D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m28.5 15.756 4.8 4.167 7.2-10"}))
|
|
1
|
+
import*as React from"react";import{forwardRef}from"react";const IconDisplayCustomCname=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:49,height:49,fill:"none",viewBox:"0 0 49 49",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_3563_10959"},React.createElement("path",{fill:"#fff",d:"M.5.923h48v48H.5z"}))),React.createElement("g",{clipPath:"url(#clip0_3563_10959)"},React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M35.441 32.345C34.72 41.07 27.41 47.923 18.5 47.923c-9.389 0-17-7.611-17-17 0-8.819 6.715-16.07 15.311-16.917l.845-.042"}),React.createElement("path",{stroke:"#C6CED9",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M31.5 41.923c-3.319-1.853-7.918-3-13-3s-9.681 1.147-13 3"}),React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M5.5 20.923c3.319 1.853 7.918 3 13 3q.758 0 1.5-.034"}),React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M25.5 30.923c0 9.389-3.358 17-7.5 17s-7.5-7.611-7.5-17c0-8.62 2.83-15.742 6.5-16.85M1.5 30.923h24"}),React.createElement("circle",{cx:34.5,cy:14.923,r:14,fill:"#FF5416"}),React.createElement("path",{stroke:"#03020D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m28.5 15.756 4.8 4.167 7.2-10"})));const ForwardRef=forwardRef(IconDisplayCustomCname);export default ForwardRef;
|
|
2
2
|
//# sourceMappingURL=icon-display-custom-cname.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-custom-cname.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayCustomCname = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={49} height={49} fill=\"none\" viewBox=\"0 0 49 49\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<g clipPath=\"url(#clip0_3563_10959)\"><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeMiterlimit={10} strokeWidth={1.5} d=\"M35.441 32.345C34.72 41.07 27.41 47.923 18.5 47.923c-9.389 0-17-7.611-17-17 0-8.819 6.715-16.07 15.311-16.917l.845-.042\" /><path stroke=\"#C6CED9\" strokeLinejoin=\"round\" strokeMiterlimit={10} strokeWidth={1.5} d=\"M31.5 41.923c-3.319-1.853-7.918-3-13-3s-9.681 1.147-13 3\" /><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeMiterlimit={10} strokeWidth={1.5} d=\"M5.5 20.923c3.319 1.853 7.918 3 13 3q.758 0 1.5-.034\" /><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeMiterlimit={10} strokeWidth={1.5} d=\"M25.5 30.923c0 9.389-3.358 17-7.5 17s-7.5-7.611-7.5-17c0-8.62 2.83-15.742 6.5-16.85M1.5 30.923h24\" /><circle cx={34.5} cy={14.923} r={14} fill=\"#FF5416\" /><path stroke=\"#03020D\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"m28.5 15.756 4.8 4.167 7.2-10\" /></g
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-custom-cname.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayCustomCname = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={49} height={49} fill=\"none\" viewBox=\"0 0 49 49\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<defs><clipPath id=\"clip0_3563_10959\"><path fill=\"#fff\" d=\"M.5.923h48v48H.5z\" /></clipPath></defs><g clipPath=\"url(#clip0_3563_10959)\"><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeMiterlimit={10} strokeWidth={1.5} d=\"M35.441 32.345C34.72 41.07 27.41 47.923 18.5 47.923c-9.389 0-17-7.611-17-17 0-8.819 6.715-16.07 15.311-16.917l.845-.042\" /><path stroke=\"#C6CED9\" strokeLinejoin=\"round\" strokeMiterlimit={10} strokeWidth={1.5} d=\"M31.5 41.923c-3.319-1.853-7.918-3-13-3s-9.681 1.147-13 3\" /><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeMiterlimit={10} strokeWidth={1.5} d=\"M5.5 20.923c3.319 1.853 7.918 3 13 3q.758 0 1.5-.034\" /><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeMiterlimit={10} strokeWidth={1.5} d=\"M25.5 30.923c0 9.389-3.358 17-7.5 17s-7.5-7.611-7.5-17c0-8.62 2.83-15.742 6.5-16.85M1.5 30.923h24\" /><circle cx={34.5} cy={14.923} r={14} fill=\"#FF5416\" /><path stroke=\"#03020D\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"m28.5 15.756 4.8 4.167 7.2-10\" /></g></svg>;\nconst ForwardRef = forwardRef(IconDisplayCustomCname);\nexport default ForwardRef;"],"names":["React","forwardRef","IconDisplayCustomCname","title","titleId","props","ref","svg","xmlns","width","height","fill","viewBox","aria-labelledby","id","defs","clipPath","path","d","g","stroke","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeWidth","circle","cx","cy","r","ForwardRef"],"mappings":"AAAA,UAAYA,UAAW,OAAQ,AAE/B,QAAcC,UAAU,KAAQ,OAAQ,CAKxC,MAAMC,uBAAyB,CAAC,CAC9BC,KAAK,CACLC,OAAO,CACP,GAAGC,MACiC,CAAEC,MAA4B,oBAACC,OAAIC,MAAM,6BAA6BC,MAAO,GAAIC,OAAQ,GAAIC,KAAK,OAAOC,QAAQ,YAAYN,IAAKA,IAAKO,kBAAiBT,QAAU,GAAGC,KAAK,EAAGF,MAAQ,oBAACA,SAAMW,GAAIV,SAAUD,OAAiB,KAAK,oBAACY,YAAK,oBAACC,YAASF,GAAG,oBAAmB,oBAACG,QAAKN,KAAK,OAAOO,EAAE,wBAAwC,oBAACC,KAAEH,SAAS,0BAAyB,oBAACC,QAAKG,OAAO,UAAUC,cAAc,QAAQC,eAAe,QAAQC,iBAAkB,GAAIC,YAAa,IAAKN,EAAE,4HAA4H,oBAACD,QAAKG,OAAO,UAAUE,eAAe,QAAQC,iBAAkB,GAAIC,YAAa,IAAKN,EAAE,6DAA6D,oBAACD,QAAKG,OAAO,UAAUC,cAAc,QAAQC,eAAe,QAAQC,iBAAkB,GAAIC,YAAa,IAAKN,EAAE,yDAAyD,oBAACD,QAAKG,OAAO,UAAUC,cAAc,QAAQC,eAAe,QAAQC,iBAAkB,GAAIC,YAAa,IAAKN,EAAE,sGAAsG,oBAACO,UAAOC,GAAI,KAAMC,GAAI,OAAQC,EAAG,GAAIjB,KAAK,YAAY,oBAACM,QAAKG,OAAO,UAAUC,cAAc,QAAQC,eAAe,QAAQE,YAAa,IAAKN,EAAE,oCACrxC,MAAMW,WAAa5B,WAAWC,uBAC9B,gBAAe2B,UAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as React from"react";import{forwardRef}from"react";const IconDisplayDynamicChannelGroups=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:49,height:49,fill:"none",viewBox:"0 0 49 49",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("g",{clipPath:"url(#clip0_3795_3659)"},React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M24.316 24.331c-.383.225-.825.515-1.27.87-1.207.966-2.553 2.522-2.553 4.677v10.908a2.886 2.886 0 0 1-2.887 2.887H3.97a2.886 2.886 0 0 1-2.887-2.886V8.059A2.886 2.886 0 0 1 3.97 5.173h13.636a2.884 2.884 0 0 1 2.886 2.883v10.912c0 .887.367 1.715.837 2.42.473.71 1.09 1.353 1.685 1.888.458.413.914.77 1.302 1.055"}),React.createElement("ellipse",{cx:15.171,cy:13.351,stroke:"#C6CED9",strokeWidth:1.5,rx:2.435,ry:4.383}),React.createElement("path",{stroke:"#C6CED9",strokeWidth:1.5,d:"M15.658 8.968H6.892c-1.614 0-2.922 1.962-2.922 4.383 0 2.42 1.308 4.383 2.922 4.383h8.766"}),React.createElement("ellipse",{cx:15.171,cy:24.844,stroke:"#C6CED9",strokeWidth:1.5,rx:2.435,ry:4.383}),React.createElement("path",{stroke:"#C6CED9",strokeWidth:1.5,d:"M15.658 20.461H6.892c-1.614 0-2.922 1.963-2.922 4.383s1.308 4.383 2.922 4.383h8.766"}),React.createElement("ellipse",{cx:15.171,cy:36.337,stroke:"#C6CED9",strokeWidth:1.5,rx:2.435,ry:4.383}),React.createElement("path",{stroke:"#C6CED9",strokeWidth:1.5,d:"M15.658 31.954H6.892c-1.614 0-2.922 1.963-2.922 4.383s1.308 4.384 2.922 4.384h8.766"}),React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeWidth:1.5,d:"M32.06 24.423h-7.272"}),React.createElement("circle",{cx:41.333,cy:24.423,r:7,fill:"#FF5416"}),React.createElement("path",{stroke:"#03020D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m38.103 24.872 2.584 2.243 3.877-5.384"}))
|
|
1
|
+
import*as React from"react";import{forwardRef}from"react";const IconDisplayDynamicChannelGroups=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:49,height:49,fill:"none",viewBox:"0 0 49 49",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_3795_3659"},React.createElement("path",{fill:"#fff",d:"M.333.423h48v48h-48z"}))),React.createElement("g",{clipPath:"url(#clip0_3795_3659)"},React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M24.316 24.331c-.383.225-.825.515-1.27.87-1.207.966-2.553 2.522-2.553 4.677v10.908a2.886 2.886 0 0 1-2.887 2.887H3.97a2.886 2.886 0 0 1-2.887-2.886V8.059A2.886 2.886 0 0 1 3.97 5.173h13.636a2.884 2.884 0 0 1 2.886 2.883v10.912c0 .887.367 1.715.837 2.42.473.71 1.09 1.353 1.685 1.888.458.413.914.77 1.302 1.055"}),React.createElement("ellipse",{cx:15.171,cy:13.351,stroke:"#C6CED9",strokeWidth:1.5,rx:2.435,ry:4.383}),React.createElement("path",{stroke:"#C6CED9",strokeWidth:1.5,d:"M15.658 8.968H6.892c-1.614 0-2.922 1.962-2.922 4.383 0 2.42 1.308 4.383 2.922 4.383h8.766"}),React.createElement("ellipse",{cx:15.171,cy:24.844,stroke:"#C6CED9",strokeWidth:1.5,rx:2.435,ry:4.383}),React.createElement("path",{stroke:"#C6CED9",strokeWidth:1.5,d:"M15.658 20.461H6.892c-1.614 0-2.922 1.963-2.922 4.383s1.308 4.383 2.922 4.383h8.766"}),React.createElement("ellipse",{cx:15.171,cy:36.337,stroke:"#C6CED9",strokeWidth:1.5,rx:2.435,ry:4.383}),React.createElement("path",{stroke:"#C6CED9",strokeWidth:1.5,d:"M15.658 31.954H6.892c-1.614 0-2.922 1.963-2.922 4.383s1.308 4.384 2.922 4.384h8.766"}),React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeWidth:1.5,d:"M32.06 24.423h-7.272"}),React.createElement("circle",{cx:41.333,cy:24.423,r:7,fill:"#FF5416"}),React.createElement("path",{stroke:"#03020D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m38.103 24.872 2.584 2.243 3.877-5.384"})));const ForwardRef=forwardRef(IconDisplayDynamicChannelGroups);export default ForwardRef;
|
|
2
2
|
//# sourceMappingURL=icon-display-dynamic-channel-groups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-dynamic-channel-groups.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayDynamicChannelGroups = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={49} height={49} fill=\"none\" viewBox=\"0 0 49 49\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<g clipPath=\"url(#clip0_3795_3659)\"><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"M24.316 24.331c-.383.225-.825.515-1.27.87-1.207.966-2.553 2.522-2.553 4.677v10.908a2.886 2.886 0 0 1-2.887 2.887H3.97a2.886 2.886 0 0 1-2.887-2.886V8.059A2.886 2.886 0 0 1 3.97 5.173h13.636a2.884 2.884 0 0 1 2.886 2.883v10.912c0 .887.367 1.715.837 2.42.473.71 1.09 1.353 1.685 1.888.458.413.914.77 1.302 1.055\" /><ellipse cx={15.171} cy={13.351} stroke=\"#C6CED9\" strokeWidth={1.5} rx={2.435} ry={4.383} /><path stroke=\"#C6CED9\" strokeWidth={1.5} d=\"M15.658 8.968H6.892c-1.614 0-2.922 1.962-2.922 4.383 0 2.42 1.308 4.383 2.922 4.383h8.766\" /><ellipse cx={15.171} cy={24.844} stroke=\"#C6CED9\" strokeWidth={1.5} rx={2.435} ry={4.383} /><path stroke=\"#C6CED9\" strokeWidth={1.5} d=\"M15.658 20.461H6.892c-1.614 0-2.922 1.963-2.922 4.383s1.308 4.383 2.922 4.383h8.766\" /><ellipse cx={15.171} cy={36.337} stroke=\"#C6CED9\" strokeWidth={1.5} rx={2.435} ry={4.383} /><path stroke=\"#C6CED9\" strokeWidth={1.5} d=\"M15.658 31.954H6.892c-1.614 0-2.922 1.963-2.922 4.383s1.308 4.384 2.922 4.384h8.766\" /><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeWidth={1.5} d=\"M32.06 24.423h-7.272\" /><circle cx={41.333} cy={24.423} r={7} fill=\"#FF5416\" /><path stroke=\"#03020D\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"m38.103 24.872 2.584 2.243 3.877-5.384\" /></g
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-dynamic-channel-groups.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayDynamicChannelGroups = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={49} height={49} fill=\"none\" viewBox=\"0 0 49 49\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<defs><clipPath id=\"clip0_3795_3659\"><path fill=\"#fff\" d=\"M.333.423h48v48h-48z\" /></clipPath></defs><g clipPath=\"url(#clip0_3795_3659)\"><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"M24.316 24.331c-.383.225-.825.515-1.27.87-1.207.966-2.553 2.522-2.553 4.677v10.908a2.886 2.886 0 0 1-2.887 2.887H3.97a2.886 2.886 0 0 1-2.887-2.886V8.059A2.886 2.886 0 0 1 3.97 5.173h13.636a2.884 2.884 0 0 1 2.886 2.883v10.912c0 .887.367 1.715.837 2.42.473.71 1.09 1.353 1.685 1.888.458.413.914.77 1.302 1.055\" /><ellipse cx={15.171} cy={13.351} stroke=\"#C6CED9\" strokeWidth={1.5} rx={2.435} ry={4.383} /><path stroke=\"#C6CED9\" strokeWidth={1.5} d=\"M15.658 8.968H6.892c-1.614 0-2.922 1.962-2.922 4.383 0 2.42 1.308 4.383 2.922 4.383h8.766\" /><ellipse cx={15.171} cy={24.844} stroke=\"#C6CED9\" strokeWidth={1.5} rx={2.435} ry={4.383} /><path stroke=\"#C6CED9\" strokeWidth={1.5} d=\"M15.658 20.461H6.892c-1.614 0-2.922 1.963-2.922 4.383s1.308 4.383 2.922 4.383h8.766\" /><ellipse cx={15.171} cy={36.337} stroke=\"#C6CED9\" strokeWidth={1.5} rx={2.435} ry={4.383} /><path stroke=\"#C6CED9\" strokeWidth={1.5} d=\"M15.658 31.954H6.892c-1.614 0-2.922 1.963-2.922 4.383s1.308 4.384 2.922 4.384h8.766\" /><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeWidth={1.5} d=\"M32.06 24.423h-7.272\" /><circle cx={41.333} cy={24.423} r={7} fill=\"#FF5416\" /><path stroke=\"#03020D\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"m38.103 24.872 2.584 2.243 3.877-5.384\" /></g></svg>;\nconst ForwardRef = forwardRef(IconDisplayDynamicChannelGroups);\nexport default ForwardRef;"],"names":["React","forwardRef","IconDisplayDynamicChannelGroups","title","titleId","props","ref","svg","xmlns","width","height","fill","viewBox","aria-labelledby","id","defs","clipPath","path","d","g","stroke","strokeLinecap","strokeLinejoin","strokeWidth","ellipse","cx","cy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Aa9B,WAAWC,gCAC9B,gBAAe6B,UAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as React from"react";import{forwardRef}from"react";const IconDisplayExactlyOnceDelivery=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:49,height:49,fill:"none",viewBox:"0 0 49 49",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("g",{clipPath:"url(#clip0_3563_10779)"},React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M42.748 28.423c1.636-4.692 1.504-8.168 1.504-8.168V5.511a30.44 30.44 0 0 1-19.937-4.088A33.1 33.1 0 0 1 4.328 5.368l.065 16.206c.85 18.227 19.922 25.862 19.922 25.862a41.7 41.7 0 0 0 6.351-3.575"}),React.createElement("path",{fill:"#FF5416",fillRule:"evenodd",d:"M31.897 37.84a7.187 7.187 0 1 1 14.373 0 7.187 7.187 0 0 1-14.373 0",clipRule:"evenodd"}),React.createElement("path",{stroke:"#03020D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m36.165 37.485 2.31 2.264 3.591-3.726"}),React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeWidth:1.5,d:"M23.1 34.423V16.151l-4.433 2.651v-4.791l4.434-2.588h4.566v23z"}))
|
|
1
|
+
import*as React from"react";import{forwardRef}from"react";const IconDisplayExactlyOnceDelivery=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:49,height:49,fill:"none",viewBox:"0 0 49 49",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_3563_10779"},React.createElement("path",{fill:"#fff",d:"M.667.423h48v48h-48z"}))),React.createElement("g",{clipPath:"url(#clip0_3563_10779)"},React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M42.748 28.423c1.636-4.692 1.504-8.168 1.504-8.168V5.511a30.44 30.44 0 0 1-19.937-4.088A33.1 33.1 0 0 1 4.328 5.368l.065 16.206c.85 18.227 19.922 25.862 19.922 25.862a41.7 41.7 0 0 0 6.351-3.575"}),React.createElement("path",{fill:"#FF5416",fillRule:"evenodd",d:"M31.897 37.84a7.187 7.187 0 1 1 14.373 0 7.187 7.187 0 0 1-14.373 0",clipRule:"evenodd"}),React.createElement("path",{stroke:"#03020D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m36.165 37.485 2.31 2.264 3.591-3.726"}),React.createElement("path",{stroke:"#C6CED9",strokeLinecap:"round",strokeWidth:1.5,d:"M23.1 34.423V16.151l-4.433 2.651v-4.791l4.434-2.588h4.566v23z"})));const ForwardRef=forwardRef(IconDisplayExactlyOnceDelivery);export default ForwardRef;
|
|
2
2
|
//# sourceMappingURL=icon-display-exactly-once-delivery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-exactly-once-delivery.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayExactlyOnceDelivery = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={49} height={49} fill=\"none\" viewBox=\"0 0 49 49\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<g clipPath=\"url(#clip0_3563_10779)\"><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"M42.748 28.423c1.636-4.692 1.504-8.168 1.504-8.168V5.511a30.44 30.44 0 0 1-19.937-4.088A33.1 33.1 0 0 1 4.328 5.368l.065 16.206c.85 18.227 19.922 25.862 19.922 25.862a41.7 41.7 0 0 0 6.351-3.575\" /><path fill=\"#FF5416\" fillRule=\"evenodd\" d=\"M31.897 37.84a7.187 7.187 0 1 1 14.373 0 7.187 7.187 0 0 1-14.373 0\" clipRule=\"evenodd\" /><path stroke=\"#03020D\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"m36.165 37.485 2.31 2.264 3.591-3.726\" /><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeWidth={1.5} d=\"M23.1 34.423V16.151l-4.433 2.651v-4.791l4.434-2.588h4.566v23z\" /></g
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-exactly-once-delivery.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayExactlyOnceDelivery = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={49} height={49} fill=\"none\" viewBox=\"0 0 49 49\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<defs><clipPath id=\"clip0_3563_10779\"><path fill=\"#fff\" d=\"M.667.423h48v48h-48z\" /></clipPath></defs><g clipPath=\"url(#clip0_3563_10779)\"><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"M42.748 28.423c1.636-4.692 1.504-8.168 1.504-8.168V5.511a30.44 30.44 0 0 1-19.937-4.088A33.1 33.1 0 0 1 4.328 5.368l.065 16.206c.85 18.227 19.922 25.862 19.922 25.862a41.7 41.7 0 0 0 6.351-3.575\" /><path fill=\"#FF5416\" fillRule=\"evenodd\" d=\"M31.897 37.84a7.187 7.187 0 1 1 14.373 0 7.187 7.187 0 0 1-14.373 0\" clipRule=\"evenodd\" /><path stroke=\"#03020D\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={1.5} d=\"m36.165 37.485 2.31 2.264 3.591-3.726\" /><path stroke=\"#C6CED9\" strokeLinecap=\"round\" strokeWidth={1.5} d=\"M23.1 34.423V16.151l-4.433 2.651v-4.791l4.434-2.588h4.566v23z\" /></g></svg>;\nconst ForwardRef = forwardRef(IconDisplayExactlyOnceDelivery);\nexport default ForwardRef;"],"names":["React","forwardRef","IconDisplayExactlyOnceDelivery","title","titleId","props","ref","svg","xmlns","width","height","fill","viewBox","aria-labelledby","id","defs","clipPath","path","d","g","stroke","strokeLinecap","strokeLinejoin","strokeWidth","fillRule","clipRule","ForwardRef"],"mappings":"AAAA,UAAYA,UAAW,OAAQ,AAE/B,QAAcC,UAAU,KAAQ,OAAQ,CAKxC,MAAMC,+BAAiC,CAAC,CACtCC,KAAK,CACLC,OAAO,CACP,GAAGC,MACiC,CAAEC,MAA4B,oBAACC,OAAIC,MAAM,6BAA6BC,MAAO,GAAIC,OAAQ,GAAIC,KAAK,OAAOC,QAAQ,YAAYN,IAAKA,IAAKO,kBAAiBT,QAAU,GAAGC,KAAK,EAAGF,MAAQ,oBAACA,SAAMW,GAAIV,SAAUD,OAAiB,KAAK,oBAACY,YAAK,oBAACC,YAASF,GAAG,oBAAmB,oBAACG,QAAKN,KAAK,OAAOO,EAAE,2BAA2C,oBAACC,KAAEH,SAAS,0BAAyB,oBAACC,QAAKG,OAAO,UAAUC,cAAc,QAAQC,eAAe,QAAQC,YAAa,IAAKL,EAAE,uMAAuM,oBAACD,QAAKN,KAAK,UAAUa,SAAS,UAAUN,EAAE,sEAAsEO,SAAS,YAAY,oBAACR,QAAKG,OAAO,UAAUC,cAAc,QAAQC,eAAe,QAAQC,YAAa,IAAKL,EAAE,0CAA0C,oBAACD,QAAKG,OAAO,UAAUC,cAAc,QAAQE,YAAa,IAAKL,EAAE,oEACv/B,MAAMQ,WAAazB,WAAWC,+BAC9B,gBAAewB,UAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as React from"react";import{forwardRef}from"react";const IconDisplayHipaaMono=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:49,fill:"none",viewBox:"0 0 48 49",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("g",{clipPath:"url(#clip0_3518_39132)"},React.createElement("path",{fill:"#C6CED9",fillRule:"evenodd",d:"M23.093 12.838c.56.356 1.525.98 2.083 1.402-.068-.334-.17-.75-.277-1.183-.152-.617-.313-1.268-.394-1.763.246-.241.594-.517.979-.822.423-.336.892-.709 1.324-1.112-.874-.124-2.968-.208-2.968-.208s-.555-1.16-.962-1.983c.083-.193.163-.371.237-.519 0-.524-.02-1.27-.04-1.989-.019-.669-.037-1.315-.037-1.738C16.278 2.9 6.056 8.56 4.226 14.26a2.9 2.9 0 0 0 1.374-.466 22.6 22.6 0 0 0 4.325-2.75 11.6 11.6 0 0 1 3.611-2.062c2.748-.826 4.672.23 5.518 3.013.23.928.517 1.844.863 2.732a3.43 3.43 0 0 0 1.206 1.683c.46.342.997.558 1.558.63v.498c2.236-.326 3.885-1.394 4.682-3.62q.15-.378.346-.731c1.237-2.462 2.88-3.019 5.353-1.81a33 33 0 0 1 3.71 2.36 17.4 17.4 0 0 0 7.991 3.042 3.8 3.8 0 0 0 1.755-.212A3.9 3.9 0 0 0 48 15.583c-.508-.088-.985-.128-1.445-.167-.501-.041-.981-.081-1.457-.181a23.5 23.5 0 0 1-9.76-4.683 8.03 8.03 0 0 0-4.304-1.945c-2.105-.185-3.396.58-4.16 2.547-.154.444-.28.9-.405 1.36-.122.442-.244.886-.392 1.321-.522 1.509-1.432 2.597-3.01 2.876.022-1.29.026-2.982.026-3.872m-.352-.222-.082-.052V7.695l-.128.314c-.215.53-.411 1.015-.52 1.176h-2.946l2.418 1.968-.753 2.732c.208-.125.48-.3.776-.493.398-.257.84-.543 1.235-.776m-.235 20.963q.282.205.56.412-.068.066-.132.136v1.36q.945.723 1.813 1.541c.94.978.924 1.709 0 2.676-.423.438-.873.86-1.319 1.276l-.489.461v1.35c-.698.404-1.528 1.09-1.528 1.978 0 .787.544 1.467 1.034 2.069.186.224.357.444.494.646v.157l.044-.078.014.02.014.02a5.8 5.8 0 0 0 2.39-2.227c.704-1.383-.16-2.367-1.077-3.25.44-.59.94-1.13 1.484-1.63 1.38-1.624 1.352-2.777-.093-4.384a5 5 0 0 0-.396-.382 2.8 2.8 0 0 1-.742-.889 14.3 14.3 0 0 1 2.017-1.877 2.4 2.4 0 0 0 .662-.756 2.47 2.47 0 0 0 .192-1.973 2.4 2.4 0 0 0-.502-.875 4.7 4.7 0 0 0-1.512-1.293l-.165-.09-.003-.001c-.22-.107-.453-.22-.475-.645l1.072-.585q.942-.509 1.874-1.04c2.561-1.529 3.144-3.249 2.072-6.003.165-.085.346-.096.528-.101l.026-.002c.211-.01.427-.021.628-.162 0-.133-.07-.255-.146-.388l-.003-.005c-.148-.253-.313-.545-.01-1.023a6.4 6.4 0 0 1 1.796.68l.015.007c.809.397 1.634.802 2.59.758-.053-.338-.27-.538-.484-.734l-.021-.02-.002-.001c-.22-.196-.432-.387-.476-.701.509.1.994.264 1.478.427l.099.034.01.003c.986.342 1.95.676 3.068.463-.193-.262-.447-.444-.698-.624l-.022-.017-.017-.012c-.346-.254-.69-.507-.863-.971.528.095 1.039.219 1.55.343l.014.003c1.452.353 2.871.698 4.526.373l-1.094-.438-.106-.042c-.667-.264-1.27-.504-1.845-.824a64 64 0 0 1-7.276-3.946c-1.968-1.321-3.523-.81-4.59 1.31a37 37 0 0 0-.879 1.82c-.89 1.99-2.566 2.564-4.451 2.694l-.077-.09c-.055-.057-.083-.085-.083-.113l-.132-.506c-2.286-.354-4.155-2.035-4.798-4.289a3.7 3.7 0 0 0-.351-.725 3.36 3.36 0 0 0-1.882-1.745 3.27 3.27 0 0 0-2.537.115c-.912.37-1.775.843-2.583 1.405a26 26 0 0 1-5.26 3.148 96 96 0 0 1-1.89.706l-.253.092-.577.214C-.303 24.897.61 32.374 5.798 39.265c3.918 5.183 11.393 8.27 17.092 8.438-.924-.59-2.314-1.709-2.627-2.8-.292-1.028.274-1.691.934-2.461.181-.214.368-.439.55-.675a17 17 0 0 1-1.754-1.5c-1.264-1.418-1.242-2.44-.055-3.953.16-.202.347-.377.534-.55a3.6 3.6 0 0 0 .818-.973c-.307-.551-.796-.9-1.286-1.237a6.6 6.6 0 0 1-.786-.613 2.5 2.5 0 0 1-.626-.776 2.53 2.53 0 0 1 .352-2.833 5.1 5.1 0 0 1 1.681-1.349l.025-.012c.219-.108.447-.222.41-.606a4 4 0 0 0-1.32-.81 13.7 13.7 0 0 1-3.132-2.04c-1.473-1.383-1.528-3.935-.127-4.88a3.45 3.45 0 0 1 2.357-.505c.82.12 1.571.532 2.123 1.163.34.472.755.884 1.225 1.22.385.23.621.652.621 1.107q-1.202 1.891-2.396.062a4 4 0 0 1-.198-.315l-.011-.018c-.26-.421-.518-.84-1.006-1.05-.62-.275-1.242-.37-1.703.225a1.35 1.35 0 0 0 .055 1.748q.35.422.797.737a15.5 15.5 0 0 0 3.006 1.726c.63.203 1.166.632 1.511 1.208l.058 1.084q-.263.166-.528.34c-.404.264-.813.532-1.24.764-1.598.854-1.675 2.102-.236 3.232.518.432 1.055.825 1.59 1.216m.477 13.984-.044-.079-.022-1.94c-.01-.87-.022-1.804-.022-2.698.665.32 1.396.748 1.534 1.546.191 1.148-.505 2-1.038 2.65l-.007.01c-.159.185-.296.359-.4.51m1.237-14.459c-.385.261-.77.522-1.105.84v-5.619q.796.607 1.676 1.075c.343.14.642.371.867.67.226.298.368.653.414 1.027-.311.96-1.072 1.477-1.835 1.996zm-1.572 8.422.005.006h.006l-.011.045zm0 0q-.308-.323-.622-.64c-.329-.335-.658-.67-.972-1.018-.934-1.035-.934-1.911 0-2.951.329-.364.696-.68 1.062-.998q.269-.231.532-.47zm.346-21.784a4.34 4.34 0 0 1 2.094-.067c-.184.482-.463.92-.819 1.288a3.7 3.7 0 0 1-1.253.848 5.15 5.15 0 0 1-.022-2.069m2.16 5.622c.974-.433 1.886-1 2.71-1.687.807-.742.945-1.686.33-2.226a1.58 1.58 0 0 0-1.198-.233 1.6 1.6 0 0 0-1.012.694q-.234.316-.434.658c-.231.393-.462.775-.918.967-.38.157-.72.044-1.077-.073a2.6 2.6 0 0 0-.594-.152v3.249a13.5 13.5 0 0 1 2.193-1.192z",clipRule:"evenodd"}))
|
|
1
|
+
import*as React from"react";import{forwardRef}from"react";const IconDisplayHipaaMono=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:49,fill:"none",viewBox:"0 0 48 49",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_3518_39132"},React.createElement("path",{fill:"#fff",d:"M0 .923h48v48H0z"}))),React.createElement("g",{clipPath:"url(#clip0_3518_39132)"},React.createElement("path",{fill:"#C6CED9",fillRule:"evenodd",d:"M23.093 12.838c.56.356 1.525.98 2.083 1.402-.068-.334-.17-.75-.277-1.183-.152-.617-.313-1.268-.394-1.763.246-.241.594-.517.979-.822.423-.336.892-.709 1.324-1.112-.874-.124-2.968-.208-2.968-.208s-.555-1.16-.962-1.983c.083-.193.163-.371.237-.519 0-.524-.02-1.27-.04-1.989-.019-.669-.037-1.315-.037-1.738C16.278 2.9 6.056 8.56 4.226 14.26a2.9 2.9 0 0 0 1.374-.466 22.6 22.6 0 0 0 4.325-2.75 11.6 11.6 0 0 1 3.611-2.062c2.748-.826 4.672.23 5.518 3.013.23.928.517 1.844.863 2.732a3.43 3.43 0 0 0 1.206 1.683c.46.342.997.558 1.558.63v.498c2.236-.326 3.885-1.394 4.682-3.62q.15-.378.346-.731c1.237-2.462 2.88-3.019 5.353-1.81a33 33 0 0 1 3.71 2.36 17.4 17.4 0 0 0 7.991 3.042 3.8 3.8 0 0 0 1.755-.212A3.9 3.9 0 0 0 48 15.583c-.508-.088-.985-.128-1.445-.167-.501-.041-.981-.081-1.457-.181a23.5 23.5 0 0 1-9.76-4.683 8.03 8.03 0 0 0-4.304-1.945c-2.105-.185-3.396.58-4.16 2.547-.154.444-.28.9-.405 1.36-.122.442-.244.886-.392 1.321-.522 1.509-1.432 2.597-3.01 2.876.022-1.29.026-2.982.026-3.872m-.352-.222-.082-.052V7.695l-.128.314c-.215.53-.411 1.015-.52 1.176h-2.946l2.418 1.968-.753 2.732c.208-.125.48-.3.776-.493.398-.257.84-.543 1.235-.776m-.235 20.963q.282.205.56.412-.068.066-.132.136v1.36q.945.723 1.813 1.541c.94.978.924 1.709 0 2.676-.423.438-.873.86-1.319 1.276l-.489.461v1.35c-.698.404-1.528 1.09-1.528 1.978 0 .787.544 1.467 1.034 2.069.186.224.357.444.494.646v.157l.044-.078.014.02.014.02a5.8 5.8 0 0 0 2.39-2.227c.704-1.383-.16-2.367-1.077-3.25.44-.59.94-1.13 1.484-1.63 1.38-1.624 1.352-2.777-.093-4.384a5 5 0 0 0-.396-.382 2.8 2.8 0 0 1-.742-.889 14.3 14.3 0 0 1 2.017-1.877 2.4 2.4 0 0 0 .662-.756 2.47 2.47 0 0 0 .192-1.973 2.4 2.4 0 0 0-.502-.875 4.7 4.7 0 0 0-1.512-1.293l-.165-.09-.003-.001c-.22-.107-.453-.22-.475-.645l1.072-.585q.942-.509 1.874-1.04c2.561-1.529 3.144-3.249 2.072-6.003.165-.085.346-.096.528-.101l.026-.002c.211-.01.427-.021.628-.162 0-.133-.07-.255-.146-.388l-.003-.005c-.148-.253-.313-.545-.01-1.023a6.4 6.4 0 0 1 1.796.68l.015.007c.809.397 1.634.802 2.59.758-.053-.338-.27-.538-.484-.734l-.021-.02-.002-.001c-.22-.196-.432-.387-.476-.701.509.1.994.264 1.478.427l.099.034.01.003c.986.342 1.95.676 3.068.463-.193-.262-.447-.444-.698-.624l-.022-.017-.017-.012c-.346-.254-.69-.507-.863-.971.528.095 1.039.219 1.55.343l.014.003c1.452.353 2.871.698 4.526.373l-1.094-.438-.106-.042c-.667-.264-1.27-.504-1.845-.824a64 64 0 0 1-7.276-3.946c-1.968-1.321-3.523-.81-4.59 1.31a37 37 0 0 0-.879 1.82c-.89 1.99-2.566 2.564-4.451 2.694l-.077-.09c-.055-.057-.083-.085-.083-.113l-.132-.506c-2.286-.354-4.155-2.035-4.798-4.289a3.7 3.7 0 0 0-.351-.725 3.36 3.36 0 0 0-1.882-1.745 3.27 3.27 0 0 0-2.537.115c-.912.37-1.775.843-2.583 1.405a26 26 0 0 1-5.26 3.148 96 96 0 0 1-1.89.706l-.253.092-.577.214C-.303 24.897.61 32.374 5.798 39.265c3.918 5.183 11.393 8.27 17.092 8.438-.924-.59-2.314-1.709-2.627-2.8-.292-1.028.274-1.691.934-2.461.181-.214.368-.439.55-.675a17 17 0 0 1-1.754-1.5c-1.264-1.418-1.242-2.44-.055-3.953.16-.202.347-.377.534-.55a3.6 3.6 0 0 0 .818-.973c-.307-.551-.796-.9-1.286-1.237a6.6 6.6 0 0 1-.786-.613 2.5 2.5 0 0 1-.626-.776 2.53 2.53 0 0 1 .352-2.833 5.1 5.1 0 0 1 1.681-1.349l.025-.012c.219-.108.447-.222.41-.606a4 4 0 0 0-1.32-.81 13.7 13.7 0 0 1-3.132-2.04c-1.473-1.383-1.528-3.935-.127-4.88a3.45 3.45 0 0 1 2.357-.505c.82.12 1.571.532 2.123 1.163.34.472.755.884 1.225 1.22.385.23.621.652.621 1.107q-1.202 1.891-2.396.062a4 4 0 0 1-.198-.315l-.011-.018c-.26-.421-.518-.84-1.006-1.05-.62-.275-1.242-.37-1.703.225a1.35 1.35 0 0 0 .055 1.748q.35.422.797.737a15.5 15.5 0 0 0 3.006 1.726c.63.203 1.166.632 1.511 1.208l.058 1.084q-.263.166-.528.34c-.404.264-.813.532-1.24.764-1.598.854-1.675 2.102-.236 3.232.518.432 1.055.825 1.59 1.216m.477 13.984-.044-.079-.022-1.94c-.01-.87-.022-1.804-.022-2.698.665.32 1.396.748 1.534 1.546.191 1.148-.505 2-1.038 2.65l-.007.01c-.159.185-.296.359-.4.51m1.237-14.459c-.385.261-.77.522-1.105.84v-5.619q.796.607 1.676 1.075c.343.14.642.371.867.67.226.298.368.653.414 1.027-.311.96-1.072 1.477-1.835 1.996zm-1.572 8.422.005.006h.006l-.011.045zm0 0q-.308-.323-.622-.64c-.329-.335-.658-.67-.972-1.018-.934-1.035-.934-1.911 0-2.951.329-.364.696-.68 1.062-.998q.269-.231.532-.47zm.346-21.784a4.34 4.34 0 0 1 2.094-.067c-.184.482-.463.92-.819 1.288a3.7 3.7 0 0 1-1.253.848 5.15 5.15 0 0 1-.022-2.069m2.16 5.622c.974-.433 1.886-1 2.71-1.687.807-.742.945-1.686.33-2.226a1.58 1.58 0 0 0-1.198-.233 1.6 1.6 0 0 0-1.012.694q-.234.316-.434.658c-.231.393-.462.775-.918.967-.38.157-.72.044-1.077-.073a2.6 2.6 0 0 0-.594-.152v3.249a13.5 13.5 0 0 1 2.193-1.192z",clipRule:"evenodd"})));const ForwardRef=forwardRef(IconDisplayHipaaMono);export default ForwardRef;
|
|
2
2
|
//# sourceMappingURL=icon-display-hipaa-mono.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-hipaa-mono.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayHipaaMono = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={48} height={49} fill=\"none\" viewBox=\"0 0 48 49\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<g clipPath=\"url(#clip0_3518_39132)\"><path fill=\"#C6CED9\" fillRule=\"evenodd\" d=\"M23.093 12.838c.56.356 1.525.98 2.083 1.402-.068-.334-.17-.75-.277-1.183-.152-.617-.313-1.268-.394-1.763.246-.241.594-.517.979-.822.423-.336.892-.709 1.324-1.112-.874-.124-2.968-.208-2.968-.208s-.555-1.16-.962-1.983c.083-.193.163-.371.237-.519 0-.524-.02-1.27-.04-1.989-.019-.669-.037-1.315-.037-1.738C16.278 2.9 6.056 8.56 4.226 14.26a2.9 2.9 0 0 0 1.374-.466 22.6 22.6 0 0 0 4.325-2.75 11.6 11.6 0 0 1 3.611-2.062c2.748-.826 4.672.23 5.518 3.013.23.928.517 1.844.863 2.732a3.43 3.43 0 0 0 1.206 1.683c.46.342.997.558 1.558.63v.498c2.236-.326 3.885-1.394 4.682-3.62q.15-.378.346-.731c1.237-2.462 2.88-3.019 5.353-1.81a33 33 0 0 1 3.71 2.36 17.4 17.4 0 0 0 7.991 3.042 3.8 3.8 0 0 0 1.755-.212A3.9 3.9 0 0 0 48 15.583c-.508-.088-.985-.128-1.445-.167-.501-.041-.981-.081-1.457-.181a23.5 23.5 0 0 1-9.76-4.683 8.03 8.03 0 0 0-4.304-1.945c-2.105-.185-3.396.58-4.16 2.547-.154.444-.28.9-.405 1.36-.122.442-.244.886-.392 1.321-.522 1.509-1.432 2.597-3.01 2.876.022-1.29.026-2.982.026-3.872m-.352-.222-.082-.052V7.695l-.128.314c-.215.53-.411 1.015-.52 1.176h-2.946l2.418 1.968-.753 2.732c.208-.125.48-.3.776-.493.398-.257.84-.543 1.235-.776m-.235 20.963q.282.205.56.412-.068.066-.132.136v1.36q.945.723 1.813 1.541c.94.978.924 1.709 0 2.676-.423.438-.873.86-1.319 1.276l-.489.461v1.35c-.698.404-1.528 1.09-1.528 1.978 0 .787.544 1.467 1.034 2.069.186.224.357.444.494.646v.157l.044-.078.014.02.014.02a5.8 5.8 0 0 0 2.39-2.227c.704-1.383-.16-2.367-1.077-3.25.44-.59.94-1.13 1.484-1.63 1.38-1.624 1.352-2.777-.093-4.384a5 5 0 0 0-.396-.382 2.8 2.8 0 0 1-.742-.889 14.3 14.3 0 0 1 2.017-1.877 2.4 2.4 0 0 0 .662-.756 2.47 2.47 0 0 0 .192-1.973 2.4 2.4 0 0 0-.502-.875 4.7 4.7 0 0 0-1.512-1.293l-.165-.09-.003-.001c-.22-.107-.453-.22-.475-.645l1.072-.585q.942-.509 1.874-1.04c2.561-1.529 3.144-3.249 2.072-6.003.165-.085.346-.096.528-.101l.026-.002c.211-.01.427-.021.628-.162 0-.133-.07-.255-.146-.388l-.003-.005c-.148-.253-.313-.545-.01-1.023a6.4 6.4 0 0 1 1.796.68l.015.007c.809.397 1.634.802 2.59.758-.053-.338-.27-.538-.484-.734l-.021-.02-.002-.001c-.22-.196-.432-.387-.476-.701.509.1.994.264 1.478.427l.099.034.01.003c.986.342 1.95.676 3.068.463-.193-.262-.447-.444-.698-.624l-.022-.017-.017-.012c-.346-.254-.69-.507-.863-.971.528.095 1.039.219 1.55.343l.014.003c1.452.353 2.871.698 4.526.373l-1.094-.438-.106-.042c-.667-.264-1.27-.504-1.845-.824a64 64 0 0 1-7.276-3.946c-1.968-1.321-3.523-.81-4.59 1.31a37 37 0 0 0-.879 1.82c-.89 1.99-2.566 2.564-4.451 2.694l-.077-.09c-.055-.057-.083-.085-.083-.113l-.132-.506c-2.286-.354-4.155-2.035-4.798-4.289a3.7 3.7 0 0 0-.351-.725 3.36 3.36 0 0 0-1.882-1.745 3.27 3.27 0 0 0-2.537.115c-.912.37-1.775.843-2.583 1.405a26 26 0 0 1-5.26 3.148 96 96 0 0 1-1.89.706l-.253.092-.577.214C-.303 24.897.61 32.374 5.798 39.265c3.918 5.183 11.393 8.27 17.092 8.438-.924-.59-2.314-1.709-2.627-2.8-.292-1.028.274-1.691.934-2.461.181-.214.368-.439.55-.675a17 17 0 0 1-1.754-1.5c-1.264-1.418-1.242-2.44-.055-3.953.16-.202.347-.377.534-.55a3.6 3.6 0 0 0 .818-.973c-.307-.551-.796-.9-1.286-1.237a6.6 6.6 0 0 1-.786-.613 2.5 2.5 0 0 1-.626-.776 2.53 2.53 0 0 1 .352-2.833 5.1 5.1 0 0 1 1.681-1.349l.025-.012c.219-.108.447-.222.41-.606a4 4 0 0 0-1.32-.81 13.7 13.7 0 0 1-3.132-2.04c-1.473-1.383-1.528-3.935-.127-4.88a3.45 3.45 0 0 1 2.357-.505c.82.12 1.571.532 2.123 1.163.34.472.755.884 1.225 1.22.385.23.621.652.621 1.107q-1.202 1.891-2.396.062a4 4 0 0 1-.198-.315l-.011-.018c-.26-.421-.518-.84-1.006-1.05-.62-.275-1.242-.37-1.703.225a1.35 1.35 0 0 0 .055 1.748q.35.422.797.737a15.5 15.5 0 0 0 3.006 1.726c.63.203 1.166.632 1.511 1.208l.058 1.084q-.263.166-.528.34c-.404.264-.813.532-1.24.764-1.598.854-1.675 2.102-.236 3.232.518.432 1.055.825 1.59 1.216m.477 13.984-.044-.079-.022-1.94c-.01-.87-.022-1.804-.022-2.698.665.32 1.396.748 1.534 1.546.191 1.148-.505 2-1.038 2.65l-.007.01c-.159.185-.296.359-.4.51m1.237-14.459c-.385.261-.77.522-1.105.84v-5.619q.796.607 1.676 1.075c.343.14.642.371.867.67.226.298.368.653.414 1.027-.311.96-1.072 1.477-1.835 1.996zm-1.572 8.422.005.006h.006l-.011.045zm0 0q-.308-.323-.622-.64c-.329-.335-.658-.67-.972-1.018-.934-1.035-.934-1.911 0-2.951.329-.364.696-.68 1.062-.998q.269-.231.532-.47zm.346-21.784a4.34 4.34 0 0 1 2.094-.067c-.184.482-.463.92-.819 1.288a3.7 3.7 0 0 1-1.253.848 5.15 5.15 0 0 1-.022-2.069m2.16 5.622c.974-.433 1.886-1 2.71-1.687.807-.742.945-1.686.33-2.226a1.58 1.58 0 0 0-1.198-.233 1.6 1.6 0 0 0-1.012.694q-.234.316-.434.658c-.231.393-.462.775-.918.967-.38.157-.72.044-1.077-.073a2.6 2.6 0 0 0-.594-.152v3.249a13.5 13.5 0 0 1 2.193-1.192z\" clipRule=\"evenodd\" /></g
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-hipaa-mono.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayHipaaMono = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={48} height={49} fill=\"none\" viewBox=\"0 0 48 49\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<defs><clipPath id=\"clip0_3518_39132\"><path fill=\"#fff\" d=\"M0 .923h48v48H0z\" /></clipPath></defs><g clipPath=\"url(#clip0_3518_39132)\"><path fill=\"#C6CED9\" fillRule=\"evenodd\" d=\"M23.093 12.838c.56.356 1.525.98 2.083 1.402-.068-.334-.17-.75-.277-1.183-.152-.617-.313-1.268-.394-1.763.246-.241.594-.517.979-.822.423-.336.892-.709 1.324-1.112-.874-.124-2.968-.208-2.968-.208s-.555-1.16-.962-1.983c.083-.193.163-.371.237-.519 0-.524-.02-1.27-.04-1.989-.019-.669-.037-1.315-.037-1.738C16.278 2.9 6.056 8.56 4.226 14.26a2.9 2.9 0 0 0 1.374-.466 22.6 22.6 0 0 0 4.325-2.75 11.6 11.6 0 0 1 3.611-2.062c2.748-.826 4.672.23 5.518 3.013.23.928.517 1.844.863 2.732a3.43 3.43 0 0 0 1.206 1.683c.46.342.997.558 1.558.63v.498c2.236-.326 3.885-1.394 4.682-3.62q.15-.378.346-.731c1.237-2.462 2.88-3.019 5.353-1.81a33 33 0 0 1 3.71 2.36 17.4 17.4 0 0 0 7.991 3.042 3.8 3.8 0 0 0 1.755-.212A3.9 3.9 0 0 0 48 15.583c-.508-.088-.985-.128-1.445-.167-.501-.041-.981-.081-1.457-.181a23.5 23.5 0 0 1-9.76-4.683 8.03 8.03 0 0 0-4.304-1.945c-2.105-.185-3.396.58-4.16 2.547-.154.444-.28.9-.405 1.36-.122.442-.244.886-.392 1.321-.522 1.509-1.432 2.597-3.01 2.876.022-1.29.026-2.982.026-3.872m-.352-.222-.082-.052V7.695l-.128.314c-.215.53-.411 1.015-.52 1.176h-2.946l2.418 1.968-.753 2.732c.208-.125.48-.3.776-.493.398-.257.84-.543 1.235-.776m-.235 20.963q.282.205.56.412-.068.066-.132.136v1.36q.945.723 1.813 1.541c.94.978.924 1.709 0 2.676-.423.438-.873.86-1.319 1.276l-.489.461v1.35c-.698.404-1.528 1.09-1.528 1.978 0 .787.544 1.467 1.034 2.069.186.224.357.444.494.646v.157l.044-.078.014.02.014.02a5.8 5.8 0 0 0 2.39-2.227c.704-1.383-.16-2.367-1.077-3.25.44-.59.94-1.13 1.484-1.63 1.38-1.624 1.352-2.777-.093-4.384a5 5 0 0 0-.396-.382 2.8 2.8 0 0 1-.742-.889 14.3 14.3 0 0 1 2.017-1.877 2.4 2.4 0 0 0 .662-.756 2.47 2.47 0 0 0 .192-1.973 2.4 2.4 0 0 0-.502-.875 4.7 4.7 0 0 0-1.512-1.293l-.165-.09-.003-.001c-.22-.107-.453-.22-.475-.645l1.072-.585q.942-.509 1.874-1.04c2.561-1.529 3.144-3.249 2.072-6.003.165-.085.346-.096.528-.101l.026-.002c.211-.01.427-.021.628-.162 0-.133-.07-.255-.146-.388l-.003-.005c-.148-.253-.313-.545-.01-1.023a6.4 6.4 0 0 1 1.796.68l.015.007c.809.397 1.634.802 2.59.758-.053-.338-.27-.538-.484-.734l-.021-.02-.002-.001c-.22-.196-.432-.387-.476-.701.509.1.994.264 1.478.427l.099.034.01.003c.986.342 1.95.676 3.068.463-.193-.262-.447-.444-.698-.624l-.022-.017-.017-.012c-.346-.254-.69-.507-.863-.971.528.095 1.039.219 1.55.343l.014.003c1.452.353 2.871.698 4.526.373l-1.094-.438-.106-.042c-.667-.264-1.27-.504-1.845-.824a64 64 0 0 1-7.276-3.946c-1.968-1.321-3.523-.81-4.59 1.31a37 37 0 0 0-.879 1.82c-.89 1.99-2.566 2.564-4.451 2.694l-.077-.09c-.055-.057-.083-.085-.083-.113l-.132-.506c-2.286-.354-4.155-2.035-4.798-4.289a3.7 3.7 0 0 0-.351-.725 3.36 3.36 0 0 0-1.882-1.745 3.27 3.27 0 0 0-2.537.115c-.912.37-1.775.843-2.583 1.405a26 26 0 0 1-5.26 3.148 96 96 0 0 1-1.89.706l-.253.092-.577.214C-.303 24.897.61 32.374 5.798 39.265c3.918 5.183 11.393 8.27 17.092 8.438-.924-.59-2.314-1.709-2.627-2.8-.292-1.028.274-1.691.934-2.461.181-.214.368-.439.55-.675a17 17 0 0 1-1.754-1.5c-1.264-1.418-1.242-2.44-.055-3.953.16-.202.347-.377.534-.55a3.6 3.6 0 0 0 .818-.973c-.307-.551-.796-.9-1.286-1.237a6.6 6.6 0 0 1-.786-.613 2.5 2.5 0 0 1-.626-.776 2.53 2.53 0 0 1 .352-2.833 5.1 5.1 0 0 1 1.681-1.349l.025-.012c.219-.108.447-.222.41-.606a4 4 0 0 0-1.32-.81 13.7 13.7 0 0 1-3.132-2.04c-1.473-1.383-1.528-3.935-.127-4.88a3.45 3.45 0 0 1 2.357-.505c.82.12 1.571.532 2.123 1.163.34.472.755.884 1.225 1.22.385.23.621.652.621 1.107q-1.202 1.891-2.396.062a4 4 0 0 1-.198-.315l-.011-.018c-.26-.421-.518-.84-1.006-1.05-.62-.275-1.242-.37-1.703.225a1.35 1.35 0 0 0 .055 1.748q.35.422.797.737a15.5 15.5 0 0 0 3.006 1.726c.63.203 1.166.632 1.511 1.208l.058 1.084q-.263.166-.528.34c-.404.264-.813.532-1.24.764-1.598.854-1.675 2.102-.236 3.232.518.432 1.055.825 1.59 1.216m.477 13.984-.044-.079-.022-1.94c-.01-.87-.022-1.804-.022-2.698.665.32 1.396.748 1.534 1.546.191 1.148-.505 2-1.038 2.65l-.007.01c-.159.185-.296.359-.4.51m1.237-14.459c-.385.261-.77.522-1.105.84v-5.619q.796.607 1.676 1.075c.343.14.642.371.867.67.226.298.368.653.414 1.027-.311.96-1.072 1.477-1.835 1.996zm-1.572 8.422.005.006h.006l-.011.045zm0 0q-.308-.323-.622-.64c-.329-.335-.658-.67-.972-1.018-.934-1.035-.934-1.911 0-2.951.329-.364.696-.68 1.062-.998q.269-.231.532-.47zm.346-21.784a4.34 4.34 0 0 1 2.094-.067c-.184.482-.463.92-.819 1.288a3.7 3.7 0 0 1-1.253.848 5.15 5.15 0 0 1-.022-2.069m2.16 5.622c.974-.433 1.886-1 2.71-1.687.807-.742.945-1.686.33-2.226a1.58 1.58 0 0 0-1.198-.233 1.6 1.6 0 0 0-1.012.694q-.234.316-.434.658c-.231.393-.462.775-.918.967-.38.157-.72.044-1.077-.073a2.6 2.6 0 0 0-.594-.152v3.249a13.5 13.5 0 0 1 2.193-1.192z\" clipRule=\"evenodd\" /></g></svg>;\nconst ForwardRef = forwardRef(IconDisplayHipaaMono);\nexport default ForwardRef;"],"names":["React","forwardRef","IconDisplayHipaaMono","title","titleId","props","ref","svg","xmlns","width","height","fill","viewBox","aria-labelledby","id","defs","clipPath","path","d","g","fillRule","clipRule","ForwardRef"],"mappings":"AAAA,UAAYA,UAAW,OAAQ,AAE/B,QAAcC,UAAU,KAAQ,OAAQ,CAKxC,MAAMC,qBAAuB,CAAC,CAC5BC,KAAK,CACLC,OAAO,CACP,GAAGC,MACiC,CAAEC,MAA4B,oBAACC,OAAIC,MAAM,6BAA6BC,MAAO,GAAIC,OAAQ,GAAIC,KAAK,OAAOC,QAAQ,YAAYN,IAAKA,IAAKO,kBAAiBT,QAAU,GAAGC,KAAK,EAAGF,MAAQ,oBAACA,SAAMW,GAAIV,SAAUD,OAAiB,KAAK,oBAACY,YAAK,oBAACC,YAASF,GAAG,oBAAmB,oBAACG,QAAKN,KAAK,OAAOO,EAAE,uBAAuC,oBAACC,KAAEH,SAAS,0BAAyB,oBAACC,QAAKN,KAAK,UAAUS,SAAS,UAAUF,EAAE,o6IAAo6IG,SAAS,cACn2J,MAAMC,WAAarB,WAAWC,qBAC9B,gBAAeoB,UAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as React from"react";import{forwardRef}from"react";const IconDisplayHipaa=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("g",{clipPath:"url(#clip0_2961_1570)"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M23.093 11.916c.56.355 1.525.98 2.083 1.4-.068-.333-.17-.749-.277-1.182-.152-.617-.313-1.267-.394-1.763.246-.24.594-.516.979-.822.423-.336.892-.708 1.324-1.112-.874-.123-2.968-.208-2.968-.208s-.555-1.16-.962-1.983c.083-.193.163-.371.237-.519 0-.524-.02-1.27-.04-1.989-.019-.669-.037-1.315-.037-1.738-6.76-.022-16.982 5.638-18.812 11.339a2.9 2.9 0 0 0 1.374-.467 22.6 22.6 0 0 0 4.325-2.749 11.6 11.6 0 0 1 3.611-2.063c2.748-.826 4.672.23 5.518 3.013.23.928.517 1.844.863 2.732a3.43 3.43 0 0 0 1.206 1.683c.46.342.997.558 1.558.63v.498c2.236-.326 3.885-1.394 4.682-3.62a6 6 0 0 1 .346-.731c1.237-2.462 2.88-3.019 5.353-1.81a33 33 0 0 1 3.71 2.36 17.4 17.4 0 0 0 7.991 3.042 3.8 3.8 0 0 0 1.755-.211A3.9 3.9 0 0 0 48 14.66a16 16 0 0 0-1.445-.167c-.501-.042-.981-.082-1.457-.182a23.5 23.5 0 0 1-9.76-4.683 8.03 8.03 0 0 0-4.304-1.945c-2.105-.185-3.396.58-4.16 2.547-.154.444-.28.901-.405 1.36-.122.442-.244.886-.392 1.321-.522 1.509-1.432 2.597-3.01 2.876.022-1.29.026-2.981.026-3.872m-.352-.223-.082-.051v-4.87l-.128.314c-.215.53-.411 1.015-.52 1.176h-2.946l2.418 1.968-.753 2.732c.208-.125.48-.3.776-.493.398-.257.84-.543 1.235-.776m-.235 20.963q.282.205.56.412-.068.066-.132.137v1.36q.945.722 1.813 1.54c.94.978.924 1.71 0 2.676-.423.438-.873.86-1.319 1.276l-.489.461v1.35c-.698.404-1.528 1.09-1.528 1.978 0 .787.544 1.467 1.034 2.069.186.225.357.444.494.646v.158l.044-.08.014.02.014.02a5.8 5.8 0 0 0 2.39-2.226c.704-1.383-.16-2.367-1.077-3.25.44-.59.94-1.129 1.484-1.63 1.38-1.624 1.352-2.776-.093-4.384-.121-.135-.259-.259-.396-.382a2.8 2.8 0 0 1-.742-.889 14.3 14.3 0 0 1 2.017-1.877 2.4 2.4 0 0 0 .662-.755 2.47 2.47 0 0 0 .192-1.974 2.4 2.4 0 0 0-.502-.874 4.7 4.7 0 0 0-1.512-1.293l-.165-.09-.003-.002c-.22-.106-.453-.22-.475-.645l1.072-.584q.942-.51 1.874-1.04c2.561-1.53 3.144-3.25 2.072-6.004.165-.084.346-.096.528-.101l.026-.002c.211-.01.427-.021.628-.161 0-.134-.07-.256-.146-.39l-.003-.004c-.148-.253-.313-.545-.01-1.023a6.4 6.4 0 0 1 1.796.68l.015.008c.809.396 1.634.802 2.59.757-.053-.338-.27-.538-.484-.734l-.021-.02-.002-.001c-.22-.196-.432-.387-.476-.701.509.1.994.264 1.478.427l.099.034.01.003c.986.342 1.95.676 3.068.463-.193-.262-.447-.444-.698-.624l-.022-.016-.017-.013c-.346-.254-.69-.506-.863-.971.528.095 1.039.219 1.55.343l.014.003c1.452.353 2.871.698 4.526.373l-1.094-.438-.106-.042c-.667-.264-1.27-.503-1.845-.824a64 64 0 0 1-7.276-3.946c-1.968-1.321-3.523-.81-4.59 1.31a37 37 0 0 0-.879 1.821c-.89 1.99-2.566 2.563-4.451 2.693l-.077-.09c-.055-.056-.083-.085-.083-.113l-.132-.506c-2.286-.354-4.155-2.035-4.798-4.289a3.7 3.7 0 0 0-.351-.725 3.37 3.37 0 0 0-1.882-1.745 3.27 3.27 0 0 0-2.537.115 13.3 13.3 0 0 0-2.583 1.405 26 26 0 0 1-5.26 3.148 95 95 0 0 1-1.89.706l-.253.092-.577.214C-.303 23.974.61 31.451 5.798 38.343c3.918 5.183 11.393 8.269 17.092 8.437-.924-.59-2.314-1.709-2.627-2.8-.292-1.028.274-1.691.934-2.461.181-.214.368-.439.55-.675a17 17 0 0 1-1.754-1.5c-1.264-1.417-1.242-2.44-.055-3.953.16-.202.347-.376.534-.55.327-.272.604-.602.818-.973-.307-.551-.796-.9-1.286-1.237a6.6 6.6 0 0 1-.786-.613 2.5 2.5 0 0 1-.626-.776 2.53 2.53 0 0 1 .352-2.832 5.1 5.1 0 0 1 1.681-1.35l.025-.012c.219-.108.447-.222.41-.606a4 4 0 0 0-1.32-.81 13.7 13.7 0 0 1-3.132-2.04c-1.473-1.383-1.528-3.935-.127-4.88a3.45 3.45 0 0 1 2.357-.505c.82.12 1.571.532 2.123 1.163.34.472.755.884 1.225 1.22.385.23.621.652.621 1.107q-1.202 1.891-2.396.062a4 4 0 0 1-.198-.314l-.011-.02c-.26-.42-.518-.838-1.006-1.049-.62-.275-1.242-.37-1.703.225a1.35 1.35 0 0 0 .055 1.749q.35.421.797.736a15.5 15.5 0 0 0 3.006 1.726c.63.203 1.166.633 1.511 1.208l.058 1.084q-.263.166-.528.34c-.404.265-.813.532-1.24.764-1.598.855-1.675 2.102-.236 3.232.518.432 1.055.825 1.59 1.216m.477 13.984-.044-.079-.022-1.94c-.01-.87-.022-1.804-.022-2.698.665.32 1.396.748 1.534 1.546.191 1.148-.505 2-1.038 2.65l-.007.01c-.159.185-.296.36-.4.51m1.237-14.458c-.385.26-.77.521-1.105.84v-5.62q.796.607 1.676 1.075c.343.14.642.371.867.67.226.298.368.653.414 1.028-.311.96-1.072 1.476-1.835 1.995zm-1.572 8.421.005.006h.006l-.011.045zm0 0a49 49 0 0 0-.622-.64c-.329-.334-.658-.669-.972-1.018-.934-1.034-.934-1.911 0-2.951.329-.363.696-.68 1.062-.998q.269-.231.532-.47zm.346-21.784a4.34 4.34 0 0 1 2.094-.067c-.184.482-.463.92-.819 1.288a3.7 3.7 0 0 1-1.253.848 5.15 5.15 0 0 1-.022-2.069m2.16 5.622c.974-.433 1.886-1 2.71-1.687.807-.742.945-1.686.33-2.226a1.58 1.58 0 0 0-1.198-.233 1.6 1.6 0 0 0-1.012.694 7 7 0 0 0-.434.658c-.231.393-.462.776-.918.967-.38.157-.72.045-1.077-.073a2.6 2.6 0 0 0-.594-.152v3.25a13.5 13.5 0 0 1 2.193-1.193z",clipRule:"evenodd"}))
|
|
1
|
+
import*as React from"react";import{forwardRef}from"react";const IconDisplayHipaa=({title,titleId,...props},ref)=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48",ref:ref,"aria-labelledby":titleId,...props},title?React.createElement("title",{id:titleId},title):null,React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2961_1570"},React.createElement("path",{fill:"#fff",d:"M0 0h48v48H0z"}))),React.createElement("g",{clipPath:"url(#clip0_2961_1570)"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M23.093 11.916c.56.355 1.525.98 2.083 1.4-.068-.333-.17-.749-.277-1.182-.152-.617-.313-1.267-.394-1.763.246-.24.594-.516.979-.822.423-.336.892-.708 1.324-1.112-.874-.123-2.968-.208-2.968-.208s-.555-1.16-.962-1.983c.083-.193.163-.371.237-.519 0-.524-.02-1.27-.04-1.989-.019-.669-.037-1.315-.037-1.738-6.76-.022-16.982 5.638-18.812 11.339a2.9 2.9 0 0 0 1.374-.467 22.6 22.6 0 0 0 4.325-2.749 11.6 11.6 0 0 1 3.611-2.063c2.748-.826 4.672.23 5.518 3.013.23.928.517 1.844.863 2.732a3.43 3.43 0 0 0 1.206 1.683c.46.342.997.558 1.558.63v.498c2.236-.326 3.885-1.394 4.682-3.62a6 6 0 0 1 .346-.731c1.237-2.462 2.88-3.019 5.353-1.81a33 33 0 0 1 3.71 2.36 17.4 17.4 0 0 0 7.991 3.042 3.8 3.8 0 0 0 1.755-.211A3.9 3.9 0 0 0 48 14.66a16 16 0 0 0-1.445-.167c-.501-.042-.981-.082-1.457-.182a23.5 23.5 0 0 1-9.76-4.683 8.03 8.03 0 0 0-4.304-1.945c-2.105-.185-3.396.58-4.16 2.547-.154.444-.28.901-.405 1.36-.122.442-.244.886-.392 1.321-.522 1.509-1.432 2.597-3.01 2.876.022-1.29.026-2.981.026-3.872m-.352-.223-.082-.051v-4.87l-.128.314c-.215.53-.411 1.015-.52 1.176h-2.946l2.418 1.968-.753 2.732c.208-.125.48-.3.776-.493.398-.257.84-.543 1.235-.776m-.235 20.963q.282.205.56.412-.068.066-.132.137v1.36q.945.722 1.813 1.54c.94.978.924 1.71 0 2.676-.423.438-.873.86-1.319 1.276l-.489.461v1.35c-.698.404-1.528 1.09-1.528 1.978 0 .787.544 1.467 1.034 2.069.186.225.357.444.494.646v.158l.044-.08.014.02.014.02a5.8 5.8 0 0 0 2.39-2.226c.704-1.383-.16-2.367-1.077-3.25.44-.59.94-1.129 1.484-1.63 1.38-1.624 1.352-2.776-.093-4.384-.121-.135-.259-.259-.396-.382a2.8 2.8 0 0 1-.742-.889 14.3 14.3 0 0 1 2.017-1.877 2.4 2.4 0 0 0 .662-.755 2.47 2.47 0 0 0 .192-1.974 2.4 2.4 0 0 0-.502-.874 4.7 4.7 0 0 0-1.512-1.293l-.165-.09-.003-.002c-.22-.106-.453-.22-.475-.645l1.072-.584q.942-.51 1.874-1.04c2.561-1.53 3.144-3.25 2.072-6.004.165-.084.346-.096.528-.101l.026-.002c.211-.01.427-.021.628-.161 0-.134-.07-.256-.146-.39l-.003-.004c-.148-.253-.313-.545-.01-1.023a6.4 6.4 0 0 1 1.796.68l.015.008c.809.396 1.634.802 2.59.757-.053-.338-.27-.538-.484-.734l-.021-.02-.002-.001c-.22-.196-.432-.387-.476-.701.509.1.994.264 1.478.427l.099.034.01.003c.986.342 1.95.676 3.068.463-.193-.262-.447-.444-.698-.624l-.022-.016-.017-.013c-.346-.254-.69-.506-.863-.971.528.095 1.039.219 1.55.343l.014.003c1.452.353 2.871.698 4.526.373l-1.094-.438-.106-.042c-.667-.264-1.27-.503-1.845-.824a64 64 0 0 1-7.276-3.946c-1.968-1.321-3.523-.81-4.59 1.31a37 37 0 0 0-.879 1.821c-.89 1.99-2.566 2.563-4.451 2.693l-.077-.09c-.055-.056-.083-.085-.083-.113l-.132-.506c-2.286-.354-4.155-2.035-4.798-4.289a3.7 3.7 0 0 0-.351-.725 3.37 3.37 0 0 0-1.882-1.745 3.27 3.27 0 0 0-2.537.115 13.3 13.3 0 0 0-2.583 1.405 26 26 0 0 1-5.26 3.148 95 95 0 0 1-1.89.706l-.253.092-.577.214C-.303 23.974.61 31.451 5.798 38.343c3.918 5.183 11.393 8.269 17.092 8.437-.924-.59-2.314-1.709-2.627-2.8-.292-1.028.274-1.691.934-2.461.181-.214.368-.439.55-.675a17 17 0 0 1-1.754-1.5c-1.264-1.417-1.242-2.44-.055-3.953.16-.202.347-.376.534-.55.327-.272.604-.602.818-.973-.307-.551-.796-.9-1.286-1.237a6.6 6.6 0 0 1-.786-.613 2.5 2.5 0 0 1-.626-.776 2.53 2.53 0 0 1 .352-2.832 5.1 5.1 0 0 1 1.681-1.35l.025-.012c.219-.108.447-.222.41-.606a4 4 0 0 0-1.32-.81 13.7 13.7 0 0 1-3.132-2.04c-1.473-1.383-1.528-3.935-.127-4.88a3.45 3.45 0 0 1 2.357-.505c.82.12 1.571.532 2.123 1.163.34.472.755.884 1.225 1.22.385.23.621.652.621 1.107q-1.202 1.891-2.396.062a4 4 0 0 1-.198-.314l-.011-.02c-.26-.42-.518-.838-1.006-1.049-.62-.275-1.242-.37-1.703.225a1.35 1.35 0 0 0 .055 1.749q.35.421.797.736a15.5 15.5 0 0 0 3.006 1.726c.63.203 1.166.633 1.511 1.208l.058 1.084q-.263.166-.528.34c-.404.265-.813.532-1.24.764-1.598.855-1.675 2.102-.236 3.232.518.432 1.055.825 1.59 1.216m.477 13.984-.044-.079-.022-1.94c-.01-.87-.022-1.804-.022-2.698.665.32 1.396.748 1.534 1.546.191 1.148-.505 2-1.038 2.65l-.007.01c-.159.185-.296.36-.4.51m1.237-14.458c-.385.26-.77.521-1.105.84v-5.62q.796.607 1.676 1.075c.343.14.642.371.867.67.226.298.368.653.414 1.028-.311.96-1.072 1.476-1.835 1.995zm-1.572 8.421.005.006h.006l-.011.045zm0 0a49 49 0 0 0-.622-.64c-.329-.334-.658-.669-.972-1.018-.934-1.034-.934-1.911 0-2.951.329-.363.696-.68 1.062-.998q.269-.231.532-.47zm.346-21.784a4.34 4.34 0 0 1 2.094-.067c-.184.482-.463.92-.819 1.288a3.7 3.7 0 0 1-1.253.848 5.15 5.15 0 0 1-.022-2.069m2.16 5.622c.974-.433 1.886-1 2.71-1.687.807-.742.945-1.686.33-2.226a1.58 1.58 0 0 0-1.198-.233 1.6 1.6 0 0 0-1.012.694 7 7 0 0 0-.434.658c-.231.393-.462.776-.918.967-.38.157-.72.045-1.077-.073a2.6 2.6 0 0 0-.594-.152v3.25a13.5 13.5 0 0 1 2.193-1.193z",clipRule:"evenodd"})));const ForwardRef=forwardRef(IconDisplayHipaa);export default ForwardRef;
|
|
2
2
|
//# sourceMappingURL=icon-display-hipaa.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-hipaa.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayHipaa = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={48} height={48} fill=\"none\" viewBox=\"0 0 48 48\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<g clipPath=\"url(#clip0_2961_1570)\"><path fill=\"currentColor\" fillRule=\"evenodd\" d=\"M23.093 11.916c.56.355 1.525.98 2.083 1.4-.068-.333-.17-.749-.277-1.182-.152-.617-.313-1.267-.394-1.763.246-.24.594-.516.979-.822.423-.336.892-.708 1.324-1.112-.874-.123-2.968-.208-2.968-.208s-.555-1.16-.962-1.983c.083-.193.163-.371.237-.519 0-.524-.02-1.27-.04-1.989-.019-.669-.037-1.315-.037-1.738-6.76-.022-16.982 5.638-18.812 11.339a2.9 2.9 0 0 0 1.374-.467 22.6 22.6 0 0 0 4.325-2.749 11.6 11.6 0 0 1 3.611-2.063c2.748-.826 4.672.23 5.518 3.013.23.928.517 1.844.863 2.732a3.43 3.43 0 0 0 1.206 1.683c.46.342.997.558 1.558.63v.498c2.236-.326 3.885-1.394 4.682-3.62a6 6 0 0 1 .346-.731c1.237-2.462 2.88-3.019 5.353-1.81a33 33 0 0 1 3.71 2.36 17.4 17.4 0 0 0 7.991 3.042 3.8 3.8 0 0 0 1.755-.211A3.9 3.9 0 0 0 48 14.66a16 16 0 0 0-1.445-.167c-.501-.042-.981-.082-1.457-.182a23.5 23.5 0 0 1-9.76-4.683 8.03 8.03 0 0 0-4.304-1.945c-2.105-.185-3.396.58-4.16 2.547-.154.444-.28.901-.405 1.36-.122.442-.244.886-.392 1.321-.522 1.509-1.432 2.597-3.01 2.876.022-1.29.026-2.981.026-3.872m-.352-.223-.082-.051v-4.87l-.128.314c-.215.53-.411 1.015-.52 1.176h-2.946l2.418 1.968-.753 2.732c.208-.125.48-.3.776-.493.398-.257.84-.543 1.235-.776m-.235 20.963q.282.205.56.412-.068.066-.132.137v1.36q.945.722 1.813 1.54c.94.978.924 1.71 0 2.676-.423.438-.873.86-1.319 1.276l-.489.461v1.35c-.698.404-1.528 1.09-1.528 1.978 0 .787.544 1.467 1.034 2.069.186.225.357.444.494.646v.158l.044-.08.014.02.014.02a5.8 5.8 0 0 0 2.39-2.226c.704-1.383-.16-2.367-1.077-3.25.44-.59.94-1.129 1.484-1.63 1.38-1.624 1.352-2.776-.093-4.384-.121-.135-.259-.259-.396-.382a2.8 2.8 0 0 1-.742-.889 14.3 14.3 0 0 1 2.017-1.877 2.4 2.4 0 0 0 .662-.755 2.47 2.47 0 0 0 .192-1.974 2.4 2.4 0 0 0-.502-.874 4.7 4.7 0 0 0-1.512-1.293l-.165-.09-.003-.002c-.22-.106-.453-.22-.475-.645l1.072-.584q.942-.51 1.874-1.04c2.561-1.53 3.144-3.25 2.072-6.004.165-.084.346-.096.528-.101l.026-.002c.211-.01.427-.021.628-.161 0-.134-.07-.256-.146-.39l-.003-.004c-.148-.253-.313-.545-.01-1.023a6.4 6.4 0 0 1 1.796.68l.015.008c.809.396 1.634.802 2.59.757-.053-.338-.27-.538-.484-.734l-.021-.02-.002-.001c-.22-.196-.432-.387-.476-.701.509.1.994.264 1.478.427l.099.034.01.003c.986.342 1.95.676 3.068.463-.193-.262-.447-.444-.698-.624l-.022-.016-.017-.013c-.346-.254-.69-.506-.863-.971.528.095 1.039.219 1.55.343l.014.003c1.452.353 2.871.698 4.526.373l-1.094-.438-.106-.042c-.667-.264-1.27-.503-1.845-.824a64 64 0 0 1-7.276-3.946c-1.968-1.321-3.523-.81-4.59 1.31a37 37 0 0 0-.879 1.821c-.89 1.99-2.566 2.563-4.451 2.693l-.077-.09c-.055-.056-.083-.085-.083-.113l-.132-.506c-2.286-.354-4.155-2.035-4.798-4.289a3.7 3.7 0 0 0-.351-.725 3.37 3.37 0 0 0-1.882-1.745 3.27 3.27 0 0 0-2.537.115 13.3 13.3 0 0 0-2.583 1.405 26 26 0 0 1-5.26 3.148 95 95 0 0 1-1.89.706l-.253.092-.577.214C-.303 23.974.61 31.451 5.798 38.343c3.918 5.183 11.393 8.269 17.092 8.437-.924-.59-2.314-1.709-2.627-2.8-.292-1.028.274-1.691.934-2.461.181-.214.368-.439.55-.675a17 17 0 0 1-1.754-1.5c-1.264-1.417-1.242-2.44-.055-3.953.16-.202.347-.376.534-.55.327-.272.604-.602.818-.973-.307-.551-.796-.9-1.286-1.237a6.6 6.6 0 0 1-.786-.613 2.5 2.5 0 0 1-.626-.776 2.53 2.53 0 0 1 .352-2.832 5.1 5.1 0 0 1 1.681-1.35l.025-.012c.219-.108.447-.222.41-.606a4 4 0 0 0-1.32-.81 13.7 13.7 0 0 1-3.132-2.04c-1.473-1.383-1.528-3.935-.127-4.88a3.45 3.45 0 0 1 2.357-.505c.82.12 1.571.532 2.123 1.163.34.472.755.884 1.225 1.22.385.23.621.652.621 1.107q-1.202 1.891-2.396.062a4 4 0 0 1-.198-.314l-.011-.02c-.26-.42-.518-.838-1.006-1.049-.62-.275-1.242-.37-1.703.225a1.35 1.35 0 0 0 .055 1.749q.35.421.797.736a15.5 15.5 0 0 0 3.006 1.726c.63.203 1.166.633 1.511 1.208l.058 1.084q-.263.166-.528.34c-.404.265-.813.532-1.24.764-1.598.855-1.675 2.102-.236 3.232.518.432 1.055.825 1.59 1.216m.477 13.984-.044-.079-.022-1.94c-.01-.87-.022-1.804-.022-2.698.665.32 1.396.748 1.534 1.546.191 1.148-.505 2-1.038 2.65l-.007.01c-.159.185-.296.36-.4.51m1.237-14.458c-.385.26-.77.521-1.105.84v-5.62q.796.607 1.676 1.075c.343.14.642.371.867.67.226.298.368.653.414 1.028-.311.96-1.072 1.476-1.835 1.995zm-1.572 8.421.005.006h.006l-.011.045zm0 0a49 49 0 0 0-.622-.64c-.329-.334-.658-.669-.972-1.018-.934-1.034-.934-1.911 0-2.951.329-.363.696-.68 1.062-.998q.269-.231.532-.47zm.346-21.784a4.34 4.34 0 0 1 2.094-.067c-.184.482-.463.92-.819 1.288a3.7 3.7 0 0 1-1.253.848 5.15 5.15 0 0 1-.022-2.069m2.16 5.622c.974-.433 1.886-1 2.71-1.687.807-.742.945-1.686.33-2.226a1.58 1.58 0 0 0-1.198-.233 1.6 1.6 0 0 0-1.012.694 7 7 0 0 0-.434.658c-.231.393-.462.776-.918.967-.38.157-.72.045-1.077-.073a2.6 2.6 0 0 0-.594-.152v3.25a13.5 13.5 0 0 1 2.193-1.193z\" clipRule=\"evenodd\" /></g
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/Icon/components/icon-display-hipaa.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nconst IconDisplayHipaa = ({\n title,\n titleId,\n ...props\n}: SVGProps<SVGSVGElement> & SVGRProps, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" width={48} height={48} fill=\"none\" viewBox=\"0 0 48 48\" ref={ref} aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<defs><clipPath id=\"clip0_2961_1570\"><path fill=\"#fff\" d=\"M0 0h48v48H0z\" /></clipPath></defs><g clipPath=\"url(#clip0_2961_1570)\"><path fill=\"currentColor\" fillRule=\"evenodd\" d=\"M23.093 11.916c.56.355 1.525.98 2.083 1.4-.068-.333-.17-.749-.277-1.182-.152-.617-.313-1.267-.394-1.763.246-.24.594-.516.979-.822.423-.336.892-.708 1.324-1.112-.874-.123-2.968-.208-2.968-.208s-.555-1.16-.962-1.983c.083-.193.163-.371.237-.519 0-.524-.02-1.27-.04-1.989-.019-.669-.037-1.315-.037-1.738-6.76-.022-16.982 5.638-18.812 11.339a2.9 2.9 0 0 0 1.374-.467 22.6 22.6 0 0 0 4.325-2.749 11.6 11.6 0 0 1 3.611-2.063c2.748-.826 4.672.23 5.518 3.013.23.928.517 1.844.863 2.732a3.43 3.43 0 0 0 1.206 1.683c.46.342.997.558 1.558.63v.498c2.236-.326 3.885-1.394 4.682-3.62a6 6 0 0 1 .346-.731c1.237-2.462 2.88-3.019 5.353-1.81a33 33 0 0 1 3.71 2.36 17.4 17.4 0 0 0 7.991 3.042 3.8 3.8 0 0 0 1.755-.211A3.9 3.9 0 0 0 48 14.66a16 16 0 0 0-1.445-.167c-.501-.042-.981-.082-1.457-.182a23.5 23.5 0 0 1-9.76-4.683 8.03 8.03 0 0 0-4.304-1.945c-2.105-.185-3.396.58-4.16 2.547-.154.444-.28.901-.405 1.36-.122.442-.244.886-.392 1.321-.522 1.509-1.432 2.597-3.01 2.876.022-1.29.026-2.981.026-3.872m-.352-.223-.082-.051v-4.87l-.128.314c-.215.53-.411 1.015-.52 1.176h-2.946l2.418 1.968-.753 2.732c.208-.125.48-.3.776-.493.398-.257.84-.543 1.235-.776m-.235 20.963q.282.205.56.412-.068.066-.132.137v1.36q.945.722 1.813 1.54c.94.978.924 1.71 0 2.676-.423.438-.873.86-1.319 1.276l-.489.461v1.35c-.698.404-1.528 1.09-1.528 1.978 0 .787.544 1.467 1.034 2.069.186.225.357.444.494.646v.158l.044-.08.014.02.014.02a5.8 5.8 0 0 0 2.39-2.226c.704-1.383-.16-2.367-1.077-3.25.44-.59.94-1.129 1.484-1.63 1.38-1.624 1.352-2.776-.093-4.384-.121-.135-.259-.259-.396-.382a2.8 2.8 0 0 1-.742-.889 14.3 14.3 0 0 1 2.017-1.877 2.4 2.4 0 0 0 .662-.755 2.47 2.47 0 0 0 .192-1.974 2.4 2.4 0 0 0-.502-.874 4.7 4.7 0 0 0-1.512-1.293l-.165-.09-.003-.002c-.22-.106-.453-.22-.475-.645l1.072-.584q.942-.51 1.874-1.04c2.561-1.53 3.144-3.25 2.072-6.004.165-.084.346-.096.528-.101l.026-.002c.211-.01.427-.021.628-.161 0-.134-.07-.256-.146-.39l-.003-.004c-.148-.253-.313-.545-.01-1.023a6.4 6.4 0 0 1 1.796.68l.015.008c.809.396 1.634.802 2.59.757-.053-.338-.27-.538-.484-.734l-.021-.02-.002-.001c-.22-.196-.432-.387-.476-.701.509.1.994.264 1.478.427l.099.034.01.003c.986.342 1.95.676 3.068.463-.193-.262-.447-.444-.698-.624l-.022-.016-.017-.013c-.346-.254-.69-.506-.863-.971.528.095 1.039.219 1.55.343l.014.003c1.452.353 2.871.698 4.526.373l-1.094-.438-.106-.042c-.667-.264-1.27-.503-1.845-.824a64 64 0 0 1-7.276-3.946c-1.968-1.321-3.523-.81-4.59 1.31a37 37 0 0 0-.879 1.821c-.89 1.99-2.566 2.563-4.451 2.693l-.077-.09c-.055-.056-.083-.085-.083-.113l-.132-.506c-2.286-.354-4.155-2.035-4.798-4.289a3.7 3.7 0 0 0-.351-.725 3.37 3.37 0 0 0-1.882-1.745 3.27 3.27 0 0 0-2.537.115 13.3 13.3 0 0 0-2.583 1.405 26 26 0 0 1-5.26 3.148 95 95 0 0 1-1.89.706l-.253.092-.577.214C-.303 23.974.61 31.451 5.798 38.343c3.918 5.183 11.393 8.269 17.092 8.437-.924-.59-2.314-1.709-2.627-2.8-.292-1.028.274-1.691.934-2.461.181-.214.368-.439.55-.675a17 17 0 0 1-1.754-1.5c-1.264-1.417-1.242-2.44-.055-3.953.16-.202.347-.376.534-.55.327-.272.604-.602.818-.973-.307-.551-.796-.9-1.286-1.237a6.6 6.6 0 0 1-.786-.613 2.5 2.5 0 0 1-.626-.776 2.53 2.53 0 0 1 .352-2.832 5.1 5.1 0 0 1 1.681-1.35l.025-.012c.219-.108.447-.222.41-.606a4 4 0 0 0-1.32-.81 13.7 13.7 0 0 1-3.132-2.04c-1.473-1.383-1.528-3.935-.127-4.88a3.45 3.45 0 0 1 2.357-.505c.82.12 1.571.532 2.123 1.163.34.472.755.884 1.225 1.22.385.23.621.652.621 1.107q-1.202 1.891-2.396.062a4 4 0 0 1-.198-.314l-.011-.02c-.26-.42-.518-.838-1.006-1.049-.62-.275-1.242-.37-1.703.225a1.35 1.35 0 0 0 .055 1.749q.35.421.797.736a15.5 15.5 0 0 0 3.006 1.726c.63.203 1.166.633 1.511 1.208l.058 1.084q-.263.166-.528.34c-.404.265-.813.532-1.24.764-1.598.855-1.675 2.102-.236 3.232.518.432 1.055.825 1.59 1.216m.477 13.984-.044-.079-.022-1.94c-.01-.87-.022-1.804-.022-2.698.665.32 1.396.748 1.534 1.546.191 1.148-.505 2-1.038 2.65l-.007.01c-.159.185-.296.36-.4.51m1.237-14.458c-.385.26-.77.521-1.105.84v-5.62q.796.607 1.676 1.075c.343.14.642.371.867.67.226.298.368.653.414 1.028-.311.96-1.072 1.476-1.835 1.995zm-1.572 8.421.005.006h.006l-.011.045zm0 0a49 49 0 0 0-.622-.64c-.329-.334-.658-.669-.972-1.018-.934-1.034-.934-1.911 0-2.951.329-.363.696-.68 1.062-.998q.269-.231.532-.47zm.346-21.784a4.34 4.34 0 0 1 2.094-.067c-.184.482-.463.92-.819 1.288a3.7 3.7 0 0 1-1.253.848 5.15 5.15 0 0 1-.022-2.069m2.16 5.622c.974-.433 1.886-1 2.71-1.687.807-.742.945-1.686.33-2.226a1.58 1.58 0 0 0-1.198-.233 1.6 1.6 0 0 0-1.012.694 7 7 0 0 0-.434.658c-.231.393-.462.776-.918.967-.38.157-.72.045-1.077-.073a2.6 2.6 0 0 0-.594-.152v3.25a13.5 13.5 0 0 1 2.193-1.193z\" clipRule=\"evenodd\" /></g></svg>;\nconst ForwardRef = forwardRef(IconDisplayHipaa);\nexport default ForwardRef;"],"names":["React","forwardRef","IconDisplayHipaa","title","titleId","props","ref","svg","xmlns","width","height","fill","viewBox","aria-labelledby","id","defs","clipPath","path","d","g","fillRule","clipRule","ForwardRef"],"mappings":"AAAA,UAAYA,UAAW,OAAQ,AAE/B,QAAcC,UAAU,KAAQ,OAAQ,CAKxC,MAAMC,iBAAmB,CAAC,CACxBC,KAAK,CACLC,OAAO,CACP,GAAGC,MACiC,CAAEC,MAA4B,oBAACC,OAAIC,MAAM,6BAA6BC,MAAO,GAAIC,OAAQ,GAAIC,KAAK,OAAOC,QAAQ,YAAYN,IAAKA,IAAKO,kBAAiBT,QAAU,GAAGC,KAAK,EAAGF,MAAQ,oBAACA,SAAMW,GAAIV,SAAUD,OAAiB,KAAK,oBAACY,YAAK,oBAACC,YAASF,GAAG,mBAAkB,oBAACG,QAAKN,KAAK,OAAOO,EAAE,oBAAoC,oBAACC,KAAEH,SAAS,yBAAwB,oBAACC,QAAKN,KAAK,eAAeS,SAAS,UAAUF,EAAE,m6IAAm6IG,SAAS,cACl2J,MAAMC,WAAarB,WAAWC,iBAC9B,gBAAeoB,UAAW"}
|