"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[7616],{28893(d,s,a){a.r(s),a.d(s,{PlaylistNewPage:()=>n,default:()=>y});var t=a(74848),_=a(96540),o=a(52358),E=a(98391),l=a(5246),P=a(37336),i=a(48555),e=a(14289);const n=()=>{const[r]=(0,_.useState)((0,e.aV)()),[D]=(0,P.Dp)(),O=async p=>{await D({playlist:p}),E.Ny.push("/playlists")},M={text:(0,o.t)("playlist.playlist-new-page.page-nav.text.new-playlist","New playlist"),subTitle:"A playlist rotates through a pre-selected list of dashboards. A playlist can be a great way to build situational awareness, or just show off your metrics to your team or visitors."};return(0,t.jsx)(l.Y,{navId:"dashboards/playlists",pageNav:M,children:(0,t.jsx)(l.Y.Contents,{children:(0,t.jsx)(i.$,{onSubmit:O,playlist:r})})})},y=n}}]);

//# sourceMappingURL=PlaylistNewPage.03bc4174326f4c478ea0.js.map