components([ TextEntry::make('subscription_id'), TextEntry::make('purchase_token')->copyable()->columnSpanFull(), TextEntry::make('linked_subscription_token')->copyable()->columnSpanFull(), TextEntry::make('status')->badge(), IconEntry::make('auto_renewing')->boolean(), TextEntry::make('starts_at')->dateTime(), TextEntry::make('valid_until')->dateTime(), TextEntry::make('bazaar_response')->formatStateUsing(fn (?array $state): string => json_encode($state, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE))->columnSpanFull(), ]); } }