tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

NimbusRolloutMessageProvider.sys.mjs (155746B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 /**
      6 * This file is generated by browser/components/asrouter/bin/import-rollouts.js
      7 * Run the following from the repository root to regenerate it:
      8 * ./mach npm run import-rollouts --prefix=browser/components/asrouter
      9 */
     10 
     11 export const NimbusRolloutMessageProvider = {
     12  getMessages() {
     13    return [
     14      {
     15        // Nimbus slug: multiple-profile-switching-feature-v1-rollout:treatment-a-multi-profiles (message 1 of 2)
     16        // Version range: 140+
     17        // Recipe: https://experimenter.services.mozilla.com/nimbus/multiple-profile-switching-feature-v1-rollout/summary#treatment-a-multi-profiles
     18        id: "NEW_SELECTABLE_PROFILE_SPOTLIGHT",
     19        groups: ["cfr"],
     20        content: {
     21          modal: "tab",
     22          screens: [
     23            {
     24              id: "SCREEN_1",
     25              content: {
     26                logo: {
     27                  height: "264px",
     28                  imageURL:
     29                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/a9e9b418-aa90-467a-a4d7-17d9ea4bc34e.svg",
     30                },
     31                title: {
     32                  fontSize: "24px",
     33                  string_id: "multi-profile-spotlight-title",
     34                  fontWeight: 500,
     35                },
     36                subtitle: {
     37                  fontSize: "15px",
     38                  string_id: "multi-profile-spotlight-body",
     39                  fontWeight: 400,
     40                  marginInline: "40px",
     41                  paddingBlock: "8px",
     42                },
     43                dismiss_button: {
     44                  action: {
     45                    dismiss: true,
     46                  },
     47                },
     48                primary_button: {
     49                  label: {
     50                    string_id: "multi-profile-spotlight-cta",
     51                  },
     52                  action: {
     53                    type: "CREATE_NEW_SELECTABLE_PROFILE",
     54                    navigate: true,
     55                  },
     56                },
     57              },
     58            },
     59          ],
     60          template: "multistage",
     61          transitions: true,
     62        },
     63        trigger: {
     64          id: "defaultBrowserCheck",
     65        },
     66        priority: 2,
     67        template: "spotlight",
     68        frequency: {
     69          lifetime: 1,
     70        },
     71        targeting:
     72          "canCreateSelectableProfiles && !hasSelectableProfiles && !willShowDefaultPrompt && !activeNotifications && previousSessionEnd",
     73      },
     74      {
     75        // Nimbus slug: multiple-profile-switching-feature-v1-rollout:treatment-a-multi-profiles (message 2 of 2)
     76        // Version range: 140+
     77        // Recipe: https://experimenter.services.mozilla.com/nimbus/multiple-profile-switching-feature-v1-rollout/summary#treatment-a-multi-profiles
     78        id: "NEW_PROFILE_FEATURE_CALLOUT",
     79        groups: ["cfr"],
     80        content: {
     81          id: "NEW_PROFILE_FEATURE_CALLOUT",
     82          screens: [
     83            {
     84              id: "NEW_PROFILE_FEATURE_CALLOUT_SCREEN_1",
     85              anchors: [
     86                {
     87                  selector: "#PanelUI-menu-button",
     88                  panel_position: {
     89                    anchor_attachment: "leftcenter",
     90                    callout_attachment: "topright",
     91                  },
     92                },
     93              ],
     94              content: {
     95                logo: {
     96                  width: "352px",
     97                  height: "248px",
     98                  imageURL:
     99                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/a9e9b418-aa90-467a-a4d7-17d9ea4bc34e.svg",
    100                },
    101                title: {
    102                  string_id: "multi-profile-callout-title",
    103                  marginInline: "16px",
    104                },
    105                width: "400px",
    106                height: "420px",
    107                padding: 16,
    108                position: "callout",
    109                subtitle: {
    110                  string_id: "multi-profile-callout-subtitle",
    111                  marginInline: "16px",
    112                },
    113                dismiss_button: {
    114                  size: "small",
    115                  action: {
    116                    dismiss: true,
    117                  },
    118                  marginBlock: "20px 0",
    119                  marginInline: "0 26px",
    120                },
    121                submenu_button: {
    122                  submenu: [
    123                    {
    124                      id: "block_recommendation",
    125                      type: "action",
    126                      label: {
    127                        string_id: "split-dismiss-button-dont-show-option",
    128                      },
    129                      action: {
    130                        data: {
    131                          id: "NEW_PROFILE_FEATURE_CALLOUT",
    132                        },
    133                        type: "BLOCK_MESSAGE",
    134                        dismiss: true,
    135                      },
    136                    },
    137                    {
    138                      id: "show_fewer_recommendations",
    139                      type: "action",
    140                      label: {
    141                        string_id: "split-dismiss-button-show-fewer-option",
    142                      },
    143                      action: {
    144                        data: {
    145                          actions: [
    146                            {
    147                              data: {
    148                                pref: {
    149                                  name: "messaging-system-action.show-fewer-cfr-recommendations",
    150                                  value: true,
    151                                },
    152                              },
    153                              type: "SET_PREF",
    154                            },
    155                            {
    156                              data: {
    157                                id: "NEW_PROFILE_FEATURE_CALLOUT",
    158                              },
    159                              type: "BLOCK_MESSAGE",
    160                            },
    161                          ],
    162                        },
    163                        type: "MULTI_ACTION",
    164                        dismiss: true,
    165                      },
    166                    },
    167                    {
    168                      type: "separator",
    169                    },
    170                    {
    171                      id: "manage_settings",
    172                      type: "action",
    173                      label: {
    174                        string_id:
    175                          "split-dismiss-button-manage-settings-option",
    176                      },
    177                      action: {
    178                        data: {
    179                          args: "preferences#general-cfrfeatures",
    180                          where: "tab",
    181                        },
    182                        type: "OPEN_ABOUT_PAGE",
    183                        dismiss: true,
    184                      },
    185                    },
    186                  ],
    187                  attached_to: "additional_button",
    188                },
    189                secondary_button: {
    190                  label: {
    191                    string_id: "multi-profile-callout-cta",
    192                  },
    193                  style: "primary",
    194                  action: {
    195                    type: "CREATE_NEW_SELECTABLE_PROFILE",
    196                    navigate: true,
    197                  },
    198                },
    199                additional_button: {
    200                  label: {
    201                    string_id: "fx-view-discoverability-secondary-button-label",
    202                  },
    203                  style: "secondary",
    204                  action: {
    205                    dismiss: true,
    206                  },
    207                },
    208              },
    209            },
    210          ],
    211          backdrop: "transparent",
    212          template: "multistage",
    213          transitions: false,
    214        },
    215        trigger: {
    216          id: "defaultBrowserCheck",
    217        },
    218        priority: 2,
    219        template: "feature_callout",
    220        frequency: {
    221          custom: [
    222            {
    223              cap: 1,
    224              period: 604800000,
    225            },
    226          ],
    227          lifetime: 3,
    228        },
    229        targeting:
    230          "messageImpressions.NEW_SELECTABLE_PROFILE_SPOTLIGHT[messageImpressions.NEW_SELECTABLE_PROFILE_SPOTLIGHT | length - 1] < currentDate|date - 604800000 && !hasSelectableProfiles && !willShowDefaultPrompt && !activeNotifications && source == 'newtab' && previousSessionEnd",
    231      },
    232      {
    233        // Nimbus slug: account-adoption-app-menu-rollout:treatment-a
    234        // Version range: 141+
    235        // Recipe: https://experimenter.services.mozilla.com/nimbus/account-adoption-app-menu-rollout/summary#treatment-a
    236        id: "DEVICE_MIGRATION_FXA_CTA_EXP1",
    237        groups: [],
    238        content: {
    239          layout: "row",
    240          imageURL:
    241            "chrome://browser/content/asrouter/assets/fox-with-devices.svg",
    242          imageWidth: 100,
    243          closeAction: {
    244            data: {
    245              id: "DEVICE_MIGRATION_FXA_CTA_EXP1",
    246            },
    247            type: "BLOCK_MESSAGE",
    248          },
    249          messageType: "fxa_cta",
    250          primaryText: {
    251            string_id: "fxa-menu-message-sync-devices-primary-text",
    252          },
    253          primaryAction: {
    254            data: {
    255              where: "tab",
    256              autoClose: false,
    257              extraParams: {
    258                utm_medium: "product",
    259                utm_source: "firefox-desktop",
    260                utm_content: "exp1-sync-devices",
    261                utm_campaign: "backup-pxi-exp",
    262              },
    263            },
    264            type: "FXA_SIGNIN_FLOW",
    265          },
    266          secondaryText: {
    267            string_id: "fxa-menu-message-sync-devices-secondary-text",
    268          },
    269          primaryActionText: {
    270            string_id: "fxa-menu-message-sign-up-button",
    271          },
    272          imageVerticalBottomOffset: -16,
    273          containerVerticalBottomOffset: 8,
    274        },
    275        trigger: {
    276          id: "menuOpened",
    277        },
    278        template: "menu_message",
    279        targeting: "source == 'pxi_menu'",
    280      },
    281      {
    282        // Nimbus slug: 2025-1st-run-new-tab-microsurvey-r-s-existing-users-us-ca-de-gb:treatment-a
    283        // Version range: 138+
    284        // Recipe: https://experimenter.services.mozilla.com/nimbus/2025-1st-run-new-tab-microsurvey-r-s-existing-users-us-ca-de-gb/summary#treatment-a
    285        id: "NEWTAB_CSAT_SURVEY_2025_1",
    286        content: {
    287          id: "NEWTAB_CSAT_SURVEY_2025_1",
    288          screens: [
    289            {
    290              id: "NEWTAB_CSAT_SURVEY_1",
    291              anchors: [
    292                {
    293                  selector: "hbox#browser",
    294                  hide_arrow: true,
    295                  absolute_position: {
    296                    right: "20px",
    297                    bottom: "20px",
    298                  },
    299                },
    300              ],
    301              content: {
    302                tiles: {
    303                  data: [
    304                    {
    305                      id: "radio-not-relevant",
    306                      icon: {
    307                        style: {
    308                          width: "14px",
    309                          height: "14px",
    310                          marginInline: "0 0.5em",
    311                        },
    312                      },
    313                      type: "radio",
    314                      group: "radios",
    315                      label: {
    316                        raw: {
    317                          $l10n: {
    318                            id: "radio-not-relevant-label",
    319                            text: "Not at all relevant",
    320                            comment:
    321                              "Answer choice indicating that the New Tab Page is not relevant at all to the user",
    322                          },
    323                        },
    324                      },
    325                      action: {
    326                        data: {
    327                          pref: {
    328                            name: "messaging-system-action.newtab-csat-relevance",
    329                            value: "not-relevant",
    330                          },
    331                        },
    332                        type: "SET_PREF",
    333                      },
    334                      defaultValue: false,
    335                    },
    336                    {
    337                      id: "radio-slightly-relevant",
    338                      icon: {
    339                        style: {
    340                          width: "14px",
    341                          height: "14px",
    342                          marginInline: "0 0.5em",
    343                        },
    344                      },
    345                      type: "radio",
    346                      group: "radios",
    347                      label: {
    348                        raw: {
    349                          $l10n: {
    350                            id: "radio-slightly-relevant-label",
    351                            text: "Slightly relevant",
    352                            comment:
    353                              "Answer choice indicating that the New Tab Page is only slightly relevant to the user",
    354                          },
    355                        },
    356                      },
    357                      action: {
    358                        data: {
    359                          pref: {
    360                            name: "messaging-system-action.newtab-csat-relevance",
    361                            value: "slightly-relevant",
    362                          },
    363                        },
    364                        type: "SET_PREF",
    365                      },
    366                      defaultValue: false,
    367                    },
    368                    {
    369                      id: "radio-relevant",
    370                      icon: {
    371                        style: {
    372                          width: "14px",
    373                          height: "14px",
    374                          marginInline: "0 0.5em",
    375                        },
    376                      },
    377                      type: "radio",
    378                      group: "radios",
    379                      label: {
    380                        raw: {
    381                          $l10n: {
    382                            id: "radio-relevant-label",
    383                            text: "Relevant",
    384                            comment:
    385                              "Answer choice indicating that the New Tab Page is relevant to the user",
    386                          },
    387                        },
    388                      },
    389                      action: {
    390                        data: {
    391                          pref: {
    392                            name: "messaging-system-action.newtab-csat-relevance",
    393                            value: "relevant",
    394                          },
    395                        },
    396                        type: "SET_PREF",
    397                      },
    398                      defaultValue: false,
    399                    },
    400                    {
    401                      id: "radio-fairly-relevant",
    402                      icon: {
    403                        style: {
    404                          width: "14px",
    405                          height: "14px",
    406                          marginInline: "0 0.5em",
    407                        },
    408                      },
    409                      type: "radio",
    410                      group: "radios",
    411                      label: {
    412                        raw: {
    413                          $l10n: {
    414                            id: "radio-fairly-relevant-label",
    415                            text: "Fairly relevant",
    416                            comment:
    417                              "Answer choice indicating that the New Tab Page is fairly relevant to the user",
    418                          },
    419                        },
    420                      },
    421                      action: {
    422                        data: {
    423                          pref: {
    424                            name: "messaging-system-action.newtab-csat-relevance",
    425                            value: "fairly-relevant",
    426                          },
    427                        },
    428                        type: "SET_PREF",
    429                      },
    430                      defaultValue: false,
    431                    },
    432                    {
    433                      id: "radio-very-relevant",
    434                      icon: {
    435                        style: {
    436                          width: "14px",
    437                          height: "14px",
    438                          marginInline: "0 0.5em",
    439                        },
    440                      },
    441                      type: "radio",
    442                      group: "radios",
    443                      label: {
    444                        raw: {
    445                          $l10n: {
    446                            id: "radio-very-relevant-label",
    447                            text: "Very relevant",
    448                            comment:
    449                              "Answer choice indicating that the New Tab Page is very relevant to the user",
    450                          },
    451                        },
    452                      },
    453                      action: {
    454                        data: {
    455                          pref: {
    456                            name: "messaging-system-action.newtab-csat-relevance",
    457                            value: "very-relevant",
    458                          },
    459                        },
    460                        type: "SET_PREF",
    461                      },
    462                      defaultValue: false,
    463                    },
    464                    {
    465                      id: "radio-no-opinion",
    466                      icon: {
    467                        style: {
    468                          width: "14px",
    469                          height: "14px",
    470                          marginInline: "0 0.5em",
    471                        },
    472                      },
    473                      type: "radio",
    474                      group: "radios",
    475                      label: {
    476                        raw: {
    477                          $l10n: {
    478                            id: "radio-no-opinion-label",
    479                            text: "No opinion",
    480                            comment:
    481                              "Answer choice indicating that the user has no opinion about how relevant the New Tab Page is",
    482                          },
    483                        },
    484                      },
    485                      action: {
    486                        data: {
    487                          pref: {
    488                            name: "messaging-system-action.newtab-csat-relevance",
    489                            value: "no-opinion",
    490                          },
    491                        },
    492                        type: "SET_PREF",
    493                      },
    494                      defaultValue: false,
    495                    },
    496                  ],
    497                  type: "multiselect",
    498                  style: {
    499                    alignItems: "flex-start",
    500                    flexDirection: "column",
    501                  },
    502                },
    503                title: {
    504                  raw: {
    505                    $l10n: {
    506                      id: "question-title",
    507                      text: "Help Firefox improve this page",
    508                      comment:
    509                        "The title of a popup asking the user to give feedback by answering a short survey",
    510                    },
    511                  },
    512                  whiteSpace: "nowrap",
    513                  marginInline: "0 42px",
    514                },
    515                width: "min-content",
    516                layout: "survey",
    517                padding: "16",
    518                position: "callout",
    519                subtitle: {
    520                  raw: {
    521                    $l10n: {
    522                      id: "relevance-question",
    523                      text: "How relevant are the contents of this Firefox page to you?",
    524                      comment: "Survey question about relevance",
    525                    },
    526                  },
    527                },
    528                title_logo: {
    529                  imageURL: "chrome://branding/content/about-logo.png",
    530                  alignment: "top",
    531                },
    532                dismiss_button: {
    533                  size: "small",
    534                  action: {
    535                    data: {
    536                      actions: [
    537                        {
    538                          data: {
    539                            id: "NEWTAB_CSAT_SURVEY_2025_1",
    540                          },
    541                          type: "BLOCK_MESSAGE",
    542                        },
    543                        {
    544                          data: {
    545                            pref: {
    546                              name: "browser.newtab.feature-tour",
    547                            },
    548                          },
    549                          type: "SET_PREF",
    550                        },
    551                      ],
    552                    },
    553                    type: "MULTI_ACTION",
    554                    dismiss: true,
    555                  },
    556                  marginBlock: "12px 0",
    557                  marginInline: "0 12px",
    558                },
    559                secondary_button: {
    560                  label: {
    561                    raw: {
    562                      $l10n: {
    563                        id: "advance-button-label",
    564                        text: "Next",
    565                        comment:
    566                          "Label for the button that submits the user's response to question 1 and advances to question 2",
    567                      },
    568                    },
    569                  },
    570                  style: "primary",
    571                  action: {
    572                    data: {
    573                      actions: [
    574                        {
    575                          data: {
    576                            pref: {
    577                              name: "browser.newtab.feature-tour",
    578                              value:
    579                                '{"screen":"NEWTAB_CSAT_SURVEY_2","complete":false}',
    580                            },
    581                          },
    582                          type: "SET_PREF",
    583                        },
    584                      ],
    585                    },
    586                    type: "MULTI_ACTION",
    587                    collectSelect: true,
    588                  },
    589                  disabled: "hasActiveMultiSelect",
    590                },
    591                additional_button: {
    592                  label: {
    593                    raw: {
    594                      $l10n: {
    595                        id: "privacy-link-label",
    596                        text: "Privacy notice",
    597                        comment: "Text for the privacy notice link",
    598                      },
    599                    },
    600                  },
    601                  style: "link",
    602                  action: {
    603                    data: {
    604                      args: "https://www.mozilla.org/privacy/firefox/",
    605                      where: "tabshifted",
    606                    },
    607                    type: "OPEN_URL",
    608                  },
    609                  alignment: "space-between",
    610                },
    611              },
    612              force_hide_steps_indicator: true,
    613            },
    614            {
    615              id: "NEWTAB_CSAT_SURVEY_2",
    616              anchors: [
    617                {
    618                  selector: "hbox#browser",
    619                  hide_arrow: true,
    620                  absolute_position: {
    621                    right: "20px",
    622                    bottom: "20px",
    623                  },
    624                },
    625              ],
    626              content: {
    627                tiles: {
    628                  data: [
    629                    {
    630                      id: "radio-very-dissatisfied",
    631                      icon: {
    632                        style: {
    633                          width: "14px",
    634                          height: "14px",
    635                          marginInline: "0 0.5em",
    636                        },
    637                      },
    638                      type: "radio",
    639                      group: "radios",
    640                      label: {
    641                        raw: {
    642                          $l10n: {
    643                            id: "radio-very-dissatisfied-label",
    644                            text: "Very Dissatisfied",
    645                            comment:
    646                              "Answer choice indicating the least satisfaction with the New Tab Page",
    647                          },
    648                        },
    649                      },
    650                      action: {
    651                        data: {
    652                          pref: {
    653                            name: "messaging-system-action.newtab-csat-satisfaction",
    654                            value: "very-dissatisfied",
    655                          },
    656                        },
    657                        type: "SET_PREF",
    658                      },
    659                      defaultValue: false,
    660                    },
    661                    {
    662                      id: "radio-dissatisfied",
    663                      icon: {
    664                        style: {
    665                          width: "14px",
    666                          height: "14px",
    667                          marginInline: "0 0.5em",
    668                        },
    669                      },
    670                      type: "radio",
    671                      group: "radios",
    672                      label: {
    673                        raw: {
    674                          $l10n: {
    675                            id: "radio-dissatisfied-label",
    676                            text: "Dissatisfied",
    677                            comment:
    678                              "Answer choice indicating little satisfaction with the New Tab Page",
    679                          },
    680                        },
    681                      },
    682                      action: {
    683                        data: {
    684                          pref: {
    685                            name: "messaging-system-action.newtab-csat-satisfaction",
    686                            value: "dissatisfied",
    687                          },
    688                        },
    689                        type: "SET_PREF",
    690                      },
    691                      defaultValue: false,
    692                    },
    693                    {
    694                      id: "radio-neutral",
    695                      icon: {
    696                        style: {
    697                          width: "14px",
    698                          height: "14px",
    699                          marginInline: "0 0.5em",
    700                        },
    701                      },
    702                      type: "radio",
    703                      group: "radios",
    704                      label: {
    705                        raw: {
    706                          $l10n: {
    707                            id: "radio-neutral-label",
    708                            text: "Neutral",
    709                            comment:
    710                              "Answer choice indicating no strong feelings either way about the New Tab Page",
    711                          },
    712                        },
    713                      },
    714                      action: {
    715                        data: {
    716                          pref: {
    717                            name: "messaging-system-action.newtab-csat-satisfaction",
    718                            value: "neutral",
    719                          },
    720                        },
    721                        type: "SET_PREF",
    722                      },
    723                      defaultValue: false,
    724                    },
    725                    {
    726                      id: "radio-satisfied",
    727                      icon: {
    728                        style: {
    729                          width: "14px",
    730                          height: "14px",
    731                          marginInline: "0 0.5em",
    732                        },
    733                      },
    734                      type: "radio",
    735                      group: "radios",
    736                      label: {
    737                        raw: {
    738                          $l10n: {
    739                            id: "radio-satisfied-label",
    740                            text: "Satisfied",
    741                            comment:
    742                              "Answer choice indicating moderate satisfaction with the New Tab Page",
    743                          },
    744                        },
    745                      },
    746                      action: {
    747                        data: {
    748                          pref: {
    749                            name: "messaging-system-action.newtab-csat-satisfaction",
    750                            value: "satisfied",
    751                          },
    752                        },
    753                        type: "SET_PREF",
    754                      },
    755                      defaultValue: false,
    756                    },
    757                    {
    758                      id: "radio-very-satisfied",
    759                      icon: {
    760                        style: {
    761                          width: "14px",
    762                          height: "14px",
    763                          marginInline: "0 0.5em",
    764                        },
    765                      },
    766                      type: "radio",
    767                      group: "radios",
    768                      label: {
    769                        raw: {
    770                          $l10n: {
    771                            id: "radio-very-satisfied-label",
    772                            text: "Very Satisfied",
    773                            comment:
    774                              "Answer choice indicating the highest satisfaction with the New Tab Page",
    775                          },
    776                        },
    777                      },
    778                      action: {
    779                        data: {
    780                          pref: {
    781                            name: "messaging-system-action.newtab-csat-satisfaction",
    782                            value: "very-satisfied",
    783                          },
    784                        },
    785                        type: "SET_PREF",
    786                      },
    787                      defaultValue: false,
    788                    },
    789                    {
    790                      id: "radio-dont-use",
    791                      icon: {
    792                        style: {
    793                          width: "14px",
    794                          height: "14px",
    795                          marginInline: "0 0.5em",
    796                        },
    797                      },
    798                      type: "radio",
    799                      group: "radios",
    800                      label: {
    801                        raw: {
    802                          $l10n: {
    803                            id: "radio-dont-use-label",
    804                            text: "I don’t use it",
    805                            comment:
    806                              "Answer choice indicating that the user does not use the New Tab Page",
    807                          },
    808                        },
    809                      },
    810                      action: {
    811                        data: {
    812                          pref: {
    813                            name: "messaging-system-action.newtab-csat-satisfaction",
    814                            value: "dont-use",
    815                          },
    816                        },
    817                        type: "SET_PREF",
    818                      },
    819                      defaultValue: false,
    820                    },
    821                  ],
    822                  type: "multiselect",
    823                  style: {
    824                    alignItems: "flex-start",
    825                    flexDirection: "column",
    826                  },
    827                },
    828                title: {
    829                  raw: {
    830                    $l10n: {
    831                      id: "question-title",
    832                      text: "Help Firefox improve this page",
    833                      comment:
    834                        "The title of a popup asking the user to give feedback by answering a short survey",
    835                    },
    836                  },
    837                  whiteSpace: "nowrap",
    838                  marginInline: "0 42px",
    839                },
    840                width: "min-content",
    841                layout: "survey",
    842                padding: "16",
    843                position: "callout",
    844                subtitle: {
    845                  raw: {
    846                    $l10n: {
    847                      id: "satisfaction-question",
    848                      text: "How satisfied are you with this Firefox page?",
    849                      comment: "Survey question about satisfaction",
    850                    },
    851                  },
    852                },
    853                title_logo: {
    854                  imageURL: "chrome://branding/content/about-logo.png",
    855                  alignment: "top",
    856                },
    857                dismiss_button: {
    858                  size: "small",
    859                  action: {
    860                    data: {
    861                      actions: [
    862                        {
    863                          data: {
    864                            id: "NEWTAB_CSAT_SURVEY_2025_1",
    865                          },
    866                          type: "BLOCK_MESSAGE",
    867                        },
    868                        {
    869                          data: {
    870                            pref: {
    871                              name: "browser.newtab.feature-tour",
    872                            },
    873                          },
    874                          type: "SET_PREF",
    875                        },
    876                      ],
    877                    },
    878                    type: "MULTI_ACTION",
    879                    dismiss: true,
    880                  },
    881                  marginBlock: "12px 0",
    882                  marginInline: "0 12px",
    883                },
    884                secondary_button: {
    885                  label: {
    886                    raw: {
    887                      $l10n: {
    888                        id: "submit-button-label",
    889                        text: "Submit",
    890                        comment:
    891                          "Label for the button that submits the user's response to question 2 and finishes the survey",
    892                      },
    893                    },
    894                  },
    895                  style: "primary",
    896                  action: {
    897                    data: {
    898                      actions: [
    899                        {
    900                          data: {
    901                            pref: {
    902                              name: "browser.newtab.feature-tour",
    903                              value:
    904                                '{"screen":"NEWTAB_CSAT_SURVEY_3","complete":false}',
    905                            },
    906                          },
    907                          type: "SET_PREF",
    908                        },
    909                      ],
    910                    },
    911                    type: "MULTI_ACTION",
    912                    collectSelect: true,
    913                  },
    914                  disabled: "hasActiveMultiSelect",
    915                },
    916                additional_button: {
    917                  label: {
    918                    raw: {
    919                      $l10n: {
    920                        id: "privacy-link-label",
    921                        text: "Terms of use",
    922                        comment: "Text for the privacy notice link",
    923                      },
    924                    },
    925                  },
    926                  style: "link",
    927                  action: {
    928                    data: {
    929                      args: "https://www.mozilla.org/privacy/firefox/",
    930                      where: "tabshifted",
    931                    },
    932                    type: "OPEN_URL",
    933                  },
    934                  alignment: "space-between",
    935                },
    936              },
    937              force_hide_steps_indicator: true,
    938            },
    939            {
    940              id: "NEWTAB_CSAT_SURVEY_3",
    941              anchors: [
    942                {
    943                  selector: "hbox#browser",
    944                  hide_arrow: true,
    945                  absolute_position: {
    946                    right: "20px",
    947                    bottom: "20px",
    948                  },
    949                },
    950              ],
    951              content: {
    952                title: {
    953                  raw: {
    954                    $l10n: {
    955                      id: "thanks-toast-title",
    956                      text: "Thanks for your feedback!",
    957                      comment:
    958                        "Text displayed in a thank-you toast notification that appears briefly after the user submits their survey response",
    959                    },
    960                  },
    961                  whiteSpace: "nowrap",
    962                  marginInline: "0 42px",
    963                },
    964                width: "min-content",
    965                layout: "inline",
    966                position: "callout",
    967                title_logo: {
    968                  imageURL:
    969                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/706c7a85-cf23-442e-8a92-7ebc7f537375.svg",
    970                  alignment: "top",
    971                },
    972                dismiss_button: {
    973                  action: {
    974                    data: {
    975                      pref: {
    976                        name: "browser.newtab.feature-tour",
    977                      },
    978                    },
    979                    type: "SET_PREF",
    980                    dismiss: true,
    981                  },
    982                },
    983                page_event_listeners: [
    984                  {
    985                    action: {
    986                      dismiss: true,
    987                    },
    988                    params: {
    989                      type: "timeout",
    990                      options: {
    991                        once: true,
    992                        interval: 5000,
    993                      },
    994                    },
    995                  },
    996                  {
    997                    action: {
    998                      data: {
    999                        id: "NEWTAB_CSAT_SURVEY_2025_1",
   1000                      },
   1001                      type: "BLOCK_MESSAGE",
   1002                    },
   1003                    params: {
   1004                      type: "tourend",
   1005                      options: {
   1006                        once: true,
   1007                      },
   1008                    },
   1009                  },
   1010                ],
   1011              },
   1012              force_hide_steps_indicator: true,
   1013            },
   1014          ],
   1015          backdrop: "transparent",
   1016          template: "multistage",
   1017          transitions: false,
   1018          tour_pref_name: "browser.newtab.feature-tour",
   1019          disableHistoryUpdates: true,
   1020          tour_pref_default_value:
   1021            '{"screen":"NEWTAB_CSAT_SURVEY_1","complete":false}',
   1022        },
   1023        trigger: {
   1024          id: "newtabFeatureCalloutCheck",
   1025        },
   1026        template: "feature_callout",
   1027        targeting:
   1028          "!isMajorUpgrade && !activeNotifications && userPrefs.cfrFeatures && previousSessionEnd",
   1029      },
   1030      {
   1031        // Nimbus slug: account-spotlight-modal-global-rollout-v3:rollout
   1032        // Version range: 133+
   1033        // Recipe: https://experimenter.services.mozilla.com/nimbus/account-spotlight-modal-global-rollout-v3/summary#rollout
   1034        id: "DEVICE_MIGRATION_BACKUP_AND_SYNC_SPOTLIGHT",
   1035        groups: ["eco"],
   1036        content: {
   1037          id: "DEVICE_MIGRATION_BACKUP_AND_SYNC_SPOTLIGHT",
   1038          modal: "tab",
   1039          screens: [
   1040            {
   1041              id: "DEVICE_MIGRATION_BACKUP_AND_SYNC_SPOTLIGHT_SYNC",
   1042              content: {
   1043                logo: {
   1044                  height: "185px",
   1045                  imageURL:
   1046                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/2f2e0abe-5fb7-4fcd-bf9e-2a7f24b2af0d.png",
   1047                },
   1048                title: {
   1049                  fontSize: "24px",
   1050                  string_id: "device-migration-fxa-spotlight-sync-header",
   1051                  fontWeight: 590,
   1052                  paddingBlock: "4px 0",
   1053                  letterSpacing: 0,
   1054                  paddingInline: "24px",
   1055                },
   1056                subtitle: {
   1057                  fontSize: "15px",
   1058                  string_id: "device-migration-fxa-spotlight-sync-body",
   1059                  lineHeight: "1.4",
   1060                  marginBlock: "8px 16px",
   1061                  letterSpacing: 0,
   1062                  paddingInline: "24px",
   1063                },
   1064                dismiss_button: {
   1065                  action: {
   1066                    navigate: true,
   1067                  },
   1068                },
   1069                primary_button: {
   1070                  label: {
   1071                    string_id:
   1072                      "device-migration-fxa-spotlight-sync-primary-button",
   1073                    marginBlock: "4px 0",
   1074                    paddingBlock: "0",
   1075                    paddingInline: "16px",
   1076                  },
   1077                  action: {
   1078                    data: {
   1079                      entrypoint: "device-migration-spotlight-rollout-v3",
   1080                      extraParams: {
   1081                        utm_medium: "firefox-desktop",
   1082                        utm_source: "spotlight-sync-and-backup",
   1083                        utm_content: "sync",
   1084                        utm_campaign: "migration",
   1085                      },
   1086                    },
   1087                    type: "FXA_SIGNIN_FLOW",
   1088                    navigate: true,
   1089                  },
   1090                },
   1091              },
   1092            },
   1093          ],
   1094          backdrop: "transparent",
   1095          template: "multistage",
   1096          transitions: true,
   1097        },
   1098        trigger: {
   1099          id: "defaultBrowserCheck",
   1100        },
   1101        template: "spotlight",
   1102        frequency: {
   1103          lifetime: 1,
   1104        },
   1105        targeting:
   1106          "source == 'newtab' && !usesFirefoxSync && !hasActiveEnterprisePolicies",
   1107      },
   1108      {
   1109        // Nimbus slug: onboarding-set-up-checklist-windows-rollout-july:treatment-branch (message 1 of 3)
   1110        // Version range: 141+
   1111        // Recipe: https://experimenter.services.mozilla.com/nimbus/onboarding-set-up-checklist-windows-rollout-july/summary#treatment-branch
   1112        id: "FINISH_SETUP_CHECKLIST",
   1113        content: {
   1114          id: "FINISH_SETUP_CHECKLIST",
   1115          screens: [
   1116            {
   1117              id: "FINISH_SETUP_CHECKLIST",
   1118              anchors: [
   1119                {
   1120                  selector: "#fxms-bmb-button",
   1121                  panel_position: {
   1122                    offset_y: 4,
   1123                    anchor_attachment: "bottomcenter",
   1124                    callout_attachment: "topright",
   1125                  },
   1126                  no_open_on_anchor: true,
   1127                },
   1128                {
   1129                  selector: "#FINISH_SETUP_BUTTON",
   1130                  panel_position: {
   1131                    offset_y: 4,
   1132                    anchor_attachment: "bottomcenter",
   1133                    callout_attachment: "topright",
   1134                  },
   1135                  no_open_on_anchor: true,
   1136                },
   1137              ],
   1138              content: {
   1139                tiles: {
   1140                  data: [
   1141                    {
   1142                      id: "action-checklist-set-to-default",
   1143                      label: {
   1144                        string_id: "onboarding-checklist-set-default",
   1145                      },
   1146                      action: {
   1147                        type: "SET_DEFAULT_BROWSER",
   1148                      },
   1149                      targeting: "isDefaultBrowserUncached",
   1150                    },
   1151                    {
   1152                      id: "action-checklist-pin-to-taskbar",
   1153                      label: {
   1154                        string_id: "onboarding-checklist-pin",
   1155                      },
   1156                      action: {
   1157                        data: {
   1158                          actions: [
   1159                            {
   1160                              type: "PIN_FIREFOX_TO_TASKBAR",
   1161                            },
   1162                            {
   1163                              type: "PIN_FIREFOX_TO_START_MENU",
   1164                            },
   1165                          ],
   1166                        },
   1167                        type: "MULTI_ACTION",
   1168                      },
   1169                      targeting: "!doesAppNeedPinUncached",
   1170                    },
   1171                    {
   1172                      id: "action-checklist-import-data",
   1173                      label: {
   1174                        string_id: "onboarding-checklist-import",
   1175                      },
   1176                      action: {
   1177                        type: "SHOW_MIGRATION_WIZARD",
   1178                      },
   1179                      targeting:
   1180                        "hasMigratedBookmarks || hasMigratedCSVPasswords || hasMigratedHistory || hasMigratedPasswords",
   1181                      showExternalLinkIcon: true,
   1182                    },
   1183                    {
   1184                      id: "action-checklist-explore-extensions",
   1185                      label: {
   1186                        string_id: "onboarding-checklist-extension",
   1187                      },
   1188                      action: {
   1189                        data: {
   1190                          actions: [
   1191                            {
   1192                              data: {
   1193                                pref: {
   1194                                  name: "messaging-system-action.hasOpenedExtensions",
   1195                                  value: "true",
   1196                                },
   1197                              },
   1198                              type: "SET_PREF",
   1199                            },
   1200                            {
   1201                              data: {
   1202                                args: "https://addons.mozilla.org/en-US/firefox/collections/4757633/b4d5649fb087446aa05add5f0258c3/?page=1&collection_sort=-popularity",
   1203                                where: "current",
   1204                              },
   1205                              type: "OPEN_URL",
   1206                            },
   1207                          ],
   1208                        },
   1209                        type: "MULTI_ACTION",
   1210                      },
   1211                      targeting:
   1212                        "'messaging-system-action.hasOpenedExtensions'|preferenceValue",
   1213                      showExternalLinkIcon: true,
   1214                    },
   1215                    {
   1216                      id: "action-checklist-sign-in",
   1217                      label: {
   1218                        string_id: "onboarding-checklist-sign-up",
   1219                      },
   1220                      action: {
   1221                        data: {
   1222                          entrypoint: "fx-onboarding-checklist",
   1223                          extraParams: {
   1224                            utm_medium: "firefox-desktop",
   1225                            utm_source: "fx-new-device-sync",
   1226                            utm_content: "migration-onboarding",
   1227                            utm_campaign: "migration",
   1228                          },
   1229                        },
   1230                        type: "FXA_SIGNIN_FLOW",
   1231                      },
   1232                      targeting: "isFxASignedIn",
   1233                      showExternalLinkIcon: true,
   1234                    },
   1235                  ],
   1236                  type: "action_checklist",
   1237                },
   1238                title: {
   1239                  fontSize: "16px",
   1240                  string_id: "onboarding-checklist-title",
   1241                  fontWeight: "600",
   1242                  marginInline: "3px 40px",
   1243                },
   1244                position: "callout",
   1245                title_logo: {
   1246                  imageURL: "chrome://branding/content/about-logo.png",
   1247                  alignment: "top",
   1248                },
   1249                dismiss_button: {
   1250                  action: {
   1251                    data: {
   1252                      actions: [
   1253                        {
   1254                          data: {
   1255                            pref: {
   1256                              name: "easyChecklist.open",
   1257                              value: false,
   1258                            },
   1259                          },
   1260                          type: "SET_PREF",
   1261                        },
   1262                      ],
   1263                    },
   1264                    type: "MULTI_ACTION",
   1265                    dismiss: true,
   1266                  },
   1267                },
   1268                page_event_listeners: [
   1269                  {
   1270                    action: {
   1271                      data: {
   1272                        pref: {
   1273                          name: "messaging-system-action.easyChecklist.open",
   1274                          value: "false",
   1275                        },
   1276                      },
   1277                      type: "SET_PREF",
   1278                    },
   1279                    params: {
   1280                      type: "tourend",
   1281                    },
   1282                  },
   1283                ],
   1284                action_checklist_subtitle: {
   1285                  string_id: "onboarding-checklist-subtitle",
   1286                },
   1287              },
   1288            },
   1289          ],
   1290          backdrop: "transparent",
   1291          template: "multistage",
   1292          transitions: false,
   1293          disableHistoryUpdates: true,
   1294        },
   1295        trigger: {
   1296          id: "preferenceObserver",
   1297          params: ["messaging-system-action.easyChecklist.open"],
   1298        },
   1299        priority: 3,
   1300        template: "feature_callout",
   1301        targeting:
   1302          "'messaging-system-action.easyChecklist.open' | preferenceValue == true",
   1303      },
   1304      {
   1305        // Nimbus slug: onboarding-set-up-checklist-windows-rollout-july:treatment-branch (message 2 of 3)
   1306        // Version range: 141+
   1307        // Recipe: https://experimenter.services.mozilla.com/nimbus/onboarding-set-up-checklist-windows-rollout-july/summary#treatment-branch
   1308        id: "FINISH_SETUP_CHECKLIST",
   1309        content: {
   1310          id: "FINISH_SETUP_CHECKLIST",
   1311          screens: [
   1312            {
   1313              id: "FINISH_SETUP_CHECKLIST",
   1314              anchors: [
   1315                {
   1316                  selector: "#fxms-bmb-button",
   1317                  panel_position: {
   1318                    offset_y: 4,
   1319                    anchor_attachment: "bottomcenter",
   1320                    callout_attachment: "topright",
   1321                  },
   1322                  no_open_on_anchor: true,
   1323                },
   1324                {
   1325                  selector: "#FINISH_SETUP_BUTTON",
   1326                  panel_position: {
   1327                    offset_y: 4,
   1328                    anchor_attachment: "bottomcenter",
   1329                    callout_attachment: "topright",
   1330                  },
   1331                  no_open_on_anchor: true,
   1332                },
   1333                {
   1334                  selector: "#PersonalToolbar",
   1335                  hide_arrow: true,
   1336                  panel_position: {
   1337                    offset_x: -24,
   1338                    offset_y: 24,
   1339                    anchor_attachment: "bottomright",
   1340                    callout_attachment: "topright",
   1341                  },
   1342                  no_open_on_anchor: true,
   1343                },
   1344              ],
   1345              content: {
   1346                tiles: {
   1347                  data: [
   1348                    {
   1349                      id: "action-checklist-set-to-default",
   1350                      label: {
   1351                        string_id: "onboarding-checklist-set-default",
   1352                      },
   1353                      action: {
   1354                        type: "SET_DEFAULT_BROWSER",
   1355                      },
   1356                      targeting: "isDefaultBrowserUncached",
   1357                    },
   1358                    {
   1359                      id: "action-checklist-pin-to-taskbar",
   1360                      label: {
   1361                        string_id: "onboarding-checklist-pin",
   1362                      },
   1363                      action: {
   1364                        data: {
   1365                          actions: [
   1366                            {
   1367                              type: "PIN_FIREFOX_TO_TASKBAR",
   1368                            },
   1369                            {
   1370                              type: "PIN_FIREFOX_TO_START_MENU",
   1371                            },
   1372                          ],
   1373                        },
   1374                        type: "MULTI_ACTION",
   1375                      },
   1376                      targeting: "!doesAppNeedPinUncached",
   1377                    },
   1378                    {
   1379                      id: "action-checklist-import-data",
   1380                      label: {
   1381                        string_id: "onboarding-checklist-import",
   1382                      },
   1383                      action: {
   1384                        type: "SHOW_MIGRATION_WIZARD",
   1385                      },
   1386                      targeting:
   1387                        "hasMigratedBookmarks || hasMigratedCSVPasswords || hasMigratedHistory || hasMigratedPasswords",
   1388                      showExternalLinkIcon: true,
   1389                    },
   1390                    {
   1391                      id: "action-checklist-explore-extensions",
   1392                      label: {
   1393                        string_id: "onboarding-checklist-extension",
   1394                      },
   1395                      action: {
   1396                        data: {
   1397                          actions: [
   1398                            {
   1399                              data: {
   1400                                pref: {
   1401                                  name: "messaging-system-action.hasOpenedExtensions",
   1402                                  value: "true",
   1403                                },
   1404                              },
   1405                              type: "SET_PREF",
   1406                            },
   1407                            {
   1408                              data: {
   1409                                args: "https://addons.mozilla.org/en-US/firefox/collections/4757633/b4d5649fb087446aa05add5f0258c3/?page=1&collection_sort=-popularity",
   1410                                where: "current",
   1411                              },
   1412                              type: "OPEN_URL",
   1413                            },
   1414                          ],
   1415                        },
   1416                        type: "MULTI_ACTION",
   1417                      },
   1418                      targeting:
   1419                        "'messaging-system-action.hasOpenedExtensions'|preferenceValue",
   1420                      showExternalLinkIcon: true,
   1421                    },
   1422                    {
   1423                      id: "action-checklist-sign-in",
   1424                      label: {
   1425                        string_id: "onboarding-checklist-sign-up",
   1426                      },
   1427                      action: {
   1428                        data: {
   1429                          entrypoint: "fx-onboarding-checklist",
   1430                          extraParams: {
   1431                            utm_medium: "firefox-desktop",
   1432                            utm_source: "fx-new-device-sync",
   1433                            utm_content: "migration-onboarding",
   1434                            utm_campaign: "migration",
   1435                          },
   1436                        },
   1437                        type: "FXA_SIGNIN_FLOW",
   1438                      },
   1439                      targeting: "isFxASignedIn",
   1440                      showExternalLinkIcon: true,
   1441                    },
   1442                  ],
   1443                  type: "action_checklist",
   1444                },
   1445                title: {
   1446                  fontSize: "16px",
   1447                  string_id: "onboarding-checklist-title",
   1448                  fontWeight: "600",
   1449                  marginInline: "3px 40px",
   1450                },
   1451                position: "callout",
   1452                title_logo: {
   1453                  imageURL: "chrome://branding/content/about-logo.png",
   1454                  alignment: "top",
   1455                },
   1456                dismiss_button: {
   1457                  action: {
   1458                    data: {
   1459                      actions: [
   1460                        {
   1461                          data: {
   1462                            pref: {
   1463                              name: "easyChecklist.open",
   1464                              value: false,
   1465                            },
   1466                          },
   1467                          type: "SET_PREF",
   1468                        },
   1469                      ],
   1470                    },
   1471                    type: "MULTI_ACTION",
   1472                    dismiss: true,
   1473                  },
   1474                },
   1475                page_event_listeners: [
   1476                  {
   1477                    action: {
   1478                      data: {
   1479                        pref: {
   1480                          name: "messaging-system-action.easyChecklist.open",
   1481                          value: "false",
   1482                        },
   1483                      },
   1484                      type: "SET_PREF",
   1485                    },
   1486                    params: {
   1487                      type: "tourend",
   1488                    },
   1489                  },
   1490                ],
   1491                action_checklist_subtitle: {
   1492                  string_id: "onboarding-checklist-subtitle",
   1493                },
   1494              },
   1495            },
   1496          ],
   1497          backdrop: "transparent",
   1498          template: "multistage",
   1499          transitions: false,
   1500          disableHistoryUpdates: true,
   1501        },
   1502        trigger: {
   1503          id: "messagesLoaded",
   1504        },
   1505        priority: 3,
   1506        template: "feature_callout",
   1507        targeting:
   1508          "'messaging-system-action.easyChecklist.open' | preferenceValue == true",
   1509      },
   1510      {
   1511        // Nimbus slug: onboarding-set-up-checklist-windows-rollout-july:treatment-branch (message 3 of 3)
   1512        // Version range: 141+
   1513        // Recipe: https://experimenter.services.mozilla.com/nimbus/onboarding-set-up-checklist-windows-rollout-july/summary#treatment-branch
   1514        id: "FINISH_SETUP_CHECKLIST_AUTO_OPEN",
   1515        content: {
   1516          id: "FINISH_SETUP_CHECKLIST",
   1517          screens: [
   1518            {
   1519              id: "FINISH_SETUP_CHECKLIST",
   1520              anchors: [
   1521                {
   1522                  selector: "#fxms-bmb-button",
   1523                  panel_position: {
   1524                    offset_y: 4,
   1525                    anchor_attachment: "bottomcenter",
   1526                    callout_attachment: "topright",
   1527                  },
   1528                  no_open_on_anchor: true,
   1529                },
   1530                {
   1531                  selector: "#FINISH_SETUP_BUTTON",
   1532                  panel_position: {
   1533                    offset_y: 4,
   1534                    anchor_attachment: "bottomcenter",
   1535                    callout_attachment: "topright",
   1536                  },
   1537                  no_open_on_anchor: true,
   1538                },
   1539              ],
   1540              content: {
   1541                tiles: {
   1542                  data: [
   1543                    {
   1544                      id: "action-checklist-set-to-default",
   1545                      label: {
   1546                        string_id: "onboarding-checklist-set-default",
   1547                      },
   1548                      action: {
   1549                        type: "SET_DEFAULT_BROWSER",
   1550                      },
   1551                      targeting: "isDefaultBrowserUncached",
   1552                    },
   1553                    {
   1554                      id: "action-checklist-pin-to-taskbar",
   1555                      label: {
   1556                        string_id: "onboarding-checklist-pin",
   1557                      },
   1558                      action: {
   1559                        data: {
   1560                          actions: [
   1561                            {
   1562                              type: "PIN_FIREFOX_TO_TASKBAR",
   1563                            },
   1564                            {
   1565                              type: "PIN_FIREFOX_TO_START_MENU",
   1566                            },
   1567                          ],
   1568                        },
   1569                        type: "MULTI_ACTION",
   1570                      },
   1571                      targeting: "!doesAppNeedPinUncached",
   1572                    },
   1573                    {
   1574                      id: "action-checklist-import-data",
   1575                      label: {
   1576                        string_id: "onboarding-checklist-import",
   1577                      },
   1578                      action: {
   1579                        type: "SHOW_MIGRATION_WIZARD",
   1580                      },
   1581                      targeting:
   1582                        "hasMigratedBookmarks || hasMigratedCSVPasswords || hasMigratedHistory || hasMigratedPasswords",
   1583                      showExternalLinkIcon: true,
   1584                    },
   1585                    {
   1586                      id: "action-checklist-explore-extensions",
   1587                      label: {
   1588                        string_id: "onboarding-checklist-extension",
   1589                      },
   1590                      action: {
   1591                        data: {
   1592                          actions: [
   1593                            {
   1594                              data: {
   1595                                pref: {
   1596                                  name: "messaging-system-action.hasOpenedExtensions",
   1597                                  value: "true",
   1598                                },
   1599                              },
   1600                              type: "SET_PREF",
   1601                            },
   1602                            {
   1603                              data: {
   1604                                args: "https://addons.mozilla.org/en-US/firefox/collections/4757633/b4d5649fb087446aa05add5f0258c3/?page=1&collection_sort=-popularity",
   1605                                where: "current",
   1606                              },
   1607                              type: "OPEN_URL",
   1608                            },
   1609                          ],
   1610                        },
   1611                        type: "MULTI_ACTION",
   1612                      },
   1613                      targeting:
   1614                        "'messaging-system-action.hasOpenedExtensions'|preferenceValue",
   1615                      showExternalLinkIcon: true,
   1616                    },
   1617                    {
   1618                      id: "action-checklist-sign-in",
   1619                      label: {
   1620                        string_id: "onboarding-checklist-sign-up",
   1621                      },
   1622                      action: {
   1623                        data: {
   1624                          entrypoint: "fx-onboarding-checklist",
   1625                          extraParams: {
   1626                            utm_medium: "firefox-desktop",
   1627                            utm_source: "fx-new-device-sync",
   1628                            utm_content: "migration-onboarding",
   1629                            utm_campaign: "migration",
   1630                          },
   1631                        },
   1632                        type: "FXA_SIGNIN_FLOW",
   1633                      },
   1634                      targeting: "isFxASignedIn",
   1635                      showExternalLinkIcon: true,
   1636                    },
   1637                  ],
   1638                  type: "action_checklist",
   1639                },
   1640                title: {
   1641                  fontSize: "16px",
   1642                  string_id: "onboarding-checklist-title",
   1643                  fontWeight: "600",
   1644                  marginInline: "3px 40px",
   1645                },
   1646                position: "callout",
   1647                title_logo: {
   1648                  imageURL: "chrome://branding/content/about-logo.png",
   1649                  alignment: "top",
   1650                },
   1651                dismiss_button: {
   1652                  action: {
   1653                    data: {
   1654                      actions: [
   1655                        {
   1656                          data: {
   1657                            pref: {
   1658                              name: "easyChecklist.open",
   1659                              value: false,
   1660                            },
   1661                          },
   1662                          type: "SET_PREF",
   1663                        },
   1664                      ],
   1665                    },
   1666                    type: "MULTI_ACTION",
   1667                    dismiss: true,
   1668                  },
   1669                },
   1670                page_event_listeners: [
   1671                  {
   1672                    action: {
   1673                      data: {
   1674                        pref: {
   1675                          name: "messaging-system-action.easyChecklist.open",
   1676                          value: "false",
   1677                        },
   1678                      },
   1679                      type: "SET_PREF",
   1680                    },
   1681                    params: {
   1682                      type: "tourend",
   1683                    },
   1684                  },
   1685                ],
   1686                action_checklist_subtitle: {
   1687                  string_id: "onboarding-checklist-subtitle",
   1688                },
   1689              },
   1690            },
   1691          ],
   1692          backdrop: "transparent",
   1693          template: "multistage",
   1694          transitions: false,
   1695          disableHistoryUpdates: true,
   1696        },
   1697        trigger: {
   1698          id: "nthTabClosed",
   1699        },
   1700        priority: 3,
   1701        template: "feature_callout",
   1702        frequency: {
   1703          custom: [
   1704            {
   1705              cap: 1,
   1706              period: 86400000,
   1707            },
   1708          ],
   1709          lifetime: 3,
   1710        },
   1711        targeting:
   1712          "!hasActiveEnterprisePolicies && (tabsClosedCount == 4 || tabsClosedCount == 12 || tabsClosedCount == 24) && (!isDefaultBrowserUncached || doesAppNeedPinUncached || (!hasMigratedBookmarks || !hasMigratedCSVPasswords || !hasMigratedHistory || !hasMigratedPasswords) || !'messaging-system-action.hasOpenedExtensions'|preferenceValue || !isFxASignedIn)",
   1713      },
   1714      {
   1715        // Nimbus slug: onboarding-set-up-checklist-windows-rollout-july:treatment-branch
   1716        // Version range: 141+
   1717        // Recipe: https://experimenter.services.mozilla.com/nimbus/onboarding-set-up-checklist-windows-rollout-july/summary#treatment-branch
   1718        id: "FINISH_SETUP_BUTTON",
   1719        groups: [],
   1720        weight: 100,
   1721        content: {
   1722          logo: {
   1723            imageURL: "chrome://branding/content/about-logo.png",
   1724          },
   1725          label: {
   1726            string_id: "onboarding-aw-finish-setup-button",
   1727          },
   1728          action: {
   1729            data: {
   1730              pref: {
   1731                name: "easyChecklist.open",
   1732                value: true,
   1733              },
   1734            },
   1735            type: "SET_PREF",
   1736          },
   1737        },
   1738        trigger: {
   1739          id: "defaultBrowserCheck",
   1740        },
   1741        priority: 1,
   1742        template: "bookmarks_bar_button",
   1743        targeting: "!hasActiveEnterprisePolicies",
   1744      },
   1745      {
   1746        // Nimbus slug: account-adoption-callout-passwords-global-rollout:treatment-e
   1747        // Version range: 141+
   1748        // Recipe: https://experimenter.services.mozilla.com/nimbus/account-adoption-callout-passwords-global-rollout/summary#treatment-e
   1749        id: "FXA_ACCOUNT_ADOPTION_PASSWORDS",
   1750        groups: ["cfr"],
   1751        content: {
   1752          id: "FXA_ACCOUNT_ADOPTION_PASSWORDS",
   1753          screens: [
   1754            {
   1755              id: "FXA_ACCOUNT_ADOPTION_PASSWORDS_E",
   1756              anchors: [
   1757                {
   1758                  selector: "#fxa-toolbar-menu-button",
   1759                  arrow_width: "15.5563",
   1760                  panel_position: {
   1761                    anchor_attachment: "bottomcenter",
   1762                    callout_attachment: "topright",
   1763                    panel_position_string: "bottomcenter topright",
   1764                  },
   1765                  no_open_on_anchor: true,
   1766                },
   1767              ],
   1768              content: {
   1769                logo: {
   1770                  width: "104px",
   1771                  height: "94px",
   1772                  imageURL:
   1773                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/ccb352db-36d2-4084-8bba-d382ab7baf77.svg",
   1774                  alignment: "top",
   1775                  marginBlock: "0 -4px",
   1776                  marginInline: "0 14px",
   1777                },
   1778                title: {
   1779                  string_id: "fxa-adoption-passwords-title",
   1780                },
   1781                width: "300px",
   1782                position: "callout",
   1783                subtitle: {
   1784                  string_id: "fxa-adoption-passwords-subtitle",
   1785                },
   1786                submenu_button: {
   1787                  submenu: [
   1788                    {
   1789                      id: "block_recommendation",
   1790                      type: "action",
   1791                      label: {
   1792                        string_id: "split-dismiss-button-dont-show-option",
   1793                      },
   1794                      action: {
   1795                        data: {
   1796                          id: "FXA_ACCOUNT_ADOPTION_PASSWORDS",
   1797                        },
   1798                        type: "BLOCK_MESSAGE",
   1799                        dismiss: true,
   1800                      },
   1801                    },
   1802                    {
   1803                      id: "show_fewer_recommendations",
   1804                      type: "action",
   1805                      label: {
   1806                        string_id: "split-dismiss-button-show-fewer-option",
   1807                      },
   1808                      action: {
   1809                        data: {
   1810                          actions: [
   1811                            {
   1812                              data: {
   1813                                pref: {
   1814                                  name: "messaging-system-action.fxa-adoption-passwords",
   1815                                  value: true,
   1816                                },
   1817                              },
   1818                              type: "SET_PREF",
   1819                            },
   1820                            {
   1821                              data: {
   1822                                id: "FXA_ACCOUNT_ADOPTION_PASSWORDS",
   1823                              },
   1824                              type: "BLOCK_MESSAGE",
   1825                            },
   1826                          ],
   1827                        },
   1828                        type: "MULTI_ACTION",
   1829                        dismiss: true,
   1830                      },
   1831                    },
   1832                    {
   1833                      type: "separator",
   1834                    },
   1835                    {
   1836                      id: "manage_settings",
   1837                      type: "action",
   1838                      label: {
   1839                        string_id:
   1840                          "split-dismiss-button-manage-settings-option",
   1841                      },
   1842                      action: {
   1843                        data: {
   1844                          args: "preferences#general-cfrfeatures",
   1845                          where: "tab",
   1846                        },
   1847                        type: "OPEN_ABOUT_PAGE",
   1848                        dismiss: true,
   1849                      },
   1850                    },
   1851                  ],
   1852                  attached_to: "additional_button",
   1853                },
   1854                secondary_button: {
   1855                  label: {
   1856                    string_id: "fxa-adoption-passwords-primary-button-label",
   1857                  },
   1858                  style: "primary",
   1859                  action: {
   1860                    data: {
   1861                      entrypoint: "callout-password",
   1862                      extraParams: {
   1863                        utm_medium: "firefox-desktop",
   1864                        utm_source: "callout",
   1865                        utm_content: "password-sync-global-rollout",
   1866                        utm_campaign: "save-password-callout-global-rollout",
   1867                      },
   1868                    },
   1869                    type: "FXA_SIGNIN_FLOW",
   1870                    navigate: true,
   1871                  },
   1872                },
   1873                additional_button: {
   1874                  label: {
   1875                    string_id: "fx-view-discoverability-secondary-button-label",
   1876                  },
   1877                  style: "secondary",
   1878                  action: {
   1879                    dismiss: true,
   1880                  },
   1881                },
   1882                page_event_listeners: [
   1883                  {
   1884                    action: {
   1885                      dismiss: true,
   1886                    },
   1887                    params: {
   1888                      type: "click",
   1889                      selectors: "#fxa-toolbar-menu-button",
   1890                    },
   1891                  },
   1892                ],
   1893              },
   1894            },
   1895          ],
   1896          backdrop: "transparent",
   1897          template: "multistage",
   1898          transitions: false,
   1899        },
   1900        trigger: {
   1901          id: "newSavedLogin",
   1902        },
   1903        priority: 1,
   1904        template: "feature_callout",
   1905        frequency: {
   1906          custom: [
   1907            {
   1908              cap: 1,
   1909              period: 1209600000,
   1910            },
   1911          ],
   1912          lifetime: 2,
   1913        },
   1914        targeting:
   1915          "(currentDate|date - profileAgeCreated|date) / 86400000 >= 7 && !isFxASignedIn && type == 'save' && !isMajorUpgrade && !willShowDefaultPrompt && !activeNotifications && previousSessionEnd && 'browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features' | preferenceValue == true",
   1916      },
   1917      {
   1918        // Nimbus slug: 1-callout-contextual-chatbot-suggestion-treatment-a-tab-switching-copy-rollout:treatment-a-tab-switching-copy
   1919        // Version range: 139+
   1920        // Recipe: https://experimenter.services.mozilla.com/nimbus/1-callout-contextual-chatbot-suggestion-treatment-a-tab-switching-copy-rollout/summary#treatment-a-tab-switching-copy
   1921        id: "SIDEBAR-CHATBOT-SINGLE",
   1922        groups: ["cfr"],
   1923        content: {
   1924          id: "SIDEBAR-CHATBOT-SINGLE",
   1925          screens: [
   1926            {
   1927              id: "SIDEBAR-CHATBOT_1",
   1928              anchors: [
   1929                {
   1930                  selector: ".tab-icon-stack[selected]",
   1931                  panel_position: {
   1932                    offset_x: -3,
   1933                    offset_y: 9,
   1934                    anchor_attachment: "bottomcenter",
   1935                    callout_attachment: "topleft",
   1936                  },
   1937                },
   1938              ],
   1939              content: {
   1940                logo: {
   1941                  height: "200px",
   1942                  imageURL:
   1943                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/e73326e4-3b5a-42e3-a61a-6d78f2fafbff.svg",
   1944                  darkModeImageURL:
   1945                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/a2a2516e-a756-4f8b-9826-6a6359e75096.svg",
   1946                },
   1947                title: {
   1948                  string_id: "genai-chatbot-contextual-title",
   1949                },
   1950                width: "352px",
   1951                padding: 16,
   1952                position: "callout",
   1953                subtitle: {
   1954                  string_id: "genai-chatbot-contextual-subtitle",
   1955                },
   1956                dismiss_button: {
   1957                  size: "small",
   1958                  action: {
   1959                    dismiss: true,
   1960                  },
   1961                  marginBlock: "20px 0",
   1962                  marginInline: "0 20px",
   1963                },
   1964                secondary_button: {
   1965                  label: {
   1966                    string_id: "genai-chatbot-contextual-button",
   1967                  },
   1968                  style: "primary",
   1969                  action: {
   1970                    data: {
   1971                      actions: [
   1972                        {
   1973                          data: {
   1974                            pref: {
   1975                              name: "sidebar.revamp",
   1976                              value: true,
   1977                            },
   1978                          },
   1979                          type: "SET_PREF",
   1980                        },
   1981                        {
   1982                          data: "viewGenaiChatSidebar",
   1983                          type: "OPEN_SIDEBAR",
   1984                        },
   1985                      ],
   1986                    },
   1987                    type: "MULTI_ACTION",
   1988                    dismiss: true,
   1989                  },
   1990                },
   1991              },
   1992            },
   1993          ],
   1994          backdrop: "transparent",
   1995          template: "multistage",
   1996          transitions: false,
   1997          disableHistoryUpdates: true,
   1998        },
   1999        trigger: {
   2000          id: "openURL",
   2001          params: [
   2002            "chat.mistral.ai",
   2003            "chatgpt.com",
   2004            "claude.ai",
   2005            "gemini.google.com",
   2006            "mistral.ai",
   2007          ],
   2008          patterns: ["*://huggingface.co/chat/*"],
   2009        },
   2010        template: "feature_callout",
   2011        frequency: {
   2012          custom: [
   2013            {
   2014              cap: 1,
   2015              period: 604800000,
   2016            },
   2017          ],
   2018          lifetime: 2,
   2019        },
   2020        targeting:
   2021          "'browser.ml.chat.enabled'|preferenceValue && 'browser.ml.chat.provider'|preferenceValue == ''",
   2022      },
   2023      {
   2024        // Nimbus slug: vertical-tabs-feature-callout-experiment-v20-treatment-a-rollout:treatment-a
   2025        // Version range: 138+
   2026        // Recipe: https://experimenter.services.mozilla.com/nimbus/vertical-tabs-feature-callout-experiment-v20-treatment-a-rollout/summary#treatment-a
   2027        id: "VERTICAL_TABS_INTRO_138",
   2028        groups: [],
   2029        content: {
   2030          id: "VERTICAL_TABS_INTRO_138",
   2031          screens: [
   2032            {
   2033              id: "VERTICAL_TABS_INTRO_138",
   2034              anchors: [
   2035                {
   2036                  selector: "#urlbar-container ~ #sidebar-button",
   2037                  panel_position: {
   2038                    anchor_attachment: "rightcenter",
   2039                    callout_attachment: "topright",
   2040                  },
   2041                },
   2042                {
   2043                  selector: "#sidebar-button",
   2044                  panel_position: {
   2045                    anchor_attachment: "rightcenter",
   2046                    callout_attachment: "topleft",
   2047                  },
   2048                },
   2049              ],
   2050              content: {
   2051                title: {
   2052                  string_id: "vertical-tabs-callout-1-title",
   2053                  marginInline: "4px 4px",
   2054                },
   2055                width: "324px",
   2056                padding: 16,
   2057                position: "callout",
   2058                subtitle: {
   2059                  string_id: "vertical-tabs-callout-1-subtitle",
   2060                  marginInline: "4px 4px",
   2061                },
   2062                dismiss_button: {
   2063                  size: "small",
   2064                  action: {
   2065                    dismiss: true,
   2066                  },
   2067                  marginBlock: "14px 0",
   2068                  marginInline: "0 14px",
   2069                },
   2070                primary_button: {
   2071                  label: {
   2072                    string_id: "vertical-tabs-callout-1-cta-button",
   2073                  },
   2074                  action: {
   2075                    data: {
   2076                      actions: [
   2077                        {
   2078                          data: "viewCustomizeSidebar",
   2079                          type: "OPEN_SIDEBAR",
   2080                        },
   2081                        {
   2082                          data: {
   2083                            pref: {
   2084                              name: "messaging-system-action.vertical-callout-sidebar-customize-1",
   2085                            },
   2086                          },
   2087                          type: "SET_PREF",
   2088                        },
   2089                      ],
   2090                    },
   2091                    type: "MULTI_ACTION",
   2092                    dismiss: true,
   2093                  },
   2094                },
   2095                page_event_listeners: [
   2096                  {
   2097                    action: {
   2098                      dismiss: true,
   2099                    },
   2100                    params: {
   2101                      type: "click",
   2102                      selectors: "#sidebar-button",
   2103                    },
   2104                  },
   2105                ],
   2106              },
   2107            },
   2108          ],
   2109          backdrop: "transparent",
   2110          template: "multistage",
   2111          transitions: false,
   2112          disableHistoryUpdates: true,
   2113        },
   2114        trigger: {
   2115          id: "nthTabOpened",
   2116        },
   2117        template: "feature_callout",
   2118        frequency: {
   2119          lifetime: 1,
   2120        },
   2121        targeting:
   2122          "!'sidebar.verticalTabs'|preferenceValue && currentTabsOpen >= 8",
   2123      },
   2124      {
   2125        // Nimbus slug: upgraded-sidebar-138-broad-rollout:rollout-treatment
   2126        // Version range: 138+
   2127        // Recipe: https://experimenter.services.mozilla.com/nimbus/upgraded-sidebar-138-broad-rollout/summary#rollout-treatment
   2128        id: "SIDEBAR_INTRO_138",
   2129        groups: ["cfr"],
   2130        content: {
   2131          id: "SIDEBAR_INTRO_138",
   2132          screens: [
   2133            {
   2134              id: "SIDEBAR_INTRO_138_2",
   2135              anchors: [
   2136                {
   2137                  selector: "#urlbar-container ~ #sidebar-button",
   2138                  panel_position: {
   2139                    anchor_attachment: "rightcenter",
   2140                    callout_attachment: "topright",
   2141                  },
   2142                },
   2143                {
   2144                  selector: "#sidebar-button",
   2145                  panel_position: {
   2146                    anchor_attachment: "rightcenter",
   2147                    callout_attachment: "topleft",
   2148                  },
   2149                },
   2150              ],
   2151              content: {
   2152                title: {
   2153                  string_id: "sidebar-customization-callout-2-title",
   2154                  marginInline: "4px 4px",
   2155                },
   2156                width: "324px",
   2157                padding: 16,
   2158                position: "callout",
   2159                subtitle: {
   2160                  string_id: "sidebar-customization-callout-2-subtitle",
   2161                  marginInline: "4px 4px",
   2162                },
   2163                dismiss_button: {
   2164                  size: "small",
   2165                  action: {
   2166                    dismiss: true,
   2167                  },
   2168                  marginBlock: "14px 0",
   2169                  marginInline: "0 14px",
   2170                },
   2171                primary_button: {
   2172                  label: {
   2173                    string_id: "sidebar-customization-callout-callout-button",
   2174                  },
   2175                  action: {
   2176                    data: {
   2177                      actions: [
   2178                        {
   2179                          data: "viewCustomizeSidebar",
   2180                          type: "OPEN_SIDEBAR",
   2181                        },
   2182                        {
   2183                          data: {
   2184                            pref: {
   2185                              name: "messaging-system-action.sidebar-customize-138",
   2186                            },
   2187                          },
   2188                          type: "SET_PREF",
   2189                        },
   2190                      ],
   2191                    },
   2192                    type: "MULTI_ACTION",
   2193                    dismiss: true,
   2194                  },
   2195                },
   2196                page_event_listeners: [
   2197                  {
   2198                    action: {
   2199                      dismiss: true,
   2200                    },
   2201                    params: {
   2202                      type: "click",
   2203                      selectors: "#sidebar-button",
   2204                    },
   2205                  },
   2206                ],
   2207              },
   2208            },
   2209          ],
   2210          backdrop: "transparent",
   2211          template: "multistage",
   2212          transitions: false,
   2213          disableHistoryUpdates: true,
   2214        },
   2215        trigger: {
   2216          id: "openURL",
   2217          patterns: ["*://*/*"],
   2218        },
   2219        template: "feature_callout",
   2220        frequency: {
   2221          lifetime: 1,
   2222        },
   2223        targeting: "true",
   2224      },
   2225      {
   2226        // Nimbus slug: unified-search-button-callout-rollout-v1:control (message 1 of 4)
   2227        // Version range: 138+
   2228        // Recipe: https://experimenter.services.mozilla.com/nimbus/unified-search-button-callout-rollout-v1/summary#control
   2229        id: "UNIFIED_SEARCH_CALLOUT_WITH_SCREENSHOT",
   2230        groups: ["cfr"],
   2231        content: {
   2232          id: "UNIFIED_SEARCH_CALLOUT_WITH_SCREENSHOT",
   2233          screens: [
   2234            {
   2235              id: "UNIFIED_SEARCH_CALLOUT_WITH_SCREENSHOT_USB",
   2236              anchors: [
   2237                {
   2238                  selector: ".urlbar-input-container",
   2239                  arrow_width: "26.9",
   2240                  panel_position: {
   2241                    offset_x: 16,
   2242                    anchor_attachment: "bottomleft",
   2243                    callout_attachment: "topleft",
   2244                  },
   2245                },
   2246              ],
   2247              content: {
   2248                logo: {
   2249                  height: "168px",
   2250                  imageURL:
   2251                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/bec3b8d9-a658-4877-b96e-70f7bc6e3e42.svg",
   2252                },
   2253                title: {
   2254                  string_id: "unified-search-callout-title",
   2255                  paddingInline: "0 20px",
   2256                },
   2257                width: "333px",
   2258                padding: 16,
   2259                position: "callout",
   2260                subtitle: {
   2261                  string_id: "unified-search-callout-subtitle",
   2262                  marginBlock: "-12px 0",
   2263                  paddingInline: "42px 20px",
   2264                },
   2265                title_logo: {
   2266                  width: "32px",
   2267                  height: "34px",
   2268                  imageURL:
   2269                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/2ff87710-8c83-41cd-a2b4-99d0c7ec67f1.svg",
   2270                  alignment: "top",
   2271                  marginBlock: "4px 0",
   2272                  marginInline: "8px 18px",
   2273                },
   2274                primary_button: {
   2275                  label: {
   2276                    string_id: "unified-search-callout-primary-label",
   2277                  },
   2278                  action: {
   2279                    data: {
   2280                      pref: {
   2281                        name: "messaging-system-action.unifiedsearch.feature-tour-1",
   2282                        value:
   2283                          '{"screen":"UNIFIED_SEARCH_CALLOUT_WITH_SCREENSHOT_ENGINE","complete": false}',
   2284                      },
   2285                    },
   2286                    type: "SET_PREF",
   2287                  },
   2288                },
   2289                secondary_button: {
   2290                  label: {
   2291                    string_id: "unified-search-callout-secondary-label",
   2292                  },
   2293                  action: {
   2294                    dismiss: true,
   2295                  },
   2296                },
   2297              },
   2298            },
   2299            {
   2300              id: "UNIFIED_SEARCH_CALLOUT_WITH_SCREENSHOT_ENGINE",
   2301              anchors: [
   2302                {
   2303                  selector: ".urlbar-input-container",
   2304                  arrow_width: "26.9",
   2305                  panel_position: {
   2306                    offset_x: 16,
   2307                    anchor_attachment: "bottomleft",
   2308                    callout_attachment: "topleft",
   2309                  },
   2310                },
   2311              ],
   2312              content: {
   2313                logo: {
   2314                  height: "168px",
   2315                  imageURL:
   2316                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/97b96045-1e85-439a-b8ba-e32fc6ad8886.svg",
   2317                },
   2318                title: {
   2319                  string_id: "unified-search-engines-callout-title",
   2320                  paddingInline: "0 20px",
   2321                },
   2322                width: "332px",
   2323                padding: 16,
   2324                position: "callout",
   2325                subtitle: {
   2326                  string_id: "unified-search-engines-callout-subtitle",
   2327                  marginBlock: "-12px 0",
   2328                  paddingInline: "42px 30px",
   2329                },
   2330                title_logo: {
   2331                  width: "32px",
   2332                  height: "34px",
   2333                  imageURL:
   2334                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/2ff87710-8c83-41cd-a2b4-99d0c7ec67f1.svg",
   2335                  alignment: "top",
   2336                  marginBlock: "4px 0",
   2337                  marginInline: "8px 18px",
   2338                },
   2339                primary_button: {
   2340                  label: {
   2341                    string_id: "unified-search-engines-callout-primary-label",
   2342                  },
   2343                  action: {
   2344                    dismiss: true,
   2345                  },
   2346                },
   2347              },
   2348            },
   2349          ],
   2350          backdrop: "transparent",
   2351          template: "multistage",
   2352          transitions: true,
   2353          tour_pref_name:
   2354            "messaging-system-action.unifiedsearch.feature-tour-1",
   2355          tour_pref_default_value:
   2356            '{"screen":"UNIFIED_SEARCH_CALLOUT_WITH_SCREENSHOT_USB","complete":false}',
   2357        },
   2358        trigger: {
   2359          id: "defaultBrowserCheck",
   2360        },
   2361        template: "feature_callout",
   2362        frequency: {
   2363          lifetime: 1,
   2364        },
   2365        targeting:
   2366          "('browser.urlbar.scotchBonnet.enableOverride' | preferenceValue) && localeLanguageCode == 'en' && source == 'newtab' && !willShowDefaultPrompt && ((currentDate|date - profileAgeCreated|date) / 86400000 > 28)",
   2367      },
   2368      {
   2369        // Nimbus slug: unified-search-button-callout-rollout-v1:control (message 2 of 4)
   2370        // Version range: 138+
   2371        // Recipe: https://experimenter.services.mozilla.com/nimbus/unified-search-button-callout-rollout-v1/summary#control
   2372        id: "UNIFIED_SEARCH_CALLOUT_WITHOUT_SCREENSHOT",
   2373        groups: ["cfr"],
   2374        content: {
   2375          id: "UNIFIED_SEARCH_CALLOUT_WITHOUT_SCREENSHOT",
   2376          screens: [
   2377            {
   2378              id: "UNIFIED_SEARCH_CALLOUT_WITHOUT_SCREENSHOT_USB",
   2379              anchors: [
   2380                {
   2381                  selector: ".urlbar-input-container",
   2382                  arrow_width: "26.9",
   2383                  panel_position: {
   2384                    offset_x: 16,
   2385                    anchor_attachment: "bottomleft",
   2386                    callout_attachment: "topleft",
   2387                  },
   2388                },
   2389              ],
   2390              content: {
   2391                logo: null,
   2392                title: {
   2393                  string_id: "unified-search-callout-title",
   2394                  paddingInline: "0 20px",
   2395                },
   2396                width: "333px",
   2397                padding: 16,
   2398                position: "callout",
   2399                subtitle: {
   2400                  string_id: "unified-search-callout-subtitle",
   2401                  marginBlock: "-12px 0",
   2402                  paddingInline: "42px 20px",
   2403                },
   2404                title_logo: {
   2405                  width: "32px",
   2406                  height: "34px",
   2407                  imageURL:
   2408                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/2ff87710-8c83-41cd-a2b4-99d0c7ec67f1.svg",
   2409                  alignment: "top",
   2410                  marginBlock: "4px 0",
   2411                  marginInline: "8px 18px",
   2412                },
   2413                primary_button: {
   2414                  label: {
   2415                    string_id: "unified-search-callout-primary-label",
   2416                  },
   2417                  action: {
   2418                    data: {
   2419                      pref: {
   2420                        name: "messaging-system-action.unifiedsearch.feature-tour-2",
   2421                        value:
   2422                          '{"screen":"UNIFIED_SEARCH_CALLOUT_WITHOUT_SCREENSHOT_ENGINE","complete": false}',
   2423                      },
   2424                    },
   2425                    type: "SET_PREF",
   2426                  },
   2427                },
   2428                secondary_button: {
   2429                  label: {
   2430                    string_id: "unified-search-callout-secondary-label",
   2431                  },
   2432                  action: {
   2433                    dismiss: true,
   2434                  },
   2435                },
   2436              },
   2437            },
   2438            {
   2439              id: "UNIFIED_SEARCH_CALLOUT_WITHOUT_SCREENSHOT_ENGINE",
   2440              anchors: [
   2441                {
   2442                  selector: ".urlbar-input-container",
   2443                  arrow_width: "26.9",
   2444                  panel_position: {
   2445                    offset_x: 16,
   2446                    anchor_attachment: "bottomleft",
   2447                    callout_attachment: "topleft",
   2448                  },
   2449                },
   2450              ],
   2451              content: {
   2452                logo: null,
   2453                title: {
   2454                  string_id: "unified-search-engines-callout-title",
   2455                  paddingInline: "0 20px",
   2456                },
   2457                width: "332px",
   2458                padding: 16,
   2459                position: "callout",
   2460                subtitle: {
   2461                  string_id: "unified-search-engines-callout-subtitle",
   2462                  marginBlock: "-12px -8px",
   2463                  paddingInline: "42px 20px",
   2464                },
   2465                title_logo: {
   2466                  width: "32px",
   2467                  height: "34px",
   2468                  imageURL:
   2469                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/2ff87710-8c83-41cd-a2b4-99d0c7ec67f1.svg",
   2470                  alignment: "top",
   2471                  marginBlock: "4px 0",
   2472                  marginInline: "8px 18px",
   2473                },
   2474                primary_button: {
   2475                  label: {
   2476                    string_id: "unified-search-engines-callout-primary-label",
   2477                  },
   2478                  action: {
   2479                    dismiss: true,
   2480                  },
   2481                },
   2482              },
   2483            },
   2484          ],
   2485          backdrop: "transparent",
   2486          template: "multistage",
   2487          transitions: true,
   2488          tour_pref_name:
   2489            "messaging-system-action.unifiedsearch.feature-tour-2",
   2490          tour_pref_default_value:
   2491            '{"screen":"UNIFIED_SEARCH_CALLOUT_WITHOUT_SCREENSHOT_USB","complete": false}',
   2492        },
   2493        trigger: {
   2494          id: "defaultBrowserCheck",
   2495        },
   2496        template: "feature_callout",
   2497        frequency: {
   2498          lifetime: 1,
   2499        },
   2500        targeting:
   2501          "('browser.urlbar.scotchBonnet.enableOverride' | preferenceValue) && localeLanguageCode != 'en' && source == 'newtab' && !willShowDefaultPrompt && ((currentDate|date - profileAgeCreated|date) / 86400000 > 28)",
   2502      },
   2503      {
   2504        // Nimbus slug: unified-search-button-callout-rollout-v1:control (message 3 of 4)
   2505        // Version range: 138+
   2506        // Recipe: https://experimenter.services.mozilla.com/nimbus/unified-search-button-callout-rollout-v1/summary#control
   2507        id: "ACTIONS_CALLOUT_WITH_SCREENSHOT",
   2508        groups: ["cfr"],
   2509        content: {
   2510          id: "ACTIONS_CALLOUT",
   2511          screens: [
   2512            {
   2513              id: "ACTIONS_CALLOUT_WITH_SCREENSHOT",
   2514              anchors: [
   2515                {
   2516                  selector: ".urlbar-input-container",
   2517                  arrow_width: "26.9",
   2518                  panel_position: {
   2519                    offset_x: 16,
   2520                    anchor_attachment: "bottomleft",
   2521                    callout_attachment: "topleft",
   2522                  },
   2523                },
   2524              ],
   2525              content: {
   2526                logo: {
   2527                  height: "168px",
   2528                  imageURL:
   2529                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/bde7e406-f576-4154-ba9c-b5f472b6f4c8.svg",
   2530                },
   2531                title: {
   2532                  string_id: "actions-callout-title",
   2533                  paddingInline: "0 20px",
   2534                },
   2535                width: "333px",
   2536                padding: 16,
   2537                position: "callout",
   2538                subtitle: {
   2539                  string_id: "actions-callout-subtitle",
   2540                  marginBlock: "0 10px",
   2541                  paddingInline: "42px 20px",
   2542                },
   2543                title_logo: {
   2544                  width: "32px",
   2545                  height: "34px",
   2546                  imageURL:
   2547                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/2ff87710-8c83-41cd-a2b4-99d0c7ec67f1.svg",
   2548                  alignment: "top",
   2549                  marginBlock: "4px 0",
   2550                  marginInline: "8px 18px",
   2551                },
   2552                dismiss_button: {
   2553                  size: "small",
   2554                  action: {
   2555                    dismiss: true,
   2556                  },
   2557                  marginBlock: "20px 0",
   2558                  marginInline: "0 20px",
   2559                },
   2560              },
   2561            },
   2562          ],
   2563          backdrop: "transparent",
   2564          template: "multistage",
   2565          transitions: false,
   2566        },
   2567        trigger: {
   2568          id: "defaultBrowserCheck",
   2569        },
   2570        template: "feature_callout",
   2571        frequency: {
   2572          lifetime: 1,
   2573        },
   2574        targeting:
   2575          "('browser.urlbar.scotchBonnet.enableOverride' | preferenceValue) && localeLanguageCode == 'en' && source == 'newtab' && !willShowDefaultPrompt && ((currentDate|date - profileAgeCreated|date) / 86400000 > 28) && (messageImpressions.UNIFIED_SEARCH_CALLOUT_WITH_SCREENSHOT[messageImpressions.UNIFIED_SEARCH_CALLOUT_WITH_SCREENSHOT | length - 1] < currentDate|date - 172800000)",
   2576      },
   2577      {
   2578        // Nimbus slug: unified-search-button-callout-rollout-v1:control (message 4 of 4)
   2579        // Version range: 138+
   2580        // Recipe: https://experimenter.services.mozilla.com/nimbus/unified-search-button-callout-rollout-v1/summary#control
   2581        id: "ACTIONS_CALLOUT_WITHOUT_SCREENSHOT",
   2582        groups: ["cfr"],
   2583        content: {
   2584          id: "ACTIONS_CALLOUT",
   2585          screens: [
   2586            {
   2587              id: "ACTIONS_CALLOUT_WITHOUT_SCREENSHOT",
   2588              anchors: [
   2589                {
   2590                  selector: ".urlbar-input-container",
   2591                  arrow_width: "26.9",
   2592                  panel_position: {
   2593                    offset_x: 16,
   2594                    anchor_attachment: "bottomleft",
   2595                    callout_attachment: "topleft",
   2596                  },
   2597                },
   2598              ],
   2599              content: {
   2600                logo: null,
   2601                title: {
   2602                  string_id: "actions-callout-title",
   2603                  paddingInline: "0 40px",
   2604                },
   2605                width: "333px",
   2606                padding: 16,
   2607                position: "callout",
   2608                subtitle: {
   2609                  string_id: "actions-callout-subtitle",
   2610                  marginBlock: "-4px 4px",
   2611                  paddingInline: "42px 20px",
   2612                },
   2613                title_logo: {
   2614                  width: "32px",
   2615                  height: "34px",
   2616                  imageURL:
   2617                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/2ff87710-8c83-41cd-a2b4-99d0c7ec67f1.svg",
   2618                  alignment: "top",
   2619                  marginBlock: "4px 0",
   2620                  marginInline: "8px 18px",
   2621                },
   2622                dismiss_button: {
   2623                  size: "small",
   2624                  action: {
   2625                    dismiss: true,
   2626                  },
   2627                  marginBlock: "20px 0",
   2628                  marginInline: "0 20px",
   2629                },
   2630              },
   2631            },
   2632          ],
   2633          backdrop: "transparent",
   2634          template: "multistage",
   2635          transitions: false,
   2636        },
   2637        trigger: {
   2638          id: "defaultBrowserCheck",
   2639        },
   2640        template: "feature_callout",
   2641        frequency: {
   2642          lifetime: 1,
   2643        },
   2644        targeting:
   2645          "('browser.urlbar.scotchBonnet.enableOverride' | preferenceValue) && localeLanguageCode != 'en' && source == 'newtab' && !willShowDefaultPrompt && ((currentDate|date - profileAgeCreated|date) / 86400000 > 28) && (messageImpressions.UNIFIED_SEARCH_CALLOUT_WITHOUT_SCREENSHOT[messageImpressions.UNIFIED_SEARCH_CALLOUT_WITHOUT_SCREENSHOT | length - 1] < currentDate|date - 172800000)",
   2646      },
   2647      {
   2648        // Nimbus slug: tab-groups-promotional-onboarding:onboarding (message 1 of 2)
   2649        // Version range: 138+
   2650        // Recipe: https://experimenter.services.mozilla.com/nimbus/tab-groups-promotional-onboarding/summary#onboarding
   2651        id: "TAB_GROUP_ONBOARDING_CALLOUT",
   2652        groups: ["cfr"],
   2653        content: {
   2654          id: "TAB_GROUP_ONBOARDING_CALLOUT",
   2655          screens: [
   2656            {
   2657              id: "TAB_GROUP_ONBOARDING_CALLOUT_HORIZONTAL",
   2658              anchors: [
   2659                {
   2660                  selector:
   2661                    "#tabbrowser-tabs:not([overflow]) .tab-content[selected]:not([pinned])",
   2662                  panel_position: {
   2663                    anchor_attachment: "bottomcenter",
   2664                    callout_attachment: "topright",
   2665                  },
   2666                },
   2667                {
   2668                  selector: "#tabbrowser-tabs",
   2669                  panel_position: {
   2670                    anchor_attachment: "bottomcenter",
   2671                    callout_attachment: "topright",
   2672                  },
   2673                },
   2674              ],
   2675              content: {
   2676                logo: {
   2677                  width: "300px",
   2678                  height: "172px",
   2679                  imageURL:
   2680                    "chrome://browser/content/asrouter/assets/tabgroups/hort-animated-light.svg",
   2681                  darkModeImageURL:
   2682                    "chrome://browser/content/asrouter/assets/tabgroups/hort-animated-dark.svg",
   2683                  reducedMotionImageURL:
   2684                    "chrome://browser/content/asrouter/assets/tabgroups/hort-static-light.svg",
   2685                  darkModeReducedMotionImageURL:
   2686                    "chrome://browser/content/asrouter/assets/tabgroups/hort-static-dark.svg",
   2687                },
   2688                title: {
   2689                  string_id: "tab-groups-onboarding-feature-callout-title",
   2690                },
   2691                width: "333px",
   2692                padding: 16,
   2693                position: "callout",
   2694                subtitle: {
   2695                  string_id: "tab-groups-onboarding-feature-callout-subtitle",
   2696                },
   2697                dismiss_button: {
   2698                  size: "small",
   2699                  action: {
   2700                    dismiss: true,
   2701                  },
   2702                  background: true,
   2703                  marginBlock: "20px 0",
   2704                  marginInline: "0 20px",
   2705                },
   2706              },
   2707            },
   2708          ],
   2709          backdrop: "transparent",
   2710          template: "multistage",
   2711          transitions: false,
   2712        },
   2713        trigger: {
   2714          id: "nthTabClosed",
   2715        },
   2716        template: "feature_callout",
   2717        frequency: {
   2718          lifetime: 1,
   2719        },
   2720        targeting:
   2721          "tabsClosedCount >= 1 && currentTabsOpen >= 8 && ('browser.tabs.groups.enabled' | preferenceValue) && (!'sidebar.verticalTabs' | preferenceValue) && currentTabGroups == 0 && savedTabGroups == 0 && !activeNotifications",
   2722        skip_in_tests:
   2723          "not tested in automation and might pop up unexpectedly during review checker tests",
   2724      },
   2725      {
   2726        // Nimbus slug: tab-groups-promotional-onboarding:onboarding (message 2 of 2)
   2727        // Version range: 138+
   2728        // Recipe: https://experimenter.services.mozilla.com/nimbus/tab-groups-promotional-onboarding/summary#onboarding
   2729        id: "TAB_GROUP_ONBOARDING_CALLOUT",
   2730        groups: ["cfr"],
   2731        content: {
   2732          id: "TAB_GROUP_ONBOARDING_CALLOUT",
   2733          screens: [
   2734            {
   2735              id: "TAB_GROUP_ONBOARDING_CALLOUT_VERTICAL",
   2736              anchors: [
   2737                {
   2738                  selector:
   2739                    "#tabbrowser-tabs:not([overflow]) .tab-content[selected]:not([pinned])",
   2740                  panel_position: {
   2741                    anchor_attachment: "rightcenter",
   2742                    callout_attachment: "topleft",
   2743                  },
   2744                },
   2745                {
   2746                  selector: "#tabbrowser-tabs",
   2747                  panel_position: {
   2748                    anchor_attachment: "rightcenter",
   2749                    callout_attachment: "topleft",
   2750                  },
   2751                },
   2752              ],
   2753              content: {
   2754                logo: {
   2755                  width: "300px",
   2756                  height: "172px",
   2757                  imageURL:
   2758                    "chrome://browser/content/asrouter/assets/tabgroups/vert-animated-light.svg",
   2759                  darkModeImageURL:
   2760                    "chrome://browser/content/asrouter/assets/tabgroups/vert-animated-dark.svg",
   2761                  reducedMotionImageURL:
   2762                    "chrome://browser/content/asrouter/assets/tabgroups/vert-static-light.svg",
   2763                  darkModeReducedMotionImageURL:
   2764                    "chrome://browser/content/asrouter/assets/tabgroups/vert-static-dark.svg",
   2765                },
   2766                title: {
   2767                  string_id: "tab-groups-onboarding-feature-callout-title",
   2768                },
   2769                width: "333px",
   2770                padding: 16,
   2771                position: "callout",
   2772                subtitle: {
   2773                  string_id: "tab-groups-onboarding-feature-callout-subtitle",
   2774                },
   2775                dismiss_button: {
   2776                  size: "small",
   2777                  action: {
   2778                    dismiss: true,
   2779                  },
   2780                  background: true,
   2781                  marginBlock: "20px 0",
   2782                  marginInline: "0 20px",
   2783                },
   2784              },
   2785            },
   2786          ],
   2787          backdrop: "transparent",
   2788          template: "multistage",
   2789          transitions: false,
   2790        },
   2791        trigger: {
   2792          id: "nthTabClosed",
   2793        },
   2794        template: "feature_callout",
   2795        frequency: {
   2796          lifetime: 1,
   2797        },
   2798        targeting:
   2799          "tabsClosedCount >= 1 && currentTabsOpen >= 8 && ('browser.tabs.groups.enabled' | preferenceValue) && ('sidebar.revamp' | preferenceValue) && ('sidebar.verticalTabs' | preferenceValue) && currentTabGroups == 0 && savedTabGroups == 0 && !activeNotifications",
   2800        skip_in_tests:
   2801          "not tested in automation and might pop up unexpectedly during review checker tests",
   2802      },
   2803      {
   2804        // Nimbus slug: login-status-advisory-callout-rollout:treatment-a
   2805        // Version range: 135+
   2806        // Recipe: https://experimenter.services.mozilla.com/nimbus/login-status-advisory-callout-rollout/summary#treatment-a
   2807        id: "LOGIN_STATUS_ADVISORY",
   2808        groups: ["cfr"],
   2809        content: {
   2810          id: "LOGIN_STATUS_ADVISORY",
   2811          screens: [
   2812            {
   2813              id: "LOGIN_STATUS_ADVISORY_A",
   2814              anchors: [
   2815                {
   2816                  selector: "#fxa-toolbar-menu-button",
   2817                  arrow_width: "19.79899",
   2818                  panel_position: {
   2819                    anchor_attachment: "bottomcenter",
   2820                    callout_attachment: "topright",
   2821                    panel_position_string: "bottomcenter topright",
   2822                  },
   2823                  no_open_on_anchor: true,
   2824                },
   2825              ],
   2826              content: {
   2827                title: {
   2828                  raw: {
   2829                    $l10n: {
   2830                      id: "login-status-advisory-title-a",
   2831                      text: "You’re signed out. Click the Account icon to sign in.",
   2832                      comment:
   2833                        "The 'account icon' is the toolbar button with a 'profile' icon of a human head/shoulders. It's for dealing with your Mozilla account. When hovering the icon, the tooltip says 'Account'",
   2834                    },
   2835                  },
   2836                  fontSize: "0.6875em",
   2837                  fontWeight: "normal",
   2838                  lineHeight: "1",
   2839                  marginBlock: "10px",
   2840                  marginInline: "16px",
   2841                  letterSpacing: "0",
   2842                },
   2843                width: "fit-content",
   2844                padding: "0",
   2845                autohide: true,
   2846                position: "callout",
   2847                page_event_listeners: [
   2848                  {
   2849                    action: {
   2850                      dismiss: true,
   2851                    },
   2852                    params: {
   2853                      type: "tourend",
   2854                      options: {
   2855                        once: true,
   2856                      },
   2857                    },
   2858                  },
   2859                ],
   2860              },
   2861            },
   2862          ],
   2863          backdrop: "transparent",
   2864          template: "multistage",
   2865          transitions: false,
   2866          disableHistoryUpdates: true,
   2867        },
   2868        trigger: {
   2869          id: "defaultBrowserCheck",
   2870        },
   2871        template: "feature_callout",
   2872        frequency: {
   2873          custom: [
   2874            {
   2875              cap: 1,
   2876              period: 604800000,
   2877            },
   2878          ],
   2879          lifetime: 3,
   2880        },
   2881        targeting:
   2882          "source == 'startup' && previousSessionEnd && !willShowDefaultPrompt && !activeNotifications && !isFxASignedIn && (currentDate|date - profileAgeCreated|date) / 86400000 >= 7",
   2883      },
   2884      {
   2885        // Nimbus slug: mozilla-vpn-in-private-browsing-treatment-d-rollout-en-only:treatment-d
   2886        // Version range: 128+
   2887        // Recipe: https://experimenter.services.mozilla.com/nimbus/mozilla-vpn-in-private-browsing-treatment-d-rollout-en-only/summary#treatment-d
   2888        id: "mozilla-vpn-in-private-browsing:treatment-d",
   2889        groups: [],
   2890        content: {
   2891          infoBody:
   2892            "fluent:about-private-browsing-info-description-private-window",
   2893          infoIcon: "",
   2894          infoTitle: "",
   2895          promoTitle:
   2896            "VPNs aren’t all the same. Some simply aren’t secure. Some log your activity. But Mozilla VPN is different — it’s open source and backed by a company with a track record of putting people and their privacy first.",
   2897          infoEnabled: true,
   2898          promoButton: {
   2899            action: {
   2900              data: {
   2901                args: "https://www.mozilla.org/products/vpn/?utm_medium=product&utm_campaign=evergreen&utm_source=firefox-desktop&utm_content=why-mozilla-vpn&entrypoint_experiment=mozilla-vpn-in-private-browsing&entrypoint_variation=treatment-d",
   2902              },
   2903              type: "OPEN_URL",
   2904            },
   2905          },
   2906          promoHeader: "Why Mozilla VPN?",
   2907          infoLinkText: "fluent:about-private-browsing-learn-more-link",
   2908          promoEnabled: true,
   2909          promoLinkText: "Check out Mozilla VPN",
   2910          promoLinkType: "button",
   2911          promoImageLarge: "chrome://browser/content/assets/moz-vpn.svg",
   2912          infoTitleEnabled: false,
   2913          promoSectionStyle: "below-search",
   2914          promoTitleEnabled: true,
   2915        },
   2916        priority: 5,
   2917        template: "pb_newtab",
   2918        frequency: {
   2919          custom: [
   2920            {
   2921              cap: 3,
   2922              period: 604800000,
   2923            },
   2924          ],
   2925          lifetime: 12,
   2926        },
   2927        targeting:
   2928          "!hasActiveEnterprisePolicies && (('e6eb0d1e856335fc' in attachedFxAOAuthClients|mapToProperty('id')) ? (attachedFxAOAuthClients[.id == 'e6eb0d1e856335fc'].lastAccessedDaysAgo > 29) : true)",
   2929      },
   2930      {
   2931        // Nimbus slug: pdf-annotations-highlight-treatment-b-rollout:treatment-b (message 1 of 2)
   2932        // Version range: 131+
   2933        // Recipe: https://experimenter.services.mozilla.com/nimbus/pdf-annotations-highlight-treatment-b-rollout/summary#treatment-b
   2934        id: "PDF_ANNOTATIONS_HIGHLIGHT",
   2935        content: {
   2936          id: "PDF_ANNOTATIONS_HIGHLIGHT",
   2937          screens: [
   2938            {
   2939              id: "PDF_ANNOTATIONS_HIGHLIGHT_SET_DEFAULT_ROLLOUT_SCREEN_1",
   2940              anchors: [
   2941                {
   2942                  selector: "hbox#browser",
   2943                  hide_arrow: true,
   2944                  absolute_position: {
   2945                    top: "45px",
   2946                    right: "13px",
   2947                  },
   2948                },
   2949              ],
   2950              content: {
   2951                logo: {
   2952                  height: "190px",
   2953                  imageURL:
   2954                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/ce5a14ef-ed44-4c16-9aaf-eb99f58bcb4f.svg",
   2955                },
   2956                title: {
   2957                  raw: {
   2958                    $l10n: {
   2959                      id: "screen-1-header",
   2960                      text: "Now you can highlight your PDFs!",
   2961                      comment: "",
   2962                    },
   2963                  },
   2964                },
   2965                width: "333.3333px",
   2966                padding: 16,
   2967                position: "callout",
   2968                subtitle: {
   2969                  raw: {
   2970                    $l10n: {
   2971                      id: "screen-1-variant-2-subtitle",
   2972                      text: "With our new highlighter tool, you can read and edit PDFs in one place.",
   2973                      comment:
   2974                        "This string appears below an image of a document with important parts highlighted.",
   2975                    },
   2976                  },
   2977                  marginBlock: "-8px 0",
   2978                  marginInline: "22px",
   2979                },
   2980                title_logo: {
   2981                  imageURL:
   2982                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/5c4047e1-77cc-4094-8693-6474562afc1b.svg",
   2983                  alignment: "top",
   2984                },
   2985                submenu_button: {
   2986                  style: "secondary",
   2987                  submenu: [
   2988                    {
   2989                      id: "item1",
   2990                      type: "action",
   2991                      label: {
   2992                        raw: {
   2993                          $l10n: {
   2994                            id: "feature-tour-submenu-item-1",
   2995                            text: "Don’t show this recommendation again",
   2996                            comment: "",
   2997                          },
   2998                        },
   2999                      },
   3000                      action: {
   3001                        data: {
   3002                          id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3003                        },
   3004                        type: "BLOCK_MESSAGE",
   3005                        dismiss: true,
   3006                      },
   3007                    },
   3008                    {
   3009                      id: "item2",
   3010                      type: "action",
   3011                      label: {
   3012                        raw: {
   3013                          $l10n: {
   3014                            id: "feature-tour-submenu-item-2",
   3015                            text: "Show fewer recommendations",
   3016                            comment: "",
   3017                          },
   3018                        },
   3019                      },
   3020                      action: {
   3021                        data: {
   3022                          actions: [
   3023                            {
   3024                              data: {
   3025                                pref: {
   3026                                  name: "messaging-system-action.show-fewer-pdf-recommendations",
   3027                                  value: true,
   3028                                },
   3029                              },
   3030                              type: "SET_PREF",
   3031                            },
   3032                            {
   3033                              data: {
   3034                                id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3035                              },
   3036                              type: "BLOCK_MESSAGE",
   3037                            },
   3038                          ],
   3039                        },
   3040                        type: "MULTI_ACTION",
   3041                        dismiss: true,
   3042                      },
   3043                    },
   3044                    {
   3045                      type: "separator",
   3046                    },
   3047                    {
   3048                      id: "item3",
   3049                      type: "action",
   3050                      label: {
   3051                        raw: {
   3052                          $l10n: {
   3053                            id: "feature-tour-submenu-item-3",
   3054                            text: "Manage settings",
   3055                            comment: "",
   3056                          },
   3057                        },
   3058                      },
   3059                      action: {
   3060                        data: {
   3061                          args: "preferences#general-cfrfeatures",
   3062                          where: "tab",
   3063                        },
   3064                        type: "OPEN_ABOUT_PAGE",
   3065                        dismiss: true,
   3066                      },
   3067                    },
   3068                  ],
   3069                  attached_to: "additional_button",
   3070                },
   3071                secondary_button: {
   3072                  label: {
   3073                    raw: {
   3074                      $l10n: {
   3075                        id: "feature-tour-next-button",
   3076                        text: "Next",
   3077                        comment: "",
   3078                      },
   3079                    },
   3080                  },
   3081                  style: "primary",
   3082                  action: {
   3083                    data: {
   3084                      pref: {
   3085                        name: "messaging-system-action.pdfjsannotation.feature-tour-2",
   3086                        value:
   3087                          '{"screen":"PDF_ANNOTATIONS_HIGHLIGHT_SET_DEFAULT_ROLLOUT_SCREEN_2","complete":false}',
   3088                      },
   3089                    },
   3090                    type: "SET_PREF",
   3091                  },
   3092                },
   3093                additional_button: {
   3094                  label: {
   3095                    raw: {
   3096                      $l10n: {
   3097                        id: "feature-tour-dismiss-button",
   3098                        text: "Dismiss",
   3099                        comment: "",
   3100                      },
   3101                    },
   3102                  },
   3103                  style: "secondary",
   3104                  action: {
   3105                    data: {
   3106                      actions: [
   3107                        {
   3108                          data: {
   3109                            id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3110                          },
   3111                          type: "BLOCK_MESSAGE",
   3112                        },
   3113                        {
   3114                          data: {
   3115                            pref: {
   3116                              name: "messaging-system-action.pdfjsannotation.feature-tour-2",
   3117                            },
   3118                          },
   3119                          type: "SET_PREF",
   3120                        },
   3121                      ],
   3122                    },
   3123                    type: "MULTI_ACTION",
   3124                    dismiss: true,
   3125                  },
   3126                },
   3127              },
   3128            },
   3129            {
   3130              id: "PDF_ANNOTATIONS_HIGHLIGHT_SET_DEFAULT_ROLLOUT_SCREEN_2",
   3131              anchors: [
   3132                {
   3133                  selector: "hbox#browser",
   3134                  hide_arrow: true,
   3135                  absolute_position: {
   3136                    top: "45px",
   3137                    right: "13px",
   3138                  },
   3139                },
   3140              ],
   3141              content: {
   3142                title: {
   3143                  raw: {
   3144                    $l10n: {
   3145                      id: "screen-2-header",
   3146                      text: "Make Firefox your default PDF editor?",
   3147                      comment: "",
   3148                    },
   3149                  },
   3150                },
   3151                width: "max(340px, 43ex)",
   3152                padding: 16,
   3153                position: "callout",
   3154                subtitle: {
   3155                  raw: {
   3156                    $l10n: {
   3157                      id: "screen-2-subtitle",
   3158                      text: "You’ll have access to our tools every time you open a PDF.",
   3159                      comment: "",
   3160                    },
   3161                  },
   3162                  marginBlock: "-8px 0",
   3163                  marginInline: "28px 0",
   3164                },
   3165                title_logo: {
   3166                  width: "24px",
   3167                  height: "24px",
   3168                  imageURL: "chrome://branding/content/icon32.png",
   3169                  alignment: "top",
   3170                  marginInline: "0 12px",
   3171                },
   3172                primary_button: {
   3173                  label: {
   3174                    raw: {
   3175                      $l10n: {
   3176                        id: "feature-tour-dismiss-button",
   3177                        text: "Dismiss",
   3178                        comment: "",
   3179                      },
   3180                    },
   3181                    marginInline: "36px 0",
   3182                  },
   3183                  style: "secondary",
   3184                  action: {
   3185                    data: {
   3186                      actions: [
   3187                        {
   3188                          data: {
   3189                            id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3190                          },
   3191                          type: "BLOCK_MESSAGE",
   3192                        },
   3193                        {
   3194                          data: {
   3195                            pref: {
   3196                              name: "messaging-system-action.pdfjsannotation.feature-tour-2",
   3197                            },
   3198                          },
   3199                          type: "SET_PREF",
   3200                        },
   3201                      ],
   3202                    },
   3203                    type: "MULTI_ACTION",
   3204                    dismiss: true,
   3205                  },
   3206                },
   3207                secondary_button: {
   3208                  label: {
   3209                    raw: {
   3210                      $l10n: {
   3211                        id: "feature-tour-set-default-button",
   3212                        text: "Set as default",
   3213                        comment: "",
   3214                      },
   3215                    },
   3216                  },
   3217                  style: "primary",
   3218                  action: {
   3219                    data: {
   3220                      actions: [
   3221                        {
   3222                          type: "SET_DEFAULT_PDF_HANDLER",
   3223                        },
   3224                        {
   3225                          data: {
   3226                            id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3227                          },
   3228                          type: "BLOCK_MESSAGE",
   3229                        },
   3230                        {
   3231                          data: {
   3232                            pref: {
   3233                              name: "messaging-system-action.pdfjsannotation.feature-tour-2",
   3234                            },
   3235                          },
   3236                          type: "SET_PREF",
   3237                        },
   3238                      ],
   3239                    },
   3240                    type: "MULTI_ACTION",
   3241                  },
   3242                },
   3243              },
   3244            },
   3245          ],
   3246          backdrop: "transparent",
   3247          template: "multistage",
   3248          transitions: false,
   3249          tour_pref_name:
   3250            "messaging-system-action.pdfjsannotation.feature-tour-2",
   3251          disableHistoryUpdates: true,
   3252          tour_pref_default_value:
   3253            '{"screen":"PDF_ANNOTATIONS_HIGHLIGHT_SET_DEFAULT_ROLLOUT_SCREEN_1","complete":false}',
   3254        },
   3255        trigger: {
   3256          id: "pdfJsFeatureCalloutCheck",
   3257        },
   3258        priority: 2,
   3259        template: "feature_callout",
   3260        targeting:
   3261          "userPrefs.cfrFeatures && os.isWindows && os.windowsVersion >= 10 && !hasActiveEnterprisePolicies && !(isDefaultHandler || {}).pdf && (!(defaultPDFHandler || {}).registered || (defaultPDFHandler || {}).knownBrowser)",
   3262      },
   3263      {
   3264        // Nimbus slug: pdf-annotations-highlight-treatment-b-rollout:treatment-b (message 2 of 2)
   3265        // Version range: 131+
   3266        // Recipe: https://experimenter.services.mozilla.com/nimbus/pdf-annotations-highlight-treatment-b-rollout/summary#treatment-b
   3267        id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3268        content: {
   3269          id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3270          screens: [
   3271            {
   3272              id: "PDF_ANNOTATIONS_HIGHLIGHT_WAS_DEFAULT_ROLLOUT_SCREEN_1",
   3273              anchors: [
   3274                {
   3275                  selector: "hbox#browser",
   3276                  hide_arrow: true,
   3277                  absolute_position: {
   3278                    top: "45px",
   3279                    right: "13px",
   3280                  },
   3281                },
   3282              ],
   3283              content: {
   3284                logo: {
   3285                  height: "190px",
   3286                  imageURL:
   3287                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/ce5a14ef-ed44-4c16-9aaf-eb99f58bcb4f.svg",
   3288                },
   3289                title: {
   3290                  raw: {
   3291                    $l10n: {
   3292                      id: "screen-1-header",
   3293                      text: "Now you can highlight your PDFs!",
   3294                      comment: "",
   3295                    },
   3296                  },
   3297                },
   3298                width: "333.3333px",
   3299                padding: 16,
   3300                position: "callout",
   3301                subtitle: {
   3302                  raw: {
   3303                    $l10n: {
   3304                      id: "screen-1-variant-2-subtitle",
   3305                      text: "With our new highlighter tool, you can read and edit PDFs in one place.",
   3306                      comment:
   3307                        "This string appears below an image of a document with important parts highlighted.",
   3308                    },
   3309                  },
   3310                  marginBlock: "-8px 0",
   3311                  marginInline: "22px",
   3312                },
   3313                title_logo: {
   3314                  imageURL:
   3315                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/5c4047e1-77cc-4094-8693-6474562afc1b.svg",
   3316                  alignment: "top",
   3317                },
   3318                submenu_button: {
   3319                  style: "secondary",
   3320                  submenu: [
   3321                    {
   3322                      id: "item1",
   3323                      type: "action",
   3324                      label: {
   3325                        raw: {
   3326                          $l10n: {
   3327                            id: "feature-tour-submenu-item-1",
   3328                            text: "Don’t show this recommendation again",
   3329                            comment: "",
   3330                          },
   3331                        },
   3332                      },
   3333                      action: {
   3334                        data: {
   3335                          id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3336                        },
   3337                        type: "BLOCK_MESSAGE",
   3338                        dismiss: true,
   3339                      },
   3340                    },
   3341                    {
   3342                      id: "item2",
   3343                      type: "action",
   3344                      label: {
   3345                        raw: {
   3346                          $l10n: {
   3347                            id: "feature-tour-submenu-item-2",
   3348                            text: "Show fewer recommendations",
   3349                            comment: "",
   3350                          },
   3351                        },
   3352                      },
   3353                      action: {
   3354                        data: {
   3355                          actions: [
   3356                            {
   3357                              data: {
   3358                                pref: {
   3359                                  name: "messaging-system-action.show-fewer-pdf-recommendations",
   3360                                  value: true,
   3361                                },
   3362                              },
   3363                              type: "SET_PREF",
   3364                            },
   3365                            {
   3366                              data: {
   3367                                id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3368                              },
   3369                              type: "BLOCK_MESSAGE",
   3370                            },
   3371                          ],
   3372                        },
   3373                        type: "MULTI_ACTION",
   3374                        dismiss: true,
   3375                      },
   3376                    },
   3377                    {
   3378                      type: "separator",
   3379                    },
   3380                    {
   3381                      id: "item3",
   3382                      type: "action",
   3383                      label: {
   3384                        raw: {
   3385                          $l10n: {
   3386                            id: "feature-tour-submenu-item-3",
   3387                            text: "Manage settings",
   3388                            comment: "",
   3389                          },
   3390                        },
   3391                      },
   3392                      action: {
   3393                        data: {
   3394                          args: "preferences#general-cfrfeatures",
   3395                          where: "tab",
   3396                        },
   3397                        type: "OPEN_ABOUT_PAGE",
   3398                        dismiss: true,
   3399                      },
   3400                    },
   3401                  ],
   3402                  attached_to: "additional_button",
   3403                },
   3404                additional_button: {
   3405                  label: {
   3406                    raw: {
   3407                      $l10n: {
   3408                        id: "feature-tour-dismiss-button",
   3409                        text: "Dismiss",
   3410                        comment: "",
   3411                      },
   3412                    },
   3413                  },
   3414                  style: "secondary",
   3415                  action: {
   3416                    data: {
   3417                      actions: [
   3418                        {
   3419                          data: {
   3420                            id: "PDF_ANNOTATIONS_HIGHLIGHT",
   3421                          },
   3422                          type: "BLOCK_MESSAGE",
   3423                        },
   3424                        {
   3425                          data: {
   3426                            pref: {
   3427                              name: "messaging-system-action.pdfjsannotation.feature-tour-2",
   3428                            },
   3429                          },
   3430                          type: "SET_PREF",
   3431                        },
   3432                      ],
   3433                    },
   3434                    type: "MULTI_ACTION",
   3435                    dismiss: true,
   3436                  },
   3437                },
   3438              },
   3439            },
   3440          ],
   3441          backdrop: "transparent",
   3442          template: "multistage",
   3443          transitions: false,
   3444          tour_pref_name:
   3445            "messaging-system-action.pdfjsannotation.feature-tour-2",
   3446          disableHistoryUpdates: true,
   3447          tour_pref_default_value:
   3448            '{"screen":"PDF_ANNOTATIONS_HIGHLIGHT_WAS_DEFAULT_ROLLOUT_SCREEN_1","complete":false}',
   3449        },
   3450        trigger: {
   3451          id: "pdfJsFeatureCalloutCheck",
   3452        },
   3453        priority: 1,
   3454        template: "feature_callout",
   3455        targeting:
   3456          "userPrefs.cfrFeatures && (!os.isWindows || os.windowsVersion < 10 || hasActiveEnterprisePolicies || (isDefaultHandler || {}).pdf || ((defaultPDFHandler || {}).registered && !(defaultPDFHandler || {}).knownBrowser))",
   3457      },
   3458      {
   3459        // Nimbus slug: fox-doodle-multi-action-cta-2025-rollout:treatment-a (message 1 of 6)
   3460        // Version range: 134+
   3461        // Recipe: https://experimenter.services.mozilla.com/nimbus/fox-doodle-multi-action-cta-2025-rollout/summary#treatment-a
   3462        id: "FOX_DOODLE_MULTI_ACTION",
   3463        groups: ["eco"],
   3464        content: {
   3465          id: "FOX_DOODLE_MULTI_ACTION",
   3466          screens: [
   3467            {
   3468              id: "FOX_DOODLE_MULTI_ACTION_CHECKBOXES_MAC_WINDOWS_NON_MSIX_EARLY_DAY_SCREEN",
   3469              content: {
   3470                logo: {
   3471                  height: "125px",
   3472                  imageURL:
   3473                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/3600b535-329d-4147-89c1-689108a804a8.gif",
   3474                  reducedMotionImageURL:
   3475                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/35814ce7-903b-4140-a7b8-9ad8a1a010b3.png",
   3476                },
   3477                tiles: {
   3478                  data: [
   3479                    {
   3480                      id: "checkbox-1-set-default",
   3481                      label: {
   3482                        string_id:
   3483                          "mr2022-onboarding-easy-setup-set-default-checkbox-label",
   3484                      },
   3485                      action: {
   3486                        type: "SET_DEFAULT_BROWSER",
   3487                      },
   3488                      defaultValue: true,
   3489                    },
   3490                    {
   3491                      id: "checkbox-2-pin",
   3492                      label: {
   3493                        string_id: "mr2022-onboarding-pin-primary-button-label",
   3494                      },
   3495                      action: {
   3496                        type: "PIN_FIREFOX_TO_TASKBAR",
   3497                      },
   3498                      defaultValue: true,
   3499                    },
   3500                  ],
   3501                  type: "multiselect",
   3502                  style: {
   3503                    gap: "10px",
   3504                    fontSize: "13px",
   3505                    lineHeight: "1.4",
   3506                    marginInline: "auto",
   3507                    letterSpacing: 0,
   3508                  },
   3509                },
   3510                title: {
   3511                  fontSize: "22px",
   3512                  string_id: "multi-cta-fox-doodle-title",
   3513                  fontWeight: 590,
   3514                  marginBlock: "-16px 0",
   3515                  letterSpacing: 0,
   3516                  paddingInline: "24px",
   3517                },
   3518                subtitle: {
   3519                  fontSize: "13px",
   3520                  string_id: "multi-cta-fox-doodle-quick-reminder-subtitle",
   3521                  textAlign: "center",
   3522                  lineHeight: "1.4",
   3523                  marginBlock: "8px 24px",
   3524                  letterSpacing: 0,
   3525                  paddingInline: "24px",
   3526                },
   3527                dismiss_button: {
   3528                  action: {
   3529                    navigate: true,
   3530                  },
   3531                },
   3532                primary_button: {
   3533                  label: {
   3534                    string_id:
   3535                      "multi-cta-fox-doodle-start-browsing-primary-button-label",
   3536                  },
   3537                  action: {
   3538                    data: {
   3539                      actions: [],
   3540                    },
   3541                    type: "MULTI_ACTION",
   3542                    navigate: true,
   3543                    collectSelect: true,
   3544                  },
   3545                },
   3546              },
   3547            },
   3548          ],
   3549          backdrop: "transparent",
   3550          template: "multistage",
   3551          transitions: true,
   3552        },
   3553        trigger: {
   3554          id: "defaultBrowserCheck",
   3555        },
   3556        priority: 2,
   3557        template: "spotlight",
   3558        frequency: {
   3559          lifetime: 1,
   3560        },
   3561        targeting:
   3562          "doesAppNeedPin && (os.isMac || (os.isWindows && os.windowsVersion >= 10.0 && os.windowsBuildNumber >= 18362 && !isMSIX)) && source == 'startup' && !isMajorUpgrade && !activeNotifications && !isDefaultBrowser && !willShowDefaultPrompt && previousSessionEnd && userPrefs.cfrFeatures == true && (currentDate|date - profileAgeCreated|date) / 86400000 <= 28 && (currentDate|date - profileAgeCreated|date) / 86400000 >= 7",
   3563      },
   3564      {
   3565        // Nimbus slug: fox-doodle-multi-action-cta-2025-rollout:treatment-a (message 2 of 6)
   3566        // Version range: 134+
   3567        // Recipe: https://experimenter.services.mozilla.com/nimbus/fox-doodle-multi-action-cta-2025-rollout/summary#treatment-a
   3568        id: "FOX_DOODLE_MULTI_ACTION",
   3569        groups: ["eco"],
   3570        content: {
   3571          id: "FOX_DOODLE_MULTI_ACTION",
   3572          screens: [
   3573            {
   3574              id: "FOX_DOODLE_MULTI_ACTION_CHECKBOXES_MSIX_EARLY_DAY_SCREEN",
   3575              content: {
   3576                logo: {
   3577                  height: "125px",
   3578                  imageURL:
   3579                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/3600b535-329d-4147-89c1-689108a804a8.gif",
   3580                  reducedMotionImageURL:
   3581                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/35814ce7-903b-4140-a7b8-9ad8a1a010b3.png",
   3582                },
   3583                tiles: {
   3584                  data: [
   3585                    {
   3586                      id: "checkbox-1-set-default",
   3587                      label: {
   3588                        string_id:
   3589                          "mr2022-onboarding-easy-setup-set-default-checkbox-label",
   3590                      },
   3591                      action: {
   3592                        type: "SET_DEFAULT_BROWSER",
   3593                      },
   3594                      defaultValue: true,
   3595                    },
   3596                    {
   3597                      id: "checkbox-2-pin",
   3598                      label: {
   3599                        string_id: "multi-cta-fox-doodle-pin-checkbox",
   3600                      },
   3601                      action: {
   3602                        type: "PIN_FIREFOX_TO_TASKBAR",
   3603                      },
   3604                      defaultValue: true,
   3605                    },
   3606                    {
   3607                      id: "checkbox-3-pin-to-start",
   3608                      label: {
   3609                        string_id:
   3610                          "multi-cta-fox-doodle-pin-startmenu-checkbox",
   3611                      },
   3612                      action: {
   3613                        type: "PIN_FIREFOX_TO_START_MENU",
   3614                      },
   3615                      defaultValue: true,
   3616                    },
   3617                  ],
   3618                  type: "multiselect",
   3619                  style: {
   3620                    gap: "10px",
   3621                    fontSize: "13px",
   3622                    lineHeight: "1.4",
   3623                    marginInline: "auto",
   3624                    letterSpacing: 0,
   3625                  },
   3626                },
   3627                title: {
   3628                  fontSize: "22px",
   3629                  string_id: "multi-cta-fox-doodle-title",
   3630                  fontWeight: 590,
   3631                  marginBlock: "-16px 0",
   3632                  letterSpacing: 0,
   3633                  paddingInline: "24px",
   3634                },
   3635                subtitle: {
   3636                  fontSize: "13px",
   3637                  string_id: "multi-cta-fox-doodle-quick-reminder-subtitle",
   3638                  textAlign: "center",
   3639                  lineHeight: "1.4",
   3640                  marginBlock: "8px 24px",
   3641                  letterSpacing: 0,
   3642                  paddingInline: "24px",
   3643                },
   3644                dismiss_button: {
   3645                  action: {
   3646                    navigate: true,
   3647                  },
   3648                },
   3649                primary_button: {
   3650                  label: {
   3651                    string_id:
   3652                      "mr2022-onboarding-gratitude-secondary-button-label",
   3653                  },
   3654                  action: {
   3655                    data: {
   3656                      actions: [],
   3657                    },
   3658                    type: "MULTI_ACTION",
   3659                    navigate: true,
   3660                    collectSelect: true,
   3661                  },
   3662                },
   3663              },
   3664            },
   3665          ],
   3666          backdrop: "transparent",
   3667          template: "multistage",
   3668          transitions: true,
   3669        },
   3670        trigger: {
   3671          id: "defaultBrowserCheck",
   3672        },
   3673        priority: 2,
   3674        template: "spotlight",
   3675        frequency: {
   3676          lifetime: 1,
   3677        },
   3678        targeting:
   3679          "doesAppNeedPin && isMSIX && os.isWindows && os.windowsVersion >= 10.0 && os.windowsBuildNumber >= 18362 && source == 'startup' && !isMajorUpgrade && !activeNotifications && !isDefaultBrowser && !willShowDefaultPrompt && previousSessionEnd && userPrefs.cfrFeatures == true && (currentDate|date - profileAgeCreated|date) / 86400000 <= 28 && (currentDate|date - profileAgeCreated|date) / 86400000 >= 7",
   3680      },
   3681      {
   3682        // Nimbus slug: fox-doodle-multi-action-cta-2025-rollout:treatment-a (message 3 of 6)
   3683        // Version range: 134+
   3684        // Recipe: https://experimenter.services.mozilla.com/nimbus/fox-doodle-multi-action-cta-2025-rollout/summary#treatment-a
   3685        id: "FOX_DOODLE_MULTI_ACTION",
   3686        groups: ["eco"],
   3687        content: {
   3688          id: "FOX_DOODLE_MULTI_ACTION",
   3689          screens: [
   3690            {
   3691              id: "FOX_DOODLE_MULTI_ACTION_CHECKBOXES_MAC_WINDOWS_NON_MSIX_EXISTING_USER_SCREEN",
   3692              content: {
   3693                logo: {
   3694                  height: "125px",
   3695                  imageURL:
   3696                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/3600b535-329d-4147-89c1-689108a804a8.gif",
   3697                  reducedMotionImageURL:
   3698                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/35814ce7-903b-4140-a7b8-9ad8a1a010b3.png",
   3699                },
   3700                tiles: {
   3701                  data: [
   3702                    {
   3703                      id: "checkbox-1-set-default",
   3704                      label: {
   3705                        string_id:
   3706                          "mr2022-onboarding-easy-setup-set-default-checkbox-label",
   3707                      },
   3708                      action: {
   3709                        type: "SET_DEFAULT_BROWSER",
   3710                      },
   3711                      defaultValue: true,
   3712                    },
   3713                    {
   3714                      id: "checkbox-2-pin",
   3715                      label: {
   3716                        string_id: "mr2022-onboarding-pin-primary-button-label",
   3717                      },
   3718                      action: {
   3719                        type: "PIN_FIREFOX_TO_TASKBAR",
   3720                      },
   3721                      defaultValue: true,
   3722                    },
   3723                  ],
   3724                  type: "multiselect",
   3725                  style: {
   3726                    gap: "10px",
   3727                    fontSize: "13px",
   3728                    lineHeight: "1.4",
   3729                    marginInline: "auto",
   3730                    letterSpacing: 0,
   3731                  },
   3732                },
   3733                title: {
   3734                  fontSize: "22px",
   3735                  string_id: "multi-cta-fox-doodle-title",
   3736                  fontWeight: 590,
   3737                  marginBlock: "-16px 0",
   3738                  letterSpacing: 0,
   3739                  paddingInline: "24px",
   3740                },
   3741                subtitle: {
   3742                  fontSize: "13px",
   3743                  string_id: "multi-cta-fox-doodle-quick-reminder-subtitle",
   3744                  textAlign: "center",
   3745                  lineHeight: "1.4",
   3746                  marginBlock: "8px 24px",
   3747                  letterSpacing: 0,
   3748                  paddingInline: "24px",
   3749                },
   3750                dismiss_button: {
   3751                  action: {
   3752                    navigate: true,
   3753                  },
   3754                },
   3755                primary_button: {
   3756                  label: {
   3757                    string_id:
   3758                      "multi-cta-fox-doodle-start-browsing-primary-button-label",
   3759                  },
   3760                  action: {
   3761                    data: {
   3762                      actions: [],
   3763                    },
   3764                    type: "MULTI_ACTION",
   3765                    navigate: true,
   3766                    collectSelect: true,
   3767                  },
   3768                },
   3769              },
   3770            },
   3771          ],
   3772          backdrop: "transparent",
   3773          template: "multistage",
   3774          transitions: true,
   3775        },
   3776        trigger: {
   3777          id: "defaultBrowserCheck",
   3778        },
   3779        priority: 2,
   3780        template: "spotlight",
   3781        frequency: {
   3782          lifetime: 2,
   3783        },
   3784        targeting:
   3785          "doesAppNeedPin && (os.isMac || (os.isWindows && os.windowsVersion >= 10.0 && os.windowsBuildNumber >= 18362 && !isMSIX)) && source == 'startup' && !isMajorUpgrade && !activeNotifications && !isDefaultBrowser && !willShowDefaultPrompt && previousSessionEnd && userPrefs.cfrFeatures == true && (currentDate|date - profileAgeCreated|date) / 86400000 >= 28",
   3786      },
   3787      {
   3788        // Nimbus slug: fox-doodle-multi-action-cta-2025-rollout:treatment-a (message 4 of 6)
   3789        // Version range: 134+
   3790        // Recipe: https://experimenter.services.mozilla.com/nimbus/fox-doodle-multi-action-cta-2025-rollout/summary#treatment-a
   3791        id: "FOX_DOODLE_MULTI_ACTION",
   3792        groups: ["eco"],
   3793        content: {
   3794          id: "FOX_DOODLE_MULTI_ACTION",
   3795          screens: [
   3796            {
   3797              id: "FOX_DOODLE_MULTI_ACTION_CHECKBOXES_MSIX_SCREEN_EXISTING_USER_SCREEN",
   3798              content: {
   3799                logo: {
   3800                  height: "125px",
   3801                  imageURL:
   3802                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/3600b535-329d-4147-89c1-689108a804a8.gif",
   3803                  reducedMotionImageURL:
   3804                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/35814ce7-903b-4140-a7b8-9ad8a1a010b3.png",
   3805                },
   3806                tiles: {
   3807                  data: [
   3808                    {
   3809                      id: "checkbox-1-set-default",
   3810                      label: {
   3811                        string_id:
   3812                          "mr2022-onboarding-easy-setup-set-default-checkbox-label",
   3813                      },
   3814                      action: {
   3815                        type: "SET_DEFAULT_BROWSER",
   3816                      },
   3817                      defaultValue: true,
   3818                    },
   3819                    {
   3820                      id: "checkbox-2-pin",
   3821                      label: {
   3822                        string_id: "multi-cta-fox-doodle-pin-checkbox",
   3823                      },
   3824                      action: {
   3825                        type: "PIN_FIREFOX_TO_TASKBAR",
   3826                      },
   3827                      defaultValue: true,
   3828                    },
   3829                    {
   3830                      id: "checkbox-3-pin-to-start",
   3831                      label: {
   3832                        string_id:
   3833                          "multi-cta-fox-doodle-pin-startmenu-checkbox",
   3834                      },
   3835                      action: {
   3836                        type: "PIN_FIREFOX_TO_START_MENU",
   3837                      },
   3838                      defaultValue: true,
   3839                    },
   3840                  ],
   3841                  type: "multiselect",
   3842                  style: {
   3843                    gap: "10px",
   3844                    fontSize: "13px",
   3845                    lineHeight: "1.4",
   3846                    marginInline: "auto",
   3847                    letterSpacing: 0,
   3848                  },
   3849                },
   3850                title: {
   3851                  fontSize: "22px",
   3852                  string_id: "multi-cta-fox-doodle-title",
   3853                  fontWeight: 590,
   3854                  marginBlock: "-16px 0",
   3855                  letterSpacing: 0,
   3856                  paddingInline: "24px",
   3857                },
   3858                subtitle: {
   3859                  fontSize: "13px",
   3860                  string_id: "multi-cta-fox-doodle-quick-reminder-subtitle",
   3861                  textAlign: "center",
   3862                  lineHeight: "1.4",
   3863                  marginBlock: "8px 24px",
   3864                  letterSpacing: 0,
   3865                  paddingInline: "24px",
   3866                },
   3867                dismiss_button: {
   3868                  action: {
   3869                    navigate: true,
   3870                  },
   3871                },
   3872                primary_button: {
   3873                  label: {
   3874                    string_id:
   3875                      "mr2022-onboarding-gratitude-secondary-button-label",
   3876                  },
   3877                  action: {
   3878                    data: {
   3879                      actions: [],
   3880                    },
   3881                    type: "MULTI_ACTION",
   3882                    navigate: true,
   3883                    collectSelect: true,
   3884                  },
   3885                },
   3886              },
   3887            },
   3888          ],
   3889          backdrop: "transparent",
   3890          template: "multistage",
   3891          transitions: true,
   3892        },
   3893        trigger: {
   3894          id: "defaultBrowserCheck",
   3895        },
   3896        priority: 2,
   3897        template: "spotlight",
   3898        frequency: {
   3899          lifetime: 2,
   3900        },
   3901        targeting:
   3902          "doesAppNeedPin && isMSIX && os.isWindows && os.windowsVersion >= 10.0 && os.windowsBuildNumber >= 18362 && source == 'startup' && !isMajorUpgrade && !activeNotifications && !isDefaultBrowser && !willShowDefaultPrompt && previousSessionEnd && userPrefs.cfrFeatures == true && (currentDate|date - profileAgeCreated|date) / 86400000 >= 28",
   3903      },
   3904      {
   3905        // Nimbus slug: fox-doodle-multi-action-cta-2025-rollout:treatment-a (message 5 of 6)
   3906        // Version range: 134+
   3907        // Recipe: https://experimenter.services.mozilla.com/nimbus/fox-doodle-multi-action-cta-2025-rollout/summary#treatment-a
   3908        id: "TAIL_FOX_SET_DEFAULT",
   3909        groups: ["eco"],
   3910        content: {
   3911          id: "TAIL_FOX_SET_DEFAULT_CONTENT",
   3912          screens: [
   3913            {
   3914              id: "TAIL_FOX_SET_DEFAULT_SCREEN",
   3915              content: {
   3916                logo: {
   3917                  height: "140px",
   3918                  imageURL:
   3919                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/92de1223-159b-4c2c-83bb-38e5ab767900.png",
   3920                  reducedMotionImageURL:
   3921                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/92de1223-159b-4c2c-83bb-38e5ab767900.png",
   3922                },
   3923                title: {
   3924                  fontSize: "22px",
   3925                  string_id: "tail-fox-spotlight-title",
   3926                  fontWeight: 590,
   3927                  paddingBlock: "4px 0",
   3928                  letterSpacing: 0,
   3929                  paddingInline: "24px",
   3930                },
   3931                subtitle: {
   3932                  fontSize: "15px",
   3933                  string_id: "tail-fox-spotlight-subtitle",
   3934                  lineHeight: "1.4",
   3935                  marginBlock: "8px 16px",
   3936                  letterSpacing: 0,
   3937                  paddingInline: "24px",
   3938                },
   3939                dismiss_button: {
   3940                  action: {
   3941                    navigate: true,
   3942                  },
   3943                },
   3944                primary_button: {
   3945                  label: {
   3946                    string_id: "tail-fox-spotlight-primary-button",
   3947                    marginBlock: "4px 0",
   3948                    paddingBlock: "0",
   3949                    paddingInline: "16px",
   3950                  },
   3951                  action: {
   3952                    type: "SET_DEFAULT_BROWSER",
   3953                    navigate: true,
   3954                  },
   3955                },
   3956                secondary_button: {
   3957                  label: {
   3958                    string_id: "tail-fox-spotlight-secondary-button",
   3959                    marginBlock: "0 -20px",
   3960                  },
   3961                  action: {
   3962                    navigate: true,
   3963                  },
   3964                },
   3965              },
   3966            },
   3967          ],
   3968          backdrop: "transparent",
   3969          template: "multistage",
   3970          transitions: true,
   3971        },
   3972        trigger: {
   3973          id: "defaultBrowserCheck",
   3974        },
   3975        template: "spotlight",
   3976        frequency: {
   3977          lifetime: 1,
   3978        },
   3979        targeting:
   3980          "source == 'startup' && !isMajorUpgrade && !activeNotifications && !isDefaultBrowser && !willShowDefaultPrompt && (currentDate|date - profileAgeCreated|date) / 86400000 <= 28 && (currentDate|date - profileAgeCreated|date) / 86400000 >= 7 && previousSessionEnd && userPrefs.cfrFeatures == true && ((os.isMac && !doesAppNeedPin) || (os.isWindows && os.windowsVersion >= 10.0 && os.windowsBuildNumber >= 18362 && !doesAppNeedPin) || (os.isLinux || os.isWindows && (os.windowsVersion < 10.0 || os.windowsBuildNumber < 18362)))",
   3981      },
   3982      {
   3983        // Nimbus slug: fox-doodle-multi-action-cta-2025-rollout:treatment-a (message 6 of 6)
   3984        // Version range: 134+
   3985        // Recipe: https://experimenter.services.mozilla.com/nimbus/fox-doodle-multi-action-cta-2025-rollout/summary#treatment-a
   3986        id: "FOX_DOODLE_SET_DEFAULT",
   3987        groups: ["eco"],
   3988        content: {
   3989          id: "FOX_DOODLE_SET_DEFAULT",
   3990          screens: [
   3991            {
   3992              id: "FOX_DOODLE_SET_DEFAULT_SCREEN",
   3993              content: {
   3994                logo: {
   3995                  height: "125px",
   3996                  imageURL:
   3997                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/3600b535-329d-4147-89c1-689108a804a8.gif",
   3998                  reducedMotionImageURL:
   3999                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/35814ce7-903b-4140-a7b8-9ad8a1a010b3.png",
   4000                },
   4001                title: {
   4002                  fontSize: "22px",
   4003                  string_id: "fox-doodle-pin-headline",
   4004                  fontWeight: 590,
   4005                  paddingBlock: "4px 0",
   4006                  letterSpacing: 0,
   4007                  paddingInline: "24px",
   4008                },
   4009                subtitle: {
   4010                  fontSize: "15px",
   4011                  string_id: "fox-doodle-pin-body",
   4012                  lineHeight: "1.4",
   4013                  marginBlock: "8px 16px",
   4014                  letterSpacing: 0,
   4015                  paddingInline: "24px",
   4016                },
   4017                dismiss_button: {
   4018                  action: {
   4019                    navigate: true,
   4020                  },
   4021                },
   4022                primary_button: {
   4023                  label: {
   4024                    string_id: "fox-doodle-pin-primary",
   4025                    marginBlock: "4px 0",
   4026                    paddingBlock: "0",
   4027                    paddingInline: "16px",
   4028                  },
   4029                  action: {
   4030                    type: "SET_DEFAULT_BROWSER",
   4031                    navigate: true,
   4032                  },
   4033                },
   4034                secondary_button: {
   4035                  label: {
   4036                    string_id: "fox-doodle-pin-secondary",
   4037                    marginBlock: "0 -20px",
   4038                  },
   4039                  action: {
   4040                    navigate: true,
   4041                  },
   4042                },
   4043              },
   4044            },
   4045          ],
   4046          backdrop: "transparent",
   4047          template: "multistage",
   4048          transitions: true,
   4049        },
   4050        trigger: {
   4051          id: "defaultBrowserCheck",
   4052        },
   4053        template: "spotlight",
   4054        frequency: {
   4055          lifetime: 2,
   4056        },
   4057        targeting:
   4058          "source == 'startup' && !isMajorUpgrade && !activeNotifications && !isDefaultBrowser && !willShowDefaultPrompt && (currentDate|date - profileAgeCreated|date) / 86400000 >= 28 && previousSessionEnd && userPrefs.cfrFeatures == true && ((os.isMac && !doesAppNeedPin) || (os.isWindows && os.windowsVersion >= 10.0 && os.windowsBuildNumber >= 18362 && !doesAppNeedPin) || (os.isLinux || os.isWindows && (os.windowsVersion < 10.0 || os.windowsBuildNumber < 18362)))",
   4059      },
   4060      {
   4061        // Nimbus slug: sidebar-button-feature-callout-vertical-tabs-users-existing-profiles:control
   4062        // Version range: 133+
   4063        // Recipe: https://experimenter.services.mozilla.com/nimbus/sidebar-button-feature-callout-vertical-tabs-users-existing-profiles/summary#control
   4064        id: "SIDEBAR_FEATURE_TOUR",
   4065        groups: [],
   4066        content: {
   4067          id: "SIDEBAR_FEATURE_TOUR",
   4068          screens: [
   4069            {
   4070              id: "SIDEBAR_BUTTON_CALLOUT",
   4071              anchors: [
   4072                {
   4073                  selector: "#urlbar-container ~ #sidebar-button",
   4074                  panel_position: {
   4075                    anchor_attachment: "bottomcenter",
   4076                    callout_attachment: "topright",
   4077                  },
   4078                },
   4079                {
   4080                  selector: "#sidebar-button",
   4081                  panel_position: {
   4082                    anchor_attachment: "bottomcenter",
   4083                    callout_attachment: "topleft",
   4084                  },
   4085                },
   4086              ],
   4087              content: {
   4088                logo: {
   4089                  alt: "An illustration of the vertical tabs pane expanding to reveal tab labels",
   4090                  height: "167px",
   4091                  imageURL:
   4092                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/7448e55f-2f86-4565-8d8b-4f6620a57921.svg",
   4093                  marginInline: "12px 12px",
   4094                  darkModeImageURL:
   4095                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/5534a39b-5c5c-41cb-b8c8-f647a5e697f0.svg",
   4096                  reducedMotionImageURL:
   4097                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/aae218dc-7888-494d-845e-6d9f70e41a31.svg",
   4098                  darkModeReducedMotionImageURL:
   4099                    "https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/2f19306c-3dcb-4362-8152-1442b8b3af32.svg",
   4100                },
   4101                title: {
   4102                  string_id: "sidebar-button-callout-title",
   4103                  marginInline: "4px 4px",
   4104                },
   4105                width: "324px",
   4106                padding: 16,
   4107                position: "callout",
   4108                subtitle: {
   4109                  string_id: "sidebar-button-callout-subtitle",
   4110                  marginInline: "4px 4px",
   4111                },
   4112                dismiss_button: {
   4113                  size: "small",
   4114                  action: {
   4115                    dismiss: true,
   4116                  },
   4117                  marginBlock: "20px 0",
   4118                  marginInline: "0 20px",
   4119                },
   4120                page_event_listeners: [
   4121                  {
   4122                    action: {
   4123                      dismiss: true,
   4124                    },
   4125                    params: {
   4126                      type: "click",
   4127                      selectors: "#sidebar-button",
   4128                    },
   4129                  },
   4130                ],
   4131              },
   4132            },
   4133          ],
   4134          backdrop: "transparent",
   4135          template: "multistage",
   4136          transitions: false,
   4137          disableHistoryUpdates: true,
   4138        },
   4139        trigger: {
   4140          id: "openURL",
   4141          patterns: ["*://*/*"],
   4142        },
   4143        template: "feature_callout",
   4144        frequency: {
   4145          lifetime: 1,
   4146        },
   4147        targeting: "'sidebar.verticalTabs'|preferenceValue",
   4148      },
   4149    ];
   4150  },
   4151 };